From 0092123c9a901effc0a53e0572fab109d0be85dd Mon Sep 17 00:00:00 2001 From: larbish Date: Fri, 26 Jan 2024 14:58:05 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20nuxt-mod?= =?UTF-8?q?ules/supabase@46e8e70ba34145018fa8d35c2379b26cc31c04f3=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 200.html | 32 ++++---- 404.html | 32 ++++---- __studio.json | 2 +- ...{Cached.EPNR8yhH.js => Cached.wB_iQ5j1.js} | 2 +- ...allout.vLvLyna8.js => Callout.U_ncT6th.js} | 2 +- _nuxt/{Card.oqOBlRID.js => Card.D-3aG5gf.js} | 2 +- _nuxt/{Card.CFFCfUPA.js => Card.Sj04FlIE.js} | 2 +- ...roup.f5fZJJ03.js => CardGroup.L1bAzgpX.js} | 2 +- ...roup.kr8KXOZ2.js => CodeGroup.uHTqVN-T.js} | 2 +- ...le.61xynCYw.js => Collapsible.qWM3gGRD.js} | 2 +- ...Doc.5_HypDRv.js => ContentDoc.3KXCUWLY.js} | 2 +- ...st.XPmizk4i.js => ContentList.SnNuiMTB.js} | 2 +- ...j1mv0.js => ContentNavigation.6q5ULe7O.js} | 2 +- ...y.JwGr1xYe.js => ContentQuery.3j2_soVj.js} | 2 +- ...61vDq8M.js => ContentRenderer.Snp_p6di.js} | 2 +- _nuxt/ContentRendererMarkdown.Qy60WlDh.js | 1 + ...> ContentRendererMarkdown.vue.wsrTaKXh.js} | 2 +- _nuxt/ContentRendererMarkdown.xGq-BhZ2.js | 1 - ...ot.nvAV5AJw.js => ContentSlot.7o_IYYZq.js} | 2 +- ...rch.zSVieBBc.js => DocsSearch.cRjzeNWs.js} | 2 +- ...1ak.js => DocumentDrivenEmpty.ZnHkKn_b.js} | 2 +- ....js => DocumentDrivenNotFound.-QbZrK7a.js} | 2 +- ...ynamic.uhf1S6Ax.js => Dynamic.Ak6FV06T.js} | 2 +- .../{Field.IhB24igT.js => Field.Rio25kRl.js} | 2 +- ...oup.1bpRj5A8.js => FieldGroup.5aNT2tOY.js} | 2 +- ....RrrfkHo4.js => GithubCommits.dG8EDzuA.js} | 2 +- ...vZ5O.js => GithubContributors.PP-IaBat.js} | 2 +- ....js => GithubFileContributors.9ZuCmwkG.js} | 2 +- ...ixaxC.js => GithubLastRelease.51GpqXcI.js} | 2 +- ...ink.e6ndn0Kh.js => GithubLink.XCq_5AdZ.js} | 2 +- ...e.AjQ1bQDb.js => GithubReadme.xQmd5EsK.js} | 2 +- ....74JL6g_G.js => GithubRelease.d-GfU9fx.js} | 2 +- ...IdSk-78B.js => GithubReleases.RZH0RGD2.js} | 2 +- ...0Q39BJ.js => GithubRepository.M9uREu0t.js} | 2 +- ...conCSS.xKd_D7LX.js => IconCSS.KXs9Vl1K.js} | 2 +- ...er.o5m2R7Hl.js => MDCRenderer.0MFNxIgT.js} | 2 +- ...kdown.YZLCIf66.js => Markdown.Vu449gVI.js} | 2 +- ...{ProseA.EBjQ0GQA.js => ProseA.1naA1Xnw.js} | 2 +- ...HVBsP9e.js => ProseBlockquote.4ze-dyO4.js} | 2 +- _nuxt/ProseCode.3zMaxfPm.js | 1 + _nuxt/ProseCode.C2MVqIn7.js | 1 - ....15_JCNhQ.js => ProseCode.vue.MtZTLDWl.js} | 2 +- _nuxt/ProseCodeButton.Ou4xCSMM.js | 1 - _nuxt/ProseCodeButton.Vf4Ii8-m.js | 1 + ...T2F.js => ProseCodeButton.vue.ya303riA.js} | 2 +- _nuxt/ProseCodeIcon.67MQi9HX.js | 1 - _nuxt/ProseCodeIcon.c8RJNJoT.js | 1 + ...RLg8I.js => ProseCodeIcon.vue.caB8vZGS.js} | 2 +- ...6tUP7AG.js => ProseCodeInline.UKO9YEge.js} | 2 +- ...roseEm.-tpFMk8F.js => ProseEm.TctFqG5E.js} | 2 +- ...roseH1.iFuyzUZ2.js => ProseH1.n2dx2pw0.js} | 2 +- _nuxt/ProseH2.Ni1Wrda1.js | 1 - _nuxt/ProseH2.ac_KN0ve.js | 1 + ...ue.wUyf_dNM.js => ProseH2.vue.KLujDh1h.js} | 2 +- ...roseH3.jnHH2psT.js => ProseH3.jIL8QKjb.js} | 2 +- ...roseH4.BENHo82U.js => ProseH4.VkfJ1c87.js} | 2 +- ...roseH5.AKt50Jx8.js => ProseH5.nTa44zZp.js} | 2 +- ...roseH6.fh8XDrVA.js => ProseH6.LXfRcowH.js} | 2 +- ...roseHr.PWPVsqcq.js => ProseHr.dJQpsNk0.js} | 2 +- ...seImg.NI_Z3hKc.js => ProseImg.cR48SDDz.js} | 2 +- ...roseLi.yw3me4Zf.js => ProseLi.bNm5aHhx.js} | 2 +- ...roseOl.-d6FpckR.js => ProseOl.kGSfFGTF.js} | 2 +- ...{ProseP.5Ii-edhi.js => ProseP.xdDnCvdx.js} | 2 +- ...sePre.RIIM70WD.js => ProsePre.fNkfwBiv.js} | 2 +- ...pt.8M-vTO6K.js => ProseScript.zuTRUi7U.js} | 2 +- ...ng.wWHLYvDt.js => ProseStrong.ruCkVaEx.js} | 2 +- ...ble.vr8Lu6HN.js => ProseTable.0W9QR9ya.js} | 2 +- ...ody.jp4sqib1.js => ProseTbody.BxGeRZKf.js} | 2 +- ...roseTd.3teiJlN-.js => ProseTd.KYqqvY6o.js} | 2 +- ...roseTh.DvN3xW7V.js => ProseTh.TyYN77v-.js} | 2 +- ...ead.ohVzKVnv.js => ProseThead.8EWLWutm.js} | 2 +- ...roseTr.aiD96v5k.js => ProseTr.-gc2NXV8.js} | 2 +- ...roseUl.8mTzhdW0.js => ProseUl.uihB480C.js} | 2 +- ...eases.vp1dNn6t.js => Releases.TC6OrPKn.js} | 2 +- ...hot.wn0_BD-5.js => Screenshot.oadL6VUR.js} | 2 +- ...rtcut.5NRnas7c.js => Shortcut.A5VcKh1_.js} | 2 +- ...{Static.V2K3aezp.js => Static.dUjUmiXn.js} | 2 +- _nuxt/{Tabs.Pwj-v8mX.js => Tabs.FBYCxPJB.js} | 2 +- ...ard.H4JZvknu.js => VoltaBoard.unmktSf8.js} | 2 +- ...e.p1OeQaMJ.js => WithoutCache.a4ZxGhRP.js} | 2 +- ...lug_.t8EqlsH8.js => _...slug_.dWwFjP0b.js} | 2 +- _nuxt/builds/latest.json | 2 +- .../395fd8a4-c0ee-48c0-aaa7-2fe1d2ac14ab.json | 1 + .../f09453c5-4a08-430c-9c23-82215543834e.json | 1 - ...t-db.czaupYgg.js => client-db.rX5AsS25.js} | 2 +- _nuxt/{docs.0uoY01y7.js => docs.ssppZ59D.js} | 2 +- .../{entry.n8fVlM9F.js => entry.YSgWRBMm.js} | 10 +-- ...er.d9j6adwR.js => highlighter.VWAyexcv.js} | 2 +- .../{index.zxozhBNM.js => index.-1WZlMFP.js} | 2 +- .../{index.kY4KOPT6.js => index.3HHY23m7.js} | 6 +- ...ts.s7dsNahg.js => mdc-imports.FeBHvcg_.js} | 4 +- _nuxt/{slot.BWovzuEB.js => slot.afHLBHGJ.js} | 2 +- ...thub.Y6y6nFQf.js => useGithub.VmKQ2Hb8.js} | 2 +- ...udio.-w8AO5Bf.js => useStudio.oiGkyvhW.js} | 2 +- _payload.json | 2 +- ...80866184.json => cache.1706281021488.json} | 2 +- ...184.json => u7BbTyuhiE.1706281021488.json} | 0 ...184.json => 0gudQYZdI3.1706281021488.json} | 0 ...184.json => 0wFsGmvw10.1706281021488.json} | 0 ...184.json => 4zYVP4W6op.1706281021488.json} | 0 ...184.json => 5lOdqeHnNL.1706281021488.json} | 0 ...184.json => 76BoSDA4U0.1706281021488.json} | 0 ...184.json => CsvcZ6zVi1.1706281021488.json} | 0 ...184.json => JW0JBzZZMj.1706281021488.json} | 0 ...184.json => L15561AOag.1706281021488.json} | 0 ...184.json => U0fhu5Rxhl.1706281021488.json} | 0 ...184.json => Y4LEUEirY6.1706281021488.json} | 0 ...184.json => YSHNqHnuhS.1706281021488.json} | 0 ...184.json => brX4CwCJoQ.1706281021488.json} | 0 ...184.json => dKXPFPos09.1706281021488.json} | 0 ...184.json => hYpPLZd268.1706281021488.json} | 0 ...184.json => mUC1LoY5SU.1706281021488.json} | 0 ...184.json => mjPUuLZ5K0.1706281021488.json} | 0 ...184.json => pTByVtROxU.1706281021488.json} | 0 ...184.json => sY2lwz2oSi.1706281021488.json} | 0 ...184.json => unQN3QZxvJ.1706281021488.json} | 0 ...184.json => xTj1Y0li2H.1706281021488.json} | 0 ...184.json => yZYG07dTrW.1706281021488.json} | 0 authentication/_payload.json | 2 +- authentication/index.html | 72 ++++++++--------- changelog/_payload.json | 2 +- changelog/index.html | 64 +++++++-------- demo/_payload.json | 2 +- demo/index.html | 52 ++++++------ get-started/_payload.json | 2 +- get-started/index.html | 80 +++++++++---------- index.html | 48 +++++------ roadmap/_payload.json | 2 +- roadmap/index.html | 44 +++++----- .../usesupabaseclient/_payload.json | 2 +- .../composables/usesupabaseclient/index.html | 70 ++++++++-------- .../composables/usesupabaseuser/_payload.json | 2 +- usage/composables/usesupabaseuser/index.html | 68 ++++++++-------- .../serversupabaseclient/_payload.json | 2 +- .../services/serversupabaseclient/index.html | 66 +++++++-------- .../serversupabaseservicerole/_payload.json | 2 +- .../serversupabaseservicerole/index.html | 68 ++++++++-------- .../services/serversupabaseuser/_payload.json | 2 +- usage/services/serversupabaseuser/index.html | 66 +++++++-------- 139 files changed, 486 insertions(+), 486 deletions(-) rename _nuxt/{Cached.EPNR8yhH.js => Cached.wB_iQ5j1.js} (53%) rename _nuxt/{Callout.vLvLyna8.js => Callout.U_ncT6th.js} (94%) rename _nuxt/{Card.oqOBlRID.js => Card.D-3aG5gf.js} (95%) rename _nuxt/{Card.CFFCfUPA.js => Card.Sj04FlIE.js} (94%) rename _nuxt/{CardGroup.f5fZJJ03.js => CardGroup.L1bAzgpX.js} (85%) rename _nuxt/{CodeGroup.kr8KXOZ2.js => CodeGroup.uHTqVN-T.js} (92%) rename _nuxt/{Collapsible.61xynCYw.js => Collapsible.qWM3gGRD.js} (94%) rename _nuxt/{ContentDoc.5_HypDRv.js => ContentDoc.3KXCUWLY.js} (87%) rename _nuxt/{ContentList.XPmizk4i.js => ContentList.SnNuiMTB.js} (84%) rename _nuxt/{ContentNavigation.3aXj1mv0.js => ContentNavigation.6q5ULe7O.js} (92%) rename _nuxt/{ContentQuery.JwGr1xYe.js => ContentQuery.3j2_soVj.js} (97%) rename _nuxt/{ContentRenderer.U61vDq8M.js => ContentRenderer.Snp_p6di.js} (84%) create mode 100644 _nuxt/ContentRendererMarkdown.Qy60WlDh.js rename _nuxt/{ContentRendererMarkdown.vue.08XeXCxx.js => ContentRendererMarkdown.vue.wsrTaKXh.js} (84%) delete mode 100644 _nuxt/ContentRendererMarkdown.xGq-BhZ2.js rename _nuxt/{ContentSlot.nvAV5AJw.js => ContentSlot.7o_IYYZq.js} (92%) rename _nuxt/{DocsSearch.zSVieBBc.js => DocsSearch.cRjzeNWs.js} (99%) rename _nuxt/{DocumentDrivenEmpty.m7N1v1ak.js => DocumentDrivenEmpty.ZnHkKn_b.js} (77%) rename _nuxt/{DocumentDrivenNotFound.ADazsOTl.js => DocumentDrivenNotFound.-QbZrK7a.js} (59%) rename _nuxt/{Dynamic.uhf1S6Ax.js => Dynamic.Ak6FV06T.js} (53%) rename _nuxt/{Field.IhB24igT.js => Field.Rio25kRl.js} (94%) rename _nuxt/{FieldGroup.1bpRj5A8.js => FieldGroup.5aNT2tOY.js} (87%) rename _nuxt/{GithubCommits.RrrfkHo4.js => GithubCommits.dG8EDzuA.js} (75%) rename _nuxt/{GithubContributors.Gzo0vZ5O.js => GithubContributors.PP-IaBat.js} (76%) rename _nuxt/{GithubFileContributors.b_sz_pTt.js => GithubFileContributors.9ZuCmwkG.js} (89%) rename _nuxt/{GithubLastRelease.Zc4ixaxC.js => GithubLastRelease.51GpqXcI.js} (75%) rename _nuxt/{GithubLink.e6ndn0Kh.js => GithubLink.XCq_5AdZ.js} (93%) rename _nuxt/{GithubReadme.AjQ1bQDb.js => GithubReadme.xQmd5EsK.js} (74%) rename _nuxt/{GithubRelease.74JL6g_G.js => GithubRelease.d-GfU9fx.js} (76%) rename _nuxt/{GithubReleases.IdSk-78B.js => GithubReleases.RZH0RGD2.js} (75%) rename _nuxt/{GithubRepository.gV0Q39BJ.js => GithubRepository.M9uREu0t.js} (75%) rename _nuxt/{IconCSS.xKd_D7LX.js => IconCSS.KXs9Vl1K.js} (93%) rename _nuxt/{MDCRenderer.o5m2R7Hl.js => MDCRenderer.0MFNxIgT.js} (99%) rename _nuxt/{Markdown.YZLCIf66.js => Markdown.Vu449gVI.js} (64%) rename _nuxt/{ProseA.EBjQ0GQA.js => ProseA.1naA1Xnw.js} (82%) rename _nuxt/{ProseBlockquote.zHVBsP9e.js => ProseBlockquote.4ze-dyO4.js} (66%) create mode 100644 _nuxt/ProseCode.3zMaxfPm.js delete mode 100644 _nuxt/ProseCode.C2MVqIn7.js rename _nuxt/{ProseCode.vue.15_JCNhQ.js => ProseCode.vue.MtZTLDWl.js} (85%) delete mode 100644 _nuxt/ProseCodeButton.Ou4xCSMM.js create mode 100644 _nuxt/ProseCodeButton.Vf4Ii8-m.js rename _nuxt/{ProseCodeButton.vue.OCF9lT2F.js => ProseCodeButton.vue.ya303riA.js} (93%) delete mode 100644 _nuxt/ProseCodeIcon.67MQi9HX.js create mode 100644 _nuxt/ProseCodeIcon.c8RJNJoT.js rename _nuxt/{ProseCodeIcon.vue.dMXRLg8I.js => ProseCodeIcon.vue.caB8vZGS.js} (96%) rename _nuxt/{ProseCodeInline.G6tUP7AG.js => ProseCodeInline.UKO9YEge.js} (66%) rename _nuxt/{ProseEm.-tpFMk8F.js => ProseEm.TctFqG5E.js} (65%) rename _nuxt/{ProseH1.iFuyzUZ2.js => ProseH1.n2dx2pw0.js} (85%) delete mode 100644 _nuxt/ProseH2.Ni1Wrda1.js create mode 100644 _nuxt/ProseH2.ac_KN0ve.js rename _nuxt/{ProseH2.vue.wUyf_dNM.js => ProseH2.vue.KLujDh1h.js} (85%) rename _nuxt/{ProseH3.jnHH2psT.js => ProseH3.jIL8QKjb.js} (85%) rename _nuxt/{ProseH4.BENHo82U.js => ProseH4.VkfJ1c87.js} (85%) rename _nuxt/{ProseH5.AKt50Jx8.js => ProseH5.nTa44zZp.js} (85%) rename _nuxt/{ProseH6.fh8XDrVA.js => ProseH6.LXfRcowH.js} (85%) rename _nuxt/{ProseHr.PWPVsqcq.js => ProseHr.dJQpsNk0.js} (55%) rename _nuxt/{ProseImg.NI_Z3hKc.js => ProseImg.cR48SDDz.js} (89%) rename _nuxt/{ProseLi.yw3me4Zf.js => ProseLi.bNm5aHhx.js} (65%) rename _nuxt/{ProseOl.-d6FpckR.js => ProseOl.kGSfFGTF.js} (65%) rename _nuxt/{ProseP.5Ii-edhi.js => ProseP.xdDnCvdx.js} (65%) rename _nuxt/{ProsePre.RIIM70WD.js => ProsePre.fNkfwBiv.js} (69%) rename _nuxt/{ProseScript.8M-vTO6K.js => ProseScript.zuTRUi7U.js} (86%) rename _nuxt/{ProseStrong.wWHLYvDt.js => ProseStrong.ruCkVaEx.js} (66%) rename _nuxt/{ProseTable.vr8Lu6HN.js => ProseTable.0W9QR9ya.js} (66%) rename _nuxt/{ProseTbody.jp4sqib1.js => ProseTbody.BxGeRZKf.js} (66%) rename _nuxt/{ProseTd.3teiJlN-.js => ProseTd.KYqqvY6o.js} (65%) rename _nuxt/{ProseTh.DvN3xW7V.js => ProseTh.TyYN77v-.js} (65%) rename _nuxt/{ProseThead.ohVzKVnv.js => ProseThead.8EWLWutm.js} (66%) rename _nuxt/{ProseTr.aiD96v5k.js => ProseTr.-gc2NXV8.js} (65%) rename _nuxt/{ProseUl.8mTzhdW0.js => ProseUl.uihB480C.js} (65%) rename _nuxt/{Releases.vp1dNn6t.js => Releases.TC6OrPKn.js} (62%) rename _nuxt/{Screenshot.wn0_BD-5.js => Screenshot.oadL6VUR.js} (54%) rename _nuxt/{Shortcut.5NRnas7c.js => Shortcut.A5VcKh1_.js} (89%) rename _nuxt/{Static.V2K3aezp.js => Static.dUjUmiXn.js} (53%) rename _nuxt/{Tabs.Pwj-v8mX.js => Tabs.FBYCxPJB.js} (96%) rename _nuxt/{VoltaBoard.H4JZvknu.js => VoltaBoard.unmktSf8.js} (81%) rename _nuxt/{WithoutCache.p1OeQaMJ.js => WithoutCache.a4ZxGhRP.js} (55%) rename _nuxt/{_...slug_.t8EqlsH8.js => _...slug_.dWwFjP0b.js} (98%) create mode 100644 _nuxt/builds/meta/395fd8a4-c0ee-48c0-aaa7-2fe1d2ac14ab.json delete mode 100644 _nuxt/builds/meta/f09453c5-4a08-430c-9c23-82215543834e.json rename _nuxt/{client-db.czaupYgg.js => client-db.rX5AsS25.js} (99%) rename _nuxt/{docs.0uoY01y7.js => docs.ssppZ59D.js} (96%) rename _nuxt/{entry.n8fVlM9F.js => entry.YSgWRBMm.js} (98%) rename _nuxt/{highlighter.d9j6adwR.js => highlighter.VWAyexcv.js} (99%) rename _nuxt/{index.zxozhBNM.js => index.-1WZlMFP.js} (51%) rename _nuxt/{index.kY4KOPT6.js => index.3HHY23m7.js} (99%) rename _nuxt/{mdc-imports.s7dsNahg.js => mdc-imports.FeBHvcg_.js} (85%) rename _nuxt/{slot.BWovzuEB.js => slot.afHLBHGJ.js} (67%) rename _nuxt/{useGithub.Y6y6nFQf.js => useGithub.VmKQ2Hb8.js} (88%) rename _nuxt/{useStudio.-w8AO5Bf.js => useStudio.oiGkyvhW.js} (99%) rename api/_content/{cache.1706280866184.json => cache.1706281021488.json} (99%) rename api/_content/navigation/{u7BbTyuhiE.1706280866184.json => u7BbTyuhiE.1706281021488.json} (100%) rename api/_content/query/{0gudQYZdI3.1706280866184.json => 0gudQYZdI3.1706281021488.json} (100%) rename api/_content/query/{0wFsGmvw10.1706280866184.json => 0wFsGmvw10.1706281021488.json} (100%) rename api/_content/query/{4zYVP4W6op.1706280866184.json => 4zYVP4W6op.1706281021488.json} (100%) rename api/_content/query/{5lOdqeHnNL.1706280866184.json => 5lOdqeHnNL.1706281021488.json} (100%) rename api/_content/query/{76BoSDA4U0.1706280866184.json => 76BoSDA4U0.1706281021488.json} (100%) rename api/_content/query/{CsvcZ6zVi1.1706280866184.json => CsvcZ6zVi1.1706281021488.json} (100%) rename api/_content/query/{JW0JBzZZMj.1706280866184.json => JW0JBzZZMj.1706281021488.json} (100%) rename api/_content/query/{L15561AOag.1706280866184.json => L15561AOag.1706281021488.json} (100%) rename api/_content/query/{U0fhu5Rxhl.1706280866184.json => U0fhu5Rxhl.1706281021488.json} (100%) rename api/_content/query/{Y4LEUEirY6.1706280866184.json => Y4LEUEirY6.1706281021488.json} (100%) rename api/_content/query/{YSHNqHnuhS.1706280866184.json => YSHNqHnuhS.1706281021488.json} (100%) rename api/_content/query/{brX4CwCJoQ.1706280866184.json => brX4CwCJoQ.1706281021488.json} (100%) rename api/_content/query/{dKXPFPos09.1706280866184.json => dKXPFPos09.1706281021488.json} (100%) rename api/_content/query/{hYpPLZd268.1706280866184.json => hYpPLZd268.1706281021488.json} (100%) rename api/_content/query/{mUC1LoY5SU.1706280866184.json => mUC1LoY5SU.1706281021488.json} (100%) rename api/_content/query/{mjPUuLZ5K0.1706280866184.json => mjPUuLZ5K0.1706281021488.json} (100%) rename api/_content/query/{pTByVtROxU.1706280866184.json => pTByVtROxU.1706281021488.json} (100%) rename api/_content/query/{sY2lwz2oSi.1706280866184.json => sY2lwz2oSi.1706281021488.json} (100%) rename api/_content/query/{unQN3QZxvJ.1706280866184.json => unQN3QZxvJ.1706281021488.json} (100%) rename api/_content/query/{xTj1Y0li2H.1706280866184.json => xTj1Y0li2H.1706281021488.json} (100%) rename api/_content/query/{yZYG07dTrW.1706280866184.json => yZYG07dTrW.1706281021488.json} (100%) diff --git a/200.html b/200.html index d7953455..02777f30 100644 --- a/200.html +++ b/200.html @@ -7,25 +7,25 @@ - + - - + + - - - - - - - - + + + + + + + + - - + + - -
- \ No newline at end of file + \ No newline at end of file diff --git a/404.html b/404.html index d7953455..02777f30 100644 --- a/404.html +++ b/404.html @@ -7,25 +7,25 @@ - + - - + + - - - - - - - - + + + + + + + + - - + + - -
- \ No newline at end of file + \ No newline at end of file diff --git a/__studio.json b/__studio.json index c1417b74..08a244a6 100644 --- a/__studio.json +++ b/__studio.json @@ -1 +1 @@ -{"version":"1.0.10","project":"","tokens":"6a7843a41c6847d5400e0b1ff1bb9d8c2ff908fb099d2d5ad5058d6658474b99","contentSchema":{},"appConfigSchema":{"properties":{"id":"#appConfig","properties":{"nuxtIcon":{"title":"Nuxt Icon","description":"Configure Nuxt Icon module preferences.","id":"#appConfig/nuxtIcon","properties":{"size":{"title":"Icon Size","description":"Set the default icon size. Set to false to disable the sizing of icon in style.","tags":["@studioIcon material-symbols:format-size-rounded"],"tsType":"string | false","id":"#appConfig/nuxtIcon/size","default":"1em","type":"string"},"class":{"title":"CSS Class","description":"Set the default CSS class.","tags":["@studioIcon material-symbols:css"],"id":"#appConfig/nuxtIcon/class","default":"","type":"string"},"aliases":{"title":"Icon aliases","description":"Define Icon aliases to update them easily without code changes.","tags":["@studioIcon material-symbols:star-rounded"],"tsType":"{ [alias: string]: string }","id":"#appConfig/nuxtIcon/aliases","default":{},"type":"object"},"iconifyApiOptions":{"title":"Iconify API Options","description":"Define preferences for Iconify API fetch.","tags":["@studioIcon material-symbols:tv-options-input-settings"],"id":"#appConfig/nuxtIcon/iconifyApiOptions","properties":{"url":{"title":"Iconify API URL","description":"Define a custom Iconify API URL. Useful if you want to use a self-hosted Iconify API. Learn more: https://iconify.design/docs/api.","tags":["@studioIcon material-symbols:api"],"id":"#appConfig/nuxtIcon/iconifyApiOptions/url","default":"https://api.iconify.design","type":"string"},"publicApiFallback":{"title":"Public Iconify API fallback","description":"Define if the public Iconify API should be used as fallback.","tags":["@studioIcon material-symbols:public"],"id":"#appConfig/nuxtIcon/iconifyApiOptions/publicApiFallback","default":false,"type":"boolean"}},"type":"object","default":{"url":"https://api.iconify.design","publicApiFallback":false}}},"type":"object","default":{"size":"1em","class":"","aliases":{},"iconifyApiOptions":{"url":"https://api.iconify.design","publicApiFallback":false}}},"ui":{"title":"UI","description":"UI Customization.","tags":["@studioIcon i-mdi-palette-outline"],"id":"#appConfig/ui","properties":{"icons":{"title":"Icons","description":"Manage icons used in UI Pro.","tags":["@studioIcon i-mdi-application-settings-outline"],"id":"#appConfig/ui/icons","properties":{"search":{"type":"string","title":"Search Bar","description":"Icon to display in the search bar.","default":"i-heroicons-magnifying-glass-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-magnifying-glass-20-solid"],"id":"#appConfig/ui/icons/search"},"dark":{"type":"string","title":"Dark mode","description":"Icon of color mode button for dark mode.","default":"i-heroicons-moon-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-moon-20-solid"],"id":"#appConfig/ui/icons/dark"},"light":{"type":"string","title":"Light mode","description":"Icon of color mode button for light mode.","default":"i-heroicons-sun-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-sun-20-solid"],"id":"#appConfig/ui/icons/light"},"external":{"type":"string","title":"External Link","description":"Icon for external link.","default":"i-heroicons-arrow-up-right-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-arrow-up-right-20-solid"],"id":"#appConfig/ui/icons/external"},"chevron":{"type":"string","title":"Chevron","description":"Icon for chevron.","default":"i-heroicons-chevron-down-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-chevron-down-20-solid"],"id":"#appConfig/ui/icons/chevron"},"hash":{"type":"string","title":"Hash","description":"Icon for hash anchors.","default":"i-heroicons-hashtag-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-hashtag-20-solid"],"id":"#appConfig/ui/icons/hash"}},"type":"object","default":{"search":"i-heroicons-magnifying-glass-20-solid","dark":"i-heroicons-moon-20-solid","light":"i-heroicons-sun-20-solid","external":"i-heroicons-arrow-up-right-20-solid","chevron":"i-heroicons-chevron-down-20-solid","hash":"i-heroicons-hashtag-20-solid"}}},"type":"object","default":{"icons":{"search":"i-heroicons-magnifying-glass-20-solid","dark":"i-heroicons-moon-20-solid","light":"i-heroicons-sun-20-solid","external":"i-heroicons-arrow-up-right-20-solid","chevron":"i-heroicons-chevron-down-20-solid","hash":"i-heroicons-hashtag-20-solid"}}},"header":{"title":"Header","description":"Header configuration.","tags":["@studioIcon i-mdi-page-layout-header"],"id":"#appConfig/header","properties":{"logo":{"title":"Logo","description":"Footer logo configuration.","tags":["@studioIcon i-mdi-image-filter-center-focus-strong-outline"],"id":"#appConfig/header/logo","properties":{"light":{"type":"string","title":"Light Mode Logo","description":"Pick an image from your gallery.","default":"","tags":["@studioInput media","@studioIcon i-heroicons-sun-20-solid"],"id":"#appConfig/header/logo/light"},"dark":{"type":"string","title":"Dark Mode Logo","description":"Pick an image from your gallery.","default":"","tags":["@studioInput media","@studioIcon i-heroicons-moon-20-solid"],"id":"#appConfig/header/logo/dark"},"alt":{"type":"string","title":"Alt","description":"Alt to display for accessibility.","default":"","tags":["@studioInput string","@studioIcon i-mdi-alphabet-latin"],"id":"#appConfig/header/logo/alt"}},"type":"object","default":{"light":"","dark":"","alt":""}},"search":{"type":"boolean","title":"Search Bar","description":"Hide or display the search bar.","default":true,"tags":["@studioInput boolean","@studioIcon i-mdi-magnify"],"id":"#appConfig/header/search"},"colorMode":{"type":"boolean","title":"Color Mode","description":"Hide or display the color mode button in your header.","default":true,"tags":["@studioInput boolean","@studioIcon i-heroicons-moon-20-solid"],"id":"#appConfig/header/colorMode"},"links":{"type":"array","title":"Links","description":"Array of link object displayed in header.","default":[],"tags":["@studioInput array","@studioIcon i-mdi-link-variant"],"id":"#appConfig/header/links","items":{"type":"any"}}},"type":"object","default":{"logo":{"light":"","dark":"","alt":""},"search":true,"colorMode":true,"links":[]}},"footer":{"title":"Footer","description":"Footer configuration.","tags":["@studioIcon i-mdi-page-layout-footer"],"id":"#appConfig/footer","properties":{"credits":{"type":"string","title":"Footer credits section","description":"Text to display as credits in the footer.","default":"","tags":["@studioInput string","@studioIcon i-mdi-circle-edit-outline"],"id":"#appConfig/footer/credits"},"colorMode":{"type":"boolean","title":"Color Mode","description":"Hide or display the color mode button in the footer.","default":false,"tags":["@studioInput boolean","@studioIcon i-heroicons-moon-20-solid"],"id":"#appConfig/footer/colorMode"},"links":{"type":"array","title":"Links","description":"Array of link object displayed in footer.","default":[],"tags":["@studioInput array","@studioIcon i-mdi-link-variant"],"id":"#appConfig/footer/links","items":{"type":"any"}}},"type":"object","default":{"credits":"","colorMode":false,"links":[]}},"toc":{"title":"Table of contents","description":"TOC configuration.","tags":["@studioIcon i-heroicons-table-cells-solid"],"id":"#appConfig/toc","properties":{"title":{"type":"string","title":"Title","description":"Text to display as title of the main toc.","default":"","tags":["@studioInput string","@studioIcon i-mdi-format-title"],"id":"#appConfig/toc/title"},"bottom":{"title":"Bottom","description":"Bottom TOC configuration.","tags":["@studioIcon i-heroicons-bars-arrow-down-solid"],"id":"#appConfig/toc/bottom","properties":{"title":{"type":"string","title":"Title","description":"Text to display as title of the bottom toc.","default":"","tags":["@studioInput string","@studioIcon i-mdi-format-title"],"id":"#appConfig/toc/bottom/title"},"edit":{"type":"string","title":"Edit Page Link","description":"URL of your repository content folder.","default":"","tags":["@studioInput string","@studioIcon i-heroicons-pencil-square"],"id":"#appConfig/toc/bottom/edit"},"links":{"type":"array","title":"Links","description":"Array of link object displayed in bottom toc.","default":[],"tags":["@studioInput array","@studioIcon i-mdi-link-variant"],"id":"#appConfig/toc/bottom/links","items":{"type":"any"}}},"type":"object","default":{"title":"","edit":"","links":[]}}},"type":"object","default":{"title":"","bottom":{"title":"","edit":"","links":[]}}}},"type":"object","default":{"nuxtIcon":{"size":"1em","class":"","aliases":{},"iconifyApiOptions":{"url":"https://api.iconify.design","publicApiFallback":false}},"ui":{"icons":{"search":"i-heroicons-magnifying-glass-20-solid","dark":"i-heroicons-moon-20-solid","light":"i-heroicons-sun-20-solid","external":"i-heroicons-arrow-up-right-20-solid","chevron":"i-heroicons-chevron-down-20-solid","hash":"i-heroicons-hashtag-20-solid"}},"header":{"logo":{"light":"","dark":"","alt":""},"search":true,"colorMode":true,"links":[]},"footer":{"credits":"","colorMode":false,"links":[]},"toc":{"title":"","bottom":{"title":"","edit":"","links":[]}}}},"default":{"nuxtIcon":{"size":"1em","class":"","aliases":{},"iconifyApiOptions":{"url":"https://api.iconify.design","publicApiFallback":false}},"ui":{"icons":{"search":"i-heroicons-magnifying-glass-20-solid","dark":"i-heroicons-moon-20-solid","light":"i-heroicons-sun-20-solid","external":"i-heroicons-arrow-up-right-20-solid","chevron":"i-heroicons-chevron-down-20-solid","hash":"i-heroicons-hashtag-20-solid"}},"header":{"logo":{"light":"","dark":"","alt":""},"search":true,"colorMode":true,"links":[]},"footer":{"credits":"","colorMode":false,"links":[]},"toc":{"title":"","bottom":{"title":"","edit":"","links":[]}}}},"appConfig":{"nuxt":{"buildId":"f09453c5-4a08-430c-9c23-82215543834e"},"ui":{"primary":"green","gray":"slate","colors":["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary"],"strategy":"merge","variables":{"light":{"background":"255 255 255","foreground":"var(--color-gray-700)"},"dark":{"background":"var(--color-gray-900)","foreground":"var(--color-gray-200)"},"header":{"height":"4rem"}},"icons":{"dark":"i-heroicons-moon","light":"i-heroicons-sun","system":"i-heroicons-computer-desktop-20-solid","search":"i-heroicons-magnifying-glass-20-solid","external":"i-heroicons-arrow-up-right-20-solid","chevron":"i-heroicons-chevron-down-20-solid","hash":"i-heroicons-hashtag-20-solid"},"presets":{"button":{"primary":{"color":"white","variant":"solid"},"secondary":{"color":"gray","variant":"ghost"},"input":{"color":"white","variant":"outline","ui":{"font":"","color":{"white":{"outline":"ring-1 ring-inset ring-gray-300 dark:ring-gray-700 hover:ring-gray-300 dark:hover:ring-gray-700 hover:bg-gray-100/50 dark:hover:bg-gray-800/50 text-gray-400 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-200 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"}}}}}},"footer":{"bottom":{"left":"text-sm text-gray-500 dark:text-gray-400","wrapper":"border-t border-gray-200 dark:border-gray-800"}}},"header":{"logo":{"alt":"logo nuxt supabase module","light":"/logo-nuxt-supabase-light.png","dark":"/logo-nuxt-supabase-dark.png"},"search":true,"colorMode":true,"links":[{"icon":"i-simple-icons-x","to":"https://x.com/nuxt_js","target":"_blank","aria-label":"Nuxt on X"},{"icon":"i-simple-icons-github","to":"https://github.com/nuxt-modules/supabase","target":"_blank","aria-label":"Module on GitHub"},{"icon":"i-simple-icons-nuxtdotjs","to":"https://nuxt.com","target":"_blank","aria-label":"Nuxt official website"},{"icon":"i-simple-icons-supabase","to":"https://supabase.com","target":"_blank","aria-label":"Supabase official website"}]},"footer":{"credits":"Made with Nuxt Studio","colorMode":false,"links":[{"icon":"i-simple-icons-x","to":"https://x.com/nuxt_js","target":"_blank","aria-label":"Nuxt on X"},{"icon":"i-simple-icons-github","to":"https://github.com/nuxt-modules/supabase","target":"_blank","aria-label":"Module on GitHub"},{"icon":"i-simple-icons-nuxtdotjs","to":"https://nuxt.com","target":"_blank","aria-label":"Nuxt official website"},{"icon":"i-simple-icons-supabase","to":"https://supabase.com","target":"_blank","aria-label":"Supabase official website"}]},"toc":{"title":"Table of Contents","bottom":{"title":"Community","edit":"https://github.com/nuxt-modules/supabase/edit/main/docs/content","links":[{"icon":"i-heroicons-star","label":"Star on GitHub","to":"https://github.com/nuxt-modules/supabase","target":"_blank"},{"icon":"i-simple-icons-nuxtdotjs","label":"Nuxt docs","to":"https://nuxt.com","target":"_blank"},{"icon":"i-simple-icons-supabase","label":"Supabase docs","to":"https://supabase.com","target":"_blank"}]}}},"content":{"sources":{},"ignores":[],"locales":[],"defaultLocale":"","highlight":{"theme":{"light":"material-theme-lighter","default":"material-theme","dark":"material-theme-palenight"},"preload":["json","js","ts","html","css","vue","diff","shell","markdown","yaml","bash","ini"]},"navigation":{"fields":["icon","to","target"]},"documentDriven":false,"experimental":{"clientDB":false,"cacheContents":true,"stripQueryParameters":false,"advanceQuery":false,"search":""}},"components":[{"name":"Releases","path":"components/content/Releases.vue","meta":{"props":[],"slots":[],"events":[]}},{"name":"VoltaBoard","path":"components/content/VoltaBoard.vue","meta":{"props":[{"name":"token","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/components/content/VoltaBoard.vue","range":[154,203]},{"file":"/home/runner/work/supabase/supabase/docs/components/content/VoltaBoard.vue","range":[154,203]}],"schema":"string"}],"slots":[],"events":[]}},{"name":"Callout","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","meta":{"props":[{"name":"icon","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","range":[1600,1652]}],"schema":"string","default":"undefined"},{"name":"color","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","range":[1656,1746]}],"schema":"string","default":"\"primary\""},{"name":"to","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","range":[1750,1800]}],"schema":"string","default":"undefined"},{"name":"target","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","range":[1804,1858]}],"schema":"string","default":"undefined"},{"name":"ui","global":false,"description":"","tags":[],"required":false,"type":"any","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","range":[1953,2046]}],"schema":"any","default":"{}"}],"slots":[{"name":"default","type":"{ unwrap: string; }","description":"","declarations":[],"schema":{"kind":"object","type":"{ unwrap: string; }","schema":{"unwrap":{"name":"unwrap","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[],"schema":"string"}}}}],"events":[]}},{"name":"Card","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","meta":{"props":[{"name":"icon","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[1663,1715]}],"schema":"string","default":"undefined"},{"name":"color","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[1719,1809]}],"schema":"string","default":"\"primary\""},{"name":"to","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[1813,1863]}],"schema":"string","default":"undefined"},{"name":"target","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[1867,1921]}],"schema":"string","default":"undefined"},{"name":"title","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[1925,1978]}],"schema":"string","default":"undefined"},{"name":"ui","global":false,"description":"","tags":[],"required":false,"type":"any","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[2073,2166]}],"schema":"any","default":"{}"}],"slots":[{"name":"default","type":"{ unwrap: string; }","description":"","declarations":[],"schema":{"kind":"object","type":"{ unwrap: string; }","schema":{"unwrap":{"name":"unwrap","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[],"schema":"string"}}}}],"events":[]}},{"name":"CardGroup","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/CardGroup.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"CodeGroup","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/CodeGroup.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"Collapsible","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Collapsible.vue","meta":{"props":[{"name":"name","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Collapsible.vue","range":[1024,1079]}],"schema":"string","default":"\"properties\""}],"slots":[{"name":"default","type":"{ unwrap: string; }","description":"","declarations":[],"schema":{"kind":"object","type":"{ unwrap: string; }","schema":{"unwrap":{"name":"unwrap","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[],"schema":"string"}}}}],"events":[]}},{"name":"Field","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","meta":{"props":[{"name":"name","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[953,1001]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[953,1001]}],"schema":"string"},{"name":"default","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[1181,1236]}],"schema":"string","default":"undefined"},{"name":"type","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[1068,1120]}],"schema":"string","default":"undefined"},{"name":"description","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[1005,1064]}],"schema":"string","default":"undefined"},{"name":"required","global":false,"description":"","tags":[],"required":false,"type":"boolean","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[1124,1177]}],"schema":{"kind":"enum","type":"boolean","schema":["false","true"]},"default":"false"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"FieldGroup","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/FieldGroup.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"Shortcut","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Shortcut.vue","meta":{"props":[{"name":"value","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Shortcut.vue","range":[285,334]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Shortcut.vue","range":[285,334]}],"schema":"string"}],"slots":[],"events":[]}},{"name":"Tabs","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Tabs.vue","meta":{"props":[{"name":"selectedIndex","global":false,"description":"","tags":[],"required":false,"type":"number","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Tabs.vue","range":[1382,1435]}],"schema":"number","default":"0"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseCode","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","meta":{"props":[{"name":"code","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[78,126]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[78,126]}],"schema":"string"},{"name":"icon","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[130,182]}],"schema":"string","default":"undefined"},{"name":"language","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[186,242]}],"schema":"string","default":"undefined"},{"name":"filename","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[305,361]}],"schema":"string","default":"undefined"},{"name":"highlights","global":false,"description":"","tags":[],"required":false,"type":"number[]","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[365,444]}],"schema":{"kind":"array","type":"number[]","schema":["number"]},"default":"undefined"},{"name":"meta","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[448,500]}],"schema":"string","default":"undefined"},{"name":"hideHeader","global":false,"description":"","tags":[],"required":false,"type":"boolean","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[246,301]}],"schema":{"kind":"enum","type":"boolean","schema":["false","true"]},"default":"false"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseCodeButton","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeButton.vue","meta":{"props":[{"name":"code","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeButton.vue","range":[55,103]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeButton.vue","range":[55,103]}],"schema":"string"}],"slots":[],"events":[]}},{"name":"ProseCodeIcon","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeIcon.vue","meta":{"props":[{"name":"icon","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeIcon.vue","range":[55,107]}],"schema":"string","default":"undefined"},{"name":"filename","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeIcon.vue","range":[111,167]}],"schema":"string","default":"undefined"}],"slots":[],"events":[]}},{"name":"ProseH1","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH1.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH1.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH1.vue","range":[414,460]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseH2","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH2.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH2.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH2.vue","range":[414,460]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseH3","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH3.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH3.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH3.vue","range":[414,460]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseH4","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH4.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH4.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH4.vue","range":[414,460]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseCodeInline","path":"node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProseCodeInline.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProsePre","path":"node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","meta":{"props":[{"name":"code","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","range":[248,293]}],"schema":"string","default":"\"\""},{"name":"language","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","range":[297,348]}],"schema":"string","default":"null"},{"name":"filename","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","range":[352,403]}],"schema":"string","default":"null"},{"name":"highlights","global":false,"description":"","tags":[],"required":false,"type":"number[]","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","range":[407,481]}],"schema":{"kind":"array","type":"number[]","schema":["number"]},"default":"[]"},{"name":"meta","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","range":[485,532]}],"schema":"string","default":"null"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseA","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseA.vue","meta":{"props":[{"name":"href","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseA.vue","range":[146,191]}],"schema":"string","default":"\"\""},{"name":"target","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseA.vue","range":[195,270]}],"schema":"string","default":"undefined"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseBlockquote","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseBlockquote.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseEm","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseEm.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseH5","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH5.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH5.vue","range":[264,275]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH5.vue","range":[264,275]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseH6","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH6.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH6.vue","range":[264,275]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH6.vue","range":[264,275]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseHr","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseHr.vue","meta":{"props":[],"slots":[],"events":[]}},{"name":"ProseImg","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue","meta":{"props":[{"name":"src","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue","range":[289,333]}],"schema":"string","default":"\"\""},{"name":"alt","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue","range":[337,381]}],"schema":"string","default":"\"\""},{"name":"width","global":false,"description":"","tags":[],"required":false,"type":"string | number","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue","range":[385,448]}],"schema":{"kind":"enum","type":"string | number","schema":["string","number"]},"default":"undefined"},{"name":"height","global":false,"description":"","tags":[],"required":false,"type":"string | number","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue","range":[452,516]}],"schema":{"kind":"enum","type":"string | number","schema":["string","number"]},"default":"undefined"}],"slots":[],"events":[]}},{"name":"ProseLi","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseLi.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseOl","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseOl.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseP","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseP.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseScript","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseScript.vue","meta":{"props":[{"name":"src","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseScript.vue","range":[317,361]}],"schema":"string","default":"\"\""}],"slots":[],"events":[]}},{"name":"ProseStrong","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseStrong.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseTable","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseTable.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseTbody","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseTbody.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseTd","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseTd.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseTh","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseTh.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseThead","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseThead.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseTr","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseTr.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseUl","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseUl.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"Icon","path":"node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/Icon.vue","meta":{"props":[{"name":"name","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/Icon.vue","range":[669,717]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/Icon.vue","range":[669,717]}],"schema":"string"},{"name":"size","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/Icon.vue","range":[721,766]}],"schema":"string","default":"\"\""}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"IconCSS","path":"node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/IconCSS.vue","meta":{"props":[{"name":"name","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/IconCSS.vue","range":[387,435]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/IconCSS.vue","range":[387,435]}],"schema":"string"},{"name":"size","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/IconCSS.vue","range":[439,484]}],"schema":"string","default":"\"\""}],"slots":[],"events":[]}},{"name":"OgImageStatic","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/Static.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"OgImageDynamic","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/Dynamic.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"OgImage","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/index.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"OgImageCached","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/Cached.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"OgImageWithoutCache","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/WithoutCache.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"OgImageScreenshot","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/Screenshot.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubRepository","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubRepository.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubLink","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubLink.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubReadme","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubReadme.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubReleases","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubReleases.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubLastRelease","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubLastRelease.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubRelease","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubRelease.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubContributors","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubContributors.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubFileContributors","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubFileContributors.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubCommits","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubCommits.mjs","meta":{"props":[],"slots":[],"events":[]}}]} \ No newline at end of file +{"version":"1.0.10","project":"","tokens":"6a7843a41c6847d5400e0b1ff1bb9d8c2ff908fb099d2d5ad5058d6658474b99","contentSchema":{},"appConfigSchema":{"properties":{"id":"#appConfig","properties":{"nuxtIcon":{"title":"Nuxt Icon","description":"Configure Nuxt Icon module preferences.","id":"#appConfig/nuxtIcon","properties":{"size":{"title":"Icon Size","description":"Set the default icon size. Set to false to disable the sizing of icon in style.","tags":["@studioIcon material-symbols:format-size-rounded"],"tsType":"string | false","id":"#appConfig/nuxtIcon/size","default":"1em","type":"string"},"class":{"title":"CSS Class","description":"Set the default CSS class.","tags":["@studioIcon material-symbols:css"],"id":"#appConfig/nuxtIcon/class","default":"","type":"string"},"aliases":{"title":"Icon aliases","description":"Define Icon aliases to update them easily without code changes.","tags":["@studioIcon material-symbols:star-rounded"],"tsType":"{ [alias: string]: string }","id":"#appConfig/nuxtIcon/aliases","default":{},"type":"object"},"iconifyApiOptions":{"title":"Iconify API Options","description":"Define preferences for Iconify API fetch.","tags":["@studioIcon material-symbols:tv-options-input-settings"],"id":"#appConfig/nuxtIcon/iconifyApiOptions","properties":{"url":{"title":"Iconify API URL","description":"Define a custom Iconify API URL. Useful if you want to use a self-hosted Iconify API. Learn more: https://iconify.design/docs/api.","tags":["@studioIcon material-symbols:api"],"id":"#appConfig/nuxtIcon/iconifyApiOptions/url","default":"https://api.iconify.design","type":"string"},"publicApiFallback":{"title":"Public Iconify API fallback","description":"Define if the public Iconify API should be used as fallback.","tags":["@studioIcon material-symbols:public"],"id":"#appConfig/nuxtIcon/iconifyApiOptions/publicApiFallback","default":false,"type":"boolean"}},"type":"object","default":{"url":"https://api.iconify.design","publicApiFallback":false}}},"type":"object","default":{"size":"1em","class":"","aliases":{},"iconifyApiOptions":{"url":"https://api.iconify.design","publicApiFallback":false}}},"ui":{"title":"UI","description":"UI Customization.","tags":["@studioIcon i-mdi-palette-outline"],"id":"#appConfig/ui","properties":{"icons":{"title":"Icons","description":"Manage icons used in UI Pro.","tags":["@studioIcon i-mdi-application-settings-outline"],"id":"#appConfig/ui/icons","properties":{"search":{"type":"string","title":"Search Bar","description":"Icon to display in the search bar.","default":"i-heroicons-magnifying-glass-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-magnifying-glass-20-solid"],"id":"#appConfig/ui/icons/search"},"dark":{"type":"string","title":"Dark mode","description":"Icon of color mode button for dark mode.","default":"i-heroicons-moon-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-moon-20-solid"],"id":"#appConfig/ui/icons/dark"},"light":{"type":"string","title":"Light mode","description":"Icon of color mode button for light mode.","default":"i-heroicons-sun-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-sun-20-solid"],"id":"#appConfig/ui/icons/light"},"external":{"type":"string","title":"External Link","description":"Icon for external link.","default":"i-heroicons-arrow-up-right-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-arrow-up-right-20-solid"],"id":"#appConfig/ui/icons/external"},"chevron":{"type":"string","title":"Chevron","description":"Icon for chevron.","default":"i-heroicons-chevron-down-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-chevron-down-20-solid"],"id":"#appConfig/ui/icons/chevron"},"hash":{"type":"string","title":"Hash","description":"Icon for hash anchors.","default":"i-heroicons-hashtag-20-solid","tags":["@studioInput icon","@studioIcon i-heroicons-hashtag-20-solid"],"id":"#appConfig/ui/icons/hash"}},"type":"object","default":{"search":"i-heroicons-magnifying-glass-20-solid","dark":"i-heroicons-moon-20-solid","light":"i-heroicons-sun-20-solid","external":"i-heroicons-arrow-up-right-20-solid","chevron":"i-heroicons-chevron-down-20-solid","hash":"i-heroicons-hashtag-20-solid"}}},"type":"object","default":{"icons":{"search":"i-heroicons-magnifying-glass-20-solid","dark":"i-heroicons-moon-20-solid","light":"i-heroicons-sun-20-solid","external":"i-heroicons-arrow-up-right-20-solid","chevron":"i-heroicons-chevron-down-20-solid","hash":"i-heroicons-hashtag-20-solid"}}},"header":{"title":"Header","description":"Header configuration.","tags":["@studioIcon i-mdi-page-layout-header"],"id":"#appConfig/header","properties":{"logo":{"title":"Logo","description":"Footer logo configuration.","tags":["@studioIcon i-mdi-image-filter-center-focus-strong-outline"],"id":"#appConfig/header/logo","properties":{"light":{"type":"string","title":"Light Mode Logo","description":"Pick an image from your gallery.","default":"","tags":["@studioInput media","@studioIcon i-heroicons-sun-20-solid"],"id":"#appConfig/header/logo/light"},"dark":{"type":"string","title":"Dark Mode Logo","description":"Pick an image from your gallery.","default":"","tags":["@studioInput media","@studioIcon i-heroicons-moon-20-solid"],"id":"#appConfig/header/logo/dark"},"alt":{"type":"string","title":"Alt","description":"Alt to display for accessibility.","default":"","tags":["@studioInput string","@studioIcon i-mdi-alphabet-latin"],"id":"#appConfig/header/logo/alt"}},"type":"object","default":{"light":"","dark":"","alt":""}},"search":{"type":"boolean","title":"Search Bar","description":"Hide or display the search bar.","default":true,"tags":["@studioInput boolean","@studioIcon i-mdi-magnify"],"id":"#appConfig/header/search"},"colorMode":{"type":"boolean","title":"Color Mode","description":"Hide or display the color mode button in your header.","default":true,"tags":["@studioInput boolean","@studioIcon i-heroicons-moon-20-solid"],"id":"#appConfig/header/colorMode"},"links":{"type":"array","title":"Links","description":"Array of link object displayed in header.","default":[],"tags":["@studioInput array","@studioIcon i-mdi-link-variant"],"id":"#appConfig/header/links","items":{"type":"any"}}},"type":"object","default":{"logo":{"light":"","dark":"","alt":""},"search":true,"colorMode":true,"links":[]}},"footer":{"title":"Footer","description":"Footer configuration.","tags":["@studioIcon i-mdi-page-layout-footer"],"id":"#appConfig/footer","properties":{"credits":{"type":"string","title":"Footer credits section","description":"Text to display as credits in the footer.","default":"","tags":["@studioInput string","@studioIcon i-mdi-circle-edit-outline"],"id":"#appConfig/footer/credits"},"colorMode":{"type":"boolean","title":"Color Mode","description":"Hide or display the color mode button in the footer.","default":false,"tags":["@studioInput boolean","@studioIcon i-heroicons-moon-20-solid"],"id":"#appConfig/footer/colorMode"},"links":{"type":"array","title":"Links","description":"Array of link object displayed in footer.","default":[],"tags":["@studioInput array","@studioIcon i-mdi-link-variant"],"id":"#appConfig/footer/links","items":{"type":"any"}}},"type":"object","default":{"credits":"","colorMode":false,"links":[]}},"toc":{"title":"Table of contents","description":"TOC configuration.","tags":["@studioIcon i-heroicons-table-cells-solid"],"id":"#appConfig/toc","properties":{"title":{"type":"string","title":"Title","description":"Text to display as title of the main toc.","default":"","tags":["@studioInput string","@studioIcon i-mdi-format-title"],"id":"#appConfig/toc/title"},"bottom":{"title":"Bottom","description":"Bottom TOC configuration.","tags":["@studioIcon i-heroicons-bars-arrow-down-solid"],"id":"#appConfig/toc/bottom","properties":{"title":{"type":"string","title":"Title","description":"Text to display as title of the bottom toc.","default":"","tags":["@studioInput string","@studioIcon i-mdi-format-title"],"id":"#appConfig/toc/bottom/title"},"edit":{"type":"string","title":"Edit Page Link","description":"URL of your repository content folder.","default":"","tags":["@studioInput string","@studioIcon i-heroicons-pencil-square"],"id":"#appConfig/toc/bottom/edit"},"links":{"type":"array","title":"Links","description":"Array of link object displayed in bottom toc.","default":[],"tags":["@studioInput array","@studioIcon i-mdi-link-variant"],"id":"#appConfig/toc/bottom/links","items":{"type":"any"}}},"type":"object","default":{"title":"","edit":"","links":[]}}},"type":"object","default":{"title":"","bottom":{"title":"","edit":"","links":[]}}}},"type":"object","default":{"nuxtIcon":{"size":"1em","class":"","aliases":{},"iconifyApiOptions":{"url":"https://api.iconify.design","publicApiFallback":false}},"ui":{"icons":{"search":"i-heroicons-magnifying-glass-20-solid","dark":"i-heroicons-moon-20-solid","light":"i-heroicons-sun-20-solid","external":"i-heroicons-arrow-up-right-20-solid","chevron":"i-heroicons-chevron-down-20-solid","hash":"i-heroicons-hashtag-20-solid"}},"header":{"logo":{"light":"","dark":"","alt":""},"search":true,"colorMode":true,"links":[]},"footer":{"credits":"","colorMode":false,"links":[]},"toc":{"title":"","bottom":{"title":"","edit":"","links":[]}}}},"default":{"nuxtIcon":{"size":"1em","class":"","aliases":{},"iconifyApiOptions":{"url":"https://api.iconify.design","publicApiFallback":false}},"ui":{"icons":{"search":"i-heroicons-magnifying-glass-20-solid","dark":"i-heroicons-moon-20-solid","light":"i-heroicons-sun-20-solid","external":"i-heroicons-arrow-up-right-20-solid","chevron":"i-heroicons-chevron-down-20-solid","hash":"i-heroicons-hashtag-20-solid"}},"header":{"logo":{"light":"","dark":"","alt":""},"search":true,"colorMode":true,"links":[]},"footer":{"credits":"","colorMode":false,"links":[]},"toc":{"title":"","bottom":{"title":"","edit":"","links":[]}}}},"appConfig":{"nuxt":{"buildId":"395fd8a4-c0ee-48c0-aaa7-2fe1d2ac14ab"},"ui":{"primary":"green","gray":"slate","colors":["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary"],"strategy":"merge","variables":{"light":{"background":"255 255 255","foreground":"var(--color-gray-700)"},"dark":{"background":"var(--color-gray-900)","foreground":"var(--color-gray-200)"},"header":{"height":"4rem"}},"icons":{"dark":"i-heroicons-moon","light":"i-heroicons-sun","system":"i-heroicons-computer-desktop-20-solid","search":"i-heroicons-magnifying-glass-20-solid","external":"i-heroicons-arrow-up-right-20-solid","chevron":"i-heroicons-chevron-down-20-solid","hash":"i-heroicons-hashtag-20-solid"},"presets":{"button":{"primary":{"color":"white","variant":"solid"},"secondary":{"color":"gray","variant":"ghost"},"input":{"color":"white","variant":"outline","ui":{"font":"","color":{"white":{"outline":"ring-1 ring-inset ring-gray-300 dark:ring-gray-700 hover:ring-gray-300 dark:hover:ring-gray-700 hover:bg-gray-100/50 dark:hover:bg-gray-800/50 text-gray-400 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-200 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"}}}}}},"footer":{"bottom":{"left":"text-sm text-gray-500 dark:text-gray-400","wrapper":"border-t border-gray-200 dark:border-gray-800"}}},"header":{"logo":{"alt":"logo nuxt supabase module","light":"/logo-nuxt-supabase-light.png","dark":"/logo-nuxt-supabase-dark.png"},"search":true,"colorMode":true,"links":[{"icon":"i-simple-icons-x","to":"https://x.com/nuxt_js","target":"_blank","aria-label":"Nuxt on X"},{"icon":"i-simple-icons-github","to":"https://github.com/nuxt-modules/supabase","target":"_blank","aria-label":"Module on GitHub"},{"icon":"i-simple-icons-nuxtdotjs","to":"https://nuxt.com","target":"_blank","aria-label":"Nuxt official website"},{"icon":"i-simple-icons-supabase","to":"https://supabase.com","target":"_blank","aria-label":"Supabase official website"}]},"footer":{"credits":"Made with Nuxt Studio","colorMode":false,"links":[{"icon":"i-simple-icons-x","to":"https://x.com/nuxt_js","target":"_blank","aria-label":"Nuxt on X"},{"icon":"i-simple-icons-github","to":"https://github.com/nuxt-modules/supabase","target":"_blank","aria-label":"Module on GitHub"},{"icon":"i-simple-icons-nuxtdotjs","to":"https://nuxt.com","target":"_blank","aria-label":"Nuxt official website"},{"icon":"i-simple-icons-supabase","to":"https://supabase.com","target":"_blank","aria-label":"Supabase official website"}]},"toc":{"title":"Table of Contents","bottom":{"title":"Community","edit":"https://github.com/nuxt-modules/supabase/edit/main/docs/content","links":[{"icon":"i-heroicons-star","label":"Star on GitHub","to":"https://github.com/nuxt-modules/supabase","target":"_blank"},{"icon":"i-simple-icons-nuxtdotjs","label":"Nuxt docs","to":"https://nuxt.com","target":"_blank"},{"icon":"i-simple-icons-supabase","label":"Supabase docs","to":"https://supabase.com","target":"_blank"}]}}},"content":{"sources":{},"ignores":[],"locales":[],"defaultLocale":"","highlight":{"theme":{"light":"material-theme-lighter","default":"material-theme","dark":"material-theme-palenight"},"preload":["json","js","ts","html","css","vue","diff","shell","markdown","yaml","bash","ini"]},"navigation":{"fields":["icon","to","target"]},"documentDriven":false,"experimental":{"clientDB":false,"cacheContents":true,"stripQueryParameters":false,"advanceQuery":false,"search":""}},"components":[{"name":"Releases","path":"components/content/Releases.vue","meta":{"props":[],"slots":[],"events":[]}},{"name":"VoltaBoard","path":"components/content/VoltaBoard.vue","meta":{"props":[{"name":"token","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/components/content/VoltaBoard.vue","range":[154,203]},{"file":"/home/runner/work/supabase/supabase/docs/components/content/VoltaBoard.vue","range":[154,203]}],"schema":"string"}],"slots":[],"events":[]}},{"name":"Callout","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","meta":{"props":[{"name":"icon","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","range":[1600,1652]}],"schema":"string","default":"undefined"},{"name":"color","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","range":[1656,1746]}],"schema":"string","default":"\"primary\""},{"name":"to","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","range":[1750,1800]}],"schema":"string","default":"undefined"},{"name":"target","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","range":[1804,1858]}],"schema":"string","default":"undefined"},{"name":"ui","global":false,"description":"","tags":[],"required":false,"type":"any","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Callout.vue","range":[1953,2046]}],"schema":"any","default":"{}"}],"slots":[{"name":"default","type":"{ unwrap: string; }","description":"","declarations":[],"schema":{"kind":"object","type":"{ unwrap: string; }","schema":{"unwrap":{"name":"unwrap","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[],"schema":"string"}}}}],"events":[]}},{"name":"Card","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","meta":{"props":[{"name":"icon","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[1663,1715]}],"schema":"string","default":"undefined"},{"name":"color","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[1719,1809]}],"schema":"string","default":"\"primary\""},{"name":"to","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[1813,1863]}],"schema":"string","default":"undefined"},{"name":"target","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[1867,1921]}],"schema":"string","default":"undefined"},{"name":"title","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[1925,1978]}],"schema":"string","default":"undefined"},{"name":"ui","global":false,"description":"","tags":[],"required":false,"type":"any","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Card.vue","range":[2073,2166]}],"schema":"any","default":"{}"}],"slots":[{"name":"default","type":"{ unwrap: string; }","description":"","declarations":[],"schema":{"kind":"object","type":"{ unwrap: string; }","schema":{"unwrap":{"name":"unwrap","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[],"schema":"string"}}}}],"events":[]}},{"name":"CardGroup","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/CardGroup.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"CodeGroup","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/CodeGroup.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"Collapsible","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Collapsible.vue","meta":{"props":[{"name":"name","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Collapsible.vue","range":[1024,1079]}],"schema":"string","default":"\"properties\""}],"slots":[{"name":"default","type":"{ unwrap: string; }","description":"","declarations":[],"schema":{"kind":"object","type":"{ unwrap: string; }","schema":{"unwrap":{"name":"unwrap","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[],"schema":"string"}}}}],"events":[]}},{"name":"Field","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","meta":{"props":[{"name":"name","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[953,1001]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[953,1001]}],"schema":"string"},{"name":"default","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[1181,1236]}],"schema":"string","default":"undefined"},{"name":"type","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[1068,1120]}],"schema":"string","default":"undefined"},{"name":"description","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[1005,1064]}],"schema":"string","default":"undefined"},{"name":"required","global":false,"description":"","tags":[],"required":false,"type":"boolean","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Field.vue","range":[1124,1177]}],"schema":{"kind":"enum","type":"boolean","schema":["false","true"]},"default":"false"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"FieldGroup","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/FieldGroup.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"Shortcut","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Shortcut.vue","meta":{"props":[{"name":"value","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Shortcut.vue","range":[285,334]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Shortcut.vue","range":[285,334]}],"schema":"string"}],"slots":[],"events":[]}},{"name":"Tabs","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Tabs.vue","meta":{"props":[{"name":"selectedIndex","global":false,"description":"","tags":[],"required":false,"type":"number","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/Tabs.vue","range":[1382,1435]}],"schema":"number","default":"0"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseCode","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","meta":{"props":[{"name":"code","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[78,126]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[78,126]}],"schema":"string"},{"name":"icon","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[130,182]}],"schema":"string","default":"undefined"},{"name":"language","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[186,242]}],"schema":"string","default":"undefined"},{"name":"filename","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[305,361]}],"schema":"string","default":"undefined"},{"name":"highlights","global":false,"description":"","tags":[],"required":false,"type":"number[]","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[365,444]}],"schema":{"kind":"array","type":"number[]","schema":["number"]},"default":"undefined"},{"name":"meta","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[448,500]}],"schema":"string","default":"undefined"},{"name":"hideHeader","global":false,"description":"","tags":[],"required":false,"type":"boolean","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCode.vue","range":[246,301]}],"schema":{"kind":"enum","type":"boolean","schema":["false","true"]},"default":"false"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseCodeButton","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeButton.vue","meta":{"props":[{"name":"code","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeButton.vue","range":[55,103]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeButton.vue","range":[55,103]}],"schema":"string"}],"slots":[],"events":[]}},{"name":"ProseCodeIcon","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeIcon.vue","meta":{"props":[{"name":"icon","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeIcon.vue","range":[55,107]}],"schema":"string","default":"undefined"},{"name":"filename","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseCodeIcon.vue","range":[111,167]}],"schema":"string","default":"undefined"}],"slots":[],"events":[]}},{"name":"ProseH1","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH1.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH1.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH1.vue","range":[414,460]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseH2","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH2.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH2.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH2.vue","range":[414,460]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseH3","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH3.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH3.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH3.vue","range":[414,460]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseH4","path":"node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH4.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH4.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@0.7.3_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/content/prose/ProseH4.vue","range":[414,460]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseCodeInline","path":"node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProseCodeInline.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProsePre","path":"node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","meta":{"props":[{"name":"code","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","range":[248,293]}],"schema":"string","default":"\"\""},{"name":"language","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","range":[297,348]}],"schema":"string","default":"null"},{"name":"filename","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","range":[352,403]}],"schema":"string","default":"null"},{"name":"highlights","global":false,"description":"","tags":[],"required":false,"type":"number[]","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","range":[407,481]}],"schema":{"kind":"array","type":"number[]","schema":["number"]},"default":"[]"},{"name":"meta","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+content@2.11.0_nuxt@3.9.3_vue@3.3.13/node_modules/@nuxt/content/dist/runtime/components/Prose/ProsePre.vue","range":[485,532]}],"schema":"string","default":"null"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseA","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseA.vue","meta":{"props":[{"name":"href","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseA.vue","range":[146,191]}],"schema":"string","default":"\"\""},{"name":"target","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseA.vue","range":[195,270]}],"schema":"string","default":"undefined"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseBlockquote","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseBlockquote.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseEm","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseEm.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseH5","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH5.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH5.vue","range":[264,275]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH5.vue","range":[264,275]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseH6","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH6.vue","meta":{"props":[{"name":"id","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH6.vue","range":[264,275]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseH6.vue","range":[264,275]}],"schema":"string"}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseHr","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseHr.vue","meta":{"props":[],"slots":[],"events":[]}},{"name":"ProseImg","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue","meta":{"props":[{"name":"src","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue","range":[289,333]}],"schema":"string","default":"\"\""},{"name":"alt","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue","range":[337,381]}],"schema":"string","default":"\"\""},{"name":"width","global":false,"description":"","tags":[],"required":false,"type":"string | number","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue","range":[385,448]}],"schema":{"kind":"enum","type":"string | number","schema":["string","number"]},"default":"undefined"},{"name":"height","global":false,"description":"","tags":[],"required":false,"type":"string | number","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue","range":[452,516]}],"schema":{"kind":"enum","type":"string | number","schema":["string","number"]},"default":"undefined"}],"slots":[],"events":[]}},{"name":"ProseLi","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseLi.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseOl","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseOl.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseP","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseP.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseScript","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseScript.vue","meta":{"props":[{"name":"src","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseScript.vue","range":[317,361]}],"schema":"string","default":"\"\""}],"slots":[],"events":[]}},{"name":"ProseStrong","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseStrong.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseTable","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseTable.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseTbody","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseTbody.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseTd","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseTd.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseTh","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseTh.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseThead","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseThead.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseTr","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseTr.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"ProseUl","path":"node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseUl.vue","meta":{"props":[],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"Icon","path":"node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/Icon.vue","meta":{"props":[{"name":"name","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/Icon.vue","range":[669,717]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/Icon.vue","range":[669,717]}],"schema":"string"},{"name":"size","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/Icon.vue","range":[721,766]}],"schema":"string","default":"\"\""}],"slots":[{"name":"default","type":"{}","description":"","declarations":[],"schema":{"kind":"object","type":"{}","schema":{}}}],"events":[]}},{"name":"IconCSS","path":"node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/IconCSS.vue","meta":{"props":[{"name":"name","global":false,"description":"","tags":[],"required":true,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/IconCSS.vue","range":[387,435]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/IconCSS.vue","range":[387,435]}],"schema":"string"},{"name":"size","global":false,"description":"","tags":[],"required":false,"type":"string","declarations":[{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/nuxt-icon@0.6.8_nuxt@3.9.3_vite@5.0.12_vue@3.3.13/node_modules/nuxt-icon/dist/runtime/IconCSS.vue","range":[439,484]}],"schema":"string","default":"\"\""}],"slots":[],"events":[]}},{"name":"OgImageStatic","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/Static.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"OgImageDynamic","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/Dynamic.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"OgImage","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/index.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"OgImageCached","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/Cached.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"OgImageWithoutCache","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/WithoutCache.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"OgImageScreenshot","path":"node_modules/.pnpm/nuxt-og-image@2.2.4_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.15_nuxt@3.9.3_postcss@8.4.33__rbwtoaaci6jkxmv435ksepspfa/node_modules/nuxt-og-image/dist/runtime/components/OgImage/Screenshot.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubRepository","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubRepository.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubLink","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubLink.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubReadme","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubReadme.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubReleases","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubReleases.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubLastRelease","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubLastRelease.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubRelease","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubRelease.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubContributors","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubContributors.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubFileContributors","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubFileContributors.mjs","meta":{"props":[],"slots":[],"events":[]}},{"name":"GithubCommits","path":"node_modules/.pnpm/@nuxtlabs+github-module@1.6.3/node_modules/@nuxtlabs/github-module/dist/runtime/components/GithubCommits.mjs","meta":{"props":[],"slots":[],"events":[]}}]} \ No newline at end of file diff --git a/_nuxt/Cached.EPNR8yhH.js b/_nuxt/Cached.wB_iQ5j1.js similarity index 53% rename from _nuxt/Cached.EPNR8yhH.js rename to _nuxt/Cached.wB_iQ5j1.js index 23c1342d..0b6f4a09 100644 --- a/_nuxt/Cached.EPNR8yhH.js +++ b/_nuxt/Cached.wB_iQ5j1.js @@ -1 +1 @@ -import{d as e}from"./entry.n8fVlM9F.js";const o=e({name:"OgImageCached",async setup(a,{attrs:t}){return()=>null}});export{o as default}; +import{d as e}from"./entry.YSgWRBMm.js";const o=e({name:"OgImageCached",async setup(a,{attrs:t}){return()=>null}});export{o as default}; diff --git a/_nuxt/Callout.vLvLyna8.js b/_nuxt/Callout.U_ncT6th.js similarity index 94% rename from _nuxt/Callout.vLvLyna8.js rename to _nuxt/Callout.U_ncT6th.js index bde54cae..849b53af 100644 --- a/_nuxt/Callout.vLvLyna8.js +++ b/_nuxt/Callout.U_ncT6th.js @@ -1 +1 @@ -import{d as k,y as x,G as c,ag as v,ah as u,a_ as n,b as l,c as w,a9 as s,w as C,f as i,n as g,aA as t,ab as A,e as S,aC as _,a4 as I}from"./entry.n8fVlM9F.js";import{r as B}from"./slot.BWovzuEB.js";import"./node.kQagOfUD.js";const L=S("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1),$=k({inheritAttrs:!1,__name:"Callout",props:{icon:{type:String,default:void 0},color:{type:String,default:"primary"},to:{type:String,default:void 0},target:{type:String,default:void 0},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const m=x(),p=c(()=>({wrapper:"block pl-4 pr-6 py-3 rounded-md border border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-800 text-gray-700 dark:text-gray-300 text-sm/6 my-5 last:mb-0 font-normal group relative prose-code:bg-white dark:prose-code:bg-gray-900",to:"hover:border-[--color-light] dark:hover:border-[--color-dark] hover:text-[--color-light] dark:hover:text-[--color-dark] border-dashed hover:border-solid hover:text-gray-800 dark:hover:text-gray-200",icon:{base:"w-4 h-4 mr-2 inline-flex items-center align-sub text-[--color-light] dark:text-[--color-dark]"},externalIcon:{name:m.ui.icons.external,base:"w-4 h-4 absolute right-2 top-2 text-gray-400 dark:text-gray-500 group-hover:text-[--color-light] dark:group-hover:text-[--color-dark]"}})),r=e,{ui:a,attrs:y}=v("content.callout",u(r,"ui"),p,u(r,"class"),!0),b=c(()=>{var o;return r.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((o=n[r.color])==null?void 0:o["500"])||n[r.color]||r.color}),f=c(()=>{var o;return r.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((o=n[r.color])==null?void 0:o["400"])||n[r.color]||r.color});return(o,U)=>{const h=_,d=I;return l(),w("div",A({class:[t(a).wrapper,e.to&&t(a).to]},t(y),{style:{"--color-light":t(b),"--color-dark":t(f)}}),[e.to?(l(),s(h,{key:0,to:e.to,target:e.target,class:"focus:outline-none",tabindex:"-1"},{default:C(()=>[L]),_:1},8,["to","target"])):i("",!0),e.icon?(l(),s(d,{key:1,name:e.icon,class:g(t(a).icon.base)},null,8,["name","class"])):i("",!0),e.to&&e.target==="_blank"?(l(),s(d,{key:2,name:t(a).externalIcon.name,class:g(t(a).externalIcon.base)},null,8,["name","class"])):i("",!0),B(o.$slots,"default",{unwrap:"p"})],16)}}});export{$ as default}; +import{d as k,y as x,G as c,ag as v,ah as u,a_ as n,b as l,c as w,a9 as s,w as C,f as i,n as g,aA as t,ab as A,e as S,aC as _,a4 as I}from"./entry.YSgWRBMm.js";import{r as B}from"./slot.afHLBHGJ.js";import"./node.kQagOfUD.js";const L=S("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1),$=k({inheritAttrs:!1,__name:"Callout",props:{icon:{type:String,default:void 0},color:{type:String,default:"primary"},to:{type:String,default:void 0},target:{type:String,default:void 0},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const m=x(),p=c(()=>({wrapper:"block pl-4 pr-6 py-3 rounded-md border border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-800 text-gray-700 dark:text-gray-300 text-sm/6 my-5 last:mb-0 font-normal group relative prose-code:bg-white dark:prose-code:bg-gray-900",to:"hover:border-[--color-light] dark:hover:border-[--color-dark] hover:text-[--color-light] dark:hover:text-[--color-dark] border-dashed hover:border-solid hover:text-gray-800 dark:hover:text-gray-200",icon:{base:"w-4 h-4 mr-2 inline-flex items-center align-sub text-[--color-light] dark:text-[--color-dark]"},externalIcon:{name:m.ui.icons.external,base:"w-4 h-4 absolute right-2 top-2 text-gray-400 dark:text-gray-500 group-hover:text-[--color-light] dark:group-hover:text-[--color-dark]"}})),r=e,{ui:a,attrs:y}=v("content.callout",u(r,"ui"),p,u(r,"class"),!0),b=c(()=>{var o;return r.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((o=n[r.color])==null?void 0:o["500"])||n[r.color]||r.color}),f=c(()=>{var o;return r.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((o=n[r.color])==null?void 0:o["400"])||n[r.color]||r.color});return(o,U)=>{const h=_,d=I;return l(),w("div",A({class:[t(a).wrapper,e.to&&t(a).to]},t(y),{style:{"--color-light":t(b),"--color-dark":t(f)}}),[e.to?(l(),s(h,{key:0,to:e.to,target:e.target,class:"focus:outline-none",tabindex:"-1"},{default:C(()=>[L]),_:1},8,["to","target"])):i("",!0),e.icon?(l(),s(d,{key:1,name:e.icon,class:g(t(a).icon.base)},null,8,["name","class"])):i("",!0),e.to&&e.target==="_blank"?(l(),s(d,{key:2,name:t(a).externalIcon.name,class:g(t(a).externalIcon.base)},null,8,["name","class"])):i("",!0),B(o.$slots,"default",{unwrap:"p"})],16)}}});export{$ as default}; diff --git a/_nuxt/Card.oqOBlRID.js b/_nuxt/Card.D-3aG5gf.js similarity index 95% rename from _nuxt/Card.oqOBlRID.js rename to _nuxt/Card.D-3aG5gf.js index 8c672668..9aad92f9 100644 --- a/_nuxt/Card.oqOBlRID.js +++ b/_nuxt/Card.D-3aG5gf.js @@ -1 +1 @@ -import{l as g,ad as l,ae as i,d as p,ag as c,ah as b,G as f,aD as y,ak as m,b as s,a9 as k,w as v,c as t,n as r,aa as d,f as u,e as h,ab as $,b2 as C}from"./entry.n8fVlM9F.js";const w={base:"",background:"bg-white dark:bg-gray-900",divide:"divide-y divide-gray-200 dark:divide-gray-800",ring:"ring-1 ring-gray-200 dark:ring-gray-800",rounded:"rounded-lg",shadow:"shadow",body:{base:"",background:"",padding:"px-4 py-5 sm:p-6"},header:{base:"",background:"",padding:"px-4 py-5 sm:px-6"},footer:{base:"",background:"",padding:"px-4 py-4 sm:px-6"}},B=l(i.ui.strategy,i.ui.card,w),S=p({inheritAttrs:!1,props:{as:{type:String,default:"div"},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(a){const{ui:e,attrs:o}=c("card",b(a,"ui"),B),n=f(()=>y(m(e.value.base,e.value.rounded,e.value.divide,e.value.ring,e.value.shadow,e.value.background),a.class));return{ui:e,attrs:o,cardClass:n}}});function j(a,e,o,n,A,D){return s(),k(C(a.$attrs.onSubmit?"form":a.as),$({class:a.cardClass},a.attrs),{default:v(()=>[a.$slots.header?(s(),t("div",{key:0,class:r([a.ui.header.base,a.ui.header.padding,a.ui.header.background])},[d(a.$slots,"header")],2)):u("",!0),h("div",{class:r([a.ui.body.base,a.ui.body.padding,a.ui.body.background])},[d(a.$slots,"default")],2),a.$slots.footer?(s(),t("div",{key:1,class:r([a.ui.footer.base,a.ui.footer.padding,a.ui.footer.background])},[d(a.$slots,"footer")],2)):u("",!0)]),_:3},16,["class"])}const O=g(S,[["render",j]]);export{O as _}; +import{l as g,ad as l,ae as i,d as p,ag as c,ah as b,G as f,aD as y,ak as m,b as s,a9 as k,w as v,c as t,n as r,aa as d,f as u,e as h,ab as $,b2 as C}from"./entry.YSgWRBMm.js";const w={base:"",background:"bg-white dark:bg-gray-900",divide:"divide-y divide-gray-200 dark:divide-gray-800",ring:"ring-1 ring-gray-200 dark:ring-gray-800",rounded:"rounded-lg",shadow:"shadow",body:{base:"",background:"",padding:"px-4 py-5 sm:p-6"},header:{base:"",background:"",padding:"px-4 py-5 sm:px-6"},footer:{base:"",background:"",padding:"px-4 py-4 sm:px-6"}},B=l(i.ui.strategy,i.ui.card,w),S=p({inheritAttrs:!1,props:{as:{type:String,default:"div"},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(a){const{ui:e,attrs:o}=c("card",b(a,"ui"),B),n=f(()=>y(m(e.value.base,e.value.rounded,e.value.divide,e.value.ring,e.value.shadow,e.value.background),a.class));return{ui:e,attrs:o,cardClass:n}}});function j(a,e,o,n,A,D){return s(),k(C(a.$attrs.onSubmit?"form":a.as),$({class:a.cardClass},a.attrs),{default:v(()=>[a.$slots.header?(s(),t("div",{key:0,class:r([a.ui.header.base,a.ui.header.padding,a.ui.header.background])},[d(a.$slots,"header")],2)):u("",!0),h("div",{class:r([a.ui.body.base,a.ui.body.padding,a.ui.body.background])},[d(a.$slots,"default")],2),a.$slots.footer?(s(),t("div",{key:1,class:r([a.ui.footer.base,a.ui.footer.padding,a.ui.footer.background])},[d(a.$slots,"footer")],2)):u("",!0)]),_:3},16,["class"])}const O=g(S,[["render",j]]);export{O as _}; diff --git a/_nuxt/Card.CFFCfUPA.js b/_nuxt/Card.Sj04FlIE.js similarity index 94% rename from _nuxt/Card.CFFCfUPA.js rename to _nuxt/Card.Sj04FlIE.js index 77f8e21e..b9f36dd8 100644 --- a/_nuxt/Card.CFFCfUPA.js +++ b/_nuxt/Card.Sj04FlIE.js @@ -1 +1 @@ -import{d as _,y as w,G as u,ag as C,ah as g,a_ as l,b as n,a9 as s,w as m,f as c,n as i,aA as t,e as p,t as S,c as A,ab as I,aC as U,a4 as $}from"./entry.n8fVlM9F.js";import{_ as B}from"./Card.oqOBlRID.js";import{r as D}from"./slot.BWovzuEB.js";import"./node.kQagOfUD.js";const L=p("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1),T=_({inheritAttrs:!1,__name:"Card",props:{icon:{type:String,default:void 0},color:{type:String,default:"primary"},to:{type:String,default:void 0},target:{type:String,default:void 0},title:{type:String,default:void 0},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const f=w(),y=u(()=>({wrapper:"relative group overflow-hidden flex items-center rounded-lg",to:"hover:ring-1 hover:ring-[--color-light] dark:hover:ring-[--color-dark] hover:bg-gray-100/50 dark:hover:bg-gray-800/50",icon:{base:"w-6 h-6 mb-4 inline-flex items-center text-[--color-light] dark:text-[--color-dark] pointer-events-none"},body:{base:"flex-1"},externalIcon:{name:f.ui.icons.external,base:"w-4 h-4 absolute right-2 top-2 text-gray-400 dark:text-gray-500 group-hover:text-[--color-light] dark:group-hover:text-[--color-dark]"},title:"text-gray-900 dark:text-white font-semibold text-base my-0",description:"text-[15px] text-gray-500 dark:text-gray-400 mt-1 mb-0"})),o=e,{ui:a,attrs:x}=C("content.card",g(o,"ui"),y,g(o,"class"),!0),h=u(()=>{var r;return o.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((r=l[o.color])==null?void 0:r["500"])||l[o.color]||o.color}),b=u(()=>{var r;return o.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((r=l[o.color])==null?void 0:r["400"])||l[o.color]||o.color});return(r,E)=>{const k=U,d=$,v=B;return n(),s(v,I({class:[t(a).wrapper,e.to&&t(a).to]},t(x),{ui:t(a),style:{"--color-light":t(h),"--color-dark":t(b)}}),{default:m(()=>[e.to?(n(),s(k,{key:0,to:e.to,target:e.target,class:"focus:outline-none",tabindex:"-1"},{default:m(()=>[L]),_:1},8,["to","target"])):c("",!0),e.icon?(n(),s(d,{key:1,name:e.icon,class:i(t(a).icon.base)},null,8,["name","class"])):c("",!0),e.to&&e.target==="_blank"?(n(),s(d,{key:2,name:t(a).externalIcon.name,class:i(t(a).externalIcon.base)},null,8,["name","class"])):c("",!0),p("p",{class:i(t(a).title)},S(e.title),3),r.$slots.default?(n(),A("p",{key:3,class:i(t(a).description)},[D(r.$slots,"default",{unwrap:"p",use:r.$slots.default})],2)):c("",!0)]),_:3},16,["class","ui","style"])}}});export{T as default}; +import{d as _,y as w,G as u,ag as C,ah as g,a_ as l,b as n,a9 as s,w as m,f as c,n as i,aA as t,e as p,t as S,c as A,ab as I,aC as U,a4 as $}from"./entry.YSgWRBMm.js";import{_ as B}from"./Card.D-3aG5gf.js";import{r as D}from"./slot.afHLBHGJ.js";import"./node.kQagOfUD.js";const L=p("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1),T=_({inheritAttrs:!1,__name:"Card",props:{icon:{type:String,default:void 0},color:{type:String,default:"primary"},to:{type:String,default:void 0},target:{type:String,default:void 0},title:{type:String,default:void 0},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const f=w(),y=u(()=>({wrapper:"relative group overflow-hidden flex items-center rounded-lg",to:"hover:ring-1 hover:ring-[--color-light] dark:hover:ring-[--color-dark] hover:bg-gray-100/50 dark:hover:bg-gray-800/50",icon:{base:"w-6 h-6 mb-4 inline-flex items-center text-[--color-light] dark:text-[--color-dark] pointer-events-none"},body:{base:"flex-1"},externalIcon:{name:f.ui.icons.external,base:"w-4 h-4 absolute right-2 top-2 text-gray-400 dark:text-gray-500 group-hover:text-[--color-light] dark:group-hover:text-[--color-dark]"},title:"text-gray-900 dark:text-white font-semibold text-base my-0",description:"text-[15px] text-gray-500 dark:text-gray-400 mt-1 mb-0"})),o=e,{ui:a,attrs:x}=C("content.card",g(o,"ui"),y,g(o,"class"),!0),h=u(()=>{var r;return o.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((r=l[o.color])==null?void 0:r["500"])||l[o.color]||o.color}),b=u(()=>{var r;return o.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((r=l[o.color])==null?void 0:r["400"])||l[o.color]||o.color});return(r,E)=>{const k=U,d=$,v=B;return n(),s(v,I({class:[t(a).wrapper,e.to&&t(a).to]},t(x),{ui:t(a),style:{"--color-light":t(h),"--color-dark":t(b)}}),{default:m(()=>[e.to?(n(),s(k,{key:0,to:e.to,target:e.target,class:"focus:outline-none",tabindex:"-1"},{default:m(()=>[L]),_:1},8,["to","target"])):c("",!0),e.icon?(n(),s(d,{key:1,name:e.icon,class:i(t(a).icon.base)},null,8,["name","class"])):c("",!0),e.to&&e.target==="_blank"?(n(),s(d,{key:2,name:t(a).externalIcon.name,class:i(t(a).externalIcon.base)},null,8,["name","class"])):c("",!0),p("p",{class:i(t(a).title)},S(e.title),3),r.$slots.default?(n(),A("p",{key:3,class:i(t(a).description)},[D(r.$slots,"default",{unwrap:"p",use:r.$slots.default})],2)):c("",!0)]),_:3},16,["class","ui","style"])}}});export{T as default}; diff --git a/_nuxt/CardGroup.f5fZJJ03.js b/_nuxt/CardGroup.L1bAzgpX.js similarity index 85% rename from _nuxt/CardGroup.f5fZJJ03.js rename to _nuxt/CardGroup.L1bAzgpX.js index 1c81e45b..41ff18aa 100644 --- a/_nuxt/CardGroup.f5fZJJ03.js +++ b/_nuxt/CardGroup.L1bAzgpX.js @@ -1 +1 @@ -import{d as c,ag as p,ah as d,b as i,c as l,aa as u,ab as f,aA as a}from"./entry.n8fVlM9F.js";const _=c({inheritAttrs:!1,__name:"CardGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(e){const r={wrapper:"grid sm:grid-cols-2 gap-4"},s=e,{ui:t,attrs:o}=p("content.cardGroup",void 0,r,d(s,"class"),!0);return(n,m)=>(i(),l("div",f({class:a(t).wrapper},a(o)),[u(n.$slots,"default")],16))}});export{_ as default}; +import{d as c,ag as p,ah as d,b as i,c as l,aa as u,ab as f,aA as a}from"./entry.YSgWRBMm.js";const _=c({inheritAttrs:!1,__name:"CardGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(e){const r={wrapper:"grid sm:grid-cols-2 gap-4"},s=e,{ui:t,attrs:o}=p("content.cardGroup",void 0,r,d(s,"class"),!0);return(n,m)=>(i(),l("div",f({class:a(t).wrapper},a(o)),[u(n.$slots,"default")],16))}});export{_ as default}; diff --git a/_nuxt/CodeGroup.kr8KXOZ2.js b/_nuxt/CodeGroup.uHTqVN-T.js similarity index 92% rename from _nuxt/CodeGroup.kr8KXOZ2.js rename to _nuxt/CodeGroup.uHTqVN-T.js index 2df12591..3ebc8e18 100644 --- a/_nuxt/CodeGroup.kr8KXOZ2.js +++ b/_nuxt/CodeGroup.uHTqVN-T.js @@ -1 +1 @@ -import{_ as k}from"./ProseCodeIcon.vue.dMXRLg8I.js";import{d as x,a$ as C,ag as B,ah as $,r as w,G as u,b as c,c as p,e as f,F as A,a8 as G,n as m,aA as e,g as I,t as S,a9 as D,b2 as F,ab as N}from"./entry.n8fVlM9F.js";const P=["onClick"],E=x({inheritAttrs:!1,__name:"CodeGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(g){const v={wrapper:"relative [&>div:last-child]:!my-0 [&>div:last-child]:!static my-5",header:"flex items-center gap-1 border border-gray-200 dark:border-gray-700 border-b-0 rounded-t-md overflow-hidden p-2",tab:{base:"px-2 py-1.5 focus:outline-none text-gray-700 dark:text-gray-200 text-sm rounded-md flex items-center gap-1.5",active:"bg-gray-100 dark:bg-gray-800",inactive:"hover:bg-gray-50 dark:hover:bg-gray-800/50",icon:{base:""}}},y=g,i=C(),{ui:t,attrs:_}=B("content.codeGroup",void 0,v,$(y,"class"),!0),l=w(0),b=u(()=>{var n;return((n=i.default)==null?void 0:n.call(i).map((a,d)=>{var o,r,s;return{label:((o=a.props)==null?void 0:o.filename)||((r=a.props)==null?void 0:r.label)||`${d}`,icon:(s=a.props)==null?void 0:s.icon,component:a}}))||[]}),h=u(()=>b.value.find((n,a)=>a===l.value));return(n,a)=>{var o;const d=k;return c(),p("div",N({class:e(t).wrapper},e(_)),[f("div",{class:m(e(t).header)},[(c(!0),p(A,null,G(e(b),(r,s)=>(c(),p("button",{key:s,tabindex:"-1",class:m([e(t).tab.base,e(l)===s?e(t).tab.active:e(t).tab.inactive]),onClick:V=>l.value=s},[I(d,{icon:r.icon,filename:r.label,class:m(e(t).tab.icon.base)},null,8,["icon","filename","class"]),f("span",null,S(r.label),1)],10,P))),128))],2),(c(),D(F((o=e(h))==null?void 0:o.component),{"hide-header":""}))],16)}}});export{E as default}; +import{_ as k}from"./ProseCodeIcon.vue.caB8vZGS.js";import{d as x,a$ as C,ag as B,ah as $,r as w,G as u,b as c,c as p,e as f,F as A,a8 as G,n as m,aA as e,g as I,t as S,a9 as D,b2 as F,ab as N}from"./entry.YSgWRBMm.js";const P=["onClick"],E=x({inheritAttrs:!1,__name:"CodeGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(g){const v={wrapper:"relative [&>div:last-child]:!my-0 [&>div:last-child]:!static my-5",header:"flex items-center gap-1 border border-gray-200 dark:border-gray-700 border-b-0 rounded-t-md overflow-hidden p-2",tab:{base:"px-2 py-1.5 focus:outline-none text-gray-700 dark:text-gray-200 text-sm rounded-md flex items-center gap-1.5",active:"bg-gray-100 dark:bg-gray-800",inactive:"hover:bg-gray-50 dark:hover:bg-gray-800/50",icon:{base:""}}},y=g,i=C(),{ui:t,attrs:_}=B("content.codeGroup",void 0,v,$(y,"class"),!0),l=w(0),b=u(()=>{var n;return((n=i.default)==null?void 0:n.call(i).map((a,d)=>{var o,r,s;return{label:((o=a.props)==null?void 0:o.filename)||((r=a.props)==null?void 0:r.label)||`${d}`,icon:(s=a.props)==null?void 0:s.icon,component:a}}))||[]}),h=u(()=>b.value.find((n,a)=>a===l.value));return(n,a)=>{var o;const d=k;return c(),p("div",N({class:e(t).wrapper},e(_)),[f("div",{class:m(e(t).header)},[(c(!0),p(A,null,G(e(b),(r,s)=>(c(),p("button",{key:s,tabindex:"-1",class:m([e(t).tab.base,e(l)===s?e(t).tab.active:e(t).tab.inactive]),onClick:V=>l.value=s},[I(d,{icon:r.icon,filename:r.label,class:m(e(t).tab.icon.base)},null,8,["icon","filename","class"]),f("span",null,S(r.label),1)],10,P))),128))],2),(c(),D(F((o=e(h))==null?void 0:o.component),{"hide-header":""}))],16)}}});export{E as default}; diff --git a/_nuxt/Collapsible.61xynCYw.js b/_nuxt/Collapsible.qWM3gGRD.js similarity index 94% rename from _nuxt/Collapsible.61xynCYw.js rename to _nuxt/Collapsible.qWM3gGRD.js index 130d9d4a..d01668b1 100644 --- a/_nuxt/Collapsible.61xynCYw.js +++ b/_nuxt/Collapsible.qWM3gGRD.js @@ -1 +1 @@ -import{d as m,y as d,G as b,ag as f,b as g,a9 as _,w as t,g as s,aA as a,b3 as v,n as o,e as y,t as l,b4 as x,b5 as h,a4 as C}from"./entry.n8fVlM9F.js";import{r as k}from"./slot.BWovzuEB.js";import"./node.kQagOfUD.js";const A=m({__name:"Collapsible",props:{name:{type:String,default:"properties"}},setup(i){const c=d(),p=b(()=>({button:{base:"flex items-center gap-1 text-sm text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200",icon:{name:c.ui.icons.chevron,base:"w-4 h-4 transform transition-transform duration-200",active:"",inactive:"-rotate-90"}},panel:"mt-4 ml-2 py-2.5 pl-4 border-l border-gray-200 dark:border-gray-800 [&>div]:!mt-0"})),{ui:e}=f("prose.collapsible",void 0,p,void 0,!0);return(n,w)=>{const u=C;return g(),_(a(h),null,{default:t(({open:r})=>[s(a(v),{class:o(a(e).button.base)},{default:t(()=>[s(u,{name:a(e).button.icon.name,class:o([a(e).button.icon.base,r?a(e).button.icon.active:a(e).button.icon.inactive])},null,8,["name","class"]),y("span",null,l(r?"Hide":"Show")+" "+l(i.name),1)]),_:2},1032,["class"]),s(a(x),{class:o(a(e).panel)},{default:t(()=>[k(n.$slots,"default",{unwrap:"p",use:n.$slots.default})]),_:3},8,["class"])]),_:3})}}});export{A as default}; +import{d as m,y as d,G as b,ag as f,b as g,a9 as _,w as t,g as s,aA as a,b3 as v,n as o,e as y,t as l,b4 as x,b5 as h,a4 as C}from"./entry.YSgWRBMm.js";import{r as k}from"./slot.afHLBHGJ.js";import"./node.kQagOfUD.js";const A=m({__name:"Collapsible",props:{name:{type:String,default:"properties"}},setup(i){const c=d(),p=b(()=>({button:{base:"flex items-center gap-1 text-sm text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200",icon:{name:c.ui.icons.chevron,base:"w-4 h-4 transform transition-transform duration-200",active:"",inactive:"-rotate-90"}},panel:"mt-4 ml-2 py-2.5 pl-4 border-l border-gray-200 dark:border-gray-800 [&>div]:!mt-0"})),{ui:e}=f("prose.collapsible",void 0,p,void 0,!0);return(n,w)=>{const u=C;return g(),_(a(h),null,{default:t(({open:r})=>[s(a(v),{class:o(a(e).button.base)},{default:t(()=>[s(u,{name:a(e).button.icon.name,class:o([a(e).button.icon.base,r?a(e).button.icon.active:a(e).button.icon.inactive])},null,8,["name","class"]),y("span",null,l(r?"Hide":"Show")+" "+l(i.name),1)]),_:2},1032,["class"]),s(a(x),{class:o(a(e).panel)},{default:t(()=>[k(n.$slots,"default",{unwrap:"p",use:n.$slots.default})]),_:3},8,["class"])]),_:3})}}});export{A as default}; diff --git a/_nuxt/ContentDoc.5_HypDRv.js b/_nuxt/ContentDoc.3KXCUWLY.js similarity index 87% rename from _nuxt/ContentDoc.5_HypDRv.js rename to _nuxt/ContentDoc.3KXCUWLY.js index 37d04ef5..26d0a81a 100644 --- a/_nuxt/ContentDoc.5_HypDRv.js +++ b/_nuxt/ContentDoc.3KXCUWLY.js @@ -1 +1 @@ -import{aA as a,N as w,v as y,a1 as D,b6 as b,m as g,d as H,a$ as S,b7 as _,O as u}from"./entry.n8fVlM9F.js";import $ from"./ContentRenderer.U61vDq8M.js";import q from"./ContentQuery.JwGr1xYe.js";import"./ContentRendererMarkdown.vue.08XeXCxx.js";import"./MDCRenderer.o5m2R7Hl.js";const d=(s,p=y())=>{const e=a(s),f=g();w(()=>a(s),(n=e)=>{if(!p.path||!n)return;const t=Object.assign({},(n==null?void 0:n.head)||{});t.meta=[...t.meta||[]],t.link=[...t.link||[]];const r=t.title||(n==null?void 0:n.title);r&&(t.title=r),f.public.content.host;const c=(t==null?void 0:t.description)||(n==null?void 0:n.description);c&&t.meta.filter(l=>l.name==="description").length===0&&t.meta.push({name:"description",content:c}),t!=null&&t.image||(n==null||n.image),D(()=>b(t))},{immediate:!0})},x=H({name:"ContentDoc",props:{tag:{type:String,required:!1,default:"div"},excerpt:{type:Boolean,default:!1},path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0},head:{type:Boolean,required:!1,default:void 0}},render(s){const{contentHead:p}=g().public.content,e=S(),{tag:f,excerpt:m,path:n,query:t,head:r}=s,c=r===void 0?p:r,l={...t||{},path:n||(t==null?void 0:t.path)||_(y().path),find:"one"},v=(o,i)=>u("pre",null,JSON.stringify({message:"You should use slots with ",slot:o,data:i},null,2));return u(q,l,{default:e!=null&&e.default?({data:o,refresh:i,isPartial:C})=>{var h;return c&&d(o),(h=e.default)==null?void 0:h.call(e,{doc:o,refresh:i,isPartial:C,excerpt:m,...this.$attrs})}:({data:o})=>(c&&d(o),u($,{value:o,excerpt:m,tag:f,...this.$attrs},{empty:i=>e!=null&&e.empty?e.empty(i):v("default",o)})),empty:o=>{var i;return((i=e==null?void 0:e.empty)==null?void 0:i.call(e,o))||u("p",null,"Document is empty, overwrite this content with #empty slot in .")},"not-found":o=>{var i;return((i=e==null?void 0:e["not-found"])==null?void 0:i.call(e,o))||u("p",null,"Document not found, overwrite this content with #not-found slot in .")}})}}),R=x;export{R as default}; +import{aA as a,N as w,v as y,a1 as D,b6 as b,m as g,d as H,a$ as S,b7 as _,O as u}from"./entry.YSgWRBMm.js";import $ from"./ContentRenderer.Snp_p6di.js";import q from"./ContentQuery.3j2_soVj.js";import"./ContentRendererMarkdown.vue.wsrTaKXh.js";import"./MDCRenderer.0MFNxIgT.js";const d=(s,p=y())=>{const e=a(s),f=g();w(()=>a(s),(n=e)=>{if(!p.path||!n)return;const t=Object.assign({},(n==null?void 0:n.head)||{});t.meta=[...t.meta||[]],t.link=[...t.link||[]];const r=t.title||(n==null?void 0:n.title);r&&(t.title=r),f.public.content.host;const c=(t==null?void 0:t.description)||(n==null?void 0:n.description);c&&t.meta.filter(l=>l.name==="description").length===0&&t.meta.push({name:"description",content:c}),t!=null&&t.image||(n==null||n.image),D(()=>b(t))},{immediate:!0})},x=H({name:"ContentDoc",props:{tag:{type:String,required:!1,default:"div"},excerpt:{type:Boolean,default:!1},path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0},head:{type:Boolean,required:!1,default:void 0}},render(s){const{contentHead:p}=g().public.content,e=S(),{tag:f,excerpt:m,path:n,query:t,head:r}=s,c=r===void 0?p:r,l={...t||{},path:n||(t==null?void 0:t.path)||_(y().path),find:"one"},v=(o,i)=>u("pre",null,JSON.stringify({message:"You should use slots with ",slot:o,data:i},null,2));return u(q,l,{default:e!=null&&e.default?({data:o,refresh:i,isPartial:C})=>{var h;return c&&d(o),(h=e.default)==null?void 0:h.call(e,{doc:o,refresh:i,isPartial:C,excerpt:m,...this.$attrs})}:({data:o})=>(c&&d(o),u($,{value:o,excerpt:m,tag:f,...this.$attrs},{empty:i=>e!=null&&e.empty?e.empty(i):v("default",o)})),empty:o=>{var i;return((i=e==null?void 0:e.empty)==null?void 0:i.call(e,o))||u("p",null,"Document is empty, overwrite this content with #empty slot in .")},"not-found":o=>{var i;return((i=e==null?void 0:e["not-found"])==null?void 0:i.call(e,o))||u("p",null,"Document not found, overwrite this content with #not-found slot in .")}})}}),R=x;export{R as default}; diff --git a/_nuxt/ContentList.XPmizk4i.js b/_nuxt/ContentList.SnNuiMTB.js similarity index 84% rename from _nuxt/ContentList.XPmizk4i.js rename to _nuxt/ContentList.SnNuiMTB.js index 1d6d27dd..491c3192 100644 --- a/_nuxt/ContentList.XPmizk4i.js +++ b/_nuxt/ContentList.SnNuiMTB.js @@ -1 +1 @@ -import m from"./ContentQuery.JwGr1xYe.js";import{d as c,a$ as l,O as r}from"./entry.n8fVlM9F.js";const f=(u,t)=>r("pre",null,JSON.stringify({message:"You should use slots with ",slot:u,data:t},null,2)),h=c({name:"ContentList",props:{path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0}},render(u){const t=l(),{path:p,query:a}=u,d={...a||{},path:p||(a==null?void 0:a.path)||"/"};return r(m,d,{default:t!=null&&t.default?({data:e,refresh:o,isPartial:n})=>t.default({list:e,refresh:o,isPartial:n,...this.$attrs}):e=>f("default",e.data),empty:e=>t!=null&&t.empty?t.empty(e):f("default",e==null?void 0:e.data),"not-found":e=>{var o;return t!=null&&t["not-found"]?(o=t==null?void 0:t["not-found"])==null?void 0:o.call(t,e):f("not-found",e==null?void 0:e.data)}})}}),_=h;export{_ as default}; +import m from"./ContentQuery.3j2_soVj.js";import{d as c,a$ as l,O as r}from"./entry.YSgWRBMm.js";const f=(u,t)=>r("pre",null,JSON.stringify({message:"You should use slots with ",slot:u,data:t},null,2)),h=c({name:"ContentList",props:{path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0}},render(u){const t=l(),{path:p,query:a}=u,d={...a||{},path:p||(a==null?void 0:a.path)||"/"};return r(m,d,{default:t!=null&&t.default?({data:e,refresh:o,isPartial:n})=>t.default({list:e,refresh:o,isPartial:n,...this.$attrs}):e=>f("default",e.data),empty:e=>t!=null&&t.empty?t.empty(e):f("default",e==null?void 0:e.data),"not-found":e=>{var o;return t!=null&&t["not-found"]?(o=t==null?void 0:t["not-found"])==null?void 0:o.call(t,e):f("not-found",e==null?void 0:e.data)}})}}),_=h;export{_ as default}; diff --git a/_nuxt/ContentNavigation.3aXj1mv0.js b/_nuxt/ContentNavigation.6q5ULe7O.js similarity index 92% rename from _nuxt/ContentNavigation.3aXj1mv0.js rename to _nuxt/ContentNavigation.6q5ULe7O.js index 0d27df5f..bd754bba 100644 --- a/_nuxt/ContentNavigation.3aXj1mv0.js +++ b/_nuxt/ContentNavigation.6q5ULe7O.js @@ -1 +1 @@ -import{d,b8 as l,G as v,q as f,A as p,aM as g,b9 as m,aR as h,a$ as y,O as i,aC as _}from"./entry.n8fVlM9F.js";const C=d({name:"ContentNavigation",props:{query:{type:Object,required:!1,default:void 0}},async setup(u){const{query:a}=l(u),n=v(()=>{var t;return typeof((t=a.value)==null?void 0:t.params)=="function"?a.value.params():a.value});if(!n.value&&f("dd-navigation").value){const{navigation:t}=p();return{navigation:t}}const{data:o}=await g(`content-navigation-${h(n.value)}`,()=>m(n.value));return{navigation:o}},render(u){const a=y(),{navigation:n}=u,o=e=>i(_,{to:e._path},()=>e.title),t=(e,r)=>i("ul",r?{"data-level":r}:null,e.map(s=>s.children?i("li",null,[o(s),t(s.children,r+1)]):i("li",null,o(s)))),c=e=>t(e,0);return a!=null&&a.default?a.default({navigation:n,...this.$attrs}):c(n)}}),b=C;export{b as default}; +import{d,b8 as l,G as v,q as f,A as p,aM as g,b9 as m,aR as h,a$ as y,O as i,aC as _}from"./entry.YSgWRBMm.js";const C=d({name:"ContentNavigation",props:{query:{type:Object,required:!1,default:void 0}},async setup(u){const{query:a}=l(u),n=v(()=>{var t;return typeof((t=a.value)==null?void 0:t.params)=="function"?a.value.params():a.value});if(!n.value&&f("dd-navigation").value){const{navigation:t}=p();return{navigation:t}}const{data:o}=await g(`content-navigation-${h(n.value)}`,()=>m(n.value));return{navigation:o}},render(u){const a=y(),{navigation:n}=u,o=e=>i(_,{to:e._path},()=>e.title),t=(e,r)=>i("ul",r?{"data-level":r}:null,e.map(s=>s.children?i("li",null,[o(s),t(s.children,r+1)]):i("li",null,o(s)))),c=e=>t(e,0);return a!=null&&a.default?a.default({navigation:n,...this.$attrs}):c(n)}}),b=C;export{b as default}; diff --git a/_nuxt/ContentQuery.JwGr1xYe.js b/_nuxt/ContentQuery.3j2_soVj.js similarity index 97% rename from _nuxt/ContentQuery.JwGr1xYe.js rename to _nuxt/ContentQuery.3j2_soVj.js index 663a640e..3eea941b 100644 --- a/_nuxt/ContentQuery.JwGr1xYe.js +++ b/_nuxt/ContentQuery.3j2_soVj.js @@ -1 +1 @@ -import{d as g,b8 as b,G as C,m as S,N,aM as O,s as m,aR as _,a$ as $,O as k}from"./entry.n8fVlM9F.js";const A=g({name:"ContentQuery",props:{path:{type:String,required:!1,default:void 0},only:{type:Array,required:!1,default:void 0},without:{type:Array,required:!1,default:void 0},where:{type:Object,required:!1,default:void 0},sort:{type:Object,required:!1,default:void 0},limit:{type:Number,required:!1,default:void 0},skip:{type:Number,required:!1,default:void 0},locale:{type:String,required:!1,default:void 0},find:{type:String,required:!1,default:void 0}},async setup(a){const{path:t,only:r,without:o,where:u,sort:l,limit:d,skip:f,locale:s,find:h}=b(a),p=C(()=>{var e;return(e=t.value)==null?void 0:e.includes("/_")}),y=!S().public.content.experimental.advanceQuery;N(()=>a,()=>n(),{deep:!0});const i=e=>y?e!=null&&e.surround?e.surround:e!=null&&e._id||Array.isArray(e)?e:e==null?void 0:e.result:e.result,{data:v,refresh:n}=await O(`content-query-${_(a)}`,()=>{let e;return t.value?e=m(t.value):e=m(),r.value&&(e=e.only(r.value)),o.value&&(e=e.without(o.value)),u.value&&(e=e.where(u.value)),l.value&&(e=e.sort(l.value)),d.value&&(e=e.limit(d.value)),f.value&&(e=e.skip(f.value)),s.value&&(e=e.where({_locale:s.value})),h.value==="one"?e.findOne().then(i):h.value==="surround"?t.value?y?e.findSurround(t.value):e.withSurround(t.value).findOne().then(i):(console.warn("[Content] Surround queries requires `path` prop to be set."),console.warn("[Content] Query without `path` will return regular `find()` results."),e.find().then(i)):e.find().then(i)});return{isPartial:p,data:v,refresh:n}},render(a){var c;const t=$(),{data:r,refresh:o,isPartial:u,path:l,only:d,without:f,where:s,sort:h,limit:p,skip:y,locale:i,find:v}=a,n={path:l,only:d,without:f,where:s,sort:h,limit:p,skip:y,locale:i,find:v};if(n.find==="one"){if(!r&&(t!=null&&t["not-found"]))return t["not-found"]({props:n,...this.$attrs});if(t!=null&&t.empty&&(r==null?void 0:r._type)==="markdown"&&!((c=r==null?void 0:r.body)!=null&&c.children.length))return t.empty({props:n,...this.$attrs})}else if((!r||!r.length)&&t!=null&&t["not-found"])return t["not-found"]({props:n,...this.$attrs});return t!=null&&t.default?t.default({data:r,refresh:o,isPartial:u,props:n,...this.$attrs}):((w,q)=>k("pre",null,JSON.stringify({message:"You should use slots with !",slot:w,data:q},null,2)))("default",{data:r,props:n,isPartial:u})}}),R=A;export{R as default}; +import{d as g,b8 as b,G as C,m as S,N,aM as O,s as m,aR as _,a$ as $,O as k}from"./entry.YSgWRBMm.js";const A=g({name:"ContentQuery",props:{path:{type:String,required:!1,default:void 0},only:{type:Array,required:!1,default:void 0},without:{type:Array,required:!1,default:void 0},where:{type:Object,required:!1,default:void 0},sort:{type:Object,required:!1,default:void 0},limit:{type:Number,required:!1,default:void 0},skip:{type:Number,required:!1,default:void 0},locale:{type:String,required:!1,default:void 0},find:{type:String,required:!1,default:void 0}},async setup(a){const{path:t,only:r,without:o,where:u,sort:l,limit:d,skip:f,locale:s,find:h}=b(a),p=C(()=>{var e;return(e=t.value)==null?void 0:e.includes("/_")}),y=!S().public.content.experimental.advanceQuery;N(()=>a,()=>n(),{deep:!0});const i=e=>y?e!=null&&e.surround?e.surround:e!=null&&e._id||Array.isArray(e)?e:e==null?void 0:e.result:e.result,{data:v,refresh:n}=await O(`content-query-${_(a)}`,()=>{let e;return t.value?e=m(t.value):e=m(),r.value&&(e=e.only(r.value)),o.value&&(e=e.without(o.value)),u.value&&(e=e.where(u.value)),l.value&&(e=e.sort(l.value)),d.value&&(e=e.limit(d.value)),f.value&&(e=e.skip(f.value)),s.value&&(e=e.where({_locale:s.value})),h.value==="one"?e.findOne().then(i):h.value==="surround"?t.value?y?e.findSurround(t.value):e.withSurround(t.value).findOne().then(i):(console.warn("[Content] Surround queries requires `path` prop to be set."),console.warn("[Content] Query without `path` will return regular `find()` results."),e.find().then(i)):e.find().then(i)});return{isPartial:p,data:v,refresh:n}},render(a){var c;const t=$(),{data:r,refresh:o,isPartial:u,path:l,only:d,without:f,where:s,sort:h,limit:p,skip:y,locale:i,find:v}=a,n={path:l,only:d,without:f,where:s,sort:h,limit:p,skip:y,locale:i,find:v};if(n.find==="one"){if(!r&&(t!=null&&t["not-found"]))return t["not-found"]({props:n,...this.$attrs});if(t!=null&&t.empty&&(r==null?void 0:r._type)==="markdown"&&!((c=r==null?void 0:r.body)!=null&&c.children.length))return t.empty({props:n,...this.$attrs})}else if((!r||!r.length)&&t!=null&&t["not-found"])return t["not-found"]({props:n,...this.$attrs});return t!=null&&t.default?t.default({data:r,refresh:o,isPartial:u,props:n,...this.$attrs}):((w,q)=>k("pre",null,JSON.stringify({message:"You should use slots with !",slot:w,data:q},null,2)))("default",{data:r,props:n,isPartial:u})}}),R=A;export{R as default}; diff --git a/_nuxt/ContentRenderer.U61vDq8M.js b/_nuxt/ContentRenderer.Snp_p6di.js similarity index 84% rename from _nuxt/ContentRenderer.U61vDq8M.js rename to _nuxt/ContentRenderer.Snp_p6di.js index 0998ce74..01bbdc09 100644 --- a/_nuxt/ContentRenderer.U61vDq8M.js +++ b/_nuxt/ContentRenderer.Snp_p6di.js @@ -1 +1 @@ -import{_ as o}from"./ContentRendererMarkdown.vue.08XeXCxx.js";import{d as l,N as s,a$ as d,O as f}from"./entry.n8fVlM9F.js";import"./MDCRenderer.o5m2R7Hl.js";const x=l({name:"ContentRenderer",props:{value:{type:Object,required:!1,default:()=>({})},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){s(()=>t.excerpt,n=>{var e,a,u;n&&!((e=t.value)!=null&&e.excerpt)&&(console.warn(`No excerpt found for document content/${(a=t==null?void 0:t.value)==null?void 0:a._path}.${(u=t==null?void 0:t.value)==null?void 0:u._extension}!`),console.warn("Make sure to use in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var i,c;const n=d(),{value:e,excerpt:a,tag:u}=t,r=a?e==null?void 0:e.excerpt:e==null?void 0:e.body;return!((i=r==null?void 0:r.children)!=null&&i.length)&&(n!=null&&n.empty)?n.empty({value:e,excerpt:a,tag:u,...this.$attrs}):n!=null&&n.default?n.default({value:e,excerpt:a,tag:u,...this.$attrs}):(r==null?void 0:r.type)==="root"&&((c=r==null?void 0:r.children)!=null&&c.length)?f(o,{value:e,excerpt:a,tag:u,...this.$attrs}):f("pre",null,JSON.stringify({message:"You should use slots with ",value:e,excerpt:a,tag:u},null,2))}});export{x as default}; +import{_ as o}from"./ContentRendererMarkdown.vue.wsrTaKXh.js";import{d as l,N as s,a$ as d,O as f}from"./entry.YSgWRBMm.js";import"./MDCRenderer.0MFNxIgT.js";const x=l({name:"ContentRenderer",props:{value:{type:Object,required:!1,default:()=>({})},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){s(()=>t.excerpt,n=>{var e,a,u;n&&!((e=t.value)!=null&&e.excerpt)&&(console.warn(`No excerpt found for document content/${(a=t==null?void 0:t.value)==null?void 0:a._path}.${(u=t==null?void 0:t.value)==null?void 0:u._extension}!`),console.warn("Make sure to use in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var i,c;const n=d(),{value:e,excerpt:a,tag:u}=t,r=a?e==null?void 0:e.excerpt:e==null?void 0:e.body;return!((i=r==null?void 0:r.children)!=null&&i.length)&&(n!=null&&n.empty)?n.empty({value:e,excerpt:a,tag:u,...this.$attrs}):n!=null&&n.default?n.default({value:e,excerpt:a,tag:u,...this.$attrs}):(r==null?void 0:r.type)==="root"&&((c=r==null?void 0:r.children)!=null&&c.length)?f(o,{value:e,excerpt:a,tag:u,...this.$attrs}):f("pre",null,JSON.stringify({message:"You should use slots with ",value:e,excerpt:a,tag:u},null,2))}});export{x as default}; diff --git a/_nuxt/ContentRendererMarkdown.Qy60WlDh.js b/_nuxt/ContentRendererMarkdown.Qy60WlDh.js new file mode 100644 index 00000000..20836dae --- /dev/null +++ b/_nuxt/ContentRendererMarkdown.Qy60WlDh.js @@ -0,0 +1 @@ +import{_ as o}from"./ContentRendererMarkdown.vue.wsrTaKXh.js";import"./MDCRenderer.0MFNxIgT.js";import"./entry.YSgWRBMm.js";export{o as default}; diff --git a/_nuxt/ContentRendererMarkdown.vue.08XeXCxx.js b/_nuxt/ContentRendererMarkdown.vue.wsrTaKXh.js similarity index 84% rename from _nuxt/ContentRendererMarkdown.vue.08XeXCxx.js rename to _nuxt/ContentRendererMarkdown.vue.wsrTaKXh.js index ccfdcd05..e1a00668 100644 --- a/_nuxt/ContentRendererMarkdown.vue.08XeXCxx.js +++ b/_nuxt/ContentRendererMarkdown.vue.wsrTaKXh.js @@ -1 +1 @@ -import{_ as p}from"./MDCRenderer.o5m2R7Hl.js";import{d as l,ba as m,G as o,b as i,a9 as b,aA as v}from"./entry.n8fVlM9F.js";const _=l({__name:"ContentRendererMarkdown",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})},data:{type:Object,default:()=>({})}},setup(a){const e=a,d=m().isEnabled(),r=o(()=>{let t=e.value.body||e.value;return e.excerpt&&e.value.excerpt&&(t=e.value.excerpt),t}),c=o(()=>{const{body:t,excerpt:u,...n}=e.value;return{...n,...e.data}}),s=o(()=>({...e.components,...c.value._components||{}}));return(t,u)=>{const n=p;return i(),b(n,{body:r.value,data:c.value,tag:a.tag,components:s.value,"data-content-id":v(d)?a.value._id:void 0},null,8,["body","data","tag","components","data-content-id"])}}});export{_}; +import{_ as p}from"./MDCRenderer.0MFNxIgT.js";import{d as l,ba as m,G as o,b as i,a9 as b,aA as v}from"./entry.YSgWRBMm.js";const _=l({__name:"ContentRendererMarkdown",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})},data:{type:Object,default:()=>({})}},setup(a){const e=a,d=m().isEnabled(),r=o(()=>{let t=e.value.body||e.value;return e.excerpt&&e.value.excerpt&&(t=e.value.excerpt),t}),c=o(()=>{const{body:t,excerpt:u,...n}=e.value;return{...n,...e.data}}),s=o(()=>({...e.components,...c.value._components||{}}));return(t,u)=>{const n=p;return i(),b(n,{body:r.value,data:c.value,tag:a.tag,components:s.value,"data-content-id":v(d)?a.value._id:void 0},null,8,["body","data","tag","components","data-content-id"])}}});export{_}; diff --git a/_nuxt/ContentRendererMarkdown.xGq-BhZ2.js b/_nuxt/ContentRendererMarkdown.xGq-BhZ2.js deleted file mode 100644 index ea2f6f9f..00000000 --- a/_nuxt/ContentRendererMarkdown.xGq-BhZ2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./ContentRendererMarkdown.vue.08XeXCxx.js";import"./MDCRenderer.o5m2R7Hl.js";import"./entry.n8fVlM9F.js";export{o as default}; diff --git a/_nuxt/ContentSlot.nvAV5AJw.js b/_nuxt/ContentSlot.7o_IYYZq.js similarity index 92% rename from _nuxt/ContentSlot.nvAV5AJw.js rename to _nuxt/ContentSlot.7o_IYYZq.js index 7eb87d6c..a2ce7688 100644 --- a/_nuxt/ContentSlot.nvAV5AJw.js +++ b/_nuxt/ContentSlot.7o_IYYZq.js @@ -1 +1 @@ -import{f as i}from"./node.kQagOfUD.js";import{d as u,a$ as f,G as c,O as a,bh as d}from"./entry.n8fVlM9F.js";const p=u({name:"MDCSlot",functional:!0,props:{name:{type:String,default:"default"},unwrap:{type:[Boolean,String],default:!1},use:{type:Function,default:void 0}},setup(t){const{parent:s}=d(),{default:o}=f(),r=c(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:o,tags:r,parent:s}},render({use:t,unwrap:s,fallbackSlot:o,tags:r,parent:e}){var l;try{let n=t;return typeof t=="string"&&(n=(e==null?void 0:e.slots[t])||((l=e==null?void 0:e.parent)==null?void 0:l.slots[t]),console.warn(`Please set :use="$slots.${t}" in component to enable reactivity`)),n?s?i(n(),r):[n()]:o?o():a("div")}catch{return a("div")}}}),g=u({props:{use:{type:Function,default:void 0},unwrap:{type:[Boolean,String],default:!1}},render(t){return a(p,t)}});export{g as default}; +import{f as i}from"./node.kQagOfUD.js";import{d as u,a$ as f,G as c,O as a,bh as d}from"./entry.YSgWRBMm.js";const p=u({name:"MDCSlot",functional:!0,props:{name:{type:String,default:"default"},unwrap:{type:[Boolean,String],default:!1},use:{type:Function,default:void 0}},setup(t){const{parent:s}=d(),{default:o}=f(),r=c(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:o,tags:r,parent:s}},render({use:t,unwrap:s,fallbackSlot:o,tags:r,parent:e}){var l;try{let n=t;return typeof t=="string"&&(n=(e==null?void 0:e.slots[t])||((l=e==null?void 0:e.parent)==null?void 0:l.slots[t]),console.warn(`Please set :use="$slots.${t}" in component to enable reactivity`)),n?s?i(n(),r):[n()]:o?o():a("div")}catch{return a("div")}}}),g=u({props:{use:{type:Function,default:void 0},unwrap:{type:[Boolean,String],default:!1}},render(t){return a(p,t)}});export{g as default}; diff --git a/_nuxt/DocsSearch.zSVieBBc.js b/_nuxt/DocsSearch.cRjzeNWs.js similarity index 99% rename from _nuxt/DocsSearch.zSVieBBc.js rename to _nuxt/DocsSearch.cRjzeNWs.js index d1c1c351..1e6387a4 100644 --- a/_nuxt/DocsSearch.zSVieBBc.js +++ b/_nuxt/DocsSearch.cRjzeNWs.js @@ -1 +1 @@ -import{D as be,E as We,r as F,G as M,d as ne,H as J,B as N,I as j,J as yt,K as xt,L as St,M as ye,o as he,N as ue,O as je,P as It,Q as Ot,R as kt,S as we,U as qe,F as xe,V as Be,W as Se,X as wt,Y as Ct,Z as Mt,$ as At,a0 as Y,a1 as Ge,a as Rt,a2 as Et,a3 as q,l as Ne,a4 as Ce,a5 as Ye,a6 as Xe,a7 as Q,b as P,c as K,n as $,t as te,f as U,e as z,a8 as Ie,a9 as V,w as W,aa as se,ab as ie,ac as $t,j as Pt,ad as Je,ae as Oe,af as Qe,ag as Fe,ah as ge,ai as Ze,aj as et,ak as Lt,al as Tt,g as fe,am as Bt,an as Nt,ao as Ft,ap as _t,aq as jt,ar as Vt,as as Dt,at as Kt,au as tt,av as Ht,u as Ut,y as zt,aw as Wt,ax as qt,ay as Gt,az as Yt,aA as X,aB as Xt}from"./entry.n8fVlM9F.js";const Jt={wrapper:"flex flex-col flex-1 min-h-0 divide-y divide-gray-100 dark:divide-gray-800",container:"relative flex-1 overflow-y-auto divide-y divide-gray-100 dark:divide-gray-800 scroll-py-2",input:{wrapper:"relative flex items-center",base:"w-full placeholder-gray-400 dark:placeholder-gray-500 bg-transparent border-0 text-gray-900 dark:text-white focus:ring-0 focus:outline-none",padding:"px-4",height:"h-12",size:"sm:text-sm",icon:{base:"pointer-events-none absolute start-4 text-gray-400 dark:text-gray-500",loading:"animate-spin",size:"h-4 w-4",padding:"ps-10"},closeButton:{base:"absolute end-4",padding:"pe-10"}},emptyState:{wrapper:"flex flex-col items-center justify-center flex-1 px-6 py-14 sm:px-14",label:"text-sm text-center text-gray-900 dark:text-white",queryLabel:"text-sm text-center text-gray-900 dark:text-white",icon:"w-6 h-6 mx-auto text-gray-400 dark:text-gray-500 mb-4"},group:{wrapper:"p-2",label:"px-2 my-2 text-xs font-semibold text-gray-900 dark:text-white",container:"text-sm text-gray-700 dark:text-gray-200",command:{base:"flex justify-between select-none items-center rounded-md px-2 py-1.5 gap-2 relative",active:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactive:"",label:"flex items-center gap-1.5 min-w-0",prefix:"text-gray-400 dark:text-gray-500",suffix:"text-gray-400 dark:text-gray-500",container:"flex items-center gap-2 min-w-0",icon:{base:"flex-shrink-0 w-4 h-4",active:"text-gray-900 dark:text-white",inactive:"text-gray-400 dark:text-gray-500"},selectedIcon:{base:"h-4 w-4 text-gray-900 dark:text-white flex-shrink-0"},avatar:{base:"flex-shrink-0",size:"3xs"},chip:{base:"flex-shrink-0 w-2 h-2 mx-1 rounded-full"},disabled:"opacity-50",shortcuts:"hidden md:inline-flex flex-shrink-0 gap-0.5"},active:"flex-shrink-0 text-gray-500 dark:text-gray-400",inactive:"flex-shrink-0 text-gray-500 dark:text-gray-400"},default:{icon:"i-heroicons-magnifying-glass-20-solid",loadingIcon:"i-heroicons-arrow-path-20-solid",emptyState:{icon:"i-heroicons-magnifying-glass-20-solid",label:"We couldn't find any items.",queryLabel:"We couldn't find any items with that term. Please try again."},closeButton:null,selectedIcon:"i-heroicons-check-20-solid"}},Qt={wrapper:"relative z-50",inner:"fixed inset-0 overflow-y-auto",container:"flex min-h-full items-end sm:items-center justify-center text-center",padding:"p-4 sm:p-0",margin:"sm:my-8",base:"relative text-left rtl:text-right overflow-hidden flex flex-col",overlay:{base:"fixed inset-0 transition-opacity",background:"bg-gray-200/75 dark:bg-gray-800/75",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"}},background:"bg-white dark:bg-gray-900",ring:"",rounded:"rounded-lg",shadow:"shadow-xl",width:"w-full sm:max-w-lg",height:"",fullscreen:"w-screen h-screen",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}};function Zt(e){throw new Error("Unexpected object: "+e)}var _=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(_||{});function en(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=r??-1,a=(()=>{switch(e.focus){case 0:return n.findIndex(s=>!t.resolveDisabled(s));case 1:{let s=n.slice().reverse().findIndex((l,u,d)=>o!==-1&&d.length-u-1>=o?!1:!t.resolveDisabled(l));return s===-1?s:n.length-1-s}case 2:return n.findIndex((s,l)=>l<=o?!1:!t.resolveDisabled(s));case 3:{let s=n.slice().reverse().findIndex(l=>!t.resolveDisabled(l));return s===-1?s:n.length-1-s}case 4:return n.findIndex(s=>t.resolveId(s)===e.id);case 5:return null;default:Zt(e)}})();return a===-1?r:a}function tn({container:e,accept:t,walk:n,enabled:r}){be(()=>{let o=e.value;if(!o||r!==void 0&&!r.value)return;let a=We(e);if(!a)return;let s=Object.assign(u=>t(u),{acceptNode:t}),l=a.createTreeWalker(o,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)n(l.currentNode)})}function nt(e={},t=null,n=[]){for(let[r,o]of Object.entries(e))ot(n,at(t,r),o);return n}function at(e,t){return e?e+"["+t+"]":t}function ot(e,t,n){if(Array.isArray(n))for(let[r,o]of n.entries())ot(e,at(t,r.toString()),o);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):nt(n,t,e)}function nn(e,t,n){let r=F(n==null?void 0:n.value),o=M(()=>e.value!==void 0);return[M(()=>o.value?e.value:r.value),function(a){return o.value||(r.value=a),t==null?void 0:t(a)}]}function Ve(e){return[e.screenX,e.screenY]}function an(){let e=F([-1,-1]);return{wasMoved(t){let n=Ve(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=Ve(t)}}}function on(e,t){return e===t}var rn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(rn||{}),sn=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(sn||{}),ln=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ln||{});let rt=Symbol("ComboboxContext");function Me(e){let t=Ct(rt,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Me),n}return t}let un=ne({name:"Combobox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>on},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},nullable:{type:Boolean,default:!1},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){let o=F(1),a=F(null),s=F(null),l=F(null),u=F(null),d=F({static:!1,hold:!1}),i=F([]),p=F(null),h=F(1),x=F(!1);function I(y=c=>c){let c=p.value!==null?i.value[p.value]:null,f=Mt(y(i.value.slice()),b=>j(b.dataRef.domRef)),g=c?f.indexOf(c):null;return g===-1&&(g=null),{options:f,activeOptionIndex:g}}let w=M(()=>e.multiple?1:0),C=M(()=>e.nullable),[v,E]=nn(M(()=>e.modelValue),y=>r("update:modelValue",y),M(()=>e.defaultValue)),R=M(()=>v.value===void 0?J(w.value,{1:[],0:void 0}):v.value),T=null,L=null,k={comboboxState:o,value:R,mode:w,compare(y,c){if(typeof e.by=="string"){let f=e.by;return(y==null?void 0:y[f])===(c==null?void 0:c[f])}return e.by(y,c)},defaultValue:M(()=>e.defaultValue),nullable:C,inputRef:s,labelRef:a,buttonRef:l,optionsRef:u,disabled:M(()=>e.disabled),options:i,change(y){E(y)},activeOptionIndex:M(()=>{if(x.value&&p.value===null&&i.value.length>0){let y=i.value.findIndex(c=>!c.dataRef.disabled);y!==-1&&(p.value=y)}return p.value}),activationTrigger:h,optionsPropsRef:d,closeCombobox(){x.value=!1,!e.disabled&&o.value!==1&&(o.value=1,p.value=null)},openCombobox(){if(x.value=!0,e.disabled||o.value===0)return;let y=i.value.findIndex(c=>{let f=N(c.dataRef.value);return J(w.value,{0:()=>k.compare(N(k.value.value),N(f)),1:()=>N(k.value.value).some(g=>k.compare(N(g),N(f)))})});y!==-1&&(p.value=y),o.value=0},goToOption(y,c,f){x.value=!1,T!==null&&cancelAnimationFrame(T),T=requestAnimationFrame(()=>{if(e.disabled||u.value&&!d.value.static&&o.value===1)return;let g=I();if(g.activeOptionIndex===null){let m=g.options.findIndex(B=>!B.dataRef.disabled);m!==-1&&(g.activeOptionIndex=m)}let b=en(y===_.Specific?{focus:_.Specific,id:c}:{focus:y},{resolveItems:()=>g.options,resolveActiveIndex:()=>g.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.disabled});p.value=b,h.value=f??1,i.value=g.options})},selectOption(y){let c=i.value.find(g=>g.id===y);if(!c)return;let{dataRef:f}=c;E(J(w.value,{0:()=>f.value,1:()=>{let g=N(k.value.value).slice(),b=N(f.value),m=g.findIndex(B=>k.compare(b,N(B)));return m===-1?g.push(b):g.splice(m,1),g}}))},selectActiveOption(){if(k.activeOptionIndex.value===null)return;let{dataRef:y,id:c}=i.value[k.activeOptionIndex.value];E(J(w.value,{0:()=>y.value,1:()=>{let f=N(k.value.value).slice(),g=N(y.value),b=f.findIndex(m=>k.compare(g,N(m)));return b===-1?f.push(g):f.splice(b,1),f}})),k.goToOption(_.Specific,c)},registerOption(y,c){L&&cancelAnimationFrame(L);let f={id:y,dataRef:c},g=I(b=>(b.push(f),b));if(p.value===null){let b=c.value.value;J(w.value,{0:()=>k.compare(N(k.value.value),N(b)),1:()=>N(k.value.value).some(m=>k.compare(N(m),N(b)))})&&(g.activeOptionIndex=g.options.indexOf(f))}i.value=g.options,p.value=g.activeOptionIndex,h.value=1,g.options.some(b=>!j(b.dataRef.domRef))&&(L=requestAnimationFrame(()=>{let b=I();i.value=b.options,p.value=b.activeOptionIndex}))},unregisterOption(y){var c;k.activeOptionIndex.value!==null&&((c=k.options.value[k.activeOptionIndex.value])==null?void 0:c.id)===y&&(x.value=!0);let f=I(g=>{let b=g.findIndex(m=>m.id===y);return b!==-1&&g.splice(b,1),g});i.value=f.options,p.value=f.activeOptionIndex,h.value=1}};yt([s,l,u],()=>k.closeCombobox(),M(()=>o.value===0)),xt(rt,k),St(M(()=>J(o.value,{0:ye.Open,1:ye.Closed})));let S=M(()=>k.activeOptionIndex.value===null?null:i.value[k.activeOptionIndex.value].dataRef.value),A=M(()=>{var y;return(y=j(s))==null?void 0:y.closest("form")});return he(()=>{ue([A],()=>{if(!A.value||e.defaultValue===void 0)return;function y(){k.change(e.defaultValue)}return A.value.addEventListener("reset",y),()=>{var c;(c=A.value)==null||c.removeEventListener("reset",y)}},{immediate:!0})}),()=>{let{name:y,disabled:c,form:f,...g}=e,b={open:o.value===0,disabled:c,activeIndex:k.activeOptionIndex.value,activeOption:S.value,value:R.value};return je(xe,[...y!=null&&R.value!=null?nt({[y]:R.value}).map(([m,B])=>je(It,Ot({features:kt.Hidden,key:m,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:f,name:m,value:B}))):[],we({theirProps:{...n,...qe(g,["modelValue","defaultValue","nullable","multiple","onUpdate:modelValue","by"])},ourProps:{},slot:b,slots:t,attrs:n,name:"Combobox"})])}}}),cn=ne({name:"ComboboxInput",props:{as:{type:[Object,String],default:"input"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},displayValue:{type:Function},defaultValue:{type:String,default:void 0},id:{type:String,default:()=>`headlessui-combobox-input-${Be()}`}},emits:{change:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){let a=Me("ComboboxInput"),s=M(()=>We(j(a.inputRef))),l={value:!1};o({el:a.inputRef,$el:a.inputRef});function u(){a.change(null);let v=j(a.optionsRef);v&&(v.scrollTop=0),a.goToOption(_.Nothing)}let d=M(()=>{var v;let E=a.value.value;return j(a.inputRef)?typeof e.displayValue<"u"&&E!==void 0?(v=e.displayValue(E))!=null?v:"":typeof E=="string"?E:"":""});he(()=>{ue([d,a.comboboxState,s],([v,E],[R,T])=>{if(l.value)return;let L=j(a.inputRef);L&&((T===0&&E===1||v!==R)&&(L.value=v),requestAnimationFrame(()=>{var k;if(l.value||!L||((k=s.value)==null?void 0:k.activeElement)!==L)return;let{selectionStart:S,selectionEnd:A}=L;Math.abs((A??0)-(S??0))===0&&S===0&&L.setSelectionRange(L.value.length,L.value.length)}))},{immediate:!0}),ue([a.comboboxState],([v],[E])=>{if(v===0&&E===1){if(l.value)return;let R=j(a.inputRef);if(!R)return;let T=R.value,{selectionStart:L,selectionEnd:k,selectionDirection:S}=R;R.value="",R.value=T,S!==null?R.setSelectionRange(L,k,S):R.setSelectionRange(L,k)}})});let i=F(!1);function p(){i.value=!0}function h(){At().nextFrame(()=>{i.value=!1})}function x(v){switch(l.value=!0,v.key){case Y.Enter:if(l.value=!1,a.comboboxState.value!==0||i.value)return;if(v.preventDefault(),v.stopPropagation(),a.activeOptionIndex.value===null){a.closeCombobox();return}a.selectActiveOption(),a.mode.value===0&&a.closeCombobox();break;case Y.ArrowDown:return l.value=!1,v.preventDefault(),v.stopPropagation(),J(a.comboboxState.value,{0:()=>a.goToOption(_.Next),1:()=>a.openCombobox()});case Y.ArrowUp:return l.value=!1,v.preventDefault(),v.stopPropagation(),J(a.comboboxState.value,{0:()=>a.goToOption(_.Previous),1:()=>{a.openCombobox(),Ge(()=>{a.value.value||a.goToOption(_.Last)})}});case Y.Home:if(v.shiftKey)break;return l.value=!1,v.preventDefault(),v.stopPropagation(),a.goToOption(_.First);case Y.PageUp:return l.value=!1,v.preventDefault(),v.stopPropagation(),a.goToOption(_.First);case Y.End:if(v.shiftKey)break;return l.value=!1,v.preventDefault(),v.stopPropagation(),a.goToOption(_.Last);case Y.PageDown:return l.value=!1,v.preventDefault(),v.stopPropagation(),a.goToOption(_.Last);case Y.Escape:if(l.value=!1,a.comboboxState.value!==0)return;v.preventDefault(),a.optionsRef.value&&!a.optionsPropsRef.value.static&&v.stopPropagation(),a.nullable.value&&a.mode.value===0&&a.value.value===null&&u(),a.closeCombobox();break;case Y.Tab:if(l.value=!1,a.comboboxState.value!==0)return;a.mode.value===0&&a.selectActiveOption(),a.closeCombobox();break}}function I(v){t("change",v),a.nullable.value&&a.mode.value===0&&v.target.value===""&&u(),a.openCombobox()}function w(){l.value=!1}let C=M(()=>{var v,E,R,T;return(T=(R=(E=e.defaultValue)!=null?E:a.defaultValue.value!==void 0?(v=e.displayValue)==null?void 0:v.call(e,a.defaultValue.value):null)!=null?R:a.defaultValue.value)!=null?T:""});return()=>{var v,E,R,T,L,k;let S={open:a.comboboxState.value===0},{id:A,displayValue:y,onChange:c,...f}=e,g={"aria-controls":(v=a.optionsRef.value)==null?void 0:v.id,"aria-expanded":a.comboboxState.value===0,"aria-activedescendant":a.activeOptionIndex.value===null||(E=a.options.value[a.activeOptionIndex.value])==null?void 0:E.id,"aria-labelledby":(L=(R=j(a.labelRef))==null?void 0:R.id)!=null?L:(T=j(a.buttonRef))==null?void 0:T.id,"aria-autocomplete":"list",id:A,onCompositionstart:p,onCompositionend:h,onKeydown:x,onInput:I,onBlur:w,role:"combobox",type:(k=n.type)!=null?k:"text",tabIndex:0,ref:a.inputRef,defaultValue:C.value,disabled:a.disabled.value===!0?!0:void 0};return we({ourProps:g,theirProps:f,slot:S,attrs:n,slots:r,features:Se.RenderStrategy|Se.Static,name:"ComboboxInput"})}}}),dn=ne({name:"ComboboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},hold:{type:[Boolean],default:!1}},setup(e,{attrs:t,slots:n,expose:r}){let o=Me("ComboboxOptions"),a=`headlessui-combobox-options-${Be()}`;r({el:o.optionsRef,$el:o.optionsRef}),be(()=>{o.optionsPropsRef.value.static=e.static}),be(()=>{o.optionsPropsRef.value.hold=e.hold});let s=wt(),l=M(()=>s!==null?(s.value&ye.Open)===ye.Open:o.comboboxState.value===0);return tn({container:M(()=>j(o.optionsRef)),enabled:M(()=>o.comboboxState.value===0),accept(u){return u.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:u.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(u){u.setAttribute("role","none")}}),()=>{var u,d,i;let p={open:o.comboboxState.value===0},h={"aria-labelledby":(i=(u=j(o.labelRef))==null?void 0:u.id)!=null?i:(d=j(o.buttonRef))==null?void 0:d.id,id:a,ref:o.optionsRef,role:"listbox","aria-multiselectable":o.mode.value===1?!0:void 0},x=qe(e,["hold"]);return we({ourProps:h,theirProps:x,slot:p,attrs:t,slots:n,features:Se.RenderStrategy|Se.Static,visible:l.value,name:"ComboboxOptions"})}}}),pn=ne({name:"ComboboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n,expose:r}){let o=Me("ComboboxOption"),a=`headlessui-combobox-option-${Be()}`,s=F(null);r({el:s,$el:s});let l=M(()=>o.activeOptionIndex.value!==null?o.options.value[o.activeOptionIndex.value].id===a:!1),u=M(()=>J(o.mode.value,{0:()=>o.compare(N(o.value.value),N(e.value)),1:()=>N(o.value.value).some(C=>o.compare(N(C),N(e.value)))})),d=M(()=>({disabled:e.disabled,value:e.value,domRef:s}));he(()=>o.registerOption(a,d)),Rt(()=>o.unregisterOption(a)),be(()=>{o.comboboxState.value===0&&l.value&&o.activationTrigger.value!==0&&Ge(()=>{var C,v;return(v=(C=j(s))==null?void 0:C.scrollIntoView)==null?void 0:v.call(C,{block:"nearest"})})});function i(C){if(e.disabled)return C.preventDefault();o.selectOption(a),o.mode.value===0&&o.closeCombobox(),Et()||requestAnimationFrame(()=>{var v;return(v=j(o.inputRef))==null?void 0:v.focus()})}function p(){if(e.disabled)return o.goToOption(_.Nothing);o.goToOption(_.Specific,a)}let h=an();function x(C){h.update(C)}function I(C){h.wasMoved(C)&&(e.disabled||l.value||o.goToOption(_.Specific,a,0))}function w(C){h.wasMoved(C)&&(e.disabled||l.value&&(o.optionsPropsRef.value.hold||o.goToOption(_.Nothing)))}return()=>{let{disabled:C}=e,v={active:l.value,selected:u.value,disabled:C},E={id:a,ref:s,role:"option",tabIndex:C===!0?void 0:-1,"aria-disabled":C===!0?!0:void 0,"aria-selected":u.value,disabled:void 0,onClick:i,onFocus:p,onPointerenter:x,onMouseenter:x,onPointermove:I,onMousemove:I,onPointerleave:w,onMouseleave:w};return we({ourProps:E,theirProps:e,slot:v,attrs:n,slots:t,name:"ComboboxOption"})}}});function Z(e){return Array.isArray?Array.isArray(e):lt(e)==="[object Array]"}const fn=1/0;function hn(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-fn?"-0":t}function gn(e){return e==null?"":hn(e)}function G(e){return typeof e=="string"}function st(e){return typeof e=="number"}function vn(e){return e===!0||e===!1||mn(e)&<(e)=="[object Boolean]"}function it(e){return typeof e=="object"}function mn(e){return it(e)&&e!==null}function D(e){return e!=null}function Ae(e){return!e.trim().length}function lt(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const bn="Incorrect 'index' type",yn=e=>`Invalid value for key ${e}`,xn=e=>`Pattern length exceeds max of ${e}.`,Sn=e=>`Missing ${e} property in key`,In=e=>`Property 'weight' in key '${e}' must be a positive integer`,De=Object.prototype.hasOwnProperty;class On{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let o=ut(r);n+=o.weight,this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function ut(e){let t=null,n=null,r=null,o=1,a=null;if(G(e)||Z(e))r=e,t=Ke(e),n=Re(e);else{if(!De.call(e,"name"))throw new Error(Sn("name"));const s=e.name;if(r=s,De.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(In(s));t=Ke(s),n=Re(s),a=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:a}}function Ke(e){return Z(e)?e:e.split(".")}function Re(e){return Z(e)?e.join("."):e}function kn(e,t){let n=[],r=!1;const o=(a,s,l)=>{if(D(a))if(!s[l])n.push(a);else{let u=s[l];const d=a[u];if(!D(d))return;if(l===s.length-1&&(G(d)||st(d)||vn(d)))n.push(gn(d));else if(Z(d)){r=!0;for(let i=0,p=d.length;ie.score===t.score?e.idx{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,G(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();G(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n{let s=o.getFn?o.getFn(t):this.getFn(t,o.path);if(D(s)){if(Z(s)){let l=[];const u=[{nestedArrIndex:-1,value:s}];for(;u.length;){const{nestedArrIndex:d,value:i}=u.pop();if(D(i))if(G(i)&&!Ae(i)){let p={v:i,i:d,n:this.norm.get(i)};l.push(p)}else Z(i)&&i.forEach((p,h)=>{u.push({nestedArrIndex:h,value:p})})}r.$[a]=l}else if(G(s)&&!Ae(s)){let l={v:s,n:this.norm.get(s)};r.$[a]=l}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function ct(e,t,{getFn:n=O.getFn,fieldNormWeight:r=O.fieldNormWeight}={}){const o=new _e({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(ut)),o.setSources(t),o.create(),o}function $n(e,{getFn:t=O.getFn,fieldNormWeight:n=O.fieldNormWeight}={}){const{keys:r,records:o}=e,a=new _e({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(o),a}function me(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=O.distance,ignoreLocation:a=O.ignoreLocation}={}){const s=t/e.length;if(a)return s;const l=Math.abs(r-n);return o?s+l/o:l?1:s}function Pn(e=[],t=O.minMatchCharLength){let n=[],r=-1,o=-1,a=0;for(let s=e.length;a=t&&n.push([r,o]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}const re=32;function Ln(e,t,n,{location:r=O.location,distance:o=O.distance,threshold:a=O.threshold,findAllMatches:s=O.findAllMatches,minMatchCharLength:l=O.minMatchCharLength,includeMatches:u=O.includeMatches,ignoreLocation:d=O.ignoreLocation}={}){if(t.length>re)throw new Error(xn(re));const i=t.length,p=e.length,h=Math.max(0,Math.min(r,p));let x=a,I=h;const w=l>1||u,C=w?Array(p):[];let v;for(;(v=e.indexOf(t,I))>-1;){let S=me(t,{currentLocation:v,expectedLocation:h,distance:o,ignoreLocation:d});if(x=Math.min(S,x),I=v+i,w){let A=0;for(;A=c;m-=1){let B=m-1,ee=n[e.charAt(B)];if(w&&(C[B]=+!!ee),g[m]=(g[m+1]<<1|1)&ee,S&&(g[m]|=(E[m+1]|E[m])<<1|1|E[m+1]),g[m]&L&&(R=me(t,{errors:S,currentLocation:B,expectedLocation:h,distance:o,ignoreLocation:d}),R<=x)){if(x=R,I=B,I<=h)break;c=Math.max(1,2*h-I)}}if(me(t,{errors:S+1,currentLocation:h,expectedLocation:h,distance:o,ignoreLocation:d})>x)break;E=g}const k={isMatch:I>=0,score:Math.max(.001,R)};if(w){const S=Pn(C,l);S.length?u&&(k.indices=S):k.isMatch=!1}return k}function Tn(e){let t={};for(let n=0,r=e.length;n{this.chunks.push({pattern:h,alphabet:Tn(h),startIndex:x})},p=this.pattern.length;if(p>re){let h=0;const x=p%re,I=p-x;for(;h{const{isMatch:v,score:E,indices:R}=Ln(t,I,w,{location:o+C,distance:a,threshold:s,findAllMatches:l,minMatchCharLength:u,includeMatches:r,ignoreLocation:d});v&&(h=!0),p+=E,v&&R&&(i=[...i,...R])});let x={isMatch:h,score:h?p/this.chunks.length:1};return h&&r&&(x.indices=i),x}}class ae{constructor(t){this.pattern=t}static isMultiMatch(t){return He(t,this.multiRegex)}static isSingleMatch(t){return He(t,this.singleRegex)}search(){}}function He(e,t){const n=e.match(t);return n?n[1]:null}class Bn extends ae{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Nn extends ae{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class Fn extends ae{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class _n extends ae{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class jn extends ae{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class Vn extends ae{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class pt extends ae{constructor(t,{location:n=O.location,threshold:r=O.threshold,distance:o=O.distance,includeMatches:a=O.includeMatches,findAllMatches:s=O.findAllMatches,minMatchCharLength:l=O.minMatchCharLength,isCaseSensitive:u=O.isCaseSensitive,ignoreLocation:d=O.ignoreLocation}={}){super(t),this._bitapSearch=new dt(t,{location:n,threshold:r,distance:o,includeMatches:a,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:u,ignoreLocation:d})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class ft extends ae{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const o=[],a=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+a,o.push([r,n-1]);const s=!!o.length;return{isMatch:s,score:s?0:1,indices:o}}}const Ee=[Bn,ft,Fn,_n,Vn,jn,Nn,pt],Ue=Ee.length,Dn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Kn="|";function Hn(e,t={}){return e.split(Kn).map(n=>{let r=n.trim().split(Dn).filter(a=>a&&!!a.trim()),o=[];for(let a=0,s=r.length;a!!(e[ke.AND]||e[ke.OR]),qn=e=>!!e[Le.PATH],Gn=e=>!Z(e)&&it(e)&&!Te(e),ze=e=>({[ke.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function ht(e,t,{auto:n=!0}={}){const r=o=>{let a=Object.keys(o);const s=qn(o);if(!s&&a.length>1&&!Te(o))return r(ze(o));if(Gn(o)){const u=s?o[Le.PATH]:a[0],d=s?o[Le.PATTERN]:o[u];if(!G(d))throw new Error(yn(u));const i={keyId:Re(u),pattern:d};return n&&(i.searcher=Pe(d,t)),i}let l={children:[],operator:a[0]};return a.forEach(u=>{const d=o[u];Z(d)&&d.forEach(i=>{l.children.push(r(i))})}),l};return Te(e)||(e=ze(e)),r(e)}function Yn(e,{ignoreFieldNorm:t=O.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:a,score:s})=>{const l=o?o.weight:null;r*=Math.pow(s===0&&l?Number.EPSILON:s,(l||1)*(t?1:a))}),n.score=r})}function Xn(e,t){const n=e.matches;t.matches=[],D(n)&&n.forEach(r=>{if(!D(r.indices)||!r.indices.length)return;const{indices:o,value:a}=r;let s={indices:o,value:a};r.key&&(s.key=r.key.src),r.idx>-1&&(s.refIndex=r.idx),t.matches.push(s)})}function Jn(e,t){t.score=e.score}function Qn(e,t,{includeMatches:n=O.includeMatches,includeScore:r=O.includeScore}={}){const o=[];return n&&o.push(Xn),r&&o.push(Jn),e.map(a=>{const{idx:s}=a,l={item:t[s],refIndex:s};return o.length&&o.forEach(u=>{u(a,l)}),l})}class ce{constructor(t,n={},r){this.options={...O,...n},this.options.useExtendedSearch,this._keyStore=new On(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof _e))throw new Error(bn);this._myIndex=n||ct(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){D(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,o=this._docs.length;r-1&&(u=u.slice(0,n)),Qn(u,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(t){const n=Pe(t,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:a,i:s,n:l})=>{if(!D(a))return;const{isMatch:u,score:d,indices:i}=n.searchIn(a);u&&o.push({item:a,idx:s,matches:[{score:d,value:a,norm:l,indices:i}]})}),o}_searchLogical(t){const n=ht(t,this.options),r=(l,u,d)=>{if(!l.children){const{keyId:p,searcher:h}=l,x=this._findMatches({key:this._keyStore.get(p),value:this._myIndex.getValueForItemAtKeyId(u,p),searcher:h});return x&&x.length?[{idx:d,item:u,matches:x}]:[]}const i=[];for(let p=0,h=l.children.length;p{if(D(l)){let d=r(n,l,u);d.length&&(a[u]||(a[u]={idx:u,item:l,matches:[]},s.push(a[u])),d.forEach(({matches:i})=>{a[u].matches.push(...i)}))}}),s}_searchObjectList(t){const n=Pe(t,this.options),{keys:r,records:o}=this._myIndex,a=[];return o.forEach(({$:s,i:l})=>{if(!D(s))return;let u=[];r.forEach((d,i)=>{u.push(...this._findMatches({key:d,value:s[i],searcher:n}))}),u.length&&a.push({idx:l,item:s,matches:u})}),a}_findMatches({key:t,value:n,searcher:r}){if(!D(n))return[];let o=[];if(Z(n))n.forEach(({v:a,i:s,n:l})=>{if(!D(a))return;const{isMatch:u,score:d,indices:i}=r.searchIn(a);u&&o.push({score:d,key:t,value:a,idx:s,norm:l,indices:i})});else{const{v:a,n:s}=n,{isMatch:l,score:u,indices:d}=r.searchIn(a);l&&o.push({score:u,key:t,value:a,norm:s,indices:d})}return o}}ce.version="6.6.2";ce.createIndex=ct;ce.parseIndex=$n;ce.config=O;ce.parseQuery=ht;Wn(zn);function Zn(e,t,n){const r=()=>{var s,l;return new ce((s=q(t))!=null?s:[],(l=q(n))==null?void 0:l.fuseOptions)},o=F(r());ue(()=>{var s;return(s=q(n))==null?void 0:s.fuseOptions},()=>{o.value=r()},{deep:!0}),ue(()=>q(t),s=>{o.value.setCollection(s)},{deep:!0});const a=M(()=>{const s=q(n);if(s!=null&&s.matchAllWhenSearchEmpty&&!q(e))return q(t).map((u,d)=>({item:u,refIndex:d}));const l=s==null?void 0:s.resultLimit;return o.value.search(q(e),l?{limit:l}:void 0)});return{fuse:o,results:a}}const ea=ne({components:{HComboboxOption:pn,UIcon:Ce,UAvatar:Ye,UKbd:Xe},props:{group:{type:Object,required:!0},query:{type:String,default:""},groupAttribute:{type:String,required:!0},commandAttribute:{type:String,required:!0},selectedIcon:{type:String,required:!0},ui:{type:Object,required:!0}},setup(e){const t=M(()=>{const r=e.group[e.groupAttribute];return typeof r=="function"?r(e.query):r});function n(r,{indices:o,value:a}){if(r===a)return"";let s="",l=0;o.forEach(d=>{const i=d[1]+1,p=i-d[0]>=e.query.length;s+=[a.substring(l,d[0]),p&&"",a.substring(d[0],i),p&&""].filter(Boolean).join(""),l=i}),s+=a.substring(l);const u=s.indexOf("");return u>60&&(s=`...${s.substring(u-60)}`),s}return{label:t,highlight:n}}}),ta=["aria-label"],na=["innerHTML"];function aa(e,t,n,r,o,a){const s=Ce,l=Ye,u=Xe,d=Q("HComboboxOption");return P(),K("div",{class:$(e.ui.group.wrapper),role:"option"},[e.label?(P(),K("h2",{key:0,class:$(e.ui.group.label)},te(e.label),3)):U("",!0),z("div",{class:$(e.ui.group.container),role:"listbox","aria-label":e.group[e.groupAttribute]},[(P(!0),K(xe,null,Ie(e.group.commands,(i,p)=>(P(),V(d,{key:`${e.group.key}-${p}`,value:i,disabled:i.disabled,as:"template"},{default:W(({active:h,selected:x})=>[z("div",{class:$([e.ui.group.command.base,h?e.ui.group.command.active:e.ui.group.command.inactive,i.disabled?"cursor-not-allowed":"cursor-pointer"])},[z("div",{class:$(e.ui.group.command.container)},[se(e.$slots,`${e.group.key}-icon`,{group:e.group,command:i,active:h,selected:x},()=>[i.icon?(P(),V(s,{key:0,name:i.icon,class:$([e.ui.group.command.icon.base,h?e.ui.group.command.icon.active:e.ui.group.command.icon.inactive,i.iconClass]),"aria-hidden":"true"},null,8,["name","class"])):i.avatar?(P(),V(l,ie({key:1},{size:e.ui.group.command.avatar.size,...i.avatar},{class:e.ui.group.command.avatar.base,"aria-hidden":"true"}),null,16,["class"])):i.chip?(P(),K("span",{key:2,class:$(e.ui.group.command.chip.base),style:$t({background:`#${i.chip}`})},null,6)):U("",!0)]),z("div",{class:$([e.ui.group.command.label,i.disabled&&e.ui.group.command.disabled])},[se(e.$slots,`${e.group.key}-command`,{group:e.group,command:i,active:h,selected:x},()=>{var I,w;return[i.prefix?(P(),K("span",{key:0,class:$(["flex-shrink-0",i.prefixClass||e.ui.group.command.prefix])},te(i.prefix),3)):U("",!0),z("span",{class:$(["truncate",{"flex-none":i.suffix||((I=i.matches)==null?void 0:I.length)}])},te(i[e.commandAttribute]),3),(w=i.matches)!=null&&w.length?(P(),K("span",{key:1,class:$(["truncate",i.suffixClass||e.ui.group.command.suffix]),innerHTML:e.highlight(i[e.commandAttribute],i.matches[0])},null,10,na)):i.suffix?(P(),K("span",{key:2,class:$(["truncate",i.suffixClass||e.ui.group.command.suffix])},te(i.suffix),3)):U("",!0)]})],2)],2),x?(P(),V(s,{key:0,name:e.selectedIcon,class:$(e.ui.group.command.selectedIcon.base),"aria-hidden":"true"},null,8,["name","class"])):h&&(e.group.active||e.$slots[`${e.group.key}-active`])?se(e.$slots,`${e.group.key}-active`,{key:1,group:e.group,command:i,active:h,selected:x},()=>[e.group.active?(P(),K("span",{key:0,class:$(e.ui.group.active)},te(e.group.active),3)):U("",!0)]):se(e.$slots,`${e.group.key}-inactive`,{key:2,group:e.group,command:i,active:h,selected:x},()=>{var I;return[(I=i.shortcuts)!=null&&I.length?(P(),K("span",{key:0,class:$(e.ui.group.command.shortcuts)},[(P(!0),K(xe,null,Ie(i.shortcuts,w=>(P(),V(u,{key:w},{default:W(()=>[Pt(te(w),1)]),_:2},1024))),128))],2)):!i.disabled&&e.group.inactive?(P(),K("span",{key:1,class:$(e.ui.group.inactive)},te(e.group.inactive),3)):U("",!0)]})],2)]),_:2},1032,["value","disabled"]))),128))],10,ta)],2)}const oa=Ne(ea,[["render",aa]]),le=Je(Oe.ui.strategy,Oe.ui.commandPalette,Jt),ra=ne({components:{HCombobox:un,HComboboxInput:cn,HComboboxOptions:dn,UIcon:Ce,UButton:Qe,CommandPaletteGroup:oa},inheritAttrs:!1,props:{modelValue:{type:[String,Number,Object,Array],default:null},by:{type:String,default:"id"},multiple:{type:Boolean,default:!1},nullable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},groups:{type:Array,default:()=>[]},icon:{type:String,default:()=>le.default.icon},loadingIcon:{type:String,default:()=>le.default.loadingIcon},selectedIcon:{type:String,default:()=>le.default.selectedIcon},closeButton:{type:Object,default:()=>le.default.closeButton},emptyState:{type:Object,default:()=>le.default.emptyState},placeholder:{type:String,default:"Search..."},groupAttribute:{type:String,default:"label"},commandAttribute:{type:String,default:"label"},autoselect:{type:Boolean,default:!0},autoclear:{type:Boolean,default:!0},debounce:{type:Number,default:200},fuse:{type:Object,default:()=>({})},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:modelValue","close"],setup(e,{emit:t,expose:n}){const{ui:r,attrs:o}=Fe("commandPalette",ge(e,"ui"),le,ge(e,"class")),a=F(""),s=F(),l=F(null),u=F(!1);he(()=>{e.autoselect&&T()}),he(()=>{setTimeout(()=>{var y;const S=(y=s.value)==null?void 0:y.$.provides;if(!S)return;const A=Object.getOwnPropertySymbols(S);l.value=A.length&&S[A[0]]},200)});const d=M(()=>Ze({},e.fuse,{fuseOptions:{keys:[e.commandAttribute]},resultLimit:12,matchAllWhenSearchEmpty:!0})),i=M(()=>{var A;const S=[];for(const y of e.groups)y.search||S.push(...((A=y.commands)==null?void 0:A.map(c=>({...c,group:y.key})))||[]);return S}),p=F({}),{results:h}=Zn(a,i,d);function x(S,A){if(S)return S.filter&&typeof S.filter=="function"&&(A=S.filter(a.value,A)),{...S,commands:A.slice(0,d.value.resultLimit)}}const I=M(()=>{if(!h.value)return[];const S=h.value.reduce((c,f)=>{var m;const{item:g,...b}=f;return g.group&&(c[m=g.group]||(c[m]=[]),c[g.group].push({...g,...b})),c},{}),A=Object.entries(S).map(([c,f])=>{const g=e.groups.find(b=>b.key===c);return g?x(g,f):null}).filter(Boolean),y=e.groups.filter(c=>{var f;return!!c.search&&((f=p.value[c.key])==null?void 0:f.length)}).map(c=>{const f=p.value[c.key]||[];return x(c,[...f])});return[...A,...y]}),w=et(async()=>{const S=e.groups.filter(A=>!!A.search);S.length&&(u.value=!0,await Promise.all(S.map(async A=>{p.value[A.key]=await A.search(a.value)})),u.value=!1,R())},e.debounce);ue(a,()=>{w(),R()});const C=M(()=>(e.loading||u.value)&&e.loadingIcon?e.loadingIcon:e.icon),v=M(()=>Lt(r.value.input.icon.base,r.value.input.icon.size,(e.loading||u.value)&&e.loadingIcon&&r.value.input.icon.loading)),E=M(()=>({...r.value.default.emptyState,...e.emptyState}));function R(){setTimeout(()=>{var S;(S=s.value)==null||S.$el.dispatchEvent(new KeyboardEvent("keydown",{key:"PageUp"}))},0)}function T(){setTimeout(()=>{var S;(S=s.value)==null||S.$el.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowDown"}))},0)}function L(S){t("update:modelValue",S,{query:a.value}),e.autoclear&&setTimeout(()=>{a.value=""},0)}function k(){a.value?a.value="":t("close")}return n({query:a,updateQuery:S=>{a.value=S},comboboxApi:l,results:h}),{ui:r,attrs:o,groups:I,comboboxInput:s,query:a,iconName:C,iconClass:v,emptyState:E,onSelect:L,onClear:k}}});function sa(e,t,n,r,o,a){const s=Ce,l=Q("HComboboxInput"),u=Qe,d=Q("CommandPaletteGroup"),i=Q("HComboboxOptions"),p=Q("HCombobox");return P(),V(p,ie({by:e.by,"model-value":e.modelValue,multiple:e.multiple,nullable:e.nullable,class:e.ui.wrapper},e.attrs,{as:"div","onUpdate:modelValue":e.onSelect}),{default:W(()=>[Tt(z("div",{class:$(e.ui.input.wrapper)},[e.iconName?(P(),V(s,{key:0,name:e.iconName,class:$(e.iconClass),"aria-hidden":"true"},null,8,["name","class"])):U("",!0),fe(l,{ref:"comboboxInput",value:e.query,class:$([e.ui.input.base,e.ui.input.size,e.ui.input.height,e.ui.input.padding,e.icon&&e.ui.input.icon.padding,e.closeButton&&e.ui.input.closeButton.padding]),placeholder:e.placeholder,"aria-label":e.placeholder,autocomplete:"off",onChange:t[0]||(t[0]=h=>e.query=h.target.value)},null,8,["value","class","placeholder","aria-label"]),e.closeButton?(P(),V(u,ie({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{class:e.ui.input.closeButton.base,onClick:e.onClear}),null,16,["class","onClick"])):U("",!0)],2),[[Bt,e.searchable]]),e.groups.length?(P(),V(i,{key:0,static:"",hold:"",as:"div","aria-label":"Commands",class:$(e.ui.container)},{default:W(()=>[(P(!0),K(xe,null,Ie(e.groups,h=>(P(),V(d,{key:h.key,query:e.query,group:h,"group-attribute":e.groupAttribute,"command-attribute":e.commandAttribute,"selected-icon":e.selectedIcon,ui:e.ui},Nt({_:2},[Ie(e.$slots,(x,I)=>({name:I,fn:W(w=>[se(e.$slots,I,Ft(_t(w)))])}))]),1032,["query","group","group-attribute","command-attribute","selected-icon","ui"]))),128))]),_:3},8,["class"])):e.emptyState?se(e.$slots,"empty-state",{key:1},()=>[z("div",{class:$(e.ui.emptyState.wrapper)},[e.emptyState.icon?(P(),V(s,{key:0,name:e.emptyState.icon,class:$(e.ui.emptyState.icon),"aria-hidden":"true"},null,8,["name","class"])):U("",!0),z("p",{class:$(e.query?e.ui.emptyState.queryLabel:e.ui.emptyState.label)},te(e.query?e.emptyState.queryLabel:e.emptyState.label),3)],2)]):U("",!0)]),_:3},16,["by","model-value","multiple","nullable","class","onUpdate:modelValue"])}const ia=Ne(ra,[["render",sa]]),la=Je(Oe.ui.strategy,Oe.ui.modal,Qt),ua=ne({components:{HDialog:jt,HDialogPanel:Vt,TransitionRoot:Dt,TransitionChild:Kt},inheritAttrs:!1,props:{modelValue:{type:Boolean,default:!1},appear:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},transition:{type:Boolean,default:!0},preventClose:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:modelValue","close"],setup(e,{emit:t}){const{ui:n,attrs:r}=Fe("modal",ge(e,"ui"),la,ge(e,"class")),o=M({get(){return e.modelValue},set(l){t("update:modelValue",l)}}),a=M(()=>e.transition?{...n.value.transition}:{});function s(l){o.value=l,t("close")}return{ui:n,attrs:r,isOpen:o,transitionClass:a,close:s}}});function ca(e,t,n,r,o,a){const s=Q("TransitionChild"),l=Q("HDialogPanel"),u=Q("HDialog"),d=Q("TransitionRoot");return P(),V(d,{appear:e.appear,show:e.isOpen,as:"template"},{default:W(()=>[fe(u,ie({class:e.ui.wrapper},e.attrs,{onClose:t[0]||(t[0]=i=>!e.preventClose&&e.close(i))}),{default:W(()=>[e.overlay?(P(),V(s,ie({key:0,as:"template",appear:e.appear},e.ui.overlay.transition),{default:W(()=>[z("div",{class:$([e.ui.overlay.base,e.ui.overlay.background])},null,2)]),_:1},16,["appear"])):U("",!0),z("div",{class:$(e.ui.inner)},[z("div",{class:$([e.ui.container,!e.fullscreen&&e.ui.padding])},[fe(s,ie({as:"template",appear:e.appear},e.transitionClass),{default:W(()=>[fe(l,{class:$([e.ui.base,e.ui.background,e.ui.ring,e.ui.shadow,e.fullscreen?e.ui.fullscreen:[e.ui.width,e.ui.height,e.ui.rounded,e.ui.margin]])},{default:W(()=>[se(e.$slots,"default")]),_:3},8,["class"])]),_:3},16,["appear"])],2)],2)]),_:3},16,["class"])]),_:3},8,["appear","show"])}const da=Ne(ua,[["render",ca]]),gt=e=>{if(!e.children)return e._path;for(const t of(e==null?void 0:e.children)||[]){const n=gt(t);if(n)return n}},vt=(e,t)=>{for(const n of t){if(n._path===e&&!n._id)return n.children;if(n.children){const r=vt(e,n.children);if(r)return r}}},mt=(e,t)=>{for(const n of t){if(n._path===e)return n;if(n.children){const r=mt(e,n.children);if(r)return r}}},pa=(e,t,n)=>{let r;const o=(a,s)=>{for(const l of s)if(!(a!=="/"&&l._path==="/")){if(a!=null&&a.startsWith(l._path)&&l[t]&&(r=l[t]),l._path===a)return;l.children&&o(a,l.children)}};return o(e,n),r},fa=()=>({navBottomLink:gt,navDirFromPath:vt,navPageFromPath:mt,navKeyFromPath:pa});function ha(...e){return M(()=>e.every(t=>q(t)))}function ga(e){return M(()=>!q(e))}const va=/^[^-]+.*-.*[^-]+$/,ma=/^[^_]+.*_.*[^_]+$/,ba=(e,t={})=>{const{macOS:n,usingInput:r}=tt();let o=[];const a=F([]),s=()=>{a.value.splice(0,a.value.length)},l=et(s,t.chainDelay??800),u=d=>{if(!d.key)return;const i=/^[a-z]{1}$/i.test(d.key);let p;if(a.value.push(d.key),a.value.length>=2){p=a.value.slice(-2).join("-");for(const h of o.filter(x=>x.chained))if(h.key===p){h.condition.value&&(d.preventDefault(),h.handler()),s();return}}for(const h of o.filter(x=>!x.chained))if(d.key.toLowerCase()===h.key&&d.metaKey===h.metaKey&&d.ctrlKey===h.ctrlKey&&!(i&&d.shiftKey!==h.shiftKey)){h.condition.value&&(d.preventDefault(),h.handler()),s();return}l()};o=Object.entries(e).map(([d,i])=>{var I,w;if(!i)return null;let p;d.includes("-")&&d!=="-"&&!((I=d.match(va))!=null&&I.length)&&console.trace(`[Shortcut] Invalid key: "${d}"`),d.includes("_")&&d!=="_"&&!((w=d.match(ma))!=null&&w.length)&&console.trace(`[Shortcut] Invalid key: "${d}"`);const h=d.includes("-")&&d!=="-";if(h)p={key:d.toLowerCase(),metaKey:!1,ctrlKey:!1,shiftKey:!1,altKey:!1};else{const C=d.toLowerCase().split("_").map(v=>v);p={key:C.filter(v=>!["meta","ctrl","shift","alt"].includes(v)).join("_"),metaKey:C.includes("meta"),ctrlKey:C.includes("ctrl"),shiftKey:C.includes("shift"),altKey:C.includes("alt")}}if(p.chained=h,!n.value&&p.metaKey&&!p.ctrlKey&&(p.metaKey=!1,p.ctrlKey=!0),typeof i=="function"?p.handler=i:typeof i=="object"&&(p={...p,handler:i.handler}),!p.handler)return console.trace("[Shortcut] Invalid value"),null;const x=[];return i.usingInput?typeof i.usingInput=="string"&&x.push(M(()=>r.value===i.usingInput)):x.push(ga(r)),p.condition=ha(...x,...i.whenever||[]),p}).filter(Boolean),Ht("keydown",u)},xa=ne({__name:"DocsSearch",props:{files:{type:Array,default:()=>[]},navigation:{type:Array,default:()=>[]},links:{type:Array,default:()=>[]},groups:{type:Array,default:()=>[]},fuse:{type:Object,default:()=>({})},hideColorMode:{type:Boolean,default:!1},ui:{type:Object,default:()=>({})}},setup(e,{expose:t}){const n={padding:"p-0 sm:p-4",rounded:"rounded-none sm:rounded-lg",width:"sm:max-w-3xl",height:"h-screen sm:h-[28rem]",commandPalette:{input:{height:"h-[--header-height] sm:h-12",icon:{size:"h-5 w-5",padding:"ps-11"}},group:{command:{prefix:"!text-foreground after:content-['_>']"}},container:"scroll-py-10",closeButton:{icon:"i-heroicons-x-mark-20-solid",color:"gray",variant:"ghost",size:"xs"}},fileIcon:{name:"i-heroicons-document-text"}},r=e,o=Ut(),{navKeyFromPath:a}=fa(),s=zt(),{usingInput:l}=tt(),{isDocsSearchModalOpen:u}=Wt(),d=qt({mobile:640}),i=Gt(),{ui:p,attrs:h}=Fe("docs.search",ge(r,"ui"),n,void 0,!0),x=d.smaller("mobile"),I=F();function w(c){var f;return c.icon?c.icon:(f=c.navigation)!=null&&f.icon?c.navigation.icon:(r.navigation&&(c.icon=a(c._path,"icon",r.navigation)),c.icon||p.value.fileIcon.name)}const C=M(()=>Ze({},r.fuse,{fuseOptions:{ignoreLocation:!0,includeMatches:!0,threshold:.1,keys:[{name:"title",weight:5},{name:"label",weight:5},{name:"suffix",weight:3},"children.children.value","children.children.children.value","children.children.children.children.value","children.children.children.children.children.value"]},resultLimit:12}));function v(c,f){return c?f:f==null?void 0:f.filter(g=>!g.child)}const E=M(()=>{var f,g;let c=[];return(f=r.navigation)!=null&&f.length&&(r.navigation.some(b=>{var m;return!!((m=b.children)!=null&&m.length)})?c=(r.navigation||[]).map(b=>({key:b._path,label:b.title,commands:(r.files||[]).filter(m=>{var B;return(B=m._path)==null?void 0:B.startsWith(b._path)}).flatMap(m=>T(m,b)),filter:v})):c=[{key:"docs",commands:(r.files||[]).flatMap(b=>T(b)),filter:v}]),[((g=r.links)==null?void 0:g.length)&&{key:"links",label:"Links",commands:r.links.flatMap(b=>[b.to&&{id:o.resolve(b.to).fullPath,...b,icon:b.icon||p.value.fileIcon.name},...(b.children||[]).map(m=>({id:o.resolve(m.to).fullPath,prefix:b.label,suffix:m.description,...m,icon:m.icon||b.icon||p.value.fileIcon.name}))]).filter(Boolean)},...c,...r.groups||[],!(i!=null&&i.forced)&&!r.hideColorMode&&{key:"theme",label:"Theme",commands:[{id:"theme-light",label:"Light",icon:s.ui.icons.light,disabled:i.preference==="light",click:()=>{i.preference="light"}},{id:"theme-dark",label:"Dark",icon:s.ui.icons.dark,disabled:i.preference==="dark",click:()=>{i.preference="dark"}}]}].filter(Boolean)}),R=M(()=>u.value||!l.value);function T(c,f){var b,m,B,ee,de;const g=(b=Yt((f==null?void 0:f.children)||[],c))==null?void 0:b.map(({title:H})=>H).join(" > ");return[{id:c._id,label:((m=c.navigation)==null?void 0:m.title)||c.title,title:((B=c.navigation)==null?void 0:B.title)||c.title,prefix:g,to:c._path,suffix:c.description,children:k(S(((ee=c==null?void 0:c.body)==null?void 0:ee.children)||[])),icon:w(c)},...Object.entries(A(((de=c==null?void 0:c.body)==null?void 0:de.children)||[])).map(([H,{title:oe,children:ve}])=>{var pe;if(oe)return{id:`${c._path}${H}`,label:oe,prefix:(g?`${g} > `:"")+`${((pe=c.navigation)==null?void 0:pe.title)||c.title}`,to:`${c._path}${H}`,children:k(ve),icon:w(c),child:!0}})].filter(Boolean)}function L(c){return c==null?void 0:c.map(f=>{var g,b;if(["code","code-inline","em","a","strong"].includes(f.tag))return{type:"text",value:((b=(g=f.children)==null?void 0:g.find(m=>m.type==="text"))==null?void 0:b.value)||""};if(f.type==="text")return f}).filter(Boolean)}function k(c){return c.map(f=>{var g,b;if(!["pre","style","video"].includes(f.tag))return["p","h1","h2","h3","h4","h5","h6","li","td","th"].includes(f.tag)&&((g=f.children)!=null&&g.length)?(f.children=L(f.children),f.children=(b=f.children)==null?void 0:b.reduce((m,B)=>(m.length&&m[m.length-1].type==="text"?m[m.length-1].value+=B.value||"":m.push(B),m),[]),f):(f.children&&(f.children=k(f.children)),f)}).filter(Boolean)}function S(c){const f=[];for(const g of c){if(["h1","h2","h3"].includes(g.tag))break;f.push(g)}return f}function A(c){var m,B,ee,de;const f={};let g="",b="";for(const H of c)["h1","h2","h3"].includes(H.tag)&&(b=((ee=(B=(m=H.children)==null?void 0:m.map(oe=>{var ve,pe;if(oe.type==="text")return oe.value;if(["code","code-inline","em","a","strong"].includes(oe.tag))return(pe=(ve=oe.children)==null?void 0:ve.find(bt=>bt.type==="text"))==null?void 0:pe.value}))==null?void 0:B.filter(Boolean))==null?void 0:ee.join(" "))||"",b&&((de=H.props)!=null&&de.id)&&(g=`#${H.props.id}`)),f[g]?f[g].children.push(H):f[g]={children:[H],title:b};return f}function y(c){u.value=!1,c.click?c.click():c.to?c.target==="_blank"||c.to.startsWith("http")?window.open(c.to,c.target||"_blank"):o.push(c.to):c.href&&window.open(c.href,"_blank")}return ba({meta_k:{usingInput:!0,whenever:[R],handler:()=>{u.value=!u.value}},escape:{usingInput:!0,whenever:[u],handler:()=>{u.value=!1}}}),t({commandPaletteRef:I}),(c,f)=>{const g=ia,b=da;return P(),V(b,ie({modelValue:X(u),"onUpdate:modelValue":f[1]||(f[1]=m=>Xt(u)?u.value=m:null),overlay:!X(x),transition:!X(x),ui:X(p)},X(h)),{default:W(()=>[fe(g,{ref_key:"commandPaletteRef",ref:I,groups:X(E),ui:X(p).commandPalette,"close-button":X(p).commandPalette.closeButton,fuse:X(C),"onUpdate:modelValue":y,onClose:f[0]||(f[0]=m=>u.value=!1)},null,8,["groups","ui","close-button","fuse"])]),_:1},16,["modelValue","overlay","transition","ui"])}}});export{xa as default}; +import{D as be,E as We,r as F,G as M,d as ne,H as J,B as N,I as j,J as yt,K as xt,L as St,M as ye,o as he,N as ue,O as je,P as It,Q as Ot,R as kt,S as we,U as qe,F as xe,V as Be,W as Se,X as wt,Y as Ct,Z as Mt,$ as At,a0 as Y,a1 as Ge,a as Rt,a2 as Et,a3 as q,l as Ne,a4 as Ce,a5 as Ye,a6 as Xe,a7 as Q,b as P,c as K,n as $,t as te,f as U,e as z,a8 as Ie,a9 as V,w as W,aa as se,ab as ie,ac as $t,j as Pt,ad as Je,ae as Oe,af as Qe,ag as Fe,ah as ge,ai as Ze,aj as et,ak as Lt,al as Tt,g as fe,am as Bt,an as Nt,ao as Ft,ap as _t,aq as jt,ar as Vt,as as Dt,at as Kt,au as tt,av as Ht,u as Ut,y as zt,aw as Wt,ax as qt,ay as Gt,az as Yt,aA as X,aB as Xt}from"./entry.YSgWRBMm.js";const Jt={wrapper:"flex flex-col flex-1 min-h-0 divide-y divide-gray-100 dark:divide-gray-800",container:"relative flex-1 overflow-y-auto divide-y divide-gray-100 dark:divide-gray-800 scroll-py-2",input:{wrapper:"relative flex items-center",base:"w-full placeholder-gray-400 dark:placeholder-gray-500 bg-transparent border-0 text-gray-900 dark:text-white focus:ring-0 focus:outline-none",padding:"px-4",height:"h-12",size:"sm:text-sm",icon:{base:"pointer-events-none absolute start-4 text-gray-400 dark:text-gray-500",loading:"animate-spin",size:"h-4 w-4",padding:"ps-10"},closeButton:{base:"absolute end-4",padding:"pe-10"}},emptyState:{wrapper:"flex flex-col items-center justify-center flex-1 px-6 py-14 sm:px-14",label:"text-sm text-center text-gray-900 dark:text-white",queryLabel:"text-sm text-center text-gray-900 dark:text-white",icon:"w-6 h-6 mx-auto text-gray-400 dark:text-gray-500 mb-4"},group:{wrapper:"p-2",label:"px-2 my-2 text-xs font-semibold text-gray-900 dark:text-white",container:"text-sm text-gray-700 dark:text-gray-200",command:{base:"flex justify-between select-none items-center rounded-md px-2 py-1.5 gap-2 relative",active:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactive:"",label:"flex items-center gap-1.5 min-w-0",prefix:"text-gray-400 dark:text-gray-500",suffix:"text-gray-400 dark:text-gray-500",container:"flex items-center gap-2 min-w-0",icon:{base:"flex-shrink-0 w-4 h-4",active:"text-gray-900 dark:text-white",inactive:"text-gray-400 dark:text-gray-500"},selectedIcon:{base:"h-4 w-4 text-gray-900 dark:text-white flex-shrink-0"},avatar:{base:"flex-shrink-0",size:"3xs"},chip:{base:"flex-shrink-0 w-2 h-2 mx-1 rounded-full"},disabled:"opacity-50",shortcuts:"hidden md:inline-flex flex-shrink-0 gap-0.5"},active:"flex-shrink-0 text-gray-500 dark:text-gray-400",inactive:"flex-shrink-0 text-gray-500 dark:text-gray-400"},default:{icon:"i-heroicons-magnifying-glass-20-solid",loadingIcon:"i-heroicons-arrow-path-20-solid",emptyState:{icon:"i-heroicons-magnifying-glass-20-solid",label:"We couldn't find any items.",queryLabel:"We couldn't find any items with that term. Please try again."},closeButton:null,selectedIcon:"i-heroicons-check-20-solid"}},Qt={wrapper:"relative z-50",inner:"fixed inset-0 overflow-y-auto",container:"flex min-h-full items-end sm:items-center justify-center text-center",padding:"p-4 sm:p-0",margin:"sm:my-8",base:"relative text-left rtl:text-right overflow-hidden flex flex-col",overlay:{base:"fixed inset-0 transition-opacity",background:"bg-gray-200/75 dark:bg-gray-800/75",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"}},background:"bg-white dark:bg-gray-900",ring:"",rounded:"rounded-lg",shadow:"shadow-xl",width:"w-full sm:max-w-lg",height:"",fullscreen:"w-screen h-screen",transition:{enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"}};function Zt(e){throw new Error("Unexpected object: "+e)}var _=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(_||{});function en(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=r??-1,a=(()=>{switch(e.focus){case 0:return n.findIndex(s=>!t.resolveDisabled(s));case 1:{let s=n.slice().reverse().findIndex((l,u,d)=>o!==-1&&d.length-u-1>=o?!1:!t.resolveDisabled(l));return s===-1?s:n.length-1-s}case 2:return n.findIndex((s,l)=>l<=o?!1:!t.resolveDisabled(s));case 3:{let s=n.slice().reverse().findIndex(l=>!t.resolveDisabled(l));return s===-1?s:n.length-1-s}case 4:return n.findIndex(s=>t.resolveId(s)===e.id);case 5:return null;default:Zt(e)}})();return a===-1?r:a}function tn({container:e,accept:t,walk:n,enabled:r}){be(()=>{let o=e.value;if(!o||r!==void 0&&!r.value)return;let a=We(e);if(!a)return;let s=Object.assign(u=>t(u),{acceptNode:t}),l=a.createTreeWalker(o,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)n(l.currentNode)})}function nt(e={},t=null,n=[]){for(let[r,o]of Object.entries(e))ot(n,at(t,r),o);return n}function at(e,t){return e?e+"["+t+"]":t}function ot(e,t,n){if(Array.isArray(n))for(let[r,o]of n.entries())ot(e,at(t,r.toString()),o);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):nt(n,t,e)}function nn(e,t,n){let r=F(n==null?void 0:n.value),o=M(()=>e.value!==void 0);return[M(()=>o.value?e.value:r.value),function(a){return o.value||(r.value=a),t==null?void 0:t(a)}]}function Ve(e){return[e.screenX,e.screenY]}function an(){let e=F([-1,-1]);return{wasMoved(t){let n=Ve(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=Ve(t)}}}function on(e,t){return e===t}var rn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(rn||{}),sn=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(sn||{}),ln=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ln||{});let rt=Symbol("ComboboxContext");function Me(e){let t=Ct(rt,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Me),n}return t}let un=ne({name:"Combobox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>on},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},nullable:{type:Boolean,default:!1},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){let o=F(1),a=F(null),s=F(null),l=F(null),u=F(null),d=F({static:!1,hold:!1}),i=F([]),p=F(null),h=F(1),x=F(!1);function I(y=c=>c){let c=p.value!==null?i.value[p.value]:null,f=Mt(y(i.value.slice()),b=>j(b.dataRef.domRef)),g=c?f.indexOf(c):null;return g===-1&&(g=null),{options:f,activeOptionIndex:g}}let w=M(()=>e.multiple?1:0),C=M(()=>e.nullable),[v,E]=nn(M(()=>e.modelValue),y=>r("update:modelValue",y),M(()=>e.defaultValue)),R=M(()=>v.value===void 0?J(w.value,{1:[],0:void 0}):v.value),T=null,L=null,k={comboboxState:o,value:R,mode:w,compare(y,c){if(typeof e.by=="string"){let f=e.by;return(y==null?void 0:y[f])===(c==null?void 0:c[f])}return e.by(y,c)},defaultValue:M(()=>e.defaultValue),nullable:C,inputRef:s,labelRef:a,buttonRef:l,optionsRef:u,disabled:M(()=>e.disabled),options:i,change(y){E(y)},activeOptionIndex:M(()=>{if(x.value&&p.value===null&&i.value.length>0){let y=i.value.findIndex(c=>!c.dataRef.disabled);y!==-1&&(p.value=y)}return p.value}),activationTrigger:h,optionsPropsRef:d,closeCombobox(){x.value=!1,!e.disabled&&o.value!==1&&(o.value=1,p.value=null)},openCombobox(){if(x.value=!0,e.disabled||o.value===0)return;let y=i.value.findIndex(c=>{let f=N(c.dataRef.value);return J(w.value,{0:()=>k.compare(N(k.value.value),N(f)),1:()=>N(k.value.value).some(g=>k.compare(N(g),N(f)))})});y!==-1&&(p.value=y),o.value=0},goToOption(y,c,f){x.value=!1,T!==null&&cancelAnimationFrame(T),T=requestAnimationFrame(()=>{if(e.disabled||u.value&&!d.value.static&&o.value===1)return;let g=I();if(g.activeOptionIndex===null){let m=g.options.findIndex(B=>!B.dataRef.disabled);m!==-1&&(g.activeOptionIndex=m)}let b=en(y===_.Specific?{focus:_.Specific,id:c}:{focus:y},{resolveItems:()=>g.options,resolveActiveIndex:()=>g.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.disabled});p.value=b,h.value=f??1,i.value=g.options})},selectOption(y){let c=i.value.find(g=>g.id===y);if(!c)return;let{dataRef:f}=c;E(J(w.value,{0:()=>f.value,1:()=>{let g=N(k.value.value).slice(),b=N(f.value),m=g.findIndex(B=>k.compare(b,N(B)));return m===-1?g.push(b):g.splice(m,1),g}}))},selectActiveOption(){if(k.activeOptionIndex.value===null)return;let{dataRef:y,id:c}=i.value[k.activeOptionIndex.value];E(J(w.value,{0:()=>y.value,1:()=>{let f=N(k.value.value).slice(),g=N(y.value),b=f.findIndex(m=>k.compare(g,N(m)));return b===-1?f.push(g):f.splice(b,1),f}})),k.goToOption(_.Specific,c)},registerOption(y,c){L&&cancelAnimationFrame(L);let f={id:y,dataRef:c},g=I(b=>(b.push(f),b));if(p.value===null){let b=c.value.value;J(w.value,{0:()=>k.compare(N(k.value.value),N(b)),1:()=>N(k.value.value).some(m=>k.compare(N(m),N(b)))})&&(g.activeOptionIndex=g.options.indexOf(f))}i.value=g.options,p.value=g.activeOptionIndex,h.value=1,g.options.some(b=>!j(b.dataRef.domRef))&&(L=requestAnimationFrame(()=>{let b=I();i.value=b.options,p.value=b.activeOptionIndex}))},unregisterOption(y){var c;k.activeOptionIndex.value!==null&&((c=k.options.value[k.activeOptionIndex.value])==null?void 0:c.id)===y&&(x.value=!0);let f=I(g=>{let b=g.findIndex(m=>m.id===y);return b!==-1&&g.splice(b,1),g});i.value=f.options,p.value=f.activeOptionIndex,h.value=1}};yt([s,l,u],()=>k.closeCombobox(),M(()=>o.value===0)),xt(rt,k),St(M(()=>J(o.value,{0:ye.Open,1:ye.Closed})));let S=M(()=>k.activeOptionIndex.value===null?null:i.value[k.activeOptionIndex.value].dataRef.value),A=M(()=>{var y;return(y=j(s))==null?void 0:y.closest("form")});return he(()=>{ue([A],()=>{if(!A.value||e.defaultValue===void 0)return;function y(){k.change(e.defaultValue)}return A.value.addEventListener("reset",y),()=>{var c;(c=A.value)==null||c.removeEventListener("reset",y)}},{immediate:!0})}),()=>{let{name:y,disabled:c,form:f,...g}=e,b={open:o.value===0,disabled:c,activeIndex:k.activeOptionIndex.value,activeOption:S.value,value:R.value};return je(xe,[...y!=null&&R.value!=null?nt({[y]:R.value}).map(([m,B])=>je(It,Ot({features:kt.Hidden,key:m,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:f,name:m,value:B}))):[],we({theirProps:{...n,...qe(g,["modelValue","defaultValue","nullable","multiple","onUpdate:modelValue","by"])},ourProps:{},slot:b,slots:t,attrs:n,name:"Combobox"})])}}}),cn=ne({name:"ComboboxInput",props:{as:{type:[Object,String],default:"input"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},displayValue:{type:Function},defaultValue:{type:String,default:void 0},id:{type:String,default:()=>`headlessui-combobox-input-${Be()}`}},emits:{change:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){let a=Me("ComboboxInput"),s=M(()=>We(j(a.inputRef))),l={value:!1};o({el:a.inputRef,$el:a.inputRef});function u(){a.change(null);let v=j(a.optionsRef);v&&(v.scrollTop=0),a.goToOption(_.Nothing)}let d=M(()=>{var v;let E=a.value.value;return j(a.inputRef)?typeof e.displayValue<"u"&&E!==void 0?(v=e.displayValue(E))!=null?v:"":typeof E=="string"?E:"":""});he(()=>{ue([d,a.comboboxState,s],([v,E],[R,T])=>{if(l.value)return;let L=j(a.inputRef);L&&((T===0&&E===1||v!==R)&&(L.value=v),requestAnimationFrame(()=>{var k;if(l.value||!L||((k=s.value)==null?void 0:k.activeElement)!==L)return;let{selectionStart:S,selectionEnd:A}=L;Math.abs((A??0)-(S??0))===0&&S===0&&L.setSelectionRange(L.value.length,L.value.length)}))},{immediate:!0}),ue([a.comboboxState],([v],[E])=>{if(v===0&&E===1){if(l.value)return;let R=j(a.inputRef);if(!R)return;let T=R.value,{selectionStart:L,selectionEnd:k,selectionDirection:S}=R;R.value="",R.value=T,S!==null?R.setSelectionRange(L,k,S):R.setSelectionRange(L,k)}})});let i=F(!1);function p(){i.value=!0}function h(){At().nextFrame(()=>{i.value=!1})}function x(v){switch(l.value=!0,v.key){case Y.Enter:if(l.value=!1,a.comboboxState.value!==0||i.value)return;if(v.preventDefault(),v.stopPropagation(),a.activeOptionIndex.value===null){a.closeCombobox();return}a.selectActiveOption(),a.mode.value===0&&a.closeCombobox();break;case Y.ArrowDown:return l.value=!1,v.preventDefault(),v.stopPropagation(),J(a.comboboxState.value,{0:()=>a.goToOption(_.Next),1:()=>a.openCombobox()});case Y.ArrowUp:return l.value=!1,v.preventDefault(),v.stopPropagation(),J(a.comboboxState.value,{0:()=>a.goToOption(_.Previous),1:()=>{a.openCombobox(),Ge(()=>{a.value.value||a.goToOption(_.Last)})}});case Y.Home:if(v.shiftKey)break;return l.value=!1,v.preventDefault(),v.stopPropagation(),a.goToOption(_.First);case Y.PageUp:return l.value=!1,v.preventDefault(),v.stopPropagation(),a.goToOption(_.First);case Y.End:if(v.shiftKey)break;return l.value=!1,v.preventDefault(),v.stopPropagation(),a.goToOption(_.Last);case Y.PageDown:return l.value=!1,v.preventDefault(),v.stopPropagation(),a.goToOption(_.Last);case Y.Escape:if(l.value=!1,a.comboboxState.value!==0)return;v.preventDefault(),a.optionsRef.value&&!a.optionsPropsRef.value.static&&v.stopPropagation(),a.nullable.value&&a.mode.value===0&&a.value.value===null&&u(),a.closeCombobox();break;case Y.Tab:if(l.value=!1,a.comboboxState.value!==0)return;a.mode.value===0&&a.selectActiveOption(),a.closeCombobox();break}}function I(v){t("change",v),a.nullable.value&&a.mode.value===0&&v.target.value===""&&u(),a.openCombobox()}function w(){l.value=!1}let C=M(()=>{var v,E,R,T;return(T=(R=(E=e.defaultValue)!=null?E:a.defaultValue.value!==void 0?(v=e.displayValue)==null?void 0:v.call(e,a.defaultValue.value):null)!=null?R:a.defaultValue.value)!=null?T:""});return()=>{var v,E,R,T,L,k;let S={open:a.comboboxState.value===0},{id:A,displayValue:y,onChange:c,...f}=e,g={"aria-controls":(v=a.optionsRef.value)==null?void 0:v.id,"aria-expanded":a.comboboxState.value===0,"aria-activedescendant":a.activeOptionIndex.value===null||(E=a.options.value[a.activeOptionIndex.value])==null?void 0:E.id,"aria-labelledby":(L=(R=j(a.labelRef))==null?void 0:R.id)!=null?L:(T=j(a.buttonRef))==null?void 0:T.id,"aria-autocomplete":"list",id:A,onCompositionstart:p,onCompositionend:h,onKeydown:x,onInput:I,onBlur:w,role:"combobox",type:(k=n.type)!=null?k:"text",tabIndex:0,ref:a.inputRef,defaultValue:C.value,disabled:a.disabled.value===!0?!0:void 0};return we({ourProps:g,theirProps:f,slot:S,attrs:n,slots:r,features:Se.RenderStrategy|Se.Static,name:"ComboboxInput"})}}}),dn=ne({name:"ComboboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},hold:{type:[Boolean],default:!1}},setup(e,{attrs:t,slots:n,expose:r}){let o=Me("ComboboxOptions"),a=`headlessui-combobox-options-${Be()}`;r({el:o.optionsRef,$el:o.optionsRef}),be(()=>{o.optionsPropsRef.value.static=e.static}),be(()=>{o.optionsPropsRef.value.hold=e.hold});let s=wt(),l=M(()=>s!==null?(s.value&ye.Open)===ye.Open:o.comboboxState.value===0);return tn({container:M(()=>j(o.optionsRef)),enabled:M(()=>o.comboboxState.value===0),accept(u){return u.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:u.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(u){u.setAttribute("role","none")}}),()=>{var u,d,i;let p={open:o.comboboxState.value===0},h={"aria-labelledby":(i=(u=j(o.labelRef))==null?void 0:u.id)!=null?i:(d=j(o.buttonRef))==null?void 0:d.id,id:a,ref:o.optionsRef,role:"listbox","aria-multiselectable":o.mode.value===1?!0:void 0},x=qe(e,["hold"]);return we({ourProps:h,theirProps:x,slot:p,attrs:t,slots:n,features:Se.RenderStrategy|Se.Static,visible:l.value,name:"ComboboxOptions"})}}}),pn=ne({name:"ComboboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n,expose:r}){let o=Me("ComboboxOption"),a=`headlessui-combobox-option-${Be()}`,s=F(null);r({el:s,$el:s});let l=M(()=>o.activeOptionIndex.value!==null?o.options.value[o.activeOptionIndex.value].id===a:!1),u=M(()=>J(o.mode.value,{0:()=>o.compare(N(o.value.value),N(e.value)),1:()=>N(o.value.value).some(C=>o.compare(N(C),N(e.value)))})),d=M(()=>({disabled:e.disabled,value:e.value,domRef:s}));he(()=>o.registerOption(a,d)),Rt(()=>o.unregisterOption(a)),be(()=>{o.comboboxState.value===0&&l.value&&o.activationTrigger.value!==0&&Ge(()=>{var C,v;return(v=(C=j(s))==null?void 0:C.scrollIntoView)==null?void 0:v.call(C,{block:"nearest"})})});function i(C){if(e.disabled)return C.preventDefault();o.selectOption(a),o.mode.value===0&&o.closeCombobox(),Et()||requestAnimationFrame(()=>{var v;return(v=j(o.inputRef))==null?void 0:v.focus()})}function p(){if(e.disabled)return o.goToOption(_.Nothing);o.goToOption(_.Specific,a)}let h=an();function x(C){h.update(C)}function I(C){h.wasMoved(C)&&(e.disabled||l.value||o.goToOption(_.Specific,a,0))}function w(C){h.wasMoved(C)&&(e.disabled||l.value&&(o.optionsPropsRef.value.hold||o.goToOption(_.Nothing)))}return()=>{let{disabled:C}=e,v={active:l.value,selected:u.value,disabled:C},E={id:a,ref:s,role:"option",tabIndex:C===!0?void 0:-1,"aria-disabled":C===!0?!0:void 0,"aria-selected":u.value,disabled:void 0,onClick:i,onFocus:p,onPointerenter:x,onMouseenter:x,onPointermove:I,onMousemove:I,onPointerleave:w,onMouseleave:w};return we({ourProps:E,theirProps:e,slot:v,attrs:n,slots:t,name:"ComboboxOption"})}}});function Z(e){return Array.isArray?Array.isArray(e):lt(e)==="[object Array]"}const fn=1/0;function hn(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-fn?"-0":t}function gn(e){return e==null?"":hn(e)}function G(e){return typeof e=="string"}function st(e){return typeof e=="number"}function vn(e){return e===!0||e===!1||mn(e)&<(e)=="[object Boolean]"}function it(e){return typeof e=="object"}function mn(e){return it(e)&&e!==null}function D(e){return e!=null}function Ae(e){return!e.trim().length}function lt(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const bn="Incorrect 'index' type",yn=e=>`Invalid value for key ${e}`,xn=e=>`Pattern length exceeds max of ${e}.`,Sn=e=>`Missing ${e} property in key`,In=e=>`Property 'weight' in key '${e}' must be a positive integer`,De=Object.prototype.hasOwnProperty;class On{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let o=ut(r);n+=o.weight,this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function ut(e){let t=null,n=null,r=null,o=1,a=null;if(G(e)||Z(e))r=e,t=Ke(e),n=Re(e);else{if(!De.call(e,"name"))throw new Error(Sn("name"));const s=e.name;if(r=s,De.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(In(s));t=Ke(s),n=Re(s),a=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:a}}function Ke(e){return Z(e)?e:e.split(".")}function Re(e){return Z(e)?e.join("."):e}function kn(e,t){let n=[],r=!1;const o=(a,s,l)=>{if(D(a))if(!s[l])n.push(a);else{let u=s[l];const d=a[u];if(!D(d))return;if(l===s.length-1&&(G(d)||st(d)||vn(d)))n.push(gn(d));else if(Z(d)){r=!0;for(let i=0,p=d.length;ie.score===t.score?e.idx{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,G(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();G(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n{let s=o.getFn?o.getFn(t):this.getFn(t,o.path);if(D(s)){if(Z(s)){let l=[];const u=[{nestedArrIndex:-1,value:s}];for(;u.length;){const{nestedArrIndex:d,value:i}=u.pop();if(D(i))if(G(i)&&!Ae(i)){let p={v:i,i:d,n:this.norm.get(i)};l.push(p)}else Z(i)&&i.forEach((p,h)=>{u.push({nestedArrIndex:h,value:p})})}r.$[a]=l}else if(G(s)&&!Ae(s)){let l={v:s,n:this.norm.get(s)};r.$[a]=l}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function ct(e,t,{getFn:n=O.getFn,fieldNormWeight:r=O.fieldNormWeight}={}){const o=new _e({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(ut)),o.setSources(t),o.create(),o}function $n(e,{getFn:t=O.getFn,fieldNormWeight:n=O.fieldNormWeight}={}){const{keys:r,records:o}=e,a=new _e({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(o),a}function me(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=O.distance,ignoreLocation:a=O.ignoreLocation}={}){const s=t/e.length;if(a)return s;const l=Math.abs(r-n);return o?s+l/o:l?1:s}function Pn(e=[],t=O.minMatchCharLength){let n=[],r=-1,o=-1,a=0;for(let s=e.length;a=t&&n.push([r,o]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}const re=32;function Ln(e,t,n,{location:r=O.location,distance:o=O.distance,threshold:a=O.threshold,findAllMatches:s=O.findAllMatches,minMatchCharLength:l=O.minMatchCharLength,includeMatches:u=O.includeMatches,ignoreLocation:d=O.ignoreLocation}={}){if(t.length>re)throw new Error(xn(re));const i=t.length,p=e.length,h=Math.max(0,Math.min(r,p));let x=a,I=h;const w=l>1||u,C=w?Array(p):[];let v;for(;(v=e.indexOf(t,I))>-1;){let S=me(t,{currentLocation:v,expectedLocation:h,distance:o,ignoreLocation:d});if(x=Math.min(S,x),I=v+i,w){let A=0;for(;A=c;m-=1){let B=m-1,ee=n[e.charAt(B)];if(w&&(C[B]=+!!ee),g[m]=(g[m+1]<<1|1)&ee,S&&(g[m]|=(E[m+1]|E[m])<<1|1|E[m+1]),g[m]&L&&(R=me(t,{errors:S,currentLocation:B,expectedLocation:h,distance:o,ignoreLocation:d}),R<=x)){if(x=R,I=B,I<=h)break;c=Math.max(1,2*h-I)}}if(me(t,{errors:S+1,currentLocation:h,expectedLocation:h,distance:o,ignoreLocation:d})>x)break;E=g}const k={isMatch:I>=0,score:Math.max(.001,R)};if(w){const S=Pn(C,l);S.length?u&&(k.indices=S):k.isMatch=!1}return k}function Tn(e){let t={};for(let n=0,r=e.length;n{this.chunks.push({pattern:h,alphabet:Tn(h),startIndex:x})},p=this.pattern.length;if(p>re){let h=0;const x=p%re,I=p-x;for(;h{const{isMatch:v,score:E,indices:R}=Ln(t,I,w,{location:o+C,distance:a,threshold:s,findAllMatches:l,minMatchCharLength:u,includeMatches:r,ignoreLocation:d});v&&(h=!0),p+=E,v&&R&&(i=[...i,...R])});let x={isMatch:h,score:h?p/this.chunks.length:1};return h&&r&&(x.indices=i),x}}class ae{constructor(t){this.pattern=t}static isMultiMatch(t){return He(t,this.multiRegex)}static isSingleMatch(t){return He(t,this.singleRegex)}search(){}}function He(e,t){const n=e.match(t);return n?n[1]:null}class Bn extends ae{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Nn extends ae{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class Fn extends ae{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class _n extends ae{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class jn extends ae{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class Vn extends ae{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class pt extends ae{constructor(t,{location:n=O.location,threshold:r=O.threshold,distance:o=O.distance,includeMatches:a=O.includeMatches,findAllMatches:s=O.findAllMatches,minMatchCharLength:l=O.minMatchCharLength,isCaseSensitive:u=O.isCaseSensitive,ignoreLocation:d=O.ignoreLocation}={}){super(t),this._bitapSearch=new dt(t,{location:n,threshold:r,distance:o,includeMatches:a,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:u,ignoreLocation:d})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class ft extends ae{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const o=[],a=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+a,o.push([r,n-1]);const s=!!o.length;return{isMatch:s,score:s?0:1,indices:o}}}const Ee=[Bn,ft,Fn,_n,Vn,jn,Nn,pt],Ue=Ee.length,Dn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Kn="|";function Hn(e,t={}){return e.split(Kn).map(n=>{let r=n.trim().split(Dn).filter(a=>a&&!!a.trim()),o=[];for(let a=0,s=r.length;a!!(e[ke.AND]||e[ke.OR]),qn=e=>!!e[Le.PATH],Gn=e=>!Z(e)&&it(e)&&!Te(e),ze=e=>({[ke.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function ht(e,t,{auto:n=!0}={}){const r=o=>{let a=Object.keys(o);const s=qn(o);if(!s&&a.length>1&&!Te(o))return r(ze(o));if(Gn(o)){const u=s?o[Le.PATH]:a[0],d=s?o[Le.PATTERN]:o[u];if(!G(d))throw new Error(yn(u));const i={keyId:Re(u),pattern:d};return n&&(i.searcher=Pe(d,t)),i}let l={children:[],operator:a[0]};return a.forEach(u=>{const d=o[u];Z(d)&&d.forEach(i=>{l.children.push(r(i))})}),l};return Te(e)||(e=ze(e)),r(e)}function Yn(e,{ignoreFieldNorm:t=O.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:a,score:s})=>{const l=o?o.weight:null;r*=Math.pow(s===0&&l?Number.EPSILON:s,(l||1)*(t?1:a))}),n.score=r})}function Xn(e,t){const n=e.matches;t.matches=[],D(n)&&n.forEach(r=>{if(!D(r.indices)||!r.indices.length)return;const{indices:o,value:a}=r;let s={indices:o,value:a};r.key&&(s.key=r.key.src),r.idx>-1&&(s.refIndex=r.idx),t.matches.push(s)})}function Jn(e,t){t.score=e.score}function Qn(e,t,{includeMatches:n=O.includeMatches,includeScore:r=O.includeScore}={}){const o=[];return n&&o.push(Xn),r&&o.push(Jn),e.map(a=>{const{idx:s}=a,l={item:t[s],refIndex:s};return o.length&&o.forEach(u=>{u(a,l)}),l})}class ce{constructor(t,n={},r){this.options={...O,...n},this.options.useExtendedSearch,this._keyStore=new On(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof _e))throw new Error(bn);this._myIndex=n||ct(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){D(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,o=this._docs.length;r-1&&(u=u.slice(0,n)),Qn(u,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(t){const n=Pe(t,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:a,i:s,n:l})=>{if(!D(a))return;const{isMatch:u,score:d,indices:i}=n.searchIn(a);u&&o.push({item:a,idx:s,matches:[{score:d,value:a,norm:l,indices:i}]})}),o}_searchLogical(t){const n=ht(t,this.options),r=(l,u,d)=>{if(!l.children){const{keyId:p,searcher:h}=l,x=this._findMatches({key:this._keyStore.get(p),value:this._myIndex.getValueForItemAtKeyId(u,p),searcher:h});return x&&x.length?[{idx:d,item:u,matches:x}]:[]}const i=[];for(let p=0,h=l.children.length;p{if(D(l)){let d=r(n,l,u);d.length&&(a[u]||(a[u]={idx:u,item:l,matches:[]},s.push(a[u])),d.forEach(({matches:i})=>{a[u].matches.push(...i)}))}}),s}_searchObjectList(t){const n=Pe(t,this.options),{keys:r,records:o}=this._myIndex,a=[];return o.forEach(({$:s,i:l})=>{if(!D(s))return;let u=[];r.forEach((d,i)=>{u.push(...this._findMatches({key:d,value:s[i],searcher:n}))}),u.length&&a.push({idx:l,item:s,matches:u})}),a}_findMatches({key:t,value:n,searcher:r}){if(!D(n))return[];let o=[];if(Z(n))n.forEach(({v:a,i:s,n:l})=>{if(!D(a))return;const{isMatch:u,score:d,indices:i}=r.searchIn(a);u&&o.push({score:d,key:t,value:a,idx:s,norm:l,indices:i})});else{const{v:a,n:s}=n,{isMatch:l,score:u,indices:d}=r.searchIn(a);l&&o.push({score:u,key:t,value:a,norm:s,indices:d})}return o}}ce.version="6.6.2";ce.createIndex=ct;ce.parseIndex=$n;ce.config=O;ce.parseQuery=ht;Wn(zn);function Zn(e,t,n){const r=()=>{var s,l;return new ce((s=q(t))!=null?s:[],(l=q(n))==null?void 0:l.fuseOptions)},o=F(r());ue(()=>{var s;return(s=q(n))==null?void 0:s.fuseOptions},()=>{o.value=r()},{deep:!0}),ue(()=>q(t),s=>{o.value.setCollection(s)},{deep:!0});const a=M(()=>{const s=q(n);if(s!=null&&s.matchAllWhenSearchEmpty&&!q(e))return q(t).map((u,d)=>({item:u,refIndex:d}));const l=s==null?void 0:s.resultLimit;return o.value.search(q(e),l?{limit:l}:void 0)});return{fuse:o,results:a}}const ea=ne({components:{HComboboxOption:pn,UIcon:Ce,UAvatar:Ye,UKbd:Xe},props:{group:{type:Object,required:!0},query:{type:String,default:""},groupAttribute:{type:String,required:!0},commandAttribute:{type:String,required:!0},selectedIcon:{type:String,required:!0},ui:{type:Object,required:!0}},setup(e){const t=M(()=>{const r=e.group[e.groupAttribute];return typeof r=="function"?r(e.query):r});function n(r,{indices:o,value:a}){if(r===a)return"";let s="",l=0;o.forEach(d=>{const i=d[1]+1,p=i-d[0]>=e.query.length;s+=[a.substring(l,d[0]),p&&"",a.substring(d[0],i),p&&""].filter(Boolean).join(""),l=i}),s+=a.substring(l);const u=s.indexOf("");return u>60&&(s=`...${s.substring(u-60)}`),s}return{label:t,highlight:n}}}),ta=["aria-label"],na=["innerHTML"];function aa(e,t,n,r,o,a){const s=Ce,l=Ye,u=Xe,d=Q("HComboboxOption");return P(),K("div",{class:$(e.ui.group.wrapper),role:"option"},[e.label?(P(),K("h2",{key:0,class:$(e.ui.group.label)},te(e.label),3)):U("",!0),z("div",{class:$(e.ui.group.container),role:"listbox","aria-label":e.group[e.groupAttribute]},[(P(!0),K(xe,null,Ie(e.group.commands,(i,p)=>(P(),V(d,{key:`${e.group.key}-${p}`,value:i,disabled:i.disabled,as:"template"},{default:W(({active:h,selected:x})=>[z("div",{class:$([e.ui.group.command.base,h?e.ui.group.command.active:e.ui.group.command.inactive,i.disabled?"cursor-not-allowed":"cursor-pointer"])},[z("div",{class:$(e.ui.group.command.container)},[se(e.$slots,`${e.group.key}-icon`,{group:e.group,command:i,active:h,selected:x},()=>[i.icon?(P(),V(s,{key:0,name:i.icon,class:$([e.ui.group.command.icon.base,h?e.ui.group.command.icon.active:e.ui.group.command.icon.inactive,i.iconClass]),"aria-hidden":"true"},null,8,["name","class"])):i.avatar?(P(),V(l,ie({key:1},{size:e.ui.group.command.avatar.size,...i.avatar},{class:e.ui.group.command.avatar.base,"aria-hidden":"true"}),null,16,["class"])):i.chip?(P(),K("span",{key:2,class:$(e.ui.group.command.chip.base),style:$t({background:`#${i.chip}`})},null,6)):U("",!0)]),z("div",{class:$([e.ui.group.command.label,i.disabled&&e.ui.group.command.disabled])},[se(e.$slots,`${e.group.key}-command`,{group:e.group,command:i,active:h,selected:x},()=>{var I,w;return[i.prefix?(P(),K("span",{key:0,class:$(["flex-shrink-0",i.prefixClass||e.ui.group.command.prefix])},te(i.prefix),3)):U("",!0),z("span",{class:$(["truncate",{"flex-none":i.suffix||((I=i.matches)==null?void 0:I.length)}])},te(i[e.commandAttribute]),3),(w=i.matches)!=null&&w.length?(P(),K("span",{key:1,class:$(["truncate",i.suffixClass||e.ui.group.command.suffix]),innerHTML:e.highlight(i[e.commandAttribute],i.matches[0])},null,10,na)):i.suffix?(P(),K("span",{key:2,class:$(["truncate",i.suffixClass||e.ui.group.command.suffix])},te(i.suffix),3)):U("",!0)]})],2)],2),x?(P(),V(s,{key:0,name:e.selectedIcon,class:$(e.ui.group.command.selectedIcon.base),"aria-hidden":"true"},null,8,["name","class"])):h&&(e.group.active||e.$slots[`${e.group.key}-active`])?se(e.$slots,`${e.group.key}-active`,{key:1,group:e.group,command:i,active:h,selected:x},()=>[e.group.active?(P(),K("span",{key:0,class:$(e.ui.group.active)},te(e.group.active),3)):U("",!0)]):se(e.$slots,`${e.group.key}-inactive`,{key:2,group:e.group,command:i,active:h,selected:x},()=>{var I;return[(I=i.shortcuts)!=null&&I.length?(P(),K("span",{key:0,class:$(e.ui.group.command.shortcuts)},[(P(!0),K(xe,null,Ie(i.shortcuts,w=>(P(),V(u,{key:w},{default:W(()=>[Pt(te(w),1)]),_:2},1024))),128))],2)):!i.disabled&&e.group.inactive?(P(),K("span",{key:1,class:$(e.ui.group.inactive)},te(e.group.inactive),3)):U("",!0)]})],2)]),_:2},1032,["value","disabled"]))),128))],10,ta)],2)}const oa=Ne(ea,[["render",aa]]),le=Je(Oe.ui.strategy,Oe.ui.commandPalette,Jt),ra=ne({components:{HCombobox:un,HComboboxInput:cn,HComboboxOptions:dn,UIcon:Ce,UButton:Qe,CommandPaletteGroup:oa},inheritAttrs:!1,props:{modelValue:{type:[String,Number,Object,Array],default:null},by:{type:String,default:"id"},multiple:{type:Boolean,default:!1},nullable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},groups:{type:Array,default:()=>[]},icon:{type:String,default:()=>le.default.icon},loadingIcon:{type:String,default:()=>le.default.loadingIcon},selectedIcon:{type:String,default:()=>le.default.selectedIcon},closeButton:{type:Object,default:()=>le.default.closeButton},emptyState:{type:Object,default:()=>le.default.emptyState},placeholder:{type:String,default:"Search..."},groupAttribute:{type:String,default:"label"},commandAttribute:{type:String,default:"label"},autoselect:{type:Boolean,default:!0},autoclear:{type:Boolean,default:!0},debounce:{type:Number,default:200},fuse:{type:Object,default:()=>({})},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:modelValue","close"],setup(e,{emit:t,expose:n}){const{ui:r,attrs:o}=Fe("commandPalette",ge(e,"ui"),le,ge(e,"class")),a=F(""),s=F(),l=F(null),u=F(!1);he(()=>{e.autoselect&&T()}),he(()=>{setTimeout(()=>{var y;const S=(y=s.value)==null?void 0:y.$.provides;if(!S)return;const A=Object.getOwnPropertySymbols(S);l.value=A.length&&S[A[0]]},200)});const d=M(()=>Ze({},e.fuse,{fuseOptions:{keys:[e.commandAttribute]},resultLimit:12,matchAllWhenSearchEmpty:!0})),i=M(()=>{var A;const S=[];for(const y of e.groups)y.search||S.push(...((A=y.commands)==null?void 0:A.map(c=>({...c,group:y.key})))||[]);return S}),p=F({}),{results:h}=Zn(a,i,d);function x(S,A){if(S)return S.filter&&typeof S.filter=="function"&&(A=S.filter(a.value,A)),{...S,commands:A.slice(0,d.value.resultLimit)}}const I=M(()=>{if(!h.value)return[];const S=h.value.reduce((c,f)=>{var m;const{item:g,...b}=f;return g.group&&(c[m=g.group]||(c[m]=[]),c[g.group].push({...g,...b})),c},{}),A=Object.entries(S).map(([c,f])=>{const g=e.groups.find(b=>b.key===c);return g?x(g,f):null}).filter(Boolean),y=e.groups.filter(c=>{var f;return!!c.search&&((f=p.value[c.key])==null?void 0:f.length)}).map(c=>{const f=p.value[c.key]||[];return x(c,[...f])});return[...A,...y]}),w=et(async()=>{const S=e.groups.filter(A=>!!A.search);S.length&&(u.value=!0,await Promise.all(S.map(async A=>{p.value[A.key]=await A.search(a.value)})),u.value=!1,R())},e.debounce);ue(a,()=>{w(),R()});const C=M(()=>(e.loading||u.value)&&e.loadingIcon?e.loadingIcon:e.icon),v=M(()=>Lt(r.value.input.icon.base,r.value.input.icon.size,(e.loading||u.value)&&e.loadingIcon&&r.value.input.icon.loading)),E=M(()=>({...r.value.default.emptyState,...e.emptyState}));function R(){setTimeout(()=>{var S;(S=s.value)==null||S.$el.dispatchEvent(new KeyboardEvent("keydown",{key:"PageUp"}))},0)}function T(){setTimeout(()=>{var S;(S=s.value)==null||S.$el.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowDown"}))},0)}function L(S){t("update:modelValue",S,{query:a.value}),e.autoclear&&setTimeout(()=>{a.value=""},0)}function k(){a.value?a.value="":t("close")}return n({query:a,updateQuery:S=>{a.value=S},comboboxApi:l,results:h}),{ui:r,attrs:o,groups:I,comboboxInput:s,query:a,iconName:C,iconClass:v,emptyState:E,onSelect:L,onClear:k}}});function sa(e,t,n,r,o,a){const s=Ce,l=Q("HComboboxInput"),u=Qe,d=Q("CommandPaletteGroup"),i=Q("HComboboxOptions"),p=Q("HCombobox");return P(),V(p,ie({by:e.by,"model-value":e.modelValue,multiple:e.multiple,nullable:e.nullable,class:e.ui.wrapper},e.attrs,{as:"div","onUpdate:modelValue":e.onSelect}),{default:W(()=>[Tt(z("div",{class:$(e.ui.input.wrapper)},[e.iconName?(P(),V(s,{key:0,name:e.iconName,class:$(e.iconClass),"aria-hidden":"true"},null,8,["name","class"])):U("",!0),fe(l,{ref:"comboboxInput",value:e.query,class:$([e.ui.input.base,e.ui.input.size,e.ui.input.height,e.ui.input.padding,e.icon&&e.ui.input.icon.padding,e.closeButton&&e.ui.input.closeButton.padding]),placeholder:e.placeholder,"aria-label":e.placeholder,autocomplete:"off",onChange:t[0]||(t[0]=h=>e.query=h.target.value)},null,8,["value","class","placeholder","aria-label"]),e.closeButton?(P(),V(u,ie({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{class:e.ui.input.closeButton.base,onClick:e.onClear}),null,16,["class","onClick"])):U("",!0)],2),[[Bt,e.searchable]]),e.groups.length?(P(),V(i,{key:0,static:"",hold:"",as:"div","aria-label":"Commands",class:$(e.ui.container)},{default:W(()=>[(P(!0),K(xe,null,Ie(e.groups,h=>(P(),V(d,{key:h.key,query:e.query,group:h,"group-attribute":e.groupAttribute,"command-attribute":e.commandAttribute,"selected-icon":e.selectedIcon,ui:e.ui},Nt({_:2},[Ie(e.$slots,(x,I)=>({name:I,fn:W(w=>[se(e.$slots,I,Ft(_t(w)))])}))]),1032,["query","group","group-attribute","command-attribute","selected-icon","ui"]))),128))]),_:3},8,["class"])):e.emptyState?se(e.$slots,"empty-state",{key:1},()=>[z("div",{class:$(e.ui.emptyState.wrapper)},[e.emptyState.icon?(P(),V(s,{key:0,name:e.emptyState.icon,class:$(e.ui.emptyState.icon),"aria-hidden":"true"},null,8,["name","class"])):U("",!0),z("p",{class:$(e.query?e.ui.emptyState.queryLabel:e.ui.emptyState.label)},te(e.query?e.emptyState.queryLabel:e.emptyState.label),3)],2)]):U("",!0)]),_:3},16,["by","model-value","multiple","nullable","class","onUpdate:modelValue"])}const ia=Ne(ra,[["render",sa]]),la=Je(Oe.ui.strategy,Oe.ui.modal,Qt),ua=ne({components:{HDialog:jt,HDialogPanel:Vt,TransitionRoot:Dt,TransitionChild:Kt},inheritAttrs:!1,props:{modelValue:{type:Boolean,default:!1},appear:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},transition:{type:Boolean,default:!0},preventClose:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:modelValue","close"],setup(e,{emit:t}){const{ui:n,attrs:r}=Fe("modal",ge(e,"ui"),la,ge(e,"class")),o=M({get(){return e.modelValue},set(l){t("update:modelValue",l)}}),a=M(()=>e.transition?{...n.value.transition}:{});function s(l){o.value=l,t("close")}return{ui:n,attrs:r,isOpen:o,transitionClass:a,close:s}}});function ca(e,t,n,r,o,a){const s=Q("TransitionChild"),l=Q("HDialogPanel"),u=Q("HDialog"),d=Q("TransitionRoot");return P(),V(d,{appear:e.appear,show:e.isOpen,as:"template"},{default:W(()=>[fe(u,ie({class:e.ui.wrapper},e.attrs,{onClose:t[0]||(t[0]=i=>!e.preventClose&&e.close(i))}),{default:W(()=>[e.overlay?(P(),V(s,ie({key:0,as:"template",appear:e.appear},e.ui.overlay.transition),{default:W(()=>[z("div",{class:$([e.ui.overlay.base,e.ui.overlay.background])},null,2)]),_:1},16,["appear"])):U("",!0),z("div",{class:$(e.ui.inner)},[z("div",{class:$([e.ui.container,!e.fullscreen&&e.ui.padding])},[fe(s,ie({as:"template",appear:e.appear},e.transitionClass),{default:W(()=>[fe(l,{class:$([e.ui.base,e.ui.background,e.ui.ring,e.ui.shadow,e.fullscreen?e.ui.fullscreen:[e.ui.width,e.ui.height,e.ui.rounded,e.ui.margin]])},{default:W(()=>[se(e.$slots,"default")]),_:3},8,["class"])]),_:3},16,["appear"])],2)],2)]),_:3},16,["class"])]),_:3},8,["appear","show"])}const da=Ne(ua,[["render",ca]]),gt=e=>{if(!e.children)return e._path;for(const t of(e==null?void 0:e.children)||[]){const n=gt(t);if(n)return n}},vt=(e,t)=>{for(const n of t){if(n._path===e&&!n._id)return n.children;if(n.children){const r=vt(e,n.children);if(r)return r}}},mt=(e,t)=>{for(const n of t){if(n._path===e)return n;if(n.children){const r=mt(e,n.children);if(r)return r}}},pa=(e,t,n)=>{let r;const o=(a,s)=>{for(const l of s)if(!(a!=="/"&&l._path==="/")){if(a!=null&&a.startsWith(l._path)&&l[t]&&(r=l[t]),l._path===a)return;l.children&&o(a,l.children)}};return o(e,n),r},fa=()=>({navBottomLink:gt,navDirFromPath:vt,navPageFromPath:mt,navKeyFromPath:pa});function ha(...e){return M(()=>e.every(t=>q(t)))}function ga(e){return M(()=>!q(e))}const va=/^[^-]+.*-.*[^-]+$/,ma=/^[^_]+.*_.*[^_]+$/,ba=(e,t={})=>{const{macOS:n,usingInput:r}=tt();let o=[];const a=F([]),s=()=>{a.value.splice(0,a.value.length)},l=et(s,t.chainDelay??800),u=d=>{if(!d.key)return;const i=/^[a-z]{1}$/i.test(d.key);let p;if(a.value.push(d.key),a.value.length>=2){p=a.value.slice(-2).join("-");for(const h of o.filter(x=>x.chained))if(h.key===p){h.condition.value&&(d.preventDefault(),h.handler()),s();return}}for(const h of o.filter(x=>!x.chained))if(d.key.toLowerCase()===h.key&&d.metaKey===h.metaKey&&d.ctrlKey===h.ctrlKey&&!(i&&d.shiftKey!==h.shiftKey)){h.condition.value&&(d.preventDefault(),h.handler()),s();return}l()};o=Object.entries(e).map(([d,i])=>{var I,w;if(!i)return null;let p;d.includes("-")&&d!=="-"&&!((I=d.match(va))!=null&&I.length)&&console.trace(`[Shortcut] Invalid key: "${d}"`),d.includes("_")&&d!=="_"&&!((w=d.match(ma))!=null&&w.length)&&console.trace(`[Shortcut] Invalid key: "${d}"`);const h=d.includes("-")&&d!=="-";if(h)p={key:d.toLowerCase(),metaKey:!1,ctrlKey:!1,shiftKey:!1,altKey:!1};else{const C=d.toLowerCase().split("_").map(v=>v);p={key:C.filter(v=>!["meta","ctrl","shift","alt"].includes(v)).join("_"),metaKey:C.includes("meta"),ctrlKey:C.includes("ctrl"),shiftKey:C.includes("shift"),altKey:C.includes("alt")}}if(p.chained=h,!n.value&&p.metaKey&&!p.ctrlKey&&(p.metaKey=!1,p.ctrlKey=!0),typeof i=="function"?p.handler=i:typeof i=="object"&&(p={...p,handler:i.handler}),!p.handler)return console.trace("[Shortcut] Invalid value"),null;const x=[];return i.usingInput?typeof i.usingInput=="string"&&x.push(M(()=>r.value===i.usingInput)):x.push(ga(r)),p.condition=ha(...x,...i.whenever||[]),p}).filter(Boolean),Ht("keydown",u)},xa=ne({__name:"DocsSearch",props:{files:{type:Array,default:()=>[]},navigation:{type:Array,default:()=>[]},links:{type:Array,default:()=>[]},groups:{type:Array,default:()=>[]},fuse:{type:Object,default:()=>({})},hideColorMode:{type:Boolean,default:!1},ui:{type:Object,default:()=>({})}},setup(e,{expose:t}){const n={padding:"p-0 sm:p-4",rounded:"rounded-none sm:rounded-lg",width:"sm:max-w-3xl",height:"h-screen sm:h-[28rem]",commandPalette:{input:{height:"h-[--header-height] sm:h-12",icon:{size:"h-5 w-5",padding:"ps-11"}},group:{command:{prefix:"!text-foreground after:content-['_>']"}},container:"scroll-py-10",closeButton:{icon:"i-heroicons-x-mark-20-solid",color:"gray",variant:"ghost",size:"xs"}},fileIcon:{name:"i-heroicons-document-text"}},r=e,o=Ut(),{navKeyFromPath:a}=fa(),s=zt(),{usingInput:l}=tt(),{isDocsSearchModalOpen:u}=Wt(),d=qt({mobile:640}),i=Gt(),{ui:p,attrs:h}=Fe("docs.search",ge(r,"ui"),n,void 0,!0),x=d.smaller("mobile"),I=F();function w(c){var f;return c.icon?c.icon:(f=c.navigation)!=null&&f.icon?c.navigation.icon:(r.navigation&&(c.icon=a(c._path,"icon",r.navigation)),c.icon||p.value.fileIcon.name)}const C=M(()=>Ze({},r.fuse,{fuseOptions:{ignoreLocation:!0,includeMatches:!0,threshold:.1,keys:[{name:"title",weight:5},{name:"label",weight:5},{name:"suffix",weight:3},"children.children.value","children.children.children.value","children.children.children.children.value","children.children.children.children.children.value"]},resultLimit:12}));function v(c,f){return c?f:f==null?void 0:f.filter(g=>!g.child)}const E=M(()=>{var f,g;let c=[];return(f=r.navigation)!=null&&f.length&&(r.navigation.some(b=>{var m;return!!((m=b.children)!=null&&m.length)})?c=(r.navigation||[]).map(b=>({key:b._path,label:b.title,commands:(r.files||[]).filter(m=>{var B;return(B=m._path)==null?void 0:B.startsWith(b._path)}).flatMap(m=>T(m,b)),filter:v})):c=[{key:"docs",commands:(r.files||[]).flatMap(b=>T(b)),filter:v}]),[((g=r.links)==null?void 0:g.length)&&{key:"links",label:"Links",commands:r.links.flatMap(b=>[b.to&&{id:o.resolve(b.to).fullPath,...b,icon:b.icon||p.value.fileIcon.name},...(b.children||[]).map(m=>({id:o.resolve(m.to).fullPath,prefix:b.label,suffix:m.description,...m,icon:m.icon||b.icon||p.value.fileIcon.name}))]).filter(Boolean)},...c,...r.groups||[],!(i!=null&&i.forced)&&!r.hideColorMode&&{key:"theme",label:"Theme",commands:[{id:"theme-light",label:"Light",icon:s.ui.icons.light,disabled:i.preference==="light",click:()=>{i.preference="light"}},{id:"theme-dark",label:"Dark",icon:s.ui.icons.dark,disabled:i.preference==="dark",click:()=>{i.preference="dark"}}]}].filter(Boolean)}),R=M(()=>u.value||!l.value);function T(c,f){var b,m,B,ee,de;const g=(b=Yt((f==null?void 0:f.children)||[],c))==null?void 0:b.map(({title:H})=>H).join(" > ");return[{id:c._id,label:((m=c.navigation)==null?void 0:m.title)||c.title,title:((B=c.navigation)==null?void 0:B.title)||c.title,prefix:g,to:c._path,suffix:c.description,children:k(S(((ee=c==null?void 0:c.body)==null?void 0:ee.children)||[])),icon:w(c)},...Object.entries(A(((de=c==null?void 0:c.body)==null?void 0:de.children)||[])).map(([H,{title:oe,children:ve}])=>{var pe;if(oe)return{id:`${c._path}${H}`,label:oe,prefix:(g?`${g} > `:"")+`${((pe=c.navigation)==null?void 0:pe.title)||c.title}`,to:`${c._path}${H}`,children:k(ve),icon:w(c),child:!0}})].filter(Boolean)}function L(c){return c==null?void 0:c.map(f=>{var g,b;if(["code","code-inline","em","a","strong"].includes(f.tag))return{type:"text",value:((b=(g=f.children)==null?void 0:g.find(m=>m.type==="text"))==null?void 0:b.value)||""};if(f.type==="text")return f}).filter(Boolean)}function k(c){return c.map(f=>{var g,b;if(!["pre","style","video"].includes(f.tag))return["p","h1","h2","h3","h4","h5","h6","li","td","th"].includes(f.tag)&&((g=f.children)!=null&&g.length)?(f.children=L(f.children),f.children=(b=f.children)==null?void 0:b.reduce((m,B)=>(m.length&&m[m.length-1].type==="text"?m[m.length-1].value+=B.value||"":m.push(B),m),[]),f):(f.children&&(f.children=k(f.children)),f)}).filter(Boolean)}function S(c){const f=[];for(const g of c){if(["h1","h2","h3"].includes(g.tag))break;f.push(g)}return f}function A(c){var m,B,ee,de;const f={};let g="",b="";for(const H of c)["h1","h2","h3"].includes(H.tag)&&(b=((ee=(B=(m=H.children)==null?void 0:m.map(oe=>{var ve,pe;if(oe.type==="text")return oe.value;if(["code","code-inline","em","a","strong"].includes(oe.tag))return(pe=(ve=oe.children)==null?void 0:ve.find(bt=>bt.type==="text"))==null?void 0:pe.value}))==null?void 0:B.filter(Boolean))==null?void 0:ee.join(" "))||"",b&&((de=H.props)!=null&&de.id)&&(g=`#${H.props.id}`)),f[g]?f[g].children.push(H):f[g]={children:[H],title:b};return f}function y(c){u.value=!1,c.click?c.click():c.to?c.target==="_blank"||c.to.startsWith("http")?window.open(c.to,c.target||"_blank"):o.push(c.to):c.href&&window.open(c.href,"_blank")}return ba({meta_k:{usingInput:!0,whenever:[R],handler:()=>{u.value=!u.value}},escape:{usingInput:!0,whenever:[u],handler:()=>{u.value=!1}}}),t({commandPaletteRef:I}),(c,f)=>{const g=ia,b=da;return P(),V(b,ie({modelValue:X(u),"onUpdate:modelValue":f[1]||(f[1]=m=>Xt(u)?u.value=m:null),overlay:!X(x),transition:!X(x),ui:X(p)},X(h)),{default:W(()=>[fe(g,{ref_key:"commandPaletteRef",ref:I,groups:X(E),ui:X(p).commandPalette,"close-button":X(p).commandPalette.closeButton,fuse:X(C),"onUpdate:modelValue":y,onClose:f[0]||(f[0]=m=>u.value=!1)},null,8,["groups","ui","close-button","fuse"])]),_:1},16,["modelValue","overlay","transition","ui"])}}});export{xa as default}; diff --git a/_nuxt/DocumentDrivenEmpty.m7N1v1ak.js b/_nuxt/DocumentDrivenEmpty.ZnHkKn_b.js similarity index 77% rename from _nuxt/DocumentDrivenEmpty.m7N1v1ak.js rename to _nuxt/DocumentDrivenEmpty.ZnHkKn_b.js index d757d01b..fba0a0b0 100644 --- a/_nuxt/DocumentDrivenEmpty.m7N1v1ak.js +++ b/_nuxt/DocumentDrivenEmpty.ZnHkKn_b.js @@ -1 +1 @@ -import{d as n,O as e}from"./entry.n8fVlM9F.js";const r=n({name:"DocumentDrivenEmpty",props:{value:{type:Object,required:!0}},render({value:t}){return e("div",void 0,[e("p","Document is empty"),e("p",`Add content to it by opening ${t._source}/${t._file} file.`)])}});export{r as default}; +import{d as n,O as e}from"./entry.YSgWRBMm.js";const r=n({name:"DocumentDrivenEmpty",props:{value:{type:Object,required:!0}},render({value:t}){return e("div",void 0,[e("p","Document is empty"),e("p",`Add content to it by opening ${t._source}/${t._file} file.`)])}});export{r as default}; diff --git a/_nuxt/DocumentDrivenNotFound.ADazsOTl.js b/_nuxt/DocumentDrivenNotFound.-QbZrK7a.js similarity index 59% rename from _nuxt/DocumentDrivenNotFound.ADazsOTl.js rename to _nuxt/DocumentDrivenNotFound.-QbZrK7a.js index 9ad10137..ef7f81f4 100644 --- a/_nuxt/DocumentDrivenNotFound.ADazsOTl.js +++ b/_nuxt/DocumentDrivenNotFound.-QbZrK7a.js @@ -1 +1 @@ -import{d as n,O as e}from"./entry.n8fVlM9F.js";const t=n({name:"DocumentDrivenNotFound",render(){return e("div","Document not found")}});export{t as default}; +import{d as n,O as e}from"./entry.YSgWRBMm.js";const t=n({name:"DocumentDrivenNotFound",render(){return e("div","Document not found")}});export{t as default}; diff --git a/_nuxt/Dynamic.uhf1S6Ax.js b/_nuxt/Dynamic.Ak6FV06T.js similarity index 53% rename from _nuxt/Dynamic.uhf1S6Ax.js rename to _nuxt/Dynamic.Ak6FV06T.js index 141121fa..43b05630 100644 --- a/_nuxt/Dynamic.uhf1S6Ax.js +++ b/_nuxt/Dynamic.Ak6FV06T.js @@ -1 +1 @@ -import{d as n}from"./entry.n8fVlM9F.js";const m=n({name:"OgImageDynamic",async setup(a,{attrs:e}){return()=>null}});export{m as default}; +import{d as n}from"./entry.YSgWRBMm.js";const m=n({name:"OgImageDynamic",async setup(a,{attrs:e}){return()=>null}});export{m as default}; diff --git a/_nuxt/Field.IhB24igT.js b/_nuxt/Field.Rio25kRl.js similarity index 94% rename from _nuxt/Field.IhB24igT.js rename to _nuxt/Field.Rio25kRl.js index 15c82759..7756eaf4 100644 --- a/_nuxt/Field.IhB24igT.js +++ b/_nuxt/Field.Rio25kRl.js @@ -1 +1 @@ -import{d as f,ag as m,ah as y,b as s,c as i,e as n,n as r,aA as e,t as d,f as o,aa as g,j as x,ab as v}from"./entry.n8fVlM9F.js";const S=f({inheritAttrs:!1,__name:"Field",props:{name:{type:String,required:!0},description:{type:String,default:void 0},type:{type:String,default:void 0},required:{type:Boolean,default:!1},default:{type:String,default:void 0},class:{type:[String,Object,Array],default:void 0}},setup(t){const c={wrapper:"mt-5",container:"flex items-start gap-x-2.5 font-mono text-sm",name:"rounded-md font-semibold text-primary",required:"text-gray-500 dark:text-gray-400",type:"text-right",label:"flex flex-1 gap-x-2.5",description:"mt-3 mb-0 text-gray-600 dark:text-gray-300 text-sm space-y-3"},u=t,{ui:a,attrs:p}=m("content.field",void 0,c,y(u,"class"),!0);return(l,b)=>(s(),i("div",v({class:e(a).wrapper},e(p)),[n("div",{class:r(e(a).container)},[n("div",{class:r(e(a).label)},[n("span",{class:r(e(a).name)},d(t.name),3),t.required?(s(),i("span",{key:0,class:r(e(a).required)},"required",2)):o("",!0)],2),t.type?(s(),i("div",{key:0,class:r(e(a).type)},d(t.type),3)):o("",!0)],2),l.$slots.default||t.description?(s(),i("div",{key:0,class:r(e(a).description)},[g(l.$slots,"default",{},()=>[x(d(t.description),1)])],2)):o("",!0)],16))}});export{S as default}; +import{d as f,ag as m,ah as y,b as s,c as i,e as n,n as r,aA as e,t as d,f as o,aa as g,j as x,ab as v}from"./entry.YSgWRBMm.js";const S=f({inheritAttrs:!1,__name:"Field",props:{name:{type:String,required:!0},description:{type:String,default:void 0},type:{type:String,default:void 0},required:{type:Boolean,default:!1},default:{type:String,default:void 0},class:{type:[String,Object,Array],default:void 0}},setup(t){const c={wrapper:"mt-5",container:"flex items-start gap-x-2.5 font-mono text-sm",name:"rounded-md font-semibold text-primary",required:"text-gray-500 dark:text-gray-400",type:"text-right",label:"flex flex-1 gap-x-2.5",description:"mt-3 mb-0 text-gray-600 dark:text-gray-300 text-sm space-y-3"},u=t,{ui:a,attrs:p}=m("content.field",void 0,c,y(u,"class"),!0);return(l,b)=>(s(),i("div",v({class:e(a).wrapper},e(p)),[n("div",{class:r(e(a).container)},[n("div",{class:r(e(a).label)},[n("span",{class:r(e(a).name)},d(t.name),3),t.required?(s(),i("span",{key:0,class:r(e(a).required)},"required",2)):o("",!0)],2),t.type?(s(),i("div",{key:0,class:r(e(a).type)},d(t.type),3)):o("",!0)],2),l.$slots.default||t.description?(s(),i("div",{key:0,class:r(e(a).description)},[g(l.$slots,"default",{},()=>[x(d(t.description),1)])],2)):o("",!0)],16))}});export{S as default}; diff --git a/_nuxt/FieldGroup.1bpRj5A8.js b/_nuxt/FieldGroup.5aNT2tOY.js similarity index 87% rename from _nuxt/FieldGroup.1bpRj5A8.js rename to _nuxt/FieldGroup.5aNT2tOY.js index f35614b9..83d5f2d7 100644 --- a/_nuxt/FieldGroup.1bpRj5A8.js +++ b/_nuxt/FieldGroup.5aNT2tOY.js @@ -1 +1 @@ -import{d,ag as c,ah as n,b as p,c as l,aa as f,ab as u,aA as e}from"./entry.n8fVlM9F.js";const g=d({inheritAttrs:!1,__name:"FieldGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(t){const a={wrapper:"mt-5 space-y-5 divide-y divide-gray-200 dark:divide-gray-800 [&>div]:pt-5 [&>div:first-child]:pt-0 [&>div:first-child]:mt-0"},r=t,{ui:s,attrs:i}=c("content.fieldGroup",void 0,a,n(r,"class"),!0);return(o,m)=>(p(),l("div",u({class:e(s).wrapper},e(i)),[f(o.$slots,"default")],16))}});export{g as default}; +import{d,ag as c,ah as n,b as p,c as l,aa as f,ab as u,aA as e}from"./entry.YSgWRBMm.js";const g=d({inheritAttrs:!1,__name:"FieldGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(t){const a={wrapper:"mt-5 space-y-5 divide-y divide-gray-200 dark:divide-gray-800 [&>div]:pt-5 [&>div:first-child]:pt-0 [&>div:first-child]:mt-0"},r=t,{ui:s,attrs:i}=c("content.fieldGroup",void 0,a,n(r,"class"),!0);return(o,m)=>(p(),l("div",u({class:e(s).wrapper},e(i)),[f(o.$slots,"default")],16))}});export{g as default}; diff --git a/_nuxt/GithubCommits.RrrfkHo4.js b/_nuxt/GithubCommits.dG8EDzuA.js similarity index 75% rename from _nuxt/GithubCommits.RrrfkHo4.js rename to _nuxt/GithubCommits.dG8EDzuA.js index 3fef071e..f03c606e 100644 --- a/_nuxt/GithubCommits.RrrfkHo4.js +++ b/_nuxt/GithubCommits.dG8EDzuA.js @@ -1 +1 @@ -import{d as u,aM as n,aR as i,a$ as m}from"./entry.n8fVlM9F.js";import{u as o}from"./useGithub.Y6y6nFQf.js";const f=u({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(t){const{fetchCommits:r}=o(),{data:s,pending:e,refresh:a}=await n(`github-commits-${i(t.query)}`,()=>r(t.query));return{commits:s,pending:e,refresh:a}},render({commits:t,pending:r,refresh:s}){var a;const e=m();return(a=e==null?void 0:e.default)==null?void 0:a.call(e,{commits:t,pending:r,refresh:s})}});export{f as default}; +import{d as u,aM as n,aR as i,a$ as m}from"./entry.YSgWRBMm.js";import{u as o}from"./useGithub.VmKQ2Hb8.js";const f=u({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(t){const{fetchCommits:r}=o(),{data:s,pending:e,refresh:a}=await n(`github-commits-${i(t.query)}`,()=>r(t.query));return{commits:s,pending:e,refresh:a}},render({commits:t,pending:r,refresh:s}){var a;const e=m();return(a=e==null?void 0:e.default)==null?void 0:a.call(e,{commits:t,pending:r,refresh:s})}});export{f as default}; diff --git a/_nuxt/GithubContributors.Gzo0vZ5O.js b/_nuxt/GithubContributors.PP-IaBat.js similarity index 76% rename from _nuxt/GithubContributors.Gzo0vZ5O.js rename to _nuxt/GithubContributors.PP-IaBat.js index 75c41c66..4f9f0d24 100644 --- a/_nuxt/GithubContributors.Gzo0vZ5O.js +++ b/_nuxt/GithubContributors.PP-IaBat.js @@ -1 +1 @@ -import{d as n,aM as s,aR as o,a$ as i}from"./entry.n8fVlM9F.js";import{u as c}from"./useGithub.Y6y6nFQf.js";const b=n({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(e){const{fetchContributors:a}=c(),{data:u,refresh:t,pending:r}=await s(`github-contributors-${o(e.query)}`,()=>a(e.query));return{contributors:u,refresh:t,pending:r}},render({contributors:e,refresh:a,pending:u}){var r;const t=i();return(r=t==null?void 0:t.default)==null?void 0:r.call(t,{contributors:e,refresh:a,pending:u})}});export{b as default}; +import{d as n,aM as s,aR as o,a$ as i}from"./entry.YSgWRBMm.js";import{u as c}from"./useGithub.VmKQ2Hb8.js";const b=n({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(e){const{fetchContributors:a}=c(),{data:u,refresh:t,pending:r}=await s(`github-contributors-${o(e.query)}`,()=>a(e.query));return{contributors:u,refresh:t,pending:r}},render({contributors:e,refresh:a,pending:u}){var r;const t=i();return(r=t==null?void 0:t.default)==null?void 0:r.call(t,{contributors:e,refresh:a,pending:u})}});export{b as default}; diff --git a/_nuxt/GithubFileContributors.b_sz_pTt.js b/_nuxt/GithubFileContributors.9ZuCmwkG.js similarity index 89% rename from _nuxt/GithubFileContributors.b_sz_pTt.js rename to _nuxt/GithubFileContributors.9ZuCmwkG.js index 5349bd37..d5b966a8 100644 --- a/_nuxt/GithubFileContributors.b_sz_pTt.js +++ b/_nuxt/GithubFileContributors.9ZuCmwkG.js @@ -1 +1 @@ -import{d as o,ah as n,N as i,aM as c,aR as f,a$ as d}from"./entry.n8fVlM9F.js";import{u as h}from"./useGithub.Y6y6nFQf.js";const l=o({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(r){const a=n(r.query,"source"),{fetchFileContributors:u}=h();i(a,()=>{t&&t()});const{data:e,refresh:t,pending:s}=await c(`github-file-contributors-${f(r.query)}`,()=>u(r.query));return{contributors:e,refresh:t,pending:s}},render({contributors:r,refresh:a,pending:u}){var t;const e=d();return(t=e==null?void 0:e.default)==null?void 0:t.call(e,{contributors:r,refresh:a,pending:u})}});export{l as default}; +import{d as o,ah as n,N as i,aM as c,aR as f,a$ as d}from"./entry.YSgWRBMm.js";import{u as h}from"./useGithub.VmKQ2Hb8.js";const l=o({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(r){const a=n(r.query,"source"),{fetchFileContributors:u}=h();i(a,()=>{t&&t()});const{data:e,refresh:t,pending:s}=await c(`github-file-contributors-${f(r.query)}`,()=>u(r.query));return{contributors:e,refresh:t,pending:s}},render({contributors:r,refresh:a,pending:u}){var t;const e=d();return(t=e==null?void 0:e.default)==null?void 0:t.call(e,{contributors:r,refresh:a,pending:u})}});export{l as default}; diff --git a/_nuxt/GithubLastRelease.Zc4ixaxC.js b/_nuxt/GithubLastRelease.51GpqXcI.js similarity index 75% rename from _nuxt/GithubLastRelease.Zc4ixaxC.js rename to _nuxt/GithubLastRelease.51GpqXcI.js index 1356bc71..07603519 100644 --- a/_nuxt/GithubLastRelease.Zc4ixaxC.js +++ b/_nuxt/GithubLastRelease.51GpqXcI.js @@ -1 +1 @@ -import{d as u,aM as n,aR as d,a$ as f}from"./entry.n8fVlM9F.js";import{u as i}from"./useGithub.Y6y6nFQf.js";const h=u({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(a){const{fetchLastRelease:s}=i(),{data:r,refresh:e,pending:t}=await n(`github-last-release-${d(a.query)}`,()=>s(a.query));return{release:r,refresh:e,pending:t}},render({release:a,refresh:s,pending:r}){var t;const e=f();return(t=e==null?void 0:e.default)==null?void 0:t.call(e,{release:a,refresh:s,pending:r})}});export{h as default}; +import{d as u,aM as n,aR as d,a$ as f}from"./entry.YSgWRBMm.js";import{u as i}from"./useGithub.VmKQ2Hb8.js";const h=u({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(a){const{fetchLastRelease:s}=i(),{data:r,refresh:e,pending:t}=await n(`github-last-release-${d(a.query)}`,()=>s(a.query));return{release:r,refresh:e,pending:t}},render({release:a,refresh:s,pending:r}){var t;const e=f();return(t=e==null?void 0:e.default)==null?void 0:t.call(e,{release:a,refresh:s,pending:r})}});export{h as default}; diff --git a/_nuxt/GithubLink.e6ndn0Kh.js b/_nuxt/GithubLink.XCq_5AdZ.js similarity index 93% rename from _nuxt/GithubLink.e6ndn0Kh.js rename to _nuxt/GithubLink.XCq_5AdZ.js index 054ccacf..54bb78d7 100644 --- a/_nuxt/GithubLink.e6ndn0Kh.js +++ b/_nuxt/GithubLink.XCq_5AdZ.js @@ -1 +1 @@ -import{d as y,m as u,G as c,be as v,a$ as w}from"./entry.n8fVlM9F.js";const p=y({props:{owner:{type:String,default:()=>{var e,t;return(t=(e=u())==null?void 0:e.github)==null?void 0:t.owner},required:!1},repo:{type:String,default:()=>{var e,t;return(t=(e=u())==null?void 0:e.github)==null?void 0:t.repo},required:!1},branch:{type:String,default:()=>{var e,t;return(t=(e=u())==null?void 0:e.github)==null?void 0:t.branch},required:!1},dir:{type:String,default:()=>{var e,t;return(t=(e=u())==null?void 0:e.github)==null?void 0:t.dir},required:!1},source:{type:String,required:!1,default:void 0},page:{type:Object,required:!1,default:void 0},contentDir:{type:String,required:!1,default:"content"},edit:{type:Boolean,required:!1,default:!0}},setup(e){if(!e.owner||!e.repo||!e.branch)throw new Error("If you want to use `GithubLink` component, you must specify: `owner`, `repo` and `branch`.");const t=c(()=>{var h,s;let{repo:r,owner:a,branch:f,contentDir:l}=e,d="";if((s=(h=u())==null?void 0:h.public)!=null&&s.content){let n;const{sources:b}=u().public.content;for(const g in b||[])if(e.page._id.startsWith(g)){n=b[g];break}(n==null?void 0:n.driver)==="github"&&(r=n.repo||e.repo||"",a=n.owner||e.owner||"",f=n.branch||e.branch||"main",l=n.dir||e.contentDir||"",d=n.prefix||"")}return{repo:r,owner:a,branch:f,contentDir:l,prefix:d}}),i=c(()=>v("https://github.com",`${t.value.owner}/${t.value.repo}`)),o=c(()=>{var a;const r=[];return(a=e==null?void 0:e.page)!=null&&a._path?(t.value.contentDir&&r.push(t.value.contentDir),r.push(e.page._file.substring(t.value.prefix.length)),r):(e.dir&&r.push(e.dir),e.source&&r.push(e.source),r)});return{url:c(()=>{const r=[i.value];return e.edit?r.push("edit"):r.push("tree"),r.push(t.value.branch,...o.value),r.filter(Boolean).join("/")})}},render(e){var o;const{url:t}=e,i=w();return(o=i==null?void 0:i.default)==null?void 0:o.call(i,{url:t})}});export{p as default}; +import{d as y,m as u,G as c,be as v,a$ as w}from"./entry.YSgWRBMm.js";const p=y({props:{owner:{type:String,default:()=>{var e,t;return(t=(e=u())==null?void 0:e.github)==null?void 0:t.owner},required:!1},repo:{type:String,default:()=>{var e,t;return(t=(e=u())==null?void 0:e.github)==null?void 0:t.repo},required:!1},branch:{type:String,default:()=>{var e,t;return(t=(e=u())==null?void 0:e.github)==null?void 0:t.branch},required:!1},dir:{type:String,default:()=>{var e,t;return(t=(e=u())==null?void 0:e.github)==null?void 0:t.dir},required:!1},source:{type:String,required:!1,default:void 0},page:{type:Object,required:!1,default:void 0},contentDir:{type:String,required:!1,default:"content"},edit:{type:Boolean,required:!1,default:!0}},setup(e){if(!e.owner||!e.repo||!e.branch)throw new Error("If you want to use `GithubLink` component, you must specify: `owner`, `repo` and `branch`.");const t=c(()=>{var h,s;let{repo:r,owner:a,branch:f,contentDir:l}=e,d="";if((s=(h=u())==null?void 0:h.public)!=null&&s.content){let n;const{sources:b}=u().public.content;for(const g in b||[])if(e.page._id.startsWith(g)){n=b[g];break}(n==null?void 0:n.driver)==="github"&&(r=n.repo||e.repo||"",a=n.owner||e.owner||"",f=n.branch||e.branch||"main",l=n.dir||e.contentDir||"",d=n.prefix||"")}return{repo:r,owner:a,branch:f,contentDir:l,prefix:d}}),i=c(()=>v("https://github.com",`${t.value.owner}/${t.value.repo}`)),o=c(()=>{var a;const r=[];return(a=e==null?void 0:e.page)!=null&&a._path?(t.value.contentDir&&r.push(t.value.contentDir),r.push(e.page._file.substring(t.value.prefix.length)),r):(e.dir&&r.push(e.dir),e.source&&r.push(e.source),r)});return{url:c(()=>{const r=[i.value];return e.edit?r.push("edit"):r.push("tree"),r.push(t.value.branch,...o.value),r.filter(Boolean).join("/")})}},render(e){var o;const{url:t}=e,i=w();return(o=i==null?void 0:i.default)==null?void 0:o.call(i,{url:t})}});export{p as default}; diff --git a/_nuxt/GithubReadme.AjQ1bQDb.js b/_nuxt/GithubReadme.xQmd5EsK.js similarity index 74% rename from _nuxt/GithubReadme.AjQ1bQDb.js rename to _nuxt/GithubReadme.xQmd5EsK.js index 0b2bf898..306350d6 100644 --- a/_nuxt/GithubReadme.AjQ1bQDb.js +++ b/_nuxt/GithubReadme.xQmd5EsK.js @@ -1 +1 @@ -import{d as n,aM as s,aR as d,a$ as f}from"./entry.n8fVlM9F.js";import{u as i}from"./useGithub.Y6y6nFQf.js";const c=n({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(a){const{fetchReadme:r}=i(),{data:u,refresh:e,pending:t}=await s(`github-readme-${d(a.query)}`,()=>r(a.query));return{readme:u,refresh:e,pending:t}},render({readme:a,refresh:r,pending:u}){var t;const e=f();return(t=e==null?void 0:e.default)==null?void 0:t.call(e,{readme:a,refresh:r,pending:u})}});export{c as default}; +import{d as n,aM as s,aR as d,a$ as f}from"./entry.YSgWRBMm.js";import{u as i}from"./useGithub.VmKQ2Hb8.js";const c=n({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(a){const{fetchReadme:r}=i(),{data:u,refresh:e,pending:t}=await s(`github-readme-${d(a.query)}`,()=>r(a.query));return{readme:u,refresh:e,pending:t}},render({readme:a,refresh:r,pending:u}){var t;const e=f();return(t=e==null?void 0:e.default)==null?void 0:t.call(e,{readme:a,refresh:r,pending:u})}});export{c as default}; diff --git a/_nuxt/GithubRelease.74JL6g_G.js b/_nuxt/GithubRelease.d-GfU9fx.js similarity index 76% rename from _nuxt/GithubRelease.74JL6g_G.js rename to _nuxt/GithubRelease.d-GfU9fx.js index b6bf1cca..ac450d6d 100644 --- a/_nuxt/GithubRelease.74JL6g_G.js +++ b/_nuxt/GithubRelease.d-GfU9fx.js @@ -1 +1 @@ -import{d as s,aM as n,aR as f,a$ as i}from"./entry.n8fVlM9F.js";import{u as d}from"./useGithub.Y6y6nFQf.js";const h=s({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(a){const{fetchRelease:r}=d();if(!a.query.tag)return;const{data:u,refresh:e,pending:t}=await n(`github-release-${f(a.query)}`,()=>r(a.query));return{release:u,refresh:e,pending:t}},render({release:a,refresh:r,pending:u}){var t;const e=i();return(t=e==null?void 0:e.default)==null?void 0:t.call(e,{release:a,refresh:r,pending:u})}});export{h as default}; +import{d as s,aM as n,aR as f,a$ as i}from"./entry.YSgWRBMm.js";import{u as d}from"./useGithub.VmKQ2Hb8.js";const h=s({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(a){const{fetchRelease:r}=d();if(!a.query.tag)return;const{data:u,refresh:e,pending:t}=await n(`github-release-${f(a.query)}`,()=>r(a.query));return{release:u,refresh:e,pending:t}},render({release:a,refresh:r,pending:u}){var t;const e=i();return(t=e==null?void 0:e.default)==null?void 0:t.call(e,{release:a,refresh:r,pending:u})}});export{h as default}; diff --git a/_nuxt/GithubReleases.IdSk-78B.js b/_nuxt/GithubReleases.RZH0RGD2.js similarity index 75% rename from _nuxt/GithubReleases.IdSk-78B.js rename to _nuxt/GithubReleases.RZH0RGD2.js index a2ae5250..487e5394 100644 --- a/_nuxt/GithubReleases.IdSk-78B.js +++ b/_nuxt/GithubReleases.RZH0RGD2.js @@ -1 +1 @@ -import{d as u,aM as n,aR as d,a$ as f}from"./entry.n8fVlM9F.js";import{u as i}from"./useGithub.Y6y6nFQf.js";const h=u({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(a){const{fetchReleases:t}=i(),{data:r,refresh:e,pending:s}=await n(`github-releases-${d(a.query)}`,()=>t(a.query));return{releases:r,refresh:e,pending:s}},render({releases:a,refresh:t,pending:r}){var s;const e=f();return(s=e==null?void 0:e.default)==null?void 0:s.call(e,{releases:a,refresh:t,pending:r})}});export{h as default}; +import{d as u,aM as n,aR as d,a$ as f}from"./entry.YSgWRBMm.js";import{u as i}from"./useGithub.VmKQ2Hb8.js";const h=u({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(a){const{fetchReleases:t}=i(),{data:r,refresh:e,pending:s}=await n(`github-releases-${d(a.query)}`,()=>t(a.query));return{releases:r,refresh:e,pending:s}},render({releases:a,refresh:t,pending:r}){var s;const e=f();return(s=e==null?void 0:e.default)==null?void 0:s.call(e,{releases:a,refresh:t,pending:r})}});export{h as default}; diff --git a/_nuxt/GithubRepository.gV0Q39BJ.js b/_nuxt/GithubRepository.M9uREu0t.js similarity index 75% rename from _nuxt/GithubRepository.gV0Q39BJ.js rename to _nuxt/GithubRepository.M9uREu0t.js index 97161733..fae86922 100644 --- a/_nuxt/GithubRepository.gV0Q39BJ.js +++ b/_nuxt/GithubRepository.M9uREu0t.js @@ -1 +1 @@ -import{d as o,aM as u,aR as n,a$ as i}from"./entry.n8fVlM9F.js";import{u as p}from"./useGithub.Y6y6nFQf.js";const f=o({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(t){const{fetchRepository:a}=p(),{data:s,refresh:e,pending:r}=await u(`github-repository-${n(t.query)}`,()=>a(t.query));return{repository:s,refresh:e,pending:r}},render({repository:t,refresh:a,pending:s}){var r;const e=i();return(r=e==null?void 0:e.default)==null?void 0:r.call(e,{repository:t,refresh:a,pending:s})}});export{f as default}; +import{d as o,aM as u,aR as n,a$ as i}from"./entry.YSgWRBMm.js";import{u as p}from"./useGithub.VmKQ2Hb8.js";const f=o({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(t){const{fetchRepository:a}=p(),{data:s,refresh:e,pending:r}=await u(`github-repository-${n(t.query)}`,()=>a(t.query));return{repository:s,refresh:e,pending:r}},render({repository:t,refresh:a,pending:s}){var r;const e=i();return(r=e==null?void 0:e.default)==null?void 0:r.call(e,{repository:t,refresh:a,pending:s})}});export{f as default}; diff --git a/_nuxt/IconCSS.xKd_D7LX.js b/_nuxt/IconCSS.KXs9Vl1K.js similarity index 93% rename from _nuxt/IconCSS.xKd_D7LX.js rename to _nuxt/IconCSS.KXs9Vl1K.js index 2178aba5..b6c899bd 100644 --- a/_nuxt/IconCSS.xKd_D7LX.js +++ b/_nuxt/IconCSS.KXs9Vl1K.js @@ -1 +1 @@ -import{d as m,aZ as f,y as d,G as c,bj as I,b as x,c as v,ac as S,l as _}from"./entry.n8fVlM9F.js";const y=m({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){f(e=>({cd4e1844:p.value}));const t=d(),s=u,l=c(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[s.name]?t.nuxtIcon.aliases[s.name]:s.name}),r=c(()=>I(l.value)),p=c(()=>{var o,a;const e=(a=(o=t.nuxtIcon)==null?void 0:o.iconifyApiOptions)==null?void 0:a.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${r.value.prefix}/${r.value.name}.svg')`}),i=c(()=>{var n,o,a;if(!s.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((o=t.nuxtIcon)!=null&&o.size))return;const e=s.size||((a=t.nuxtIcon)==null?void 0:a.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,n)=>(x(),v("span",{style:S({width:i.value,height:i.value})},null,4))}}),b=_(y,[["__scopeId","data-v-d7c4e10b"]]);export{b as default}; +import{d as m,aZ as f,y as d,G as c,bj as I,b as x,c as v,ac as S,l as _}from"./entry.YSgWRBMm.js";const y=m({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){f(e=>({cd4e1844:p.value}));const t=d(),s=u,l=c(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[s.name]?t.nuxtIcon.aliases[s.name]:s.name}),r=c(()=>I(l.value)),p=c(()=>{var o,a;const e=(a=(o=t.nuxtIcon)==null?void 0:o.iconifyApiOptions)==null?void 0:a.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${r.value.prefix}/${r.value.name}.svg')`}),i=c(()=>{var n,o,a;if(!s.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((o=t.nuxtIcon)!=null&&o.size))return;const e=s.size||((a=t.nuxtIcon)==null?void 0:a.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,n)=>(x(),v("span",{style:S({width:i.value,height:i.value})},null,4))}}),b=_(y,[["__scopeId","data-v-d7c4e10b"]]);export{b as default}; diff --git a/_nuxt/MDCRenderer.o5m2R7Hl.js b/_nuxt/MDCRenderer.0MFNxIgT.js similarity index 99% rename from _nuxt/MDCRenderer.o5m2R7Hl.js rename to _nuxt/MDCRenderer.0MFNxIgT.js index 7aee069f..e41aca53 100644 --- a/_nuxt/MDCRenderer.o5m2R7Hl.js +++ b/_nuxt/MDCRenderer.0MFNxIgT.js @@ -1 +1 @@ -import{d as $,m as Z,B as G,G as J,O as A,a7 as Q,bb as B,bc as x,aQ as nn,v as ln,bd as en}from"./entry.n8fVlM9F.js";class C{constructor(e,o,t){this.property=e,this.normal=o,t&&(this.space=t)}}C.prototype.property={};C.prototype.normal={};C.prototype.space=null;function z(n,e){const o={},t={};let r=-1;for(;++r4&&o.slice(0,4)==="data"&&un.test(e)){if(e.charAt(4)==="-"){const a=e.slice(5).replace(U,dn);t="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=e.slice(4);if(!U.test(a)){let i=a.replace(sn,pn);i.charAt(0)!=="-"&&(i="-"+i),e="data"+i}}r=M}return new r(t,e)}function pn(n){return"-"+n.toLowerCase()}function dn(n){return n.charAt(1).toUpperCase()}const gn=z([F,j,V,N,rn],"html"),Ln=z([F,j,V,N,an],"svg"),R=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","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","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],L="default",q=/^@|^v-on:/,W=/^:|^v-bind:/,K=/^v-model/,hn=["select","textarea","input"],mn=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(n=>[n,`prose-${n}`])),Mn=$({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})}},async setup(n){var r,a;const{mdc:e}=Z().public,o={...e.components.prose&&n.prose!==!1?mn:{},...e.components.map,...G(((a=(r=n.data)==null?void 0:r.mdc)==null?void 0:a.components)||{}),...n.components},t=J(()=>{var s;const i=(((s=n.body)==null?void 0:s.children)||[]).map(c=>c.tag||c.type).filter(c=>!R.includes(c));return Array.from(new Set(i)).sort().join(".")});return await On(n.body,{tags:o}),{tags:o,contentKey:t}},render(n){var h,y,d;const{tags:e,tag:o,body:t,data:r,contentKey:a}=n;if(!t)return null;const i={...r,tags:e},s=o!==!1?T(o||((h=i.component)==null?void 0:h.name)||i.component||"div"):void 0,c=X(t,A,i,i);return s?A(s,{...(y=i.component)==null?void 0:y.props,...this.$attrs,key:a},c):(d=c.default)==null?void 0:d.call(c)}});function fn(n,e,o,t={}){if(n.type==="text")return e(x,n.value);const r=n.tag,a=Y(n,o.tags);if(n.tag==="binding")return yn(n,e,o,t);const i=T(a);typeof i=="object"&&(i.tag=r);const s=vn(n,o);return e(i,s,X(n,e,o,{...t,...s}))}function yn(n,e,o,t={}){var h,y;const r={...t,$route:()=>ln(),$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=((h=n.props)==null?void 0:h.value.trim().split(a).filter(Boolean)).reduce((d,b)=>b in d?typeof d[b]=="function"?d[b]():d[b]:{},r),c=(y=n.props)==null?void 0:y.defaultValue;return e(x,s??c??"")}function X(n,e,o,t){const a=(n.children||[]).reduce((s,c)=>{if(!wn(c))return s[L].push(c),s;const h=xn(c);return s[h]=s[h]||[],c.type==="element"&&s[h].push(...c.children||[]),s},{[L]:[]});return Object.entries(a).reduce((s,[c,h])=>(h.length&&(s[c]=()=>{const y=h.map(d=>fn(d,e,o,t));return Pn(y)}),s),{})}function vn(n,e){const{tag:o="",props:t={}}=n;return Object.keys(t).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=t[a];if(K.test(a)&&!hn.includes(o))return bn(a,i,r,e);if(a==="v-bind")return kn(a,i,r,e);if(q.test(a))return Sn(a,i,r,e);if(W.test(a))return Cn(a,i,r,e);const{attribute:s}=cn(gn,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function bn(n,e,o,t){const r=d=>+d,a=d=>d.trim(),i=d=>d,s=n.replace(K,"").split(".").filter(d=>d).reduce((d,b)=>(d[b]=!0,d),{}),c="value",h=s.lazy?"change":"input",y=s.number?r:s.trim?a:i;return o[c]=w(e,t),o.on=o.on||{},o.on[h]=d=>t[e]=y(d),o}function kn(n,e,o,t){const r=w(e,t);return o=Object.assign(o,r),o}function Sn(n,e,o,t){return n=n.replace(q,""),o.on=o.on||{},o.on[n]=()=>w(e,t),o}function Cn(n,e,o,t){return n=n.replace(W,""),o[n]=w(e,t),o}const T=n=>{if(!R.includes(n)&&!(n!=null&&n.render)){const e=Q(B(n),!1);if(typeof e=="object")return e}return n};function w(n,e){const o=n.split(".").reduce((t,r)=>typeof t=="object"?t[r]:void 0,e);return typeof o>"u"?en(n):o}function xn(n){let e="";for(const o of Object.keys(n.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){e=o.split(/[:#]/,2)[1];break}return e||L}function wn(n){return n.tag==="template"}function Pn(n){const e=[];for(const o of n){const t=e[e.length-1];o.type===x&&(t==null?void 0:t.type)===x?t.children=t.children+o.children:e.push(o)}return e}async function On(n,e){if(!n)return;const o=Array.from(new Set(t(n,e)));await Promise.all(o.map(async r=>{if(r!=null&&r.render||r!=null&&r.ssrRender||r!=null&&r.__ssrInlineRender)return;const a=T(r);a!=null&&a.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function t(r,a){const i=r.tag;if(r.type==="text"||i==="binding")return[];const s=Y(r,a.tags),c=[];r.type!=="root"&&!R.includes(s)&&c.push(s);for(const h of r.children||[])c.push(...t(h,a));return c}}function Y(n,e){var t;const o=n.tag;return!o||typeof((t=n.props)==null?void 0:t.__ignoreMap)<"u"?o:e[o]||e[B(o)]||e[nn(n.tag)]||o}export{Mn as _,gn as a,cn as f,R as h,O as n,Ln as s}; +import{d as $,m as Z,B as G,G as J,O as A,a7 as Q,bb as B,bc as x,aQ as nn,v as ln,bd as en}from"./entry.YSgWRBMm.js";class C{constructor(e,o,t){this.property=e,this.normal=o,t&&(this.space=t)}}C.prototype.property={};C.prototype.normal={};C.prototype.space=null;function z(n,e){const o={},t={};let r=-1;for(;++r4&&o.slice(0,4)==="data"&&un.test(e)){if(e.charAt(4)==="-"){const a=e.slice(5).replace(U,dn);t="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=e.slice(4);if(!U.test(a)){let i=a.replace(sn,pn);i.charAt(0)!=="-"&&(i="-"+i),e="data"+i}}r=M}return new r(t,e)}function pn(n){return"-"+n.toLowerCase()}function dn(n){return n.charAt(1).toUpperCase()}const gn=z([F,j,V,N,rn],"html"),Ln=z([F,j,V,N,an],"svg"),R=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","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","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],L="default",q=/^@|^v-on:/,W=/^:|^v-bind:/,K=/^v-model/,hn=["select","textarea","input"],mn=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(n=>[n,`prose-${n}`])),Mn=$({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})}},async setup(n){var r,a;const{mdc:e}=Z().public,o={...e.components.prose&&n.prose!==!1?mn:{},...e.components.map,...G(((a=(r=n.data)==null?void 0:r.mdc)==null?void 0:a.components)||{}),...n.components},t=J(()=>{var s;const i=(((s=n.body)==null?void 0:s.children)||[]).map(c=>c.tag||c.type).filter(c=>!R.includes(c));return Array.from(new Set(i)).sort().join(".")});return await On(n.body,{tags:o}),{tags:o,contentKey:t}},render(n){var h,y,d;const{tags:e,tag:o,body:t,data:r,contentKey:a}=n;if(!t)return null;const i={...r,tags:e},s=o!==!1?T(o||((h=i.component)==null?void 0:h.name)||i.component||"div"):void 0,c=X(t,A,i,i);return s?A(s,{...(y=i.component)==null?void 0:y.props,...this.$attrs,key:a},c):(d=c.default)==null?void 0:d.call(c)}});function fn(n,e,o,t={}){if(n.type==="text")return e(x,n.value);const r=n.tag,a=Y(n,o.tags);if(n.tag==="binding")return yn(n,e,o,t);const i=T(a);typeof i=="object"&&(i.tag=r);const s=vn(n,o);return e(i,s,X(n,e,o,{...t,...s}))}function yn(n,e,o,t={}){var h,y;const r={...t,$route:()=>ln(),$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=((h=n.props)==null?void 0:h.value.trim().split(a).filter(Boolean)).reduce((d,b)=>b in d?typeof d[b]=="function"?d[b]():d[b]:{},r),c=(y=n.props)==null?void 0:y.defaultValue;return e(x,s??c??"")}function X(n,e,o,t){const a=(n.children||[]).reduce((s,c)=>{if(!wn(c))return s[L].push(c),s;const h=xn(c);return s[h]=s[h]||[],c.type==="element"&&s[h].push(...c.children||[]),s},{[L]:[]});return Object.entries(a).reduce((s,[c,h])=>(h.length&&(s[c]=()=>{const y=h.map(d=>fn(d,e,o,t));return Pn(y)}),s),{})}function vn(n,e){const{tag:o="",props:t={}}=n;return Object.keys(t).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=t[a];if(K.test(a)&&!hn.includes(o))return bn(a,i,r,e);if(a==="v-bind")return kn(a,i,r,e);if(q.test(a))return Sn(a,i,r,e);if(W.test(a))return Cn(a,i,r,e);const{attribute:s}=cn(gn,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function bn(n,e,o,t){const r=d=>+d,a=d=>d.trim(),i=d=>d,s=n.replace(K,"").split(".").filter(d=>d).reduce((d,b)=>(d[b]=!0,d),{}),c="value",h=s.lazy?"change":"input",y=s.number?r:s.trim?a:i;return o[c]=w(e,t),o.on=o.on||{},o.on[h]=d=>t[e]=y(d),o}function kn(n,e,o,t){const r=w(e,t);return o=Object.assign(o,r),o}function Sn(n,e,o,t){return n=n.replace(q,""),o.on=o.on||{},o.on[n]=()=>w(e,t),o}function Cn(n,e,o,t){return n=n.replace(W,""),o[n]=w(e,t),o}const T=n=>{if(!R.includes(n)&&!(n!=null&&n.render)){const e=Q(B(n),!1);if(typeof e=="object")return e}return n};function w(n,e){const o=n.split(".").reduce((t,r)=>typeof t=="object"?t[r]:void 0,e);return typeof o>"u"?en(n):o}function xn(n){let e="";for(const o of Object.keys(n.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){e=o.split(/[:#]/,2)[1];break}return e||L}function wn(n){return n.tag==="template"}function Pn(n){const e=[];for(const o of n){const t=e[e.length-1];o.type===x&&(t==null?void 0:t.type)===x?t.children=t.children+o.children:e.push(o)}return e}async function On(n,e){if(!n)return;const o=Array.from(new Set(t(n,e)));await Promise.all(o.map(async r=>{if(r!=null&&r.render||r!=null&&r.ssrRender||r!=null&&r.__ssrInlineRender)return;const a=T(r);a!=null&&a.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function t(r,a){const i=r.tag;if(r.type==="text"||i==="binding")return[];const s=Y(r,a.tags),c=[];r.type!=="root"&&!R.includes(s)&&c.push(s);for(const h of r.children||[])c.push(...t(h,a));return c}}function Y(n,e){var t;const o=n.tag;return!o||typeof((t=n.props)==null?void 0:t.__ignoreMap)<"u"?o:e[o]||e[B(o)]||e[nn(n.tag)]||o}export{Mn as _,gn as a,cn as f,R as h,O as n,Ln as s}; diff --git a/_nuxt/Markdown.YZLCIf66.js b/_nuxt/Markdown.Vu449gVI.js similarity index 64% rename from _nuxt/Markdown.YZLCIf66.js rename to _nuxt/Markdown.Vu449gVI.js index eefc1868..8b95c3f8 100644 --- a/_nuxt/Markdown.YZLCIf66.js +++ b/_nuxt/Markdown.Vu449gVI.js @@ -1 +1 @@ -import s from"./ContentSlot.nvAV5AJw.js";import{d as o,a$ as u,G as f,bh as m}from"./entry.n8fVlM9F.js";import"./node.kQagOfUD.js";const d=o({name:"Markdown",extends:s,setup(t){const{parent:e}=m(),{between:n,default:a}=u(),r=f(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:a,tags:r,between:n,parent:e}}});export{d as default}; +import s from"./ContentSlot.7o_IYYZq.js";import{d as o,a$ as u,G as f,bh as m}from"./entry.YSgWRBMm.js";import"./node.kQagOfUD.js";const d=o({name:"Markdown",extends:s,setup(t){const{parent:e}=m(),{between:n,default:a}=u(),r=f(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:a,tags:r,between:n,parent:e}}});export{d as default}; diff --git a/_nuxt/ProseA.EBjQ0GQA.js b/_nuxt/ProseA.1naA1Xnw.js similarity index 82% rename from _nuxt/ProseA.EBjQ0GQA.js rename to _nuxt/ProseA.1naA1Xnw.js index ed32bb4f..a823941e 100644 --- a/_nuxt/ProseA.EBjQ0GQA.js +++ b/_nuxt/ProseA.1naA1Xnw.js @@ -1 +1 @@ -import{d as r,b as n,a9 as o,w as s,aa as f,aC as u}from"./entry.n8fVlM9F.js";const l=r({__name:"ProseA",props:{href:{type:String,default:""},target:{type:String,default:void 0,required:!1}},setup(e){return(t,c)=>{const a=u;return n(),o(a,{href:e.href,target:e.target},{default:s(()=>[f(t.$slots,"default")]),_:3},8,["href","target"])}}});export{l as default}; +import{d as r,b as n,a9 as o,w as s,aa as f,aC as u}from"./entry.YSgWRBMm.js";const l=r({__name:"ProseA",props:{href:{type:String,default:""},target:{type:String,default:void 0,required:!1}},setup(e){return(t,c)=>{const a=u;return n(),o(a,{href:e.href,target:e.target},{default:s(()=>[f(t.$slots,"default")]),_:3},8,["href","target"])}}});export{l as default}; diff --git a/_nuxt/ProseBlockquote.zHVBsP9e.js b/_nuxt/ProseBlockquote.4ze-dyO4.js similarity index 66% rename from _nuxt/ProseBlockquote.zHVBsP9e.js rename to _nuxt/ProseBlockquote.4ze-dyO4.js index a8836b58..f0208a47 100644 --- a/_nuxt/ProseBlockquote.zHVBsP9e.js +++ b/_nuxt/ProseBlockquote.4ze-dyO4.js @@ -1 +1 @@ -import{l as o,b as t,c,aa as r}from"./entry.n8fVlM9F.js";const s={};function a(e,l){return t(),c("blockquote",null,[r(e.$slots,"default")])}const f=o(s,[["render",a]]);export{f as default}; +import{l as o,b as t,c,aa as r}from"./entry.YSgWRBMm.js";const s={};function a(e,l){return t(),c("blockquote",null,[r(e.$slots,"default")])}const f=o(s,[["render",a]]);export{f as default}; diff --git a/_nuxt/ProseCode.3zMaxfPm.js b/_nuxt/ProseCode.3zMaxfPm.js new file mode 100644 index 00000000..969d31cd --- /dev/null +++ b/_nuxt/ProseCode.3zMaxfPm.js @@ -0,0 +1 @@ +import{_ as o}from"./ProseCode.vue.MtZTLDWl.js";import"./ProseCodeIcon.vue.caB8vZGS.js";import"./entry.YSgWRBMm.js";import"./ProseCodeButton.vue.ya303riA.js";export{o as default}; diff --git a/_nuxt/ProseCode.C2MVqIn7.js b/_nuxt/ProseCode.C2MVqIn7.js deleted file mode 100644 index a83684a4..00000000 --- a/_nuxt/ProseCode.C2MVqIn7.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./ProseCode.vue.15_JCNhQ.js";import"./ProseCodeIcon.vue.dMXRLg8I.js";import"./entry.n8fVlM9F.js";import"./ProseCodeButton.vue.OCF9lT2F.js";export{o as default}; diff --git a/_nuxt/ProseCode.vue.15_JCNhQ.js b/_nuxt/ProseCode.vue.MtZTLDWl.js similarity index 85% rename from _nuxt/ProseCode.vue.15_JCNhQ.js rename to _nuxt/ProseCode.vue.MtZTLDWl.js index 2b8b9be1..c40144ec 100644 --- a/_nuxt/ProseCode.vue.15_JCNhQ.js +++ b/_nuxt/ProseCode.vue.MtZTLDWl.js @@ -1 +1 @@ -import{_ as m}from"./ProseCodeIcon.vue.dMXRLg8I.js";import{_ as f}from"./ProseCodeButton.vue.OCF9lT2F.js";import{d as u,ag as p,b as n,c as r,n as t,aA as o,g as s,e as g,t as y,f as b,aa as v}from"./entry.n8fVlM9F.js";const k=u({__name:"ProseCode",props:{code:{type:String,required:!0},icon:{type:String,default:void 0},language:{type:String,default:void 0},hideHeader:{type:Boolean,default:!1},filename:{type:String,default:void 0},highlights:{type:Array,default:void 0},meta:{type:String,default:void 0}},setup(e){const i={wrapper:"[&>pre]:!rounded-t-none [&>pre]:!my-0 my-5",header:"flex items-center gap-1.5 border border-gray-200 dark:border-gray-700 border-b-0 relative rounded-t-md px-4 py-3 not-prose",icon:{base:""},button:{base:"absolute top-2.5 right-2.5"},filename:"text-gray-700 dark:text-gray-200 text-sm/6"},{ui:a}=p("content.prose.code",void 0,i,void 0,!0);return(d,h)=>{const l=m,c=f;return n(),r("div",{class:t(["relative",!!e.filename&&o(a).wrapper])},[e.filename&&!e.hideHeader?(n(),r("div",{key:0,class:t(o(a).header)},[s(l,{icon:e.icon,filename:e.filename,class:t(o(a).icon.base)},null,8,["icon","filename","class"]),g("span",{class:t(o(a).filename)},y(e.filename),3)],2)):b("",!0),s(c,{code:e.code,class:t(o(a).button.base)},null,8,["code","class"]),v(d.$slots,"default")],2)}}});export{k as _}; +import{_ as m}from"./ProseCodeIcon.vue.caB8vZGS.js";import{_ as f}from"./ProseCodeButton.vue.ya303riA.js";import{d as u,ag as p,b as n,c as r,n as t,aA as o,g as s,e as g,t as y,f as b,aa as v}from"./entry.YSgWRBMm.js";const k=u({__name:"ProseCode",props:{code:{type:String,required:!0},icon:{type:String,default:void 0},language:{type:String,default:void 0},hideHeader:{type:Boolean,default:!1},filename:{type:String,default:void 0},highlights:{type:Array,default:void 0},meta:{type:String,default:void 0}},setup(e){const i={wrapper:"[&>pre]:!rounded-t-none [&>pre]:!my-0 my-5",header:"flex items-center gap-1.5 border border-gray-200 dark:border-gray-700 border-b-0 relative rounded-t-md px-4 py-3 not-prose",icon:{base:""},button:{base:"absolute top-2.5 right-2.5"},filename:"text-gray-700 dark:text-gray-200 text-sm/6"},{ui:a}=p("content.prose.code",void 0,i,void 0,!0);return(d,h)=>{const l=m,c=f;return n(),r("div",{class:t(["relative",!!e.filename&&o(a).wrapper])},[e.filename&&!e.hideHeader?(n(),r("div",{key:0,class:t(o(a).header)},[s(l,{icon:e.icon,filename:e.filename,class:t(o(a).icon.base)},null,8,["icon","filename","class"]),g("span",{class:t(o(a).filename)},y(e.filename),3)],2)):b("",!0),s(c,{code:e.code,class:t(o(a).button.base)},null,8,["code","class"]),v(d.$slots,"default")],2)}}});export{k as _}; diff --git a/_nuxt/ProseCodeButton.Ou4xCSMM.js b/_nuxt/ProseCodeButton.Ou4xCSMM.js deleted file mode 100644 index c635d0c0..00000000 --- a/_nuxt/ProseCodeButton.Ou4xCSMM.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ProseCodeButton.vue.OCF9lT2F.js";import"./entry.n8fVlM9F.js";export{m as default}; diff --git a/_nuxt/ProseCodeButton.Vf4Ii8-m.js b/_nuxt/ProseCodeButton.Vf4Ii8-m.js new file mode 100644 index 00000000..cdf9ba43 --- /dev/null +++ b/_nuxt/ProseCodeButton.Vf4Ii8-m.js @@ -0,0 +1 @@ +import{_ as m}from"./ProseCodeButton.vue.ya303riA.js";import"./entry.YSgWRBMm.js";export{m as default}; diff --git a/_nuxt/ProseCodeButton.vue.OCF9lT2F.js b/_nuxt/ProseCodeButton.vue.ya303riA.js similarity index 93% rename from _nuxt/ProseCodeButton.vue.OCF9lT2F.js rename to _nuxt/ProseCodeButton.vue.ya303riA.js index d8f1b7c6..69d07bfc 100644 --- a/_nuxt/ProseCodeButton.vue.OCF9lT2F.js +++ b/_nuxt/ProseCodeButton.vue.ya303riA.js @@ -1 +1 @@ -import{bf as d,bg as u,d as l,ag as b,r as f,b as _,a9 as m,aA as y,af as C}from"./entry.n8fVlM9F.js";function v(t={}){const{copy:c,isSupported:i}=d(),o=u();function r(e,n={},a={}){i&&c(e).then(()=>{!n.title&&!n.description||o.add({...n,...t})},function(p){o.add({...a,description:a.description||p.message,...t})})}return{copy:r}}const h=l({__name:"ProseCodeButton",props:{code:{type:String,required:!0}},setup(t){const c=t,i={icon:{copy:"i-heroicons-clipboard-document",copied:"i-heroicons-clipboard-document-check"}},{ui:o}=b("content.prose.code.button",void 0,i,void 0,!0),r=v({timeout:2e3}),e=f(o.value.icon.copy);function n(){r.copy(c.code,{title:"Copied to clipboard!"}),e.value=o.value.icon.copied,setTimeout(()=>{e.value=o.value.icon.copy},2e3)}return(a,p)=>{const s=C;return _(),m(s,{icon:y(e),color:"gray",variant:"link",size:"xs","aria-label":"Copy code to clipboard",tabindex:"-1",onClick:n},null,8,["icon"])}}});export{h as _}; +import{bf as d,bg as u,d as l,ag as b,r as f,b as _,a9 as m,aA as y,af as C}from"./entry.YSgWRBMm.js";function v(t={}){const{copy:c,isSupported:i}=d(),o=u();function r(e,n={},a={}){i&&c(e).then(()=>{!n.title&&!n.description||o.add({...n,...t})},function(p){o.add({...a,description:a.description||p.message,...t})})}return{copy:r}}const h=l({__name:"ProseCodeButton",props:{code:{type:String,required:!0}},setup(t){const c=t,i={icon:{copy:"i-heroicons-clipboard-document",copied:"i-heroicons-clipboard-document-check"}},{ui:o}=b("content.prose.code.button",void 0,i,void 0,!0),r=v({timeout:2e3}),e=f(o.value.icon.copy);function n(){r.copy(c.code,{title:"Copied to clipboard!"}),e.value=o.value.icon.copied,setTimeout(()=>{e.value=o.value.icon.copy},2e3)}return(a,p)=>{const s=C;return _(),m(s,{icon:y(e),color:"gray",variant:"link",size:"xs","aria-label":"Copy code to clipboard",tabindex:"-1",onClick:n},null,8,["icon"])}}});export{h as _}; diff --git a/_nuxt/ProseCodeIcon.67MQi9HX.js b/_nuxt/ProseCodeIcon.67MQi9HX.js deleted file mode 100644 index d8d1ab3b..00000000 --- a/_nuxt/ProseCodeIcon.67MQi9HX.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ProseCodeIcon.vue.dMXRLg8I.js";import"./entry.n8fVlM9F.js";export{m as default}; diff --git a/_nuxt/ProseCodeIcon.c8RJNJoT.js b/_nuxt/ProseCodeIcon.c8RJNJoT.js new file mode 100644 index 00000000..cd6185eb --- /dev/null +++ b/_nuxt/ProseCodeIcon.c8RJNJoT.js @@ -0,0 +1 @@ +import{_ as m}from"./ProseCodeIcon.vue.caB8vZGS.js";import"./entry.YSgWRBMm.js";export{m as default}; diff --git a/_nuxt/ProseCodeIcon.vue.dMXRLg8I.js b/_nuxt/ProseCodeIcon.vue.caB8vZGS.js similarity index 96% rename from _nuxt/ProseCodeIcon.vue.dMXRLg8I.js rename to _nuxt/ProseCodeIcon.vue.caB8vZGS.js index 556a88fc..f1ac1353 100644 --- a/_nuxt/ProseCodeIcon.vue.dMXRLg8I.js +++ b/_nuxt/ProseCodeIcon.vue.caB8vZGS.js @@ -1 +1 @@ -import{d as a,ag as v,G as i,aA as c,b as y,a9 as r,f as m,a4 as u}from"./entry.n8fVlM9F.js";const j=a({__name:"ProseCodeIcon",props:{icon:{type:String,default:void 0},filename:{type:String,default:void 0}},setup(t){const e=t,p={"package.json":"vscode-icons:file-type-node","tsconfig.json":"vscode-icons:file-type-tsconfig",".npmrc":"vscode-icons:file-type-npm",".editorconfig":"vscode-icons:file-type-editorconfig",".eslintrc":"vscode-icons:file-type-eslint",".eslintrc.cjs":"vscode-icons:file-type-eslint",".eslintignore":"vscode-icons:file-type-eslint",".gitignore":"vscode-icons:file-type-git","yarn.lock":"vscode-icons:file-type-yarn",".env":"vscode-icons:file-type-dotenv",".env.example":"vscode-icons:file-type-dotenv",".vscode/settings.json":"vscode-icons:file-type-vscode",".nuxtrc":"vscode-icons:file-type-nuxt",".nuxtignore":"vscode-icons:file-type-nuxt","nuxt.config.ts":"vscode-icons:file-type-nuxt","nuxt.schema.ts":"vscode-icons:file-type-nuxt","tailwind.config.js":"vscode-icons:file-type-tailwind","tailwind.config.ts":"vscode-icons:file-type-tailwind",ts:"vscode-icons:file-type-typescript",tsx:"vscode-icons:file-type-typescript",mjs:"vscode-icons:file-type-js",cjs:"vscode-icons:file-type-js",js:"vscode-icons:file-type-js",jsx:"vscode-icons:file-type-js",md:"vscode-icons:file-type-markdown",py:"vscode-icons:file-type-python",ico:"vscode-icons:file-type-favicon",npm:"vscode-icons:file-type-npm",pnpm:"vscode-icons:file-type-pnpm",npx:"vscode-icons:file-type-npm",yarn:"vscode-icons:file-type-yarn",bun:"vscode-icons:file-type-bun",yml:"vscode-icons:file-type-yaml",terminal:"i-heroicons-command-line"},{ui:o}=v("content.prose.code.icon",void 0,p,void 0,!0),n=i(()=>{var s;return(((s=e.filename)==null?void 0:s.split(".").pop())||"").toLowerCase()}),l=i(()=>e.icon||o.value[n.value]||e.filename.includes(".")),d=i(()=>e.icon??(e.filename&&(o.value[e.filename.split("/").pop()]??o.value[n.value]??`vscode-icons:file-type-${n.value}`)));return(s,g)=>{const f=u;return c(l)?(y(),r(f,{key:0,name:c(d).split(" ").pop(),dynamic:""},null,8,["name"])):m("",!0)}}});export{j as _}; +import{d as a,ag as v,G as i,aA as c,b as y,a9 as r,f as m,a4 as u}from"./entry.YSgWRBMm.js";const j=a({__name:"ProseCodeIcon",props:{icon:{type:String,default:void 0},filename:{type:String,default:void 0}},setup(t){const e=t,p={"package.json":"vscode-icons:file-type-node","tsconfig.json":"vscode-icons:file-type-tsconfig",".npmrc":"vscode-icons:file-type-npm",".editorconfig":"vscode-icons:file-type-editorconfig",".eslintrc":"vscode-icons:file-type-eslint",".eslintrc.cjs":"vscode-icons:file-type-eslint",".eslintignore":"vscode-icons:file-type-eslint",".gitignore":"vscode-icons:file-type-git","yarn.lock":"vscode-icons:file-type-yarn",".env":"vscode-icons:file-type-dotenv",".env.example":"vscode-icons:file-type-dotenv",".vscode/settings.json":"vscode-icons:file-type-vscode",".nuxtrc":"vscode-icons:file-type-nuxt",".nuxtignore":"vscode-icons:file-type-nuxt","nuxt.config.ts":"vscode-icons:file-type-nuxt","nuxt.schema.ts":"vscode-icons:file-type-nuxt","tailwind.config.js":"vscode-icons:file-type-tailwind","tailwind.config.ts":"vscode-icons:file-type-tailwind",ts:"vscode-icons:file-type-typescript",tsx:"vscode-icons:file-type-typescript",mjs:"vscode-icons:file-type-js",cjs:"vscode-icons:file-type-js",js:"vscode-icons:file-type-js",jsx:"vscode-icons:file-type-js",md:"vscode-icons:file-type-markdown",py:"vscode-icons:file-type-python",ico:"vscode-icons:file-type-favicon",npm:"vscode-icons:file-type-npm",pnpm:"vscode-icons:file-type-pnpm",npx:"vscode-icons:file-type-npm",yarn:"vscode-icons:file-type-yarn",bun:"vscode-icons:file-type-bun",yml:"vscode-icons:file-type-yaml",terminal:"i-heroicons-command-line"},{ui:o}=v("content.prose.code.icon",void 0,p,void 0,!0),n=i(()=>{var s;return(((s=e.filename)==null?void 0:s.split(".").pop())||"").toLowerCase()}),l=i(()=>e.icon||o.value[n.value]||e.filename.includes(".")),d=i(()=>e.icon??(e.filename&&(o.value[e.filename.split("/").pop()]??o.value[n.value]??`vscode-icons:file-type-${n.value}`)));return(s,g)=>{const f=u;return c(l)?(y(),r(f,{key:0,name:c(d).split(" ").pop(),dynamic:""},null,8,["name"])):m("",!0)}}});export{j as _}; diff --git a/_nuxt/ProseCodeInline.G6tUP7AG.js b/_nuxt/ProseCodeInline.UKO9YEge.js similarity index 66% rename from _nuxt/ProseCodeInline.G6tUP7AG.js rename to _nuxt/ProseCodeInline.UKO9YEge.js index 4ea6e770..9b71e605 100644 --- a/_nuxt/ProseCodeInline.G6tUP7AG.js +++ b/_nuxt/ProseCodeInline.UKO9YEge.js @@ -1 +1 @@ -import{l as o,b as n,c as r,aa as c}from"./entry.n8fVlM9F.js";const s={};function t(e,a){return n(),r("code",null,[c(e.$slots,"default")])}const d=o(s,[["render",t]]);export{d as default}; +import{l as o,b as n,c as r,aa as c}from"./entry.YSgWRBMm.js";const s={};function t(e,a){return n(),r("code",null,[c(e.$slots,"default")])}const d=o(s,[["render",t]]);export{d as default}; diff --git a/_nuxt/ProseEm.-tpFMk8F.js b/_nuxt/ProseEm.TctFqG5E.js similarity index 65% rename from _nuxt/ProseEm.-tpFMk8F.js rename to _nuxt/ProseEm.TctFqG5E.js index 63cc7c8c..01d86d9d 100644 --- a/_nuxt/ProseEm.-tpFMk8F.js +++ b/_nuxt/ProseEm.TctFqG5E.js @@ -1 +1 @@ -import{l as r,b as o,c as s,aa as t}from"./entry.n8fVlM9F.js";const a={};function c(e,n){return o(),s("em",null,[t(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; +import{l as r,b as o,c as s,aa as t}from"./entry.YSgWRBMm.js";const a={};function c(e,n){return o(),s("em",null,[t(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProseH1.iFuyzUZ2.js b/_nuxt/ProseH1.n2dx2pw0.js similarity index 85% rename from _nuxt/ProseH1.iFuyzUZ2.js rename to _nuxt/ProseH1.n2dx2pw0.js index add040bc..497b27f9 100644 --- a/_nuxt/ProseH1.iFuyzUZ2.js +++ b/_nuxt/ProseH1.n2dx2pw0.js @@ -1 +1 @@ -import{d as l,y as u,G as d,ag as m,b as _,c as h,g as s,w as f,e as g,n as o,aA as a,aa as x,a4 as w,aC as y}from"./entry.n8fVlM9F.js";const v=["id"],k=l({__name:"ProseH1",props:{id:{type:String,required:!0}},setup(n){const t=u(),r=d(()=>({wrapper:"scroll-mt-[calc(48px+48px+var(--header-height))] lg:scroll-mt-[calc(48px+var(--header-height))]",icon:{wrapper:"-ml-6 pr-2 py-2 inline-flex opacity-0 group-hover:lg:opacity-100 transition-opacity absolute",base:"w-4 h-4 text-primary",name:t.ui.icons.hash}})),{ui:e}=m("content.prose.h1",void 0,r,void 0,!0);return(c,C)=>{const i=w,p=y;return _(),h("h1",{id:n.id,class:o(a(e).wrapper)},[s(p,{href:`#${n.id}`,class:"group"},{default:f(()=>[g("div",{class:o(a(e).icon.wrapper)},[s(i,{name:a(e).icon.name,class:o(a(e).icon.base)},null,8,["name","class"])],2),x(c.$slots,"default")]),_:3},8,["href"])],10,v)}}});export{k as default}; +import{d as l,y as u,G as d,ag as m,b as _,c as h,g as s,w as f,e as g,n as o,aA as a,aa as x,a4 as w,aC as y}from"./entry.YSgWRBMm.js";const v=["id"],k=l({__name:"ProseH1",props:{id:{type:String,required:!0}},setup(n){const t=u(),r=d(()=>({wrapper:"scroll-mt-[calc(48px+48px+var(--header-height))] lg:scroll-mt-[calc(48px+var(--header-height))]",icon:{wrapper:"-ml-6 pr-2 py-2 inline-flex opacity-0 group-hover:lg:opacity-100 transition-opacity absolute",base:"w-4 h-4 text-primary",name:t.ui.icons.hash}})),{ui:e}=m("content.prose.h1",void 0,r,void 0,!0);return(c,C)=>{const i=w,p=y;return _(),h("h1",{id:n.id,class:o(a(e).wrapper)},[s(p,{href:`#${n.id}`,class:"group"},{default:f(()=>[g("div",{class:o(a(e).icon.wrapper)},[s(i,{name:a(e).icon.name,class:o(a(e).icon.base)},null,8,["name","class"])],2),x(c.$slots,"default")]),_:3},8,["href"])],10,v)}}});export{k as default}; diff --git a/_nuxt/ProseH2.Ni1Wrda1.js b/_nuxt/ProseH2.Ni1Wrda1.js deleted file mode 100644 index 4ae688fd..00000000 --- a/_nuxt/ProseH2.Ni1Wrda1.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ProseH2.vue.wUyf_dNM.js";import"./entry.n8fVlM9F.js";export{m as default}; diff --git a/_nuxt/ProseH2.ac_KN0ve.js b/_nuxt/ProseH2.ac_KN0ve.js new file mode 100644 index 00000000..6a8d40f2 --- /dev/null +++ b/_nuxt/ProseH2.ac_KN0ve.js @@ -0,0 +1 @@ +import{_ as m}from"./ProseH2.vue.KLujDh1h.js";import"./entry.YSgWRBMm.js";export{m as default}; diff --git a/_nuxt/ProseH2.vue.wUyf_dNM.js b/_nuxt/ProseH2.vue.KLujDh1h.js similarity index 85% rename from _nuxt/ProseH2.vue.wUyf_dNM.js rename to _nuxt/ProseH2.vue.KLujDh1h.js index d3a54f1d..0a65a491 100644 --- a/_nuxt/ProseH2.vue.wUyf_dNM.js +++ b/_nuxt/ProseH2.vue.KLujDh1h.js @@ -1 +1 @@ -import{d as l,y as u,G as d,ag as m,b as _,c as h,g as s,w as f,e as g,n as o,aA as a,aa as x,a4 as w,aC as y}from"./entry.n8fVlM9F.js";const v=["id"],k=l({__name:"ProseH2",props:{id:{type:String,required:!0}},setup(n){const t=u(),r=d(()=>({wrapper:"scroll-mt-[calc(48px+48px+var(--header-height))] lg:scroll-mt-[calc(48px+var(--header-height))]",icon:{wrapper:"-ml-6 pr-2 py-2 inline-flex opacity-0 group-hover:lg:opacity-100 transition-opacity absolute",base:"w-4 h-4 text-primary",name:t.ui.icons.hash}})),{ui:e}=m("content.prose.h2",void 0,r,void 0,!0);return(c,C)=>{const i=w,p=y;return _(),h("h2",{id:n.id,class:o(a(e).wrapper)},[s(p,{href:`#${n.id}`,class:"group"},{default:f(()=>[g("div",{class:o(a(e).icon.wrapper)},[s(i,{name:a(e).icon.name,class:o(a(e).icon.base)},null,8,["name","class"])],2),x(c.$slots,"default")]),_:3},8,["href"])],10,v)}}});export{k as _}; +import{d as l,y as u,G as d,ag as m,b as _,c as h,g as s,w as f,e as g,n as o,aA as a,aa as x,a4 as w,aC as y}from"./entry.YSgWRBMm.js";const v=["id"],k=l({__name:"ProseH2",props:{id:{type:String,required:!0}},setup(n){const t=u(),r=d(()=>({wrapper:"scroll-mt-[calc(48px+48px+var(--header-height))] lg:scroll-mt-[calc(48px+var(--header-height))]",icon:{wrapper:"-ml-6 pr-2 py-2 inline-flex opacity-0 group-hover:lg:opacity-100 transition-opacity absolute",base:"w-4 h-4 text-primary",name:t.ui.icons.hash}})),{ui:e}=m("content.prose.h2",void 0,r,void 0,!0);return(c,C)=>{const i=w,p=y;return _(),h("h2",{id:n.id,class:o(a(e).wrapper)},[s(p,{href:`#${n.id}`,class:"group"},{default:f(()=>[g("div",{class:o(a(e).icon.wrapper)},[s(i,{name:a(e).icon.name,class:o(a(e).icon.base)},null,8,["name","class"])],2),x(c.$slots,"default")]),_:3},8,["href"])],10,v)}}});export{k as _}; diff --git a/_nuxt/ProseH3.jnHH2psT.js b/_nuxt/ProseH3.jIL8QKjb.js similarity index 85% rename from _nuxt/ProseH3.jnHH2psT.js rename to _nuxt/ProseH3.jIL8QKjb.js index b4590800..09b898ba 100644 --- a/_nuxt/ProseH3.jnHH2psT.js +++ b/_nuxt/ProseH3.jIL8QKjb.js @@ -1 +1 @@ -import{d as l,y as u,G as d,ag as m,b as _,c as h,g as s,w as f,e as g,n as o,aA as a,aa as x,a4 as w,aC as y}from"./entry.n8fVlM9F.js";const v=["id"],k=l({__name:"ProseH3",props:{id:{type:String,required:!0}},setup(n){const t=u(),r=d(()=>({wrapper:"scroll-mt-[calc(48px+32px+var(--header-height))] lg:scroll-mt-[calc(32px+var(--header-height))]",icon:{wrapper:"-ml-6 pr-2 py-2 inline-flex opacity-0 group-hover:lg:opacity-100 transition-opacity absolute",base:"w-4 h-4 text-primary",name:t.ui.icons.hash}})),{ui:e}=m("content.prose.h3",void 0,r,void 0,!0);return(c,C)=>{const i=w,p=y;return _(),h("h3",{id:n.id,class:o(a(e).wrapper)},[s(p,{href:`#${n.id}`,class:"group"},{default:f(()=>[g("div",{class:o(a(e).icon.wrapper)},[s(i,{name:a(e).icon.name,class:o(a(e).icon.base)},null,8,["name","class"])],2),x(c.$slots,"default")]),_:3},8,["href"])],10,v)}}});export{k as default}; +import{d as l,y as u,G as d,ag as m,b as _,c as h,g as s,w as f,e as g,n as o,aA as a,aa as x,a4 as w,aC as y}from"./entry.YSgWRBMm.js";const v=["id"],k=l({__name:"ProseH3",props:{id:{type:String,required:!0}},setup(n){const t=u(),r=d(()=>({wrapper:"scroll-mt-[calc(48px+32px+var(--header-height))] lg:scroll-mt-[calc(32px+var(--header-height))]",icon:{wrapper:"-ml-6 pr-2 py-2 inline-flex opacity-0 group-hover:lg:opacity-100 transition-opacity absolute",base:"w-4 h-4 text-primary",name:t.ui.icons.hash}})),{ui:e}=m("content.prose.h3",void 0,r,void 0,!0);return(c,C)=>{const i=w,p=y;return _(),h("h3",{id:n.id,class:o(a(e).wrapper)},[s(p,{href:`#${n.id}`,class:"group"},{default:f(()=>[g("div",{class:o(a(e).icon.wrapper)},[s(i,{name:a(e).icon.name,class:o(a(e).icon.base)},null,8,["name","class"])],2),x(c.$slots,"default")]),_:3},8,["href"])],10,v)}}});export{k as default}; diff --git a/_nuxt/ProseH4.BENHo82U.js b/_nuxt/ProseH4.VkfJ1c87.js similarity index 85% rename from _nuxt/ProseH4.BENHo82U.js rename to _nuxt/ProseH4.VkfJ1c87.js index ecafe3ec..abc14ff6 100644 --- a/_nuxt/ProseH4.BENHo82U.js +++ b/_nuxt/ProseH4.VkfJ1c87.js @@ -1 +1 @@ -import{d as l,y as u,G as d,ag as m,b as _,c as h,g as s,w as f,e as g,n as o,aA as a,aa as x,a4 as w,aC as y}from"./entry.n8fVlM9F.js";const v=["id"],k=l({__name:"ProseH4",props:{id:{type:String,required:!0}},setup(n){const t=u(),r=d(()=>({wrapper:"scroll-mt-[calc(48px+24px+var(--header-height))] lg:scroll-mt-[calc(24px+var(--header-height))]",icon:{wrapper:"-ml-6 pr-2 py-1 inline-flex opacity-0 group-hover:lg:opacity-100 transition-opacity absolute",base:"w-4 h-4 text-primary",name:t.ui.icons.hash}})),{ui:e}=m("content.prose.h4",void 0,r,void 0,!0);return(c,C)=>{const i=w,p=y;return _(),h("h4",{id:n.id,class:o(a(e).wrapper)},[s(p,{href:`#${n.id}`,class:"group"},{default:f(()=>[g("div",{class:o(a(e).icon.wrapper)},[s(i,{name:a(e).icon.name,class:o(a(e).icon.base)},null,8,["name","class"])],2),x(c.$slots,"default")]),_:3},8,["href"])],10,v)}}});export{k as default}; +import{d as l,y as u,G as d,ag as m,b as _,c as h,g as s,w as f,e as g,n as o,aA as a,aa as x,a4 as w,aC as y}from"./entry.YSgWRBMm.js";const v=["id"],k=l({__name:"ProseH4",props:{id:{type:String,required:!0}},setup(n){const t=u(),r=d(()=>({wrapper:"scroll-mt-[calc(48px+24px+var(--header-height))] lg:scroll-mt-[calc(24px+var(--header-height))]",icon:{wrapper:"-ml-6 pr-2 py-1 inline-flex opacity-0 group-hover:lg:opacity-100 transition-opacity absolute",base:"w-4 h-4 text-primary",name:t.ui.icons.hash}})),{ui:e}=m("content.prose.h4",void 0,r,void 0,!0);return(c,C)=>{const i=w,p=y;return _(),h("h4",{id:n.id,class:o(a(e).wrapper)},[s(p,{href:`#${n.id}`,class:"group"},{default:f(()=>[g("div",{class:o(a(e).icon.wrapper)},[s(i,{name:a(e).icon.name,class:o(a(e).icon.base)},null,8,["name","class"])],2),x(c.$slots,"default")]),_:3},8,["href"])],10,v)}}});export{k as default}; diff --git a/_nuxt/ProseH5.AKt50Jx8.js b/_nuxt/ProseH5.nTa44zZp.js similarity index 85% rename from _nuxt/ProseH5.AKt50Jx8.js rename to _nuxt/ProseH5.nTa44zZp.js index 538f6fc5..ced13b72 100644 --- a/_nuxt/ProseH5.AKt50Jx8.js +++ b/_nuxt/ProseH5.nTa44zZp.js @@ -1 +1 @@ -import{d as i,m as c,G as p,b as o,c as n,aA as u,aa as t}from"./entry.n8fVlM9F.js";const f=["id"],l=["href"],k=i({__name:"ProseH5",props:{id:{}},setup(a){const r=a,{headings:s}=c().public.mdc,d=p(()=>{var e;return r.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h5)});return(e,m)=>(o(),n("h5",{id:e.id},[e.id&&u(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,l)):t(e.$slots,"default",{key:1})],8,f))}});export{k as default}; +import{d as i,m as c,G as p,b as o,c as n,aA as u,aa as t}from"./entry.YSgWRBMm.js";const f=["id"],l=["href"],k=i({__name:"ProseH5",props:{id:{}},setup(a){const r=a,{headings:s}=c().public.mdc,d=p(()=>{var e;return r.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h5)});return(e,m)=>(o(),n("h5",{id:e.id},[e.id&&u(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,l)):t(e.$slots,"default",{key:1})],8,f))}});export{k as default}; diff --git a/_nuxt/ProseH6.fh8XDrVA.js b/_nuxt/ProseH6.LXfRcowH.js similarity index 85% rename from _nuxt/ProseH6.fh8XDrVA.js rename to _nuxt/ProseH6.LXfRcowH.js index 2199724a..e4574752 100644 --- a/_nuxt/ProseH6.fh8XDrVA.js +++ b/_nuxt/ProseH6.LXfRcowH.js @@ -1 +1 @@ -import{d as i,m as c,G as p,b as o,c as n,aA as u,aa as t}from"./entry.n8fVlM9F.js";const f=["id"],l=["href"],k=i({__name:"ProseH6",props:{id:{}},setup(a){const r=a,{headings:s}=c().public.mdc,d=p(()=>{var e;return r.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h6)});return(e,m)=>(o(),n("h6",{id:e.id},[e.id&&u(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,l)):t(e.$slots,"default",{key:1})],8,f))}});export{k as default}; +import{d as i,m as c,G as p,b as o,c as n,aA as u,aa as t}from"./entry.YSgWRBMm.js";const f=["id"],l=["href"],k=i({__name:"ProseH6",props:{id:{}},setup(a){const r=a,{headings:s}=c().public.mdc,d=p(()=>{var e;return r.id&&((e=s==null?void 0:s.anchorLinks)==null?void 0:e.h6)});return(e,m)=>(o(),n("h6",{id:e.id},[e.id&&u(d)?(o(),n("a",{key:0,href:`#${e.id}`},[t(e.$slots,"default")],8,l)):t(e.$slots,"default",{key:1})],8,f))}});export{k as default}; diff --git a/_nuxt/ProseHr.PWPVsqcq.js b/_nuxt/ProseHr.dJQpsNk0.js similarity index 55% rename from _nuxt/ProseHr.PWPVsqcq.js rename to _nuxt/ProseHr.dJQpsNk0.js index 9b863d42..fed0964b 100644 --- a/_nuxt/ProseHr.PWPVsqcq.js +++ b/_nuxt/ProseHr.dJQpsNk0.js @@ -1 +1 @@ -import{l as e,b as r,c}from"./entry.n8fVlM9F.js";const o={};function t(n,s){return r(),c("hr")}const _=e(o,[["render",t]]);export{_ as default}; +import{l as e,b as r,c}from"./entry.YSgWRBMm.js";const o={};function t(n,s){return r(),c("hr")}const _=e(o,[["render",t]]);export{_ as default}; diff --git a/_nuxt/ProseImg.NI_Z3hKc.js b/_nuxt/ProseImg.cR48SDDz.js similarity index 89% rename from _nuxt/ProseImg.NI_Z3hKc.js rename to _nuxt/ProseImg.cR48SDDz.js index 44f5b5a2..1e4d6b12 100644 --- a/_nuxt/ProseImg.NI_Z3hKc.js +++ b/_nuxt/ProseImg.cR48SDDz.js @@ -1 +1 @@ -import{d as r,G as n,bi as c,b7 as h,m as o,be as d,b as l,c as u,aA as f}from"./entry.n8fVlM9F.js";const g=["src","alt","width","height"],p=r({__name:"ProseImg",props:{src:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:void 0},height:{type:[String,Number],default:void 0}},setup(e){const t=e,i=n(()=>{var a;if((a=t.src)!=null&&a.startsWith("/")&&!t.src.startsWith("//")){const s=c(h(o().app.baseURL));if(s!=="/"&&!t.src.startsWith(s))return d(s,t.src)}return t.src});return(a,s)=>(l(),u("img",{src:f(i),alt:e.alt,width:e.width,height:e.height},null,8,g))}});export{p as default}; +import{d as r,G as n,bi as c,b7 as h,m as o,be as d,b as l,c as u,aA as f}from"./entry.YSgWRBMm.js";const g=["src","alt","width","height"],p=r({__name:"ProseImg",props:{src:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:void 0},height:{type:[String,Number],default:void 0}},setup(e){const t=e,i=n(()=>{var a;if((a=t.src)!=null&&a.startsWith("/")&&!t.src.startsWith("//")){const s=c(h(o().app.baseURL));if(s!=="/"&&!t.src.startsWith(s))return d(s,t.src)}return t.src});return(a,s)=>(l(),u("img",{src:f(i),alt:e.alt,width:e.width,height:e.height},null,8,g))}});export{p as default}; diff --git a/_nuxt/ProseLi.yw3me4Zf.js b/_nuxt/ProseLi.bNm5aHhx.js similarity index 65% rename from _nuxt/ProseLi.yw3me4Zf.js rename to _nuxt/ProseLi.bNm5aHhx.js index 0f8744f2..32306e15 100644 --- a/_nuxt/ProseLi.yw3me4Zf.js +++ b/_nuxt/ProseLi.bNm5aHhx.js @@ -1 +1 @@ -import{l as r,b as o,c as s,aa as t}from"./entry.n8fVlM9F.js";const a={};function c(e,n){return o(),s("li",null,[t(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; +import{l as r,b as o,c as s,aa as t}from"./entry.YSgWRBMm.js";const a={};function c(e,n){return o(),s("li",null,[t(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProseOl.-d6FpckR.js b/_nuxt/ProseOl.kGSfFGTF.js similarity index 65% rename from _nuxt/ProseOl.-d6FpckR.js rename to _nuxt/ProseOl.kGSfFGTF.js index 56edd2d5..77817720 100644 --- a/_nuxt/ProseOl.-d6FpckR.js +++ b/_nuxt/ProseOl.kGSfFGTF.js @@ -1 +1 @@ -import{l as o,b as r,c as s,aa as t}from"./entry.n8fVlM9F.js";const a={};function c(e,l){return r(),s("ol",null,[t(e.$slots,"default")])}const f=o(a,[["render",c]]);export{f as default}; +import{l as o,b as r,c as s,aa as t}from"./entry.YSgWRBMm.js";const a={};function c(e,l){return r(),s("ol",null,[t(e.$slots,"default")])}const f=o(a,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProseP.5Ii-edhi.js b/_nuxt/ProseP.xdDnCvdx.js similarity index 65% rename from _nuxt/ProseP.5Ii-edhi.js rename to _nuxt/ProseP.xdDnCvdx.js index a60677ab..3c5272b7 100644 --- a/_nuxt/ProseP.5Ii-edhi.js +++ b/_nuxt/ProseP.xdDnCvdx.js @@ -1 +1 @@ -import{l as r,b as o,c as s,aa as t}from"./entry.n8fVlM9F.js";const a={};function c(e,n){return o(),s("p",null,[t(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; +import{l as r,b as o,c as s,aa as t}from"./entry.YSgWRBMm.js";const a={};function c(e,n){return o(),s("p",null,[t(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProsePre.RIIM70WD.js b/_nuxt/ProsePre.fNkfwBiv.js similarity index 69% rename from _nuxt/ProsePre.RIIM70WD.js rename to _nuxt/ProsePre.fNkfwBiv.js index 0fef17bc..63982ad6 100644 --- a/_nuxt/ProsePre.RIIM70WD.js +++ b/_nuxt/ProsePre.fNkfwBiv.js @@ -1 +1 @@ -import{_ as l}from"./ProseCode.vue.15_JCNhQ.js";import{d as n,b as s,a9 as i,w as r,e as o,n as g,ac as u,aa as m}from"./entry.n8fVlM9F.js";import"./ProseCodeIcon.vue.dMXRLg8I.js";import"./ProseCodeButton.vue.OCF9lT2F.js";const p=n({__name:"ProsePre",props:{code:{type:String,default:""},language:{type:String,default:null},filename:{type:String,default:null},highlights:{type:Array,default:()=>[]},meta:{type:String,default:null},class:{type:String,default:null},style:{type:[String,Object],default:null}},setup(e){return(a,c)=>{const t=l;return s(),i(t,{code:e.code,language:e.language,filename:e.filename,highlights:e.highlights,meta:e.meta},{default:r(()=>[o("pre",{class:g(a.$props.class),style:u(e.style)},[m(a.$slots,"default")],6)]),_:3},8,["code","language","filename","highlights","meta"])}}});export{p as default}; +import{_ as l}from"./ProseCode.vue.MtZTLDWl.js";import{d as n,b as s,a9 as i,w as r,e as o,n as g,ac as u,aa as m}from"./entry.YSgWRBMm.js";import"./ProseCodeIcon.vue.caB8vZGS.js";import"./ProseCodeButton.vue.ya303riA.js";const p=n({__name:"ProsePre",props:{code:{type:String,default:""},language:{type:String,default:null},filename:{type:String,default:null},highlights:{type:Array,default:()=>[]},meta:{type:String,default:null},class:{type:String,default:null},style:{type:[String,Object],default:null}},setup(e){return(a,c)=>{const t=l;return s(),i(t,{code:e.code,language:e.language,filename:e.filename,highlights:e.highlights,meta:e.meta},{default:r(()=>[o("pre",{class:g(a.$props.class),style:u(e.style)},[m(a.$slots,"default")],6)]),_:3},8,["code","language","filename","highlights","meta"])}}});export{p as default}; diff --git a/_nuxt/ProseScript.8M-vTO6K.js b/_nuxt/ProseScript.zuTRUi7U.js similarity index 86% rename from _nuxt/ProseScript.8M-vTO6K.js rename to _nuxt/ProseScript.zuTRUi7U.js index 26b7c2ec..c80ad51c 100644 --- a/_nuxt/ProseScript.8M-vTO6K.js +++ b/_nuxt/ProseScript.zuTRUi7U.js @@ -1 +1 @@ -import{d as s,G as n,b as r,c as a,j as e,f as c,e as t}from"./entry.n8fVlM9F.js";const d={key:0},i=t("code",null,"script",-1),l=t("code",null,"ProseScript",-1),f=s({__name:"ProseScript",props:{src:{type:String,default:""}},setup(p){const o=n(()=>!1);return(_,m)=>o.value?(r(),a("div",d,[e(" Rendering the "),i,e(" element is dangerous and is disabled by default. Consider implementing your own "),l,e(" element to have control over script rendering. ")])):c("",!0)}});export{f as default}; +import{d as s,G as n,b as r,c as a,j as e,f as c,e as t}from"./entry.YSgWRBMm.js";const d={key:0},i=t("code",null,"script",-1),l=t("code",null,"ProseScript",-1),f=s({__name:"ProseScript",props:{src:{type:String,default:""}},setup(p){const o=n(()=>!1);return(_,m)=>o.value?(r(),a("div",d,[e(" Rendering the "),i,e(" element is dangerous and is disabled by default. Consider implementing your own "),l,e(" element to have control over script rendering. ")])):c("",!0)}});export{f as default}; diff --git a/_nuxt/ProseStrong.wWHLYvDt.js b/_nuxt/ProseStrong.ruCkVaEx.js similarity index 66% rename from _nuxt/ProseStrong.wWHLYvDt.js rename to _nuxt/ProseStrong.ruCkVaEx.js index 05331f10..f56fa51d 100644 --- a/_nuxt/ProseStrong.wWHLYvDt.js +++ b/_nuxt/ProseStrong.ruCkVaEx.js @@ -1 +1 @@ -import{l as r,b as o,c as t,aa as n}from"./entry.n8fVlM9F.js";const s={};function a(e,c){return o(),t("strong",null,[n(e.$slots,"default")])}const f=r(s,[["render",a]]);export{f as default}; +import{l as r,b as o,c as t,aa as n}from"./entry.YSgWRBMm.js";const s={};function a(e,c){return o(),t("strong",null,[n(e.$slots,"default")])}const f=r(s,[["render",a]]);export{f as default}; diff --git a/_nuxt/ProseTable.vr8Lu6HN.js b/_nuxt/ProseTable.0W9QR9ya.js similarity index 66% rename from _nuxt/ProseTable.vr8Lu6HN.js rename to _nuxt/ProseTable.0W9QR9ya.js index 955111ba..593c5415 100644 --- a/_nuxt/ProseTable.vr8Lu6HN.js +++ b/_nuxt/ProseTable.0W9QR9ya.js @@ -1 +1 @@ -import{l as a,b as r,c as t,aa as o}from"./entry.n8fVlM9F.js";const s={};function c(e,l){return r(),t("table",null,[o(e.$slots,"default")])}const f=a(s,[["render",c]]);export{f as default}; +import{l as a,b as r,c as t,aa as o}from"./entry.YSgWRBMm.js";const s={};function c(e,l){return r(),t("table",null,[o(e.$slots,"default")])}const f=a(s,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProseTbody.jp4sqib1.js b/_nuxt/ProseTbody.BxGeRZKf.js similarity index 66% rename from _nuxt/ProseTbody.jp4sqib1.js rename to _nuxt/ProseTbody.BxGeRZKf.js index 416113ef..fe84b5d8 100644 --- a/_nuxt/ProseTbody.jp4sqib1.js +++ b/_nuxt/ProseTbody.BxGeRZKf.js @@ -1 +1 @@ -import{l as o,b as r,c as t,aa as s}from"./entry.n8fVlM9F.js";const a={};function c(e,n){return r(),t("tbody",null,[s(e.$slots,"default")])}const d=o(a,[["render",c]]);export{d as default}; +import{l as o,b as r,c as t,aa as s}from"./entry.YSgWRBMm.js";const a={};function c(e,n){return r(),t("tbody",null,[s(e.$slots,"default")])}const d=o(a,[["render",c]]);export{d as default}; diff --git a/_nuxt/ProseTd.3teiJlN-.js b/_nuxt/ProseTd.KYqqvY6o.js similarity index 65% rename from _nuxt/ProseTd.3teiJlN-.js rename to _nuxt/ProseTd.KYqqvY6o.js index 11784cb0..e4cc3f45 100644 --- a/_nuxt/ProseTd.3teiJlN-.js +++ b/_nuxt/ProseTd.KYqqvY6o.js @@ -1 +1 @@ -import{l as r,b as t,c as o,aa as s}from"./entry.n8fVlM9F.js";const a={};function c(e,n){return t(),o("td",null,[s(e.$slots,"default")])}const d=r(a,[["render",c]]);export{d as default}; +import{l as r,b as t,c as o,aa as s}from"./entry.YSgWRBMm.js";const a={};function c(e,n){return t(),o("td",null,[s(e.$slots,"default")])}const d=r(a,[["render",c]]);export{d as default}; diff --git a/_nuxt/ProseTh.DvN3xW7V.js b/_nuxt/ProseTh.TyYN77v-.js similarity index 65% rename from _nuxt/ProseTh.DvN3xW7V.js rename to _nuxt/ProseTh.TyYN77v-.js index f0fa97b8..5f1928f5 100644 --- a/_nuxt/ProseTh.DvN3xW7V.js +++ b/_nuxt/ProseTh.TyYN77v-.js @@ -1 +1 @@ -import{l as r,b as t,c as o,aa as s}from"./entry.n8fVlM9F.js";const a={};function c(e,n){return t(),o("th",null,[s(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; +import{l as r,b as t,c as o,aa as s}from"./entry.YSgWRBMm.js";const a={};function c(e,n){return t(),o("th",null,[s(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProseThead.ohVzKVnv.js b/_nuxt/ProseThead.8EWLWutm.js similarity index 66% rename from _nuxt/ProseThead.ohVzKVnv.js rename to _nuxt/ProseThead.8EWLWutm.js index 554a1ed1..1ea41a23 100644 --- a/_nuxt/ProseThead.ohVzKVnv.js +++ b/_nuxt/ProseThead.8EWLWutm.js @@ -1 +1 @@ -import{l as a,b as r,c as t,aa as o}from"./entry.n8fVlM9F.js";const s={};function c(e,n){return r(),t("thead",null,[o(e.$slots,"default")])}const d=a(s,[["render",c]]);export{d as default}; +import{l as a,b as r,c as t,aa as o}from"./entry.YSgWRBMm.js";const s={};function c(e,n){return r(),t("thead",null,[o(e.$slots,"default")])}const d=a(s,[["render",c]]);export{d as default}; diff --git a/_nuxt/ProseTr.aiD96v5k.js b/_nuxt/ProseTr.-gc2NXV8.js similarity index 65% rename from _nuxt/ProseTr.aiD96v5k.js rename to _nuxt/ProseTr.-gc2NXV8.js index ca76fb0d..4ad24623 100644 --- a/_nuxt/ProseTr.aiD96v5k.js +++ b/_nuxt/ProseTr.-gc2NXV8.js @@ -1 +1 @@ -import{l as r,b as t,c as o,aa as s}from"./entry.n8fVlM9F.js";const a={};function c(e,n){return t(),o("tr",null,[s(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; +import{l as r,b as t,c as o,aa as s}from"./entry.YSgWRBMm.js";const a={};function c(e,n){return t(),o("tr",null,[s(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProseUl.8mTzhdW0.js b/_nuxt/ProseUl.uihB480C.js similarity index 65% rename from _nuxt/ProseUl.8mTzhdW0.js rename to _nuxt/ProseUl.uihB480C.js index e303b598..143e9fff 100644 --- a/_nuxt/ProseUl.8mTzhdW0.js +++ b/_nuxt/ProseUl.uihB480C.js @@ -1 +1 @@ -import{l as r,b as o,c as s,aa as t}from"./entry.n8fVlM9F.js";const a={};function c(e,l){return o(),s("ul",null,[t(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; +import{l as r,b as o,c as s,aa as t}from"./entry.YSgWRBMm.js";const a={};function c(e,l){return o(),s("ul",null,[t(e.$slots,"default")])}const f=r(a,[["render",c]]);export{f as default}; diff --git a/_nuxt/Releases.vp1dNn6t.js b/_nuxt/Releases.TC6OrPKn.js similarity index 62% rename from _nuxt/Releases.vp1dNn6t.js rename to _nuxt/Releases.TC6OrPKn.js index d1afd8a2..65363af6 100644 --- a/_nuxt/Releases.vp1dNn6t.js +++ b/_nuxt/Releases.TC6OrPKn.js @@ -1 +1 @@ -import{_ as g}from"./ProseH2.vue.wUyf_dNM.js";import h from"./ContentRenderer.U61vDq8M.js";import{u as B}from"./useGithub.Y6y6nFQf.js";import{d as D,aJ as x,aM as v,a7 as w,b as a,c as n,F as C,a8 as L,g as o,w as c,j as i,t as _,aA as l}from"./entry.n8fVlM9F.js";import"./ContentRendererMarkdown.vue.08XeXCxx.js";import"./MDCRenderer.o5m2R7Hl.js";const b=(s,e={year:"numeric",month:"long",day:"numeric"})=>new Date(s).toLocaleDateString("en",e),k={style:{"margin-top":"50px"}},j=D({__name:"Releases",async setup(s){let e,r;const{fetchReleases:p}=B(),{data:u}=([e,r]=x(()=>v("releases",()=>p({}))),e=await e,r(),e);return(m,A)=>{const d=w("Badge"),f=g,y=h;return a(),n("div",k,[(a(!0),n(C,null,L(l(u),t=>(a(),n("div",{key:t.name,style:{"margin-bottom":"50px"}},[o(f,{id:t.name},{default:c(()=>[i(_(t.name)+" ",1),o(d,{style:{"margin-left":"10px"}},{default:c(()=>[i(_(("formatDateByLocale"in m?m.formatDateByLocale:l(b))(t.date)),1)]),_:2},1024)]),_:2},1032,["id"]),o(y,{value:t},null,8,["value"])]))),128))])}}});export{j as default}; +import{_ as g}from"./ProseH2.vue.KLujDh1h.js";import h from"./ContentRenderer.Snp_p6di.js";import{u as B}from"./useGithub.VmKQ2Hb8.js";import{d as D,aJ as x,aM as v,a7 as w,b as a,c as n,F as C,a8 as L,g as o,w as c,j as i,t as _,aA as l}from"./entry.YSgWRBMm.js";import"./ContentRendererMarkdown.vue.wsrTaKXh.js";import"./MDCRenderer.0MFNxIgT.js";const b=(s,e={year:"numeric",month:"long",day:"numeric"})=>new Date(s).toLocaleDateString("en",e),k={style:{"margin-top":"50px"}},j=D({__name:"Releases",async setup(s){let e,r;const{fetchReleases:p}=B(),{data:u}=([e,r]=x(()=>v("releases",()=>p({}))),e=await e,r(),e);return(m,A)=>{const d=w("Badge"),f=g,y=h;return a(),n("div",k,[(a(!0),n(C,null,L(l(u),t=>(a(),n("div",{key:t.name,style:{"margin-bottom":"50px"}},[o(f,{id:t.name},{default:c(()=>[i(_(t.name)+" ",1),o(d,{style:{"margin-left":"10px"}},{default:c(()=>[i(_(("formatDateByLocale"in m?m.formatDateByLocale:l(b))(t.date)),1)]),_:2},1024)]),_:2},1032,["id"]),o(y,{value:t},null,8,["value"])]))),128))])}}});export{j as default}; diff --git a/_nuxt/Screenshot.wn0_BD-5.js b/_nuxt/Screenshot.oadL6VUR.js similarity index 54% rename from _nuxt/Screenshot.wn0_BD-5.js rename to _nuxt/Screenshot.oadL6VUR.js index 447e768e..c0640d7f 100644 --- a/_nuxt/Screenshot.wn0_BD-5.js +++ b/_nuxt/Screenshot.oadL6VUR.js @@ -1 +1 @@ -import{d as e}from"./entry.n8fVlM9F.js";const r=e({name:"OgImageScreenshot",async setup(t,{attrs:n}){return()=>null}});export{r as default}; +import{d as e}from"./entry.YSgWRBMm.js";const r=e({name:"OgImageScreenshot",async setup(t,{attrs:n}){return()=>null}});export{r as default}; diff --git a/_nuxt/Shortcut.5NRnas7c.js b/_nuxt/Shortcut.A5VcKh1_.js similarity index 89% rename from _nuxt/Shortcut.5NRnas7c.js rename to _nuxt/Shortcut.A5VcKh1_.js index abc09070..334737d4 100644 --- a/_nuxt/Shortcut.5NRnas7c.js +++ b/_nuxt/Shortcut.A5VcKh1_.js @@ -1 +1 @@ -import{d as p,au as l,ag as i,ah as m,G as _,b as d,a9 as f,w as h,j as g,t as v,aA as e,ab as x,a6 as y}from"./entry.n8fVlM9F.js";const A=p({inheritAttrs:!1,__name:"Shortcut",props:{value:{type:String,required:!0},class:{type:[String,Object,Array],default:void 0}},setup(a){const s={wrapper:"!my-0 align-text-top"},t=a,{metaSymbol:o}=l(),{ui:r,attrs:c}=i("content.shortcut",void 0,s,m(t,"class"),!0),n=_(()=>t.value==="meta"?o.value:t.value);return(S,b)=>{const u=y;return d(),f(u,x({class:e(r).wrapper},e(c)),{default:h(()=>[g(v(e(n)),1)]),_:1},16,["class"])}}});export{A as default}; +import{d as p,au as l,ag as i,ah as m,G as _,b as d,a9 as f,w as h,j as g,t as v,aA as e,ab as x,a6 as y}from"./entry.YSgWRBMm.js";const A=p({inheritAttrs:!1,__name:"Shortcut",props:{value:{type:String,required:!0},class:{type:[String,Object,Array],default:void 0}},setup(a){const s={wrapper:"!my-0 align-text-top"},t=a,{metaSymbol:o}=l(),{ui:r,attrs:c}=i("content.shortcut",void 0,s,m(t,"class"),!0),n=_(()=>t.value==="meta"?o.value:t.value);return(S,b)=>{const u=y;return d(),f(u,x({class:e(r).wrapper},e(c)),{default:h(()=>[g(v(e(n)),1)]),_:1},16,["class"])}}});export{A as default}; diff --git a/_nuxt/Static.V2K3aezp.js b/_nuxt/Static.dUjUmiXn.js similarity index 53% rename from _nuxt/Static.V2K3aezp.js rename to _nuxt/Static.dUjUmiXn.js index 738e47a6..ceda93fe 100644 --- a/_nuxt/Static.V2K3aezp.js +++ b/_nuxt/Static.dUjUmiXn.js @@ -1 +1 @@ -import{d as t}from"./entry.n8fVlM9F.js";const o=t({name:"OgImageStatic",async setup(a,{attrs:e}){return()=>null}});export{o as default}; +import{d as t}from"./entry.YSgWRBMm.js";const o=t({name:"OgImageStatic",async setup(a,{attrs:e}){return()=>null}});export{o as default}; diff --git a/_nuxt/Tabs.Pwj-v8mX.js b/_nuxt/Tabs.FBYCxPJB.js similarity index 96% rename from _nuxt/Tabs.Pwj-v8mX.js rename to _nuxt/Tabs.FBYCxPJB.js index 8cd4b890..2f735f93 100644 --- a/_nuxt/Tabs.Pwj-v8mX.js +++ b/_nuxt/Tabs.FBYCxPJB.js @@ -1 +1 @@ -import{d as _,a$ as k,ag as w,ah as C,r as I,G as B,b as s,c as o,e as u,n as l,aA as e,F as v,a8 as y,a9 as f,f as S,t as A,al as D,am as N,b2 as $,ab as z,a4 as F}from"./entry.n8fVlM9F.js";const G=["onClick"],j=_({inheritAttrs:!1,__name:"Tabs",props:{selectedIndex:{type:Number,default:0},class:{type:[String,Object,Array],default:void 0}},setup(g){const h={wrapper:"relative my-5 space-y-6",header:"flex items-center relative",border:"absolute bottom-0 inset-x-0 w-full h-px bg-gray-200 dark:bg-gray-800",tab:{base:"px-4 py-2.5 font-semibold text-sm/6 flex items-center gap-1.5 border-b z-[1] focus-visible:outline-primary",active:"text-primary border-primary",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 border-transparent hover:border-gray-300 dark:hover:border-gray-700",icon:{base:"w-5 h-5 flex-shrink-0"}}},b=g,i=k(),{ui:r,attrs:x}=w("content.codeGroup",void 0,h,C(b,"class"),!0),p=I(b.selectedIndex||0),m=B(()=>{var d;return((d=i.default)==null?void 0:d.call(i).map((n,c)=>{var t,a;return{index:c,label:((t=n.props)==null?void 0:t.label)||`${c}`,icon:(a=n.props)==null?void 0:a.icon,component:n}}))||[]});return(d,n)=>{const c=F;return s(),o("div",z({class:e(r).wrapper},e(x)),[u("div",{class:l(e(r).header)},[u("div",{class:l(e(r).border)},null,2),(s(!0),o(v,null,y(e(m),(t,a)=>(s(),o("button",{key:a,class:l([e(r).tab.base,e(p)===a?e(r).tab.active:e(r).tab.inactive]),onClick:U=>p.value=a},[t.icon?(s(),f(c,{key:0,name:t.icon,class:l(e(r).tab.icon.base)},null,8,["name","class"])):S("",!0),u("span",null,A(t.label),1)],10,G))),128))],2),(s(!0),o(v,null,y(e(m),(t,a)=>D((s(),o("div",{key:a},[(s(),f($(t.component)))])),[[N,e(p)===a]])),128))],16)}}});export{j as default}; +import{d as _,a$ as k,ag as w,ah as C,r as I,G as B,b as s,c as o,e as u,n as l,aA as e,F as v,a8 as y,a9 as f,f as S,t as A,al as D,am as N,b2 as $,ab as z,a4 as F}from"./entry.YSgWRBMm.js";const G=["onClick"],j=_({inheritAttrs:!1,__name:"Tabs",props:{selectedIndex:{type:Number,default:0},class:{type:[String,Object,Array],default:void 0}},setup(g){const h={wrapper:"relative my-5 space-y-6",header:"flex items-center relative",border:"absolute bottom-0 inset-x-0 w-full h-px bg-gray-200 dark:bg-gray-800",tab:{base:"px-4 py-2.5 font-semibold text-sm/6 flex items-center gap-1.5 border-b z-[1] focus-visible:outline-primary",active:"text-primary border-primary",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 border-transparent hover:border-gray-300 dark:hover:border-gray-700",icon:{base:"w-5 h-5 flex-shrink-0"}}},b=g,i=k(),{ui:r,attrs:x}=w("content.codeGroup",void 0,h,C(b,"class"),!0),p=I(b.selectedIndex||0),m=B(()=>{var d;return((d=i.default)==null?void 0:d.call(i).map((n,c)=>{var t,a;return{index:c,label:((t=n.props)==null?void 0:t.label)||`${c}`,icon:(a=n.props)==null?void 0:a.icon,component:n}}))||[]});return(d,n)=>{const c=F;return s(),o("div",z({class:e(r).wrapper},e(x)),[u("div",{class:l(e(r).header)},[u("div",{class:l(e(r).border)},null,2),(s(!0),o(v,null,y(e(m),(t,a)=>(s(),o("button",{key:a,class:l([e(r).tab.base,e(p)===a?e(r).tab.active:e(r).tab.inactive]),onClick:U=>p.value=a},[t.icon?(s(),f(c,{key:0,name:t.icon,class:l(e(r).tab.icon.base)},null,8,["name","class"])):S("",!0),u("span",null,A(t.label),1)],10,G))),128))],2),(s(!0),o(v,null,y(e(m),(t,a)=>D((s(),o("div",{key:a},[(s(),f($(t.component)))])),[[N,e(p)===a]])),128))],16)}}});export{j as default}; diff --git a/_nuxt/VoltaBoard.H4JZvknu.js b/_nuxt/VoltaBoard.unmktSf8.js similarity index 81% rename from _nuxt/VoltaBoard.H4JZvknu.js rename to _nuxt/VoltaBoard.unmktSf8.js index d194b764..56fc149f 100644 --- a/_nuxt/VoltaBoard.H4JZvknu.js +++ b/_nuxt/VoltaBoard.unmktSf8.js @@ -1 +1 @@ -import{d as n,G as r,b as s,c,aA as a}from"./entry.n8fVlM9F.js";const p=["src"],d=n({__name:"VoltaBoard",props:{token:{type:String,required:!0}},setup(e){const t=e,o=r(()=>`https://volta.net/embed/${t.token}`);return(i,l)=>(s(),c("iframe",{style:{width:"100%","min-height":"calc(100vh / 1.5)"},src:a(o)},null,8,p))}});export{d as default}; +import{d as n,G as r,b as s,c,aA as a}from"./entry.YSgWRBMm.js";const p=["src"],d=n({__name:"VoltaBoard",props:{token:{type:String,required:!0}},setup(e){const t=e,o=r(()=>`https://volta.net/embed/${t.token}`);return(i,l)=>(s(),c("iframe",{style:{width:"100%","min-height":"calc(100vh / 1.5)"},src:a(o)},null,8,p))}});export{d as default}; diff --git a/_nuxt/WithoutCache.p1OeQaMJ.js b/_nuxt/WithoutCache.a4ZxGhRP.js similarity index 55% rename from _nuxt/WithoutCache.p1OeQaMJ.js rename to _nuxt/WithoutCache.a4ZxGhRP.js index 52f767af..a917a89a 100644 --- a/_nuxt/WithoutCache.p1OeQaMJ.js +++ b/_nuxt/WithoutCache.a4ZxGhRP.js @@ -1 +1 @@ -import{d as t}from"./entry.n8fVlM9F.js";const o=t({name:"OgImageWithoutCache",async setup(e,{attrs:a}){return()=>null}});export{o as default}; +import{d as t}from"./entry.YSgWRBMm.js";const o=t({name:"OgImageWithoutCache",async setup(e,{attrs:a}){return()=>null}});export{o as default}; diff --git a/_nuxt/_...slug_.t8EqlsH8.js b/_nuxt/_...slug_.dWwFjP0b.js similarity index 98% rename from _nuxt/_...slug_.t8EqlsH8.js rename to _nuxt/_...slug_.dWwFjP0b.js index 85a58d2a..d842b939 100644 --- a/_nuxt/_...slug_.t8EqlsH8.js +++ b/_nuxt/_...slug_.dWwFjP0b.js @@ -1 +1 @@ -import{d as C,ag as A,ah as b,b as o,c as d,n as l,aA as e,aa as k,j as D,t as $,f as g,e as f,g as S,F as B,a8 as E,a9 as h,ab as x,a4 as j,af as oe,w as O,aC as ie,l as le,ad as ce,ae as Z,a5 as q,G as U,aD as N,ak as H,y as M,aE as ue,aF as de,r as P,N as pe,aG as ge,aH as ye,u as me,aI as fe,k as be,v as ve,aJ as ee,aK as he,aL as ke,an as te,aM as ae,aN as xe,aO as _e,s as se,aP as we}from"./entry.n8fVlM9F.js";import $e from"./ContentRenderer.U61vDq8M.js";import"./ContentRendererMarkdown.vue.08XeXCxx.js";import"./MDCRenderer.o5m2R7Hl.js";const Se={wrapper:{base:"flex items-center align-center text-center w-full",horizontal:"flex-row",vertical:"flex-col"},container:{base:"font-medium text-gray-700 dark:text-gray-200 flex",horizontal:"mx-3 whitespace-nowrap",vertical:"my-2"},border:{base:"flex border-gray-200 dark:border-gray-800",horizontal:"w-full",vertical:"h-full",size:{horizontal:"border-t",vertical:"border-s"},type:{solid:"border-solid",dotted:"border-dotted",dashed:"border-dashed"}},icon:{base:"flex-shrink-0 w-5 h-5"},avatar:{base:"flex-shrink-0",size:"2xs"},label:"text-sm"},Ce={class:"flex flex-col lg:flex-row items-start gap-6"},Ae={class:"flex-1"},Ue=C({inheritAttrs:!1,__name:"PageHeader",props:{headline:{type:String,default:void 0},title:{type:String,default:void 0},description:{type:String,default:void 0},icon:{type:String,default:void 0},links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r={wrapper:"relative border-b border-gray-200 dark:border-gray-800 py-8",container:"flex flex-col lg:flex-row lg:items-center lg:justify-between",headline:"mb-4 text-sm font-semibold text-primary flex items-center gap-1.5",title:"text-3xl sm:text-4xl font-bold text-gray-900 dark:text-white tracking-tight",description:"mt-4 text-lg text-gray-500 dark:text-gray-400",icon:{wrapper:"flex",base:"w-10 h-10 flex-shrink-0 text-primary"},links:"flex flex-wrap items-center gap-1.5 mt-4 lg:mt-0"},i=t,{ui:n,attrs:s}=A("page.header",b(i,"ui"),r,b(i,"class"),!0);return(a,c)=>{var p;const y=j,m=oe;return o(),d("div",x({class:e(n).wrapper},e(s)),[t.headline||a.$slots.headline?(o(),d("div",{key:0,class:l(e(n).headline)},[k(a.$slots,"headline",{},()=>[D($(t.headline),1)])],2)):g("",!0),f("div",Ce,[t.icon||a.$slots.icon?(o(),d("div",{key:0,class:l(e(n).icon.wrapper)},[k(a.$slots,"icon",{},()=>[S(y,{name:t.icon,class:l(e(n).icon.base)},null,8,["name","class"])])],2)):g("",!0),f("div",Ae,[f("div",{class:l(e(n).container)},[f("h1",{class:l(e(n).title)},[k(a.$slots,"title",{},()=>[D($(t.title),1)])],2),(p=t.links)!=null&&p.length||a.$slots.links?(o(),d("div",{key:0,class:l(e(n).links)},[k(a.$slots,"links",{},()=>[(o(!0),d(B,null,E(t.links,(v,u)=>(o(),h(m,x({key:u},{...v,target:v.target||"_blank",color:v.color||"white"},{onClick:v.click}),null,16,["onClick"]))),128))])],2)):g("",!0)],2),t.description||a.$slots.description?(o(),d("p",{key:0,class:l(e(n).description)},[k(a.$slots,"description",{},()=>[D($(t.description),1)])],2)):g("",!0),k(a.$slots,"default")])])],16)}}}),Oe=C({inheritAttrs:!1,__name:"DocsSurroundLink",props:{link:{type:Object,required:!0},icon:{type:String,default:void 0},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r={wrapper:"block px-6 py-8 border not-prose rounded-lg border-gray-200 dark:border-gray-800 hover:bg-gray-100/50 dark:hover:bg-gray-800/50 group",icon:{wrapper:"inline-flex items-center rounded-full p-1.5 bg-gray-100 dark:bg-gray-800 group-hover:bg-primary/10 ring-1 ring-gray-300 dark:ring-gray-700 mb-4 group-hover:ring-primary/50",base:"w-5 h-5 text-gray-900 dark:text-white group-hover:text-primary"},title:"font-medium text-gray-900 dark:text-white text-[15px] mb-1",description:"text-sm font-normal text-gray-500 dark:text-gray-400 line-clamp-2"},i=t,{ui:n,attrs:s}=A("docs.surround.link",b(i,"ui"),r,b(i,"class"),!0);return(a,c)=>{const y=j,m=ie;return o(),h(m,x({to:t.link._path,class:e(n).wrapper},e(s)),{default:O(()=>[t.icon||t.link.icon?(o(),d("div",{key:0,class:l(e(n).icon.wrapper)},[S(y,{name:t.icon||t.link.icon,class:l(e(n).icon.base)},null,8,["name","class"])],2)):g("",!0),f("p",{class:l(e(n).title)},$(t.link.title),3),f("p",{class:l(e(n).description)},$(t.link.description),3)]),_:1},16,["to","class"])}}}),je={key:1,class:"hidden sm:block"},Ie=C({inheritAttrs:!1,__name:"DocsSurround",props:{surround:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r={wrapper:"grid gap-8 sm:grid-cols-2",icon:{prev:"i-heroicons-arrow-left-20-solid",next:"i-heroicons-arrow-right-20-solid"},link:{}},i=t,{ui:n,attrs:s}=A("docs.surround",b(i,"ui"),r,b(i,"class"),!0),[a,c]=i.surround||[];return(y,m)=>{const p=Oe;return o(),d("div",x({class:e(n).wrapper},e(s)),[e(a)?(o(),h(p,{key:0,link:e(a),ui:e(n).link,icon:e(n).icon.prev},null,8,["link","ui","icon"])):(o(),d("span",je," ")),e(c)?(o(),h(p,{key:2,link:e(c),ui:e(n).link,icon:e(n).icon.next,class:"text-right"},null,8,["link","ui","icon"])):g("",!0)],16)}}}),ze=C({inheritAttrs:!1,__name:"PageBody",props:{prose:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r={wrapper:"mt-8 pb-24",prose:"prose prose-primary dark:prose-invert max-w-none"},i=t,{ui:n,attrs:s}=A("page.body",b(i,"ui"),r,b(i,"class"),!0);return(a,c)=>(o(),d("div",x({class:[e(n).wrapper,t.prose&&e(n).prose]},e(s)),[k(a.$slots,"default")],16))}}),De=ce(Z.ui.strategy,Z.ui.divider,Se),Le=C({components:{UIcon:j,UAvatar:q},inheritAttrs:!1,props:{label:{type:String,default:null},icon:{type:String,default:null},avatar:{type:Object,default:null},orientation:{type:String,default:"horizontal",validator:t=>["horizontal","vertical"].includes(t)},type:{type:String,default:"solid",validator:t=>["solid","dotted","dashed"].includes(t)},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(t){const{ui:r,attrs:i}=A("divider",b(t,"ui"),De),n=U(()=>N(H(r.value.wrapper.base,r.value.wrapper[t.orientation]),t.class)),s=U(()=>H(r.value.container.base,r.value.container[t.orientation])),a=U(()=>H(r.value.border.base,r.value.border[t.orientation],r.value.border.size[t.orientation],r.value.border.type[t.type]));return{ui:r,attrs:i,wrapperClass:n,containerClass:s,borderClass:a}}});function Pe(t,r,i,n,s,a){const c=j,y=q;return o(),d("div",x({class:t.wrapperClass},t.attrs),[f("div",{class:l(t.borderClass)},null,2),t.label||t.icon||t.avatar||t.$slots.default?(o(),d(B,{key:0},[f("div",{class:l(t.containerClass)},[k(t.$slots,"default",{},()=>[t.label?(o(),d("span",{key:0,class:l(t.ui.label)},$(t.label),3)):t.icon?(o(),h(c,{key:1,name:t.icon,class:l(t.ui.icon.base)},null,8,["name","class"])):t.avatar?(o(),h(y,x({key:2},{size:t.ui.avatar.size,...t.avatar},{class:t.ui.avatar.base}),null,16,["class"])):g("",!0)])],2),f("div",{class:l(t.borderClass)},null,2)],64)):g("",!0)],16)}const Be=le(Le,[["render",Pe]]),Te=C({inheritAttrs:!1,__name:"PageLinks",props:{title:{type:String,default:void 0},links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r=M(),i=U(()=>({wrapper:"space-y-3",title:"text-sm/6 font-semibold flex items-center gap-1.5",container:"space-y-3 lg:space-y-1.5",base:"flex items-center gap-1.5",active:"text-primary",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200",icon:{base:"w-5 h-5 flex-shrink-0"},avatar:{base:"self-center",size:"2xs"},externalIcon:{name:r.ui.icons.external,base:"w-3 h-3 absolute top-0.5 -right-3.5 text-gray-400 dark:text-gray-500"},label:"text-sm/6 font-medium relative"})),n=t,{ui:s,attrs:a}=A("page.links",b(n,"ui"),i,b(n,"class"),!0);return(c,y)=>{const m=j,p=q,v=de;return o(),d("div",x({class:e(s).wrapper},e(a)),[t.title||c.$slots.title?(o(),d("p",{key:0,class:l(e(s).title)},[k(c.$slots,"title",{},()=>[D($(t.title),1)])],2)):g("",!0),f("div",{class:l(e(s).container)},[k(c.$slots,"default",{},()=>[(o(!0),d(B,null,E(t.links,(u,_)=>(o(),h(v,x({key:_},e(ue)(u),{class:e(s).base,"active-class":e(s).active,"inactive-class":e(s).inactive,onClick:u.click}),{default:O(()=>[u.icon?(o(),h(m,{key:0,name:u.icon,class:l(e(N)(e(s).icon.base,u.iconClass))},null,8,["name","class"])):g("",!0),u.avatar?(o(),h(p,x({key:1},{size:e(s).avatar.size,...u.avatar},{class:e(N)(e(s).avatar.base,u.avatarClass)}),null,16,["class"])):g("",!0),f("span",{class:l(e(s).label)},[D($(u.label)+" ",1),u.target==="_blank"?(o(),h(m,{key:0,name:e(s).externalIcon.name,class:l(e(s).externalIcon.base)},null,8,["name","class"])):g("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))])],2)],16)}}}),He=()=>{const t=P(),r=P([]),i=P([]),n=a=>{a.forEach(c=>{const y=c.target.id;c.isIntersecting?r.value=[...r.value,y]:r.value=r.value.filter(m=>m!==y)})},s=a=>{a.forEach(c=>{t.value&&t.value.observe(c)})};return pe(r,(a,c)=>{a.length===0?i.value=c:i.value=a}),ge(()=>t.value=new IntersectionObserver(n)),ye(()=>{var a;return(a=t.value)==null?void 0:a.disconnect()}),{visibleHeadings:r,activeHeadings:i,updateHeadings:s}},Ne=["href","onClick"],ne=C({inheritAttrs:!1,__name:"DocsTocLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},emits:["move"],setup(t,{emit:r}){const i={wrapper:"space-y-1",base:"block text-sm/6 truncate",active:"text-primary",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200",depth:"ml-3"},n=t,s=r,a=me(),c=be(),{activeHeadings:y,updateHeadings:m}=He(),{ui:p,attrs:v}=A("docs.toc.links",b(n,"ui"),i,b(n,"class"),!0);c.hooks.hookOnce("page:finish",()=>{m([...document.querySelectorAll("h2"),...document.querySelectorAll("h3")])});const u=_=>{const I=encodeURIComponent(_);a.push(`#${I}`),s("move",_)};return(_,I)=>{var L;const T=ne;return(L=t.links)!=null&&L.length?(o(),d("ul",x({key:0,class:e(p).wrapper},e(v)),[(o(!0),d(B,null,E(t.links,w=>(o(),d("li",{key:w.text,class:l([e(p).wrapper,w.depth===3&&e(p).depth])},[f("a",{href:`#${w.id}`,class:l([e(p).base,e(y).includes(w.id)?e(p).active:e(p).inactive]),onClick:fe(R=>u(w.id),["prevent"])},$(w.text),11,Ne),w.children?(o(),h(T,{key:0,links:w.children},null,8,["links"])):g("",!0)],2))),128))],16)):g("",!0)}}}),Ee=C({inheritAttrs:!1,__name:"DocsToc",props:{title:{type:String,default:"Table of Contents"},links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r=M(),i=U(()=>({wrapper:"sticky top-[--header-height] bg-background/75 backdrop-blur -mx-4 sm:-mx-6 px-4 sm:px-6 lg:px-4 lg:-mx-4 overflow-y-auto max-h-[calc(100vh-var(--header-height))]",container:{base:"py-3 lg:py-8 border-b border-dashed border-gray-200 dark:border-gray-800 lg:border-0 space-y-3",empty:"lg:py-8 space-y-3"},button:{base:"flex items-center gap-1.5 lg:cursor-text lg:select-text w-full group",label:"font-semibold text-sm/6 truncate",trailingIcon:{name:r.ui.icons.chevron,base:"w-5 h-5 ms-auto transform transition-transform duration-200 flex-shrink-0 mr-1.5",active:"text-gray-700 dark:text-gray-200",inactive:"text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200 -rotate-90"}},links:{}})),n=t,{ui:s,attrs:a}=A("docs.toc",b(n,"ui"),i,b(n,"class"),!0),c=P(!1);return(y,m)=>{var u,_;const p=j,v=ne;return o(),d("nav",x({class:e(s).wrapper},e(a)),[f("div",{class:l([(u=t.links)!=null&&u.length?e(s).container.base:e(s).container.empty])},[k(y.$slots,"top"),(_=t.links)!=null&&_.length?(o(),d("button",{key:0,class:l(e(s).button.base),tabindex:"-1",onClick:m[0]||(m[0]=I=>c.value=!e(c))},[f("span",{class:l(e(s).button.label)},$(t.title),3),S(p,{name:e(s).button.trailingIcon.name,class:l(["lg:!hidden",[e(s).button.trailingIcon.base,e(c)?e(s).button.trailingIcon.active:e(s).button.trailingIcon.inactive]])},null,8,["name","class"])],2)):g("",!0),S(v,{links:t.links,ui:e(s).links,class:l([e(c)?"lg:block":"hidden lg:block"])},null,8,["links","ui","class"]),k(y.$slots,"bottom")],2)],16)}}}),qe={key:1},Ge=C({__name:"[...slug]",async setup(t){let r,i;const n=ve(),{toc:s}=M(),{data:a}=([r,i]=ee(()=>ae(n.path,()=>se(n.path).findOne(),"$aROEKgqrzL")),r=await r,i(),r);if(!a.value)throw he({statusCode:404,statusMessage:"Page not found",fatal:!0});const{data:c}=([r,i]=ee(()=>ae(`${n.path}-surround`,()=>se().where({_extension:"md",navigation:{$ne:!1}}).only(["title","description","_path"]).findSurround(we(n.path)))),r=await r,i(),r);ke({titleTemplate:"%s - Nuxt x Supabase - Docs",title:a.value.title,ogTitle:`${a.value.title} - Nuxt x Supabase - Docs`,description:a.value.description,ogDescription:a.value.description});const y=U(()=>xe(a.value)),m=U(()=>{var p,v,u;return[((p=s==null?void 0:s.bottom)==null?void 0:p.edit)&&{icon:"i-heroicons-pencil-square",label:"Edit this page",to:`${s.bottom.edit}/${(v=a==null?void 0:a.value)==null?void 0:v._file}`,target:"_blank"},...((u=s==null?void 0:s.bottom)==null?void 0:u.links)||[]].filter(Boolean)});return(p,v)=>{const u=Ue,_=$e,I=Ie,T=ze,L=Be,w=Te,R=Ee,re=_e;return o(),h(re,null,te({default:O(()=>[S(u,{title:e(a).title,description:e(a).description,links:e(a).links,headline:e(y)},null,8,["title","description","links","headline"]),S(T,{prose:""},{default:O(()=>{var z;return[e(a).body?(o(),h(_,{key:0,value:e(a)},null,8,["value"])):g("",!0),(z=e(c))!=null&&z.length?(o(),d("hr",qe)):g("",!0),S(I,{surround:e(c)},null,8,["surround"])]}),_:1})]),_:2},[e(a).toc!==!1?{name:"right",fn:O(()=>{var z,V,F,G;return[S(R,{title:(z=e(s))==null?void 0:z.title,links:(F=(V=e(a).body)==null?void 0:V.toc)==null?void 0:F.links},te({_:2},[(G=e(s))!=null&&G.bottom?{name:"bottom",fn:O(()=>{var J,K,Q,W,X,Y;return[f("div",{class:l(["hidden lg:block space-y-6",{"!mt-6":(Q=(K=(J=e(a).body)==null?void 0:J.toc)==null?void 0:K.links)==null?void 0:Q.length}])},[(Y=(X=(W=e(a).body)==null?void 0:W.toc)==null?void 0:X.links)!=null&&Y.length?(o(),h(L,{key:0,type:"dashed"})):g("",!0),S(w,{title:e(s).bottom.title,links:e(m)},null,8,["title","links"])],2)]}),key:"0"}:void 0]),1032,["title","links"])]}),key:"0"}:void 0]),1024)}}});export{Ge as default}; +import{d as C,ag as A,ah as b,b as o,c as d,n as l,aA as e,aa as k,j as D,t as $,f as g,e as f,g as S,F as B,a8 as E,a9 as h,ab as x,a4 as j,af as oe,w as O,aC as ie,l as le,ad as ce,ae as Z,a5 as q,G as U,aD as N,ak as H,y as M,aE as ue,aF as de,r as P,N as pe,aG as ge,aH as ye,u as me,aI as fe,k as be,v as ve,aJ as ee,aK as he,aL as ke,an as te,aM as ae,aN as xe,aO as _e,s as se,aP as we}from"./entry.YSgWRBMm.js";import $e from"./ContentRenderer.Snp_p6di.js";import"./ContentRendererMarkdown.vue.wsrTaKXh.js";import"./MDCRenderer.0MFNxIgT.js";const Se={wrapper:{base:"flex items-center align-center text-center w-full",horizontal:"flex-row",vertical:"flex-col"},container:{base:"font-medium text-gray-700 dark:text-gray-200 flex",horizontal:"mx-3 whitespace-nowrap",vertical:"my-2"},border:{base:"flex border-gray-200 dark:border-gray-800",horizontal:"w-full",vertical:"h-full",size:{horizontal:"border-t",vertical:"border-s"},type:{solid:"border-solid",dotted:"border-dotted",dashed:"border-dashed"}},icon:{base:"flex-shrink-0 w-5 h-5"},avatar:{base:"flex-shrink-0",size:"2xs"},label:"text-sm"},Ce={class:"flex flex-col lg:flex-row items-start gap-6"},Ae={class:"flex-1"},Ue=C({inheritAttrs:!1,__name:"PageHeader",props:{headline:{type:String,default:void 0},title:{type:String,default:void 0},description:{type:String,default:void 0},icon:{type:String,default:void 0},links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r={wrapper:"relative border-b border-gray-200 dark:border-gray-800 py-8",container:"flex flex-col lg:flex-row lg:items-center lg:justify-between",headline:"mb-4 text-sm font-semibold text-primary flex items-center gap-1.5",title:"text-3xl sm:text-4xl font-bold text-gray-900 dark:text-white tracking-tight",description:"mt-4 text-lg text-gray-500 dark:text-gray-400",icon:{wrapper:"flex",base:"w-10 h-10 flex-shrink-0 text-primary"},links:"flex flex-wrap items-center gap-1.5 mt-4 lg:mt-0"},i=t,{ui:n,attrs:s}=A("page.header",b(i,"ui"),r,b(i,"class"),!0);return(a,c)=>{var p;const y=j,m=oe;return o(),d("div",x({class:e(n).wrapper},e(s)),[t.headline||a.$slots.headline?(o(),d("div",{key:0,class:l(e(n).headline)},[k(a.$slots,"headline",{},()=>[D($(t.headline),1)])],2)):g("",!0),f("div",Ce,[t.icon||a.$slots.icon?(o(),d("div",{key:0,class:l(e(n).icon.wrapper)},[k(a.$slots,"icon",{},()=>[S(y,{name:t.icon,class:l(e(n).icon.base)},null,8,["name","class"])])],2)):g("",!0),f("div",Ae,[f("div",{class:l(e(n).container)},[f("h1",{class:l(e(n).title)},[k(a.$slots,"title",{},()=>[D($(t.title),1)])],2),(p=t.links)!=null&&p.length||a.$slots.links?(o(),d("div",{key:0,class:l(e(n).links)},[k(a.$slots,"links",{},()=>[(o(!0),d(B,null,E(t.links,(v,u)=>(o(),h(m,x({key:u},{...v,target:v.target||"_blank",color:v.color||"white"},{onClick:v.click}),null,16,["onClick"]))),128))])],2)):g("",!0)],2),t.description||a.$slots.description?(o(),d("p",{key:0,class:l(e(n).description)},[k(a.$slots,"description",{},()=>[D($(t.description),1)])],2)):g("",!0),k(a.$slots,"default")])])],16)}}}),Oe=C({inheritAttrs:!1,__name:"DocsSurroundLink",props:{link:{type:Object,required:!0},icon:{type:String,default:void 0},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r={wrapper:"block px-6 py-8 border not-prose rounded-lg border-gray-200 dark:border-gray-800 hover:bg-gray-100/50 dark:hover:bg-gray-800/50 group",icon:{wrapper:"inline-flex items-center rounded-full p-1.5 bg-gray-100 dark:bg-gray-800 group-hover:bg-primary/10 ring-1 ring-gray-300 dark:ring-gray-700 mb-4 group-hover:ring-primary/50",base:"w-5 h-5 text-gray-900 dark:text-white group-hover:text-primary"},title:"font-medium text-gray-900 dark:text-white text-[15px] mb-1",description:"text-sm font-normal text-gray-500 dark:text-gray-400 line-clamp-2"},i=t,{ui:n,attrs:s}=A("docs.surround.link",b(i,"ui"),r,b(i,"class"),!0);return(a,c)=>{const y=j,m=ie;return o(),h(m,x({to:t.link._path,class:e(n).wrapper},e(s)),{default:O(()=>[t.icon||t.link.icon?(o(),d("div",{key:0,class:l(e(n).icon.wrapper)},[S(y,{name:t.icon||t.link.icon,class:l(e(n).icon.base)},null,8,["name","class"])],2)):g("",!0),f("p",{class:l(e(n).title)},$(t.link.title),3),f("p",{class:l(e(n).description)},$(t.link.description),3)]),_:1},16,["to","class"])}}}),je={key:1,class:"hidden sm:block"},Ie=C({inheritAttrs:!1,__name:"DocsSurround",props:{surround:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r={wrapper:"grid gap-8 sm:grid-cols-2",icon:{prev:"i-heroicons-arrow-left-20-solid",next:"i-heroicons-arrow-right-20-solid"},link:{}},i=t,{ui:n,attrs:s}=A("docs.surround",b(i,"ui"),r,b(i,"class"),!0),[a,c]=i.surround||[];return(y,m)=>{const p=Oe;return o(),d("div",x({class:e(n).wrapper},e(s)),[e(a)?(o(),h(p,{key:0,link:e(a),ui:e(n).link,icon:e(n).icon.prev},null,8,["link","ui","icon"])):(o(),d("span",je," ")),e(c)?(o(),h(p,{key:2,link:e(c),ui:e(n).link,icon:e(n).icon.next,class:"text-right"},null,8,["link","ui","icon"])):g("",!0)],16)}}}),ze=C({inheritAttrs:!1,__name:"PageBody",props:{prose:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r={wrapper:"mt-8 pb-24",prose:"prose prose-primary dark:prose-invert max-w-none"},i=t,{ui:n,attrs:s}=A("page.body",b(i,"ui"),r,b(i,"class"),!0);return(a,c)=>(o(),d("div",x({class:[e(n).wrapper,t.prose&&e(n).prose]},e(s)),[k(a.$slots,"default")],16))}}),De=ce(Z.ui.strategy,Z.ui.divider,Se),Le=C({components:{UIcon:j,UAvatar:q},inheritAttrs:!1,props:{label:{type:String,default:null},icon:{type:String,default:null},avatar:{type:Object,default:null},orientation:{type:String,default:"horizontal",validator:t=>["horizontal","vertical"].includes(t)},type:{type:String,default:"solid",validator:t=>["solid","dotted","dashed"].includes(t)},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(t){const{ui:r,attrs:i}=A("divider",b(t,"ui"),De),n=U(()=>N(H(r.value.wrapper.base,r.value.wrapper[t.orientation]),t.class)),s=U(()=>H(r.value.container.base,r.value.container[t.orientation])),a=U(()=>H(r.value.border.base,r.value.border[t.orientation],r.value.border.size[t.orientation],r.value.border.type[t.type]));return{ui:r,attrs:i,wrapperClass:n,containerClass:s,borderClass:a}}});function Pe(t,r,i,n,s,a){const c=j,y=q;return o(),d("div",x({class:t.wrapperClass},t.attrs),[f("div",{class:l(t.borderClass)},null,2),t.label||t.icon||t.avatar||t.$slots.default?(o(),d(B,{key:0},[f("div",{class:l(t.containerClass)},[k(t.$slots,"default",{},()=>[t.label?(o(),d("span",{key:0,class:l(t.ui.label)},$(t.label),3)):t.icon?(o(),h(c,{key:1,name:t.icon,class:l(t.ui.icon.base)},null,8,["name","class"])):t.avatar?(o(),h(y,x({key:2},{size:t.ui.avatar.size,...t.avatar},{class:t.ui.avatar.base}),null,16,["class"])):g("",!0)])],2),f("div",{class:l(t.borderClass)},null,2)],64)):g("",!0)],16)}const Be=le(Le,[["render",Pe]]),Te=C({inheritAttrs:!1,__name:"PageLinks",props:{title:{type:String,default:void 0},links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r=M(),i=U(()=>({wrapper:"space-y-3",title:"text-sm/6 font-semibold flex items-center gap-1.5",container:"space-y-3 lg:space-y-1.5",base:"flex items-center gap-1.5",active:"text-primary",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200",icon:{base:"w-5 h-5 flex-shrink-0"},avatar:{base:"self-center",size:"2xs"},externalIcon:{name:r.ui.icons.external,base:"w-3 h-3 absolute top-0.5 -right-3.5 text-gray-400 dark:text-gray-500"},label:"text-sm/6 font-medium relative"})),n=t,{ui:s,attrs:a}=A("page.links",b(n,"ui"),i,b(n,"class"),!0);return(c,y)=>{const m=j,p=q,v=de;return o(),d("div",x({class:e(s).wrapper},e(a)),[t.title||c.$slots.title?(o(),d("p",{key:0,class:l(e(s).title)},[k(c.$slots,"title",{},()=>[D($(t.title),1)])],2)):g("",!0),f("div",{class:l(e(s).container)},[k(c.$slots,"default",{},()=>[(o(!0),d(B,null,E(t.links,(u,_)=>(o(),h(v,x({key:_},e(ue)(u),{class:e(s).base,"active-class":e(s).active,"inactive-class":e(s).inactive,onClick:u.click}),{default:O(()=>[u.icon?(o(),h(m,{key:0,name:u.icon,class:l(e(N)(e(s).icon.base,u.iconClass))},null,8,["name","class"])):g("",!0),u.avatar?(o(),h(p,x({key:1},{size:e(s).avatar.size,...u.avatar},{class:e(N)(e(s).avatar.base,u.avatarClass)}),null,16,["class"])):g("",!0),f("span",{class:l(e(s).label)},[D($(u.label)+" ",1),u.target==="_blank"?(o(),h(m,{key:0,name:e(s).externalIcon.name,class:l(e(s).externalIcon.base)},null,8,["name","class"])):g("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))])],2)],16)}}}),He=()=>{const t=P(),r=P([]),i=P([]),n=a=>{a.forEach(c=>{const y=c.target.id;c.isIntersecting?r.value=[...r.value,y]:r.value=r.value.filter(m=>m!==y)})},s=a=>{a.forEach(c=>{t.value&&t.value.observe(c)})};return pe(r,(a,c)=>{a.length===0?i.value=c:i.value=a}),ge(()=>t.value=new IntersectionObserver(n)),ye(()=>{var a;return(a=t.value)==null?void 0:a.disconnect()}),{visibleHeadings:r,activeHeadings:i,updateHeadings:s}},Ne=["href","onClick"],ne=C({inheritAttrs:!1,__name:"DocsTocLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},emits:["move"],setup(t,{emit:r}){const i={wrapper:"space-y-1",base:"block text-sm/6 truncate",active:"text-primary",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200",depth:"ml-3"},n=t,s=r,a=me(),c=be(),{activeHeadings:y,updateHeadings:m}=He(),{ui:p,attrs:v}=A("docs.toc.links",b(n,"ui"),i,b(n,"class"),!0);c.hooks.hookOnce("page:finish",()=>{m([...document.querySelectorAll("h2"),...document.querySelectorAll("h3")])});const u=_=>{const I=encodeURIComponent(_);a.push(`#${I}`),s("move",_)};return(_,I)=>{var L;const T=ne;return(L=t.links)!=null&&L.length?(o(),d("ul",x({key:0,class:e(p).wrapper},e(v)),[(o(!0),d(B,null,E(t.links,w=>(o(),d("li",{key:w.text,class:l([e(p).wrapper,w.depth===3&&e(p).depth])},[f("a",{href:`#${w.id}`,class:l([e(p).base,e(y).includes(w.id)?e(p).active:e(p).inactive]),onClick:fe(R=>u(w.id),["prevent"])},$(w.text),11,Ne),w.children?(o(),h(T,{key:0,links:w.children},null,8,["links"])):g("",!0)],2))),128))],16)):g("",!0)}}}),Ee=C({inheritAttrs:!1,__name:"DocsToc",props:{title:{type:String,default:"Table of Contents"},links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(t){const r=M(),i=U(()=>({wrapper:"sticky top-[--header-height] bg-background/75 backdrop-blur -mx-4 sm:-mx-6 px-4 sm:px-6 lg:px-4 lg:-mx-4 overflow-y-auto max-h-[calc(100vh-var(--header-height))]",container:{base:"py-3 lg:py-8 border-b border-dashed border-gray-200 dark:border-gray-800 lg:border-0 space-y-3",empty:"lg:py-8 space-y-3"},button:{base:"flex items-center gap-1.5 lg:cursor-text lg:select-text w-full group",label:"font-semibold text-sm/6 truncate",trailingIcon:{name:r.ui.icons.chevron,base:"w-5 h-5 ms-auto transform transition-transform duration-200 flex-shrink-0 mr-1.5",active:"text-gray-700 dark:text-gray-200",inactive:"text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200 -rotate-90"}},links:{}})),n=t,{ui:s,attrs:a}=A("docs.toc",b(n,"ui"),i,b(n,"class"),!0),c=P(!1);return(y,m)=>{var u,_;const p=j,v=ne;return o(),d("nav",x({class:e(s).wrapper},e(a)),[f("div",{class:l([(u=t.links)!=null&&u.length?e(s).container.base:e(s).container.empty])},[k(y.$slots,"top"),(_=t.links)!=null&&_.length?(o(),d("button",{key:0,class:l(e(s).button.base),tabindex:"-1",onClick:m[0]||(m[0]=I=>c.value=!e(c))},[f("span",{class:l(e(s).button.label)},$(t.title),3),S(p,{name:e(s).button.trailingIcon.name,class:l(["lg:!hidden",[e(s).button.trailingIcon.base,e(c)?e(s).button.trailingIcon.active:e(s).button.trailingIcon.inactive]])},null,8,["name","class"])],2)):g("",!0),S(v,{links:t.links,ui:e(s).links,class:l([e(c)?"lg:block":"hidden lg:block"])},null,8,["links","ui","class"]),k(y.$slots,"bottom")],2)],16)}}}),qe={key:1},Ge=C({__name:"[...slug]",async setup(t){let r,i;const n=ve(),{toc:s}=M(),{data:a}=([r,i]=ee(()=>ae(n.path,()=>se(n.path).findOne(),"$aROEKgqrzL")),r=await r,i(),r);if(!a.value)throw he({statusCode:404,statusMessage:"Page not found",fatal:!0});const{data:c}=([r,i]=ee(()=>ae(`${n.path}-surround`,()=>se().where({_extension:"md",navigation:{$ne:!1}}).only(["title","description","_path"]).findSurround(we(n.path)))),r=await r,i(),r);ke({titleTemplate:"%s - Nuxt x Supabase - Docs",title:a.value.title,ogTitle:`${a.value.title} - Nuxt x Supabase - Docs`,description:a.value.description,ogDescription:a.value.description});const y=U(()=>xe(a.value)),m=U(()=>{var p,v,u;return[((p=s==null?void 0:s.bottom)==null?void 0:p.edit)&&{icon:"i-heroicons-pencil-square",label:"Edit this page",to:`${s.bottom.edit}/${(v=a==null?void 0:a.value)==null?void 0:v._file}`,target:"_blank"},...((u=s==null?void 0:s.bottom)==null?void 0:u.links)||[]].filter(Boolean)});return(p,v)=>{const u=Ue,_=$e,I=Ie,T=ze,L=Be,w=Te,R=Ee,re=_e;return o(),h(re,null,te({default:O(()=>[S(u,{title:e(a).title,description:e(a).description,links:e(a).links,headline:e(y)},null,8,["title","description","links","headline"]),S(T,{prose:""},{default:O(()=>{var z;return[e(a).body?(o(),h(_,{key:0,value:e(a)},null,8,["value"])):g("",!0),(z=e(c))!=null&&z.length?(o(),d("hr",qe)):g("",!0),S(I,{surround:e(c)},null,8,["surround"])]}),_:1})]),_:2},[e(a).toc!==!1?{name:"right",fn:O(()=>{var z,V,F,G;return[S(R,{title:(z=e(s))==null?void 0:z.title,links:(F=(V=e(a).body)==null?void 0:V.toc)==null?void 0:F.links},te({_:2},[(G=e(s))!=null&&G.bottom?{name:"bottom",fn:O(()=>{var J,K,Q,W,X,Y;return[f("div",{class:l(["hidden lg:block space-y-6",{"!mt-6":(Q=(K=(J=e(a).body)==null?void 0:J.toc)==null?void 0:K.links)==null?void 0:Q.length}])},[(Y=(X=(W=e(a).body)==null?void 0:W.toc)==null?void 0:X.links)!=null&&Y.length?(o(),h(L,{key:0,type:"dashed"})):g("",!0),S(w,{title:e(s).bottom.title,links:e(m)},null,8,["title","links"])],2)]}),key:"0"}:void 0]),1032,["title","links"])]}),key:"0"}:void 0]),1024)}}});export{Ge as default}; diff --git a/_nuxt/builds/latest.json b/_nuxt/builds/latest.json index 5fbeea19..49da7065 100644 --- a/_nuxt/builds/latest.json +++ b/_nuxt/builds/latest.json @@ -1 +1 @@ -{"id":"f09453c5-4a08-430c-9c23-82215543834e","timestamp":1706280869177} \ No newline at end of file +{"id":"395fd8a4-c0ee-48c0-aaa7-2fe1d2ac14ab","timestamp":1706281024470} \ No newline at end of file diff --git a/_nuxt/builds/meta/395fd8a4-c0ee-48c0-aaa7-2fe1d2ac14ab.json b/_nuxt/builds/meta/395fd8a4-c0ee-48c0-aaa7-2fe1d2ac14ab.json new file mode 100644 index 00000000..d52a9b9b --- /dev/null +++ b/_nuxt/builds/meta/395fd8a4-c0ee-48c0-aaa7-2fe1d2ac14ab.json @@ -0,0 +1 @@ +{"id":"395fd8a4-c0ee-48c0-aaa7-2fe1d2ac14ab","timestamp":1706281024470,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":["/","/get-started","/authentication","/usage/services/serversupabaseclient","/demo","/usage/services/serversupabaseuser","/usage/composables/usesupabaseuser","/usage/composables/usesupabaseclient","/usage/services/serversupabaseservicerole","/roadmap","/changelog"]} \ No newline at end of file diff --git a/_nuxt/builds/meta/f09453c5-4a08-430c-9c23-82215543834e.json b/_nuxt/builds/meta/f09453c5-4a08-430c-9c23-82215543834e.json deleted file mode 100644 index f84fda7f..00000000 --- a/_nuxt/builds/meta/f09453c5-4a08-430c-9c23-82215543834e.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"f09453c5-4a08-430c-9c23-82215543834e","timestamp":1706280869177,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":["/","/get-started","/authentication","/usage/services/serversupabaseclient","/demo","/usage/services/serversupabaseuser","/usage/composables/usesupabaseuser","/usage/services/serversupabaseservicerole","/usage/composables/usesupabaseclient","/roadmap","/changelog"]} \ No newline at end of file diff --git a/_nuxt/client-db.czaupYgg.js b/_nuxt/client-db.rX5AsS25.js similarity index 99% rename from _nuxt/client-db.czaupYgg.js rename to _nuxt/client-db.rX5AsS25.js index 04738bbb..bb456552 100644 --- a/_nuxt/client-db.czaupYgg.js +++ b/_nuxt/client-db.rX5AsS25.js @@ -1 +1 @@ -import{bd as _,bo as Y,bp as P,bq as E,br as W,bs as B,bt as $,bu as j,bv as b,be as T,bb as k,m as M,bw as J,ba as N,bx as H,k as q}from"./entry.n8fVlM9F.js";import{c as G}from"./_commonjsHelpers.5-cIlDoe.js";const Z="memory",F=()=>{const r=new Map;return{name:Z,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)??null},getItemRaw(t){return r.get(t)??null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function V(r){return!r||typeof r.then!="function"?Promise.resolve(r):r}function p(r,...t){try{return V(r(...t))}catch(n){return Promise.reject(n)}}function Q(r){const t=typeof r;return r===null||t!=="object"&&t!=="function"}function X(r){const t=Object.getPrototypeOf(r);return!t||t.isPrototypeOf(Object)}function K(r){if(Q(r))return String(r);if(X(r)||Array.isArray(r))return JSON.stringify(r);if(typeof r.toJSON=="function")return K(r.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function U(){if(typeof Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}const C="base64:";function ee(r){if(typeof r=="string")return r;U();const t=Buffer.from(r).toString("base64");return C+t}function te(r){return typeof r!="string"||!r.startsWith(C)?r:(U(),Buffer.from(r.slice(C.length),"base64"))}const re=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function ne(r,t){if(t=A(t),!t)return r;const n={...r};for(const a of re)n[a]=(l="",...c)=>r[a](t+l,...c);return n.getKeys=(a="",...l)=>r.getKeys(t+a,...l).then(c=>c.map(o=>o.slice(t.length))),n}function d(r){return r?r.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function ie(...r){return d(r.join(":"))}function A(r){return r=d(r),r?r+":":""}const ae="memory",se=()=>{const r=new Map;return{name:ae,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)??null},getItemRaw(t){return r.get(t)??null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function oe(r={}){const t={mounts:{"":r.driver||se()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=e=>{for(const i of t.mountpoints)if(e.startsWith(i))return{base:i,relativeKey:e.slice(i.length),driver:t.mounts[i]};return{base:"",relativeKey:e,driver:t.mounts[""]}},a=(e,i)=>t.mountpoints.filter(s=>s.startsWith(e)||i&&e.startsWith(s)).map(s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]})),l=(e,i)=>{if(t.watching){i=d(i);for(const s of t.watchListeners)s(e,i)}},c=async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await x(t.mounts[e],l,e)}},o=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},h=(e,i,s)=>{const u=new Map,f=m=>{let y=u.get(m.base);return y||(y={driver:m.driver,base:m.base,items:[]},u.set(m.base,y)),y};for(const m of e){const y=typeof m=="string",v=d(y?m:m.key),w=y?void 0:m.value,I=y||!m.options?i:{...i,...m.options},O=n(v);f(O).items.push({key:v,value:w,relativeKey:O.relativeKey,options:I})}return Promise.all([...u.values()].map(m=>s(m))).then(m=>m.flat())},g={hasItem(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return p(u.hasItem,s,i)},getItem(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return p(u.getItem,s,i).then(f=>_(f))},getItems(e,i){return h(e,i,s=>s.driver.getItems?p(s.driver.getItems,s.items.map(u=>({key:u.relativeKey,options:u.options})),i).then(u=>u.map(f=>({key:ie(s.base,f.key),value:_(f.value)}))):Promise.all(s.items.map(u=>p(s.driver.getItem,u.relativeKey,u.options).then(f=>({key:u.key,value:_(f)})))))},getItemRaw(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return u.getItemRaw?p(u.getItemRaw,s,i):p(u.getItem,s,i).then(f=>te(f))},async setItem(e,i,s={}){if(i===void 0)return g.removeItem(e);e=d(e);const{relativeKey:u,driver:f}=n(e);f.setItem&&(await p(f.setItem,u,K(i),s),f.watch||l("update",e))},async setItems(e,i){await h(e,i,async s=>{s.driver.setItems&&await p(s.driver.setItems,s.items.map(u=>({key:u.relativeKey,value:K(u.value),options:u.options})),i),s.driver.setItem&&await Promise.all(s.items.map(u=>p(s.driver.setItem,u.relativeKey,K(u.value),u.options)))})},async setItemRaw(e,i,s={}){if(i===void 0)return g.removeItem(e,s);e=d(e);const{relativeKey:u,driver:f}=n(e);if(f.setItemRaw)await p(f.setItemRaw,u,i,s);else if(f.setItem)await p(f.setItem,u,ee(i),s);else return;f.watch||l("update",e)},async removeItem(e,i={}){typeof i=="boolean"&&(i={removeMeta:i}),e=d(e);const{relativeKey:s,driver:u}=n(e);u.removeItem&&(await p(u.removeItem,s,i),(i.removeMeta||i.removeMata)&&await p(u.removeItem,s+"$",i),u.watch||l("remove",e))},async getMeta(e,i={}){typeof i=="boolean"&&(i={nativeOnly:i}),e=d(e);const{relativeKey:s,driver:u}=n(e),f=Object.create(null);if(u.getMeta&&Object.assign(f,await p(u.getMeta,s,i)),!i.nativeOnly){const m=await p(u.getItem,s+"$",i).then(y=>_(y));m&&typeof m=="object"&&(typeof m.atime=="string"&&(m.atime=new Date(m.atime)),typeof m.mtime=="string"&&(m.mtime=new Date(m.mtime)),Object.assign(f,m))}return f},setMeta(e,i,s={}){return this.setItem(e+"$",i,s)},removeMeta(e,i={}){return this.removeItem(e+"$",i)},async getKeys(e,i={}){e=A(e);const s=a(e,!0);let u=[];const f=[];for(const m of s){const v=(await p(m.driver.getKeys,m.relativeBase,i)).map(w=>m.mountpoint+d(w)).filter(w=>!u.some(I=>w.startsWith(I)));f.push(...v),u=[m.mountpoint,...u.filter(w=>!w.startsWith(m.mountpoint))]}return e?f.filter(m=>m.startsWith(e)&&!m.endsWith("$")):f.filter(m=>!m.endsWith("$"))},async clear(e,i={}){e=A(e),await Promise.all(a(e,!1).map(async s=>{if(s.driver.clear)return p(s.driver.clear,s.relativeBase,i);if(s.driver.removeItem){const u=await s.driver.getKeys(s.relativeBase||"",i);return Promise.all(u.map(f=>s.driver.removeItem(f,i)))}}))},async dispose(){await Promise.all(Object.values(t.mounts).map(e=>D(e)))},async watch(e){return await c(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter(i=>i!==e),t.watchListeners.length===0&&await o()}},async unwatch(){t.watchListeners=[],await o()},mount(e,i){if(e=A(e),e&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort((s,u)=>u.length-s.length)),t.mounts[e]=i,t.watching&&Promise.resolve(x(i,l,e)).then(s=>{t.unwatch[e]=s}).catch(console.error),g},async unmount(e,i=!0){e=A(e),!(!e||!t.mounts[e])&&(t.watching&&e in t.unwatch&&(t.unwatch[e](),delete t.unwatch[e]),i&&await D(t.mounts[e]),t.mountpoints=t.mountpoints.filter(s=>s!==e),delete t.mounts[e])},getMount(e=""){e=d(e)+":";const i=n(e);return{driver:i.driver,base:i.base}},getMounts(e="",i={}){return e=d(e),a(e,i.parents).map(u=>({driver:u.driver,base:u.mountpoint}))}};return g}function x(r,t,n){return r.watch?r.watch((a,l)=>t(a,n+l)):()=>{}}async function D(r){typeof r.dispose=="function"&&await p(r.dispose)}function ue(r={}){const t=ce(n,r.operators);function n(a,l){return typeof l!="object"||l instanceof RegExp?t.$eq(a,l):Object.keys(l||{}).every(c=>{const o=l[c];if(c.startsWith("$")&&t[c]){const h=t[c];return typeof h=="function"?h(a,o):!1}return n(Y(a,c),o)})}return n}function ce(r,t={}){return{$match:(n,a)=>r(n,a),$eq:(n,a)=>a instanceof RegExp?a.test(n):n===a,$ne:(n,a)=>a instanceof RegExp?!a.test(n):n!==a,$not:(n,a)=>!r(n,a),$and:(n,a)=>(P(a,"$and requires an array as condition"),a.every(l=>r(n,l))),$or:(n,a)=>(P(a,"$or requires an array as condition"),a.some(l=>r(n,l))),$in:(n,a)=>E(a).some(l=>Array.isArray(n)?r(n,{$contains:l}):r(n,l)),$contains:(n,a)=>(n=Array.isArray(n)?n:String(n),E(a).every(l=>n.includes(l))),$icontains:(n,a)=>{if(typeof a!="string")throw new TypeError("$icontains requires a string, use $contains instead");return n=String(n).toLocaleLowerCase(),E(a).every(l=>n.includes(l.toLocaleLowerCase()))},$containsAny:(n,a)=>(P(a,"$containsAny requires an array as condition"),n=Array.isArray(n)?n:String(n),a.some(l=>n.includes(l))),$exists:(n,a)=>a?typeof n<"u":typeof n>"u",$type:(n,a)=>typeof n===String(a),$regex:(n,a)=>{if(!(a instanceof RegExp)){const l=String(a).match(/\/(.*)\/([dgimsuy]*)$/);a=l?new RegExp(l[1],l[2]||""):new RegExp(a)}return a.test(String(n||""))},$lt:(n,a)=>nn<=a,$gt:(n,a)=>n>a,$gte:(n,a)=>n>=a,...t||{}}}function le(r){const t=ue(),n=(c,{query:o,before:h,after:g})=>{const e=typeof o=="string"?{_path:o}:o,i=c.findIndex(u=>t(u,e));h=h??1,g=g??1;const s=new Array(h+g).fill(null,0);return i===-1?s:s.map((u,f)=>c[i-h+f+ +(f>=h)]||null)},a=[(c,o)=>{const h=c.result.filter(g=>E(o.where).every(e=>t(g,e)));return{...c,result:h,total:h.length}},(c,o)=>E(o.sort).forEach(h=>B(c.result,h)),function(o,h,g){var e;if(h.surround){let i=n(((e=o.result)==null?void 0:e.length)===1?g:o.result,h.surround);i=$(j(h.without))(i),i=$(b(h.only))(i),o.surround=i}return o}],l=[(c,o)=>{if(o.skip)return{...c,result:c.result.slice(o.skip),skip:o.skip}},(c,o)=>{if(o.limit)return{...c,result:c.result.slice(0,o.limit),limit:o.limit}},function(o,h,g){var e,i,s;if(h.dirConfig){const u=((e=o.result[0])==null?void 0:e._path)||((s=(i=h.where)==null?void 0:i.find(f=>f._path))==null?void 0:s._path);if(typeof u=="string"){const f=g.find(m=>m._path===T(u,"_dir"));f&&(o.dirConfig={_path:f._path,...j(["_"])(f)})}}return o},(c,o)=>({...c,result:$(j(o.without))(c.result)}),(c,o)=>({...c,result:$(b(o.only))(c.result)})];return async c=>{const o=await r(),h=c.params(),g={result:o,limit:0,skip:0,total:o.length},e=a.reduce((s,u)=>u(s,h,o)||s,g);if(h.count)return{result:e.result.length};const i=l.reduce((s,u)=>u(s,h,o)||s,e);return h.first?{...W(["skip","limit","total"])(i),result:i.result[0]}:i}}function L(r){const t=le(r);return async n=>{var c;const a=n.params(),l=await t(n);return a.surround?l==null?void 0:l.surround:(l!=null&&l.dirConfig&&(l.result={_path:(c=l.dirConfig)==null?void 0:c._path,...l.result,_dir:l.dirConfig}),l==null?void 0:l.result)}}var fe={exports:{}};(function(r,t){(function(n,a,l){r.exports=l(),r.exports.default=l()})("slugify",G,function(){var n=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"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","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function l(c,o){if(typeof c!="string")throw new Error("slugify: string argument expected");o=typeof o=="string"?{replacement:o}:o||{};var h=a[o.locale]||{},g=o.replacement===void 0?"-":o.replacement,e=o.trim===void 0?!0:o.trim,i=c.normalize().split("").reduce(function(s,u){var f=h[u];return f===void 0&&(f=n[u]),f===void 0&&(f=u),f===g&&(f=" "),s+f.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(i=i.replace(/[^A-Za-z0-9\s]/g,"")),e&&(i=i.trim()),i=i.replace(/\s+/g,g),o.lower&&(i=i.toLowerCase()),i}return l.extend=function(c){Object.assign(n,c)},l})})(fe);const me=r=>r.split(/[\s-]/g).map(k).join(" ");function he(r,t){const{navigation:n}=M().public.content;if(n===!1)return[];const a=c=>({...pe(["title",...n.fields])(c),...de(c==null?void 0:c.navigation)?c.navigation:{}}),l=r.sort((c,o)=>c._path.localeCompare(o._path)).reduce((c,o)=>{const h=o._path.substring(1).split("/"),g=o._id.split(":").slice(1),e=!!g[g.length-1].match(/([1-9][0-9]*\.)?index.md/g),i=f=>({title:f.title,_path:f._path,_file:f._file,children:[],...a(f),...f._draft?{_draft:!0}:{}}),s=i(o);if(e){const f=t[s._path];if(typeof(f==null?void 0:f.navigation)<"u"&&!(f!=null&&f.navigation))return c;if(o._path!=="/"){const m=i(o);s.children.push(m)}Object.assign(s,a(f))}return h.length===1?(c.push(s),c):(h.slice(0,-1).reduce((f,m,y)=>{const v="/"+h.slice(0,y+1).join("/"),w=t[v];if(typeof(w==null?void 0:w.navigation)<"u"&&!w.navigation)return[];let I=f.find(O=>O._path===v);return I||(I={title:me(m),_path:v,_file:o._file,children:[],...a(w)},f.push(I)),I.children},c).push(s),c)},[]);return z(l)}const ge=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function z(r){var n;const t=r.sort((a,l)=>ge.compare(a._file,l._file));for(const a of t)(n=a.children)!=null&&n.length?z(a.children):delete a.children,delete a._file;return r}function pe(r){return t=>(t=t||{},r&&r.length?r.filter(n=>typeof t[n]<"u").reduce((n,a)=>Object.assign(n,{[a]:t[a]}),{}):t)}function de(r){return Object.prototype.toString.call(r)==="[object Object]"}const ye=r=>H(r,M().public.content.api.baseURL),we=ne(oe({driver:F()}),"@content");function ve(r){async function t(){const n=new Set(await r.getKeys("cache:")),a=N().getPreviewToken();if(a){const c=await r.getItem(`${a}$`).then(g=>g||{});if(Array.isArray(c.ignoreSources)){const g=c.ignoreSources.map(e=>`cache:${e.trim()}:`);for(const e of n)g.some(i=>e.startsWith(i))&&n.delete(e)}const o=await r.getKeys(`${a}:`),h=await Promise.all(o.map(g=>r.getItem(g)));for(const g of h)n.delete(`cache:${g._id}`),g.__deleted||n.add(`${a}:${g._id}`)}return await Promise.all(Array.from(n).map(c=>r.getItem(c)))}return{storage:r,fetch:L(t),query:n=>J(L(t),{initialParams:n,legacy:!0})}}let R=null,S=null;async function Ie(){return S?await S:R||(S=Ae(),R=await S),R}async function Ae(){const r=q(),{content:t}=M().public,n=ve(we),a=await n.storage.getItem("integrity");if(t.integrity!==+(a||0)){const{contents:l,navigation:c}=await $fetch(ye(t.integrity?`cache.${t.integrity}.json`:"cache.json"));await Promise.all(l.map(o=>n.storage.setItem(`cache:${o._id}`,o))),await n.storage.setItem("navigation",c),await n.storage.setItem("integrity",t.integrity)}return await r.callHook("content:storage",n.storage),n}async function _e(r){const t=await Ie();if(!N().getPreviewToken()&&Object.keys(r||{}).length===0)return t.storage.getItem("navigation");const n=await t.query(r).where({_partial:!1,navigation:{$ne:!1}}).find(),l=(await t.query().where({_path:/\/_dir$/i,_partial:!0}).find()).reduce((c,o)=>{var g;((g=o.title)==null?void 0:g.toLowerCase())==="dir"&&(o.title=void 0);const h=o._path.split("/").slice(0,-1).join("/")||"/";return c[h]={...o,...o.body},c},{});return he(n,l)}export{we as contentStorage,ve as createDB,_e as generateNavigation,Ie as useContentDatabase}; +import{bd as _,bo as Y,bp as P,bq as E,br as W,bs as B,bt as $,bu as j,bv as b,be as T,bb as k,m as M,bw as J,ba as N,bx as H,k as q}from"./entry.YSgWRBMm.js";import{c as G}from"./_commonjsHelpers.5-cIlDoe.js";const Z="memory",F=()=>{const r=new Map;return{name:Z,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)??null},getItemRaw(t){return r.get(t)??null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function V(r){return!r||typeof r.then!="function"?Promise.resolve(r):r}function p(r,...t){try{return V(r(...t))}catch(n){return Promise.reject(n)}}function Q(r){const t=typeof r;return r===null||t!=="object"&&t!=="function"}function X(r){const t=Object.getPrototypeOf(r);return!t||t.isPrototypeOf(Object)}function K(r){if(Q(r))return String(r);if(X(r)||Array.isArray(r))return JSON.stringify(r);if(typeof r.toJSON=="function")return K(r.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function U(){if(typeof Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}const C="base64:";function ee(r){if(typeof r=="string")return r;U();const t=Buffer.from(r).toString("base64");return C+t}function te(r){return typeof r!="string"||!r.startsWith(C)?r:(U(),Buffer.from(r.slice(C.length),"base64"))}const re=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function ne(r,t){if(t=A(t),!t)return r;const n={...r};for(const a of re)n[a]=(l="",...c)=>r[a](t+l,...c);return n.getKeys=(a="",...l)=>r.getKeys(t+a,...l).then(c=>c.map(o=>o.slice(t.length))),n}function d(r){return r?r.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function ie(...r){return d(r.join(":"))}function A(r){return r=d(r),r?r+":":""}const ae="memory",se=()=>{const r=new Map;return{name:ae,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)??null},getItemRaw(t){return r.get(t)??null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function oe(r={}){const t={mounts:{"":r.driver||se()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=e=>{for(const i of t.mountpoints)if(e.startsWith(i))return{base:i,relativeKey:e.slice(i.length),driver:t.mounts[i]};return{base:"",relativeKey:e,driver:t.mounts[""]}},a=(e,i)=>t.mountpoints.filter(s=>s.startsWith(e)||i&&e.startsWith(s)).map(s=>({relativeBase:e.length>s.length?e.slice(s.length):void 0,mountpoint:s,driver:t.mounts[s]})),l=(e,i)=>{if(t.watching){i=d(i);for(const s of t.watchListeners)s(e,i)}},c=async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await x(t.mounts[e],l,e)}},o=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},h=(e,i,s)=>{const u=new Map,f=m=>{let y=u.get(m.base);return y||(y={driver:m.driver,base:m.base,items:[]},u.set(m.base,y)),y};for(const m of e){const y=typeof m=="string",v=d(y?m:m.key),w=y?void 0:m.value,I=y||!m.options?i:{...i,...m.options},O=n(v);f(O).items.push({key:v,value:w,relativeKey:O.relativeKey,options:I})}return Promise.all([...u.values()].map(m=>s(m))).then(m=>m.flat())},g={hasItem(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return p(u.hasItem,s,i)},getItem(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return p(u.getItem,s,i).then(f=>_(f))},getItems(e,i){return h(e,i,s=>s.driver.getItems?p(s.driver.getItems,s.items.map(u=>({key:u.relativeKey,options:u.options})),i).then(u=>u.map(f=>({key:ie(s.base,f.key),value:_(f.value)}))):Promise.all(s.items.map(u=>p(s.driver.getItem,u.relativeKey,u.options).then(f=>({key:u.key,value:_(f)})))))},getItemRaw(e,i={}){e=d(e);const{relativeKey:s,driver:u}=n(e);return u.getItemRaw?p(u.getItemRaw,s,i):p(u.getItem,s,i).then(f=>te(f))},async setItem(e,i,s={}){if(i===void 0)return g.removeItem(e);e=d(e);const{relativeKey:u,driver:f}=n(e);f.setItem&&(await p(f.setItem,u,K(i),s),f.watch||l("update",e))},async setItems(e,i){await h(e,i,async s=>{s.driver.setItems&&await p(s.driver.setItems,s.items.map(u=>({key:u.relativeKey,value:K(u.value),options:u.options})),i),s.driver.setItem&&await Promise.all(s.items.map(u=>p(s.driver.setItem,u.relativeKey,K(u.value),u.options)))})},async setItemRaw(e,i,s={}){if(i===void 0)return g.removeItem(e,s);e=d(e);const{relativeKey:u,driver:f}=n(e);if(f.setItemRaw)await p(f.setItemRaw,u,i,s);else if(f.setItem)await p(f.setItem,u,ee(i),s);else return;f.watch||l("update",e)},async removeItem(e,i={}){typeof i=="boolean"&&(i={removeMeta:i}),e=d(e);const{relativeKey:s,driver:u}=n(e);u.removeItem&&(await p(u.removeItem,s,i),(i.removeMeta||i.removeMata)&&await p(u.removeItem,s+"$",i),u.watch||l("remove",e))},async getMeta(e,i={}){typeof i=="boolean"&&(i={nativeOnly:i}),e=d(e);const{relativeKey:s,driver:u}=n(e),f=Object.create(null);if(u.getMeta&&Object.assign(f,await p(u.getMeta,s,i)),!i.nativeOnly){const m=await p(u.getItem,s+"$",i).then(y=>_(y));m&&typeof m=="object"&&(typeof m.atime=="string"&&(m.atime=new Date(m.atime)),typeof m.mtime=="string"&&(m.mtime=new Date(m.mtime)),Object.assign(f,m))}return f},setMeta(e,i,s={}){return this.setItem(e+"$",i,s)},removeMeta(e,i={}){return this.removeItem(e+"$",i)},async getKeys(e,i={}){e=A(e);const s=a(e,!0);let u=[];const f=[];for(const m of s){const v=(await p(m.driver.getKeys,m.relativeBase,i)).map(w=>m.mountpoint+d(w)).filter(w=>!u.some(I=>w.startsWith(I)));f.push(...v),u=[m.mountpoint,...u.filter(w=>!w.startsWith(m.mountpoint))]}return e?f.filter(m=>m.startsWith(e)&&!m.endsWith("$")):f.filter(m=>!m.endsWith("$"))},async clear(e,i={}){e=A(e),await Promise.all(a(e,!1).map(async s=>{if(s.driver.clear)return p(s.driver.clear,s.relativeBase,i);if(s.driver.removeItem){const u=await s.driver.getKeys(s.relativeBase||"",i);return Promise.all(u.map(f=>s.driver.removeItem(f,i)))}}))},async dispose(){await Promise.all(Object.values(t.mounts).map(e=>D(e)))},async watch(e){return await c(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter(i=>i!==e),t.watchListeners.length===0&&await o()}},async unwatch(){t.watchListeners=[],await o()},mount(e,i){if(e=A(e),e&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort((s,u)=>u.length-s.length)),t.mounts[e]=i,t.watching&&Promise.resolve(x(i,l,e)).then(s=>{t.unwatch[e]=s}).catch(console.error),g},async unmount(e,i=!0){e=A(e),!(!e||!t.mounts[e])&&(t.watching&&e in t.unwatch&&(t.unwatch[e](),delete t.unwatch[e]),i&&await D(t.mounts[e]),t.mountpoints=t.mountpoints.filter(s=>s!==e),delete t.mounts[e])},getMount(e=""){e=d(e)+":";const i=n(e);return{driver:i.driver,base:i.base}},getMounts(e="",i={}){return e=d(e),a(e,i.parents).map(u=>({driver:u.driver,base:u.mountpoint}))}};return g}function x(r,t,n){return r.watch?r.watch((a,l)=>t(a,n+l)):()=>{}}async function D(r){typeof r.dispose=="function"&&await p(r.dispose)}function ue(r={}){const t=ce(n,r.operators);function n(a,l){return typeof l!="object"||l instanceof RegExp?t.$eq(a,l):Object.keys(l||{}).every(c=>{const o=l[c];if(c.startsWith("$")&&t[c]){const h=t[c];return typeof h=="function"?h(a,o):!1}return n(Y(a,c),o)})}return n}function ce(r,t={}){return{$match:(n,a)=>r(n,a),$eq:(n,a)=>a instanceof RegExp?a.test(n):n===a,$ne:(n,a)=>a instanceof RegExp?!a.test(n):n!==a,$not:(n,a)=>!r(n,a),$and:(n,a)=>(P(a,"$and requires an array as condition"),a.every(l=>r(n,l))),$or:(n,a)=>(P(a,"$or requires an array as condition"),a.some(l=>r(n,l))),$in:(n,a)=>E(a).some(l=>Array.isArray(n)?r(n,{$contains:l}):r(n,l)),$contains:(n,a)=>(n=Array.isArray(n)?n:String(n),E(a).every(l=>n.includes(l))),$icontains:(n,a)=>{if(typeof a!="string")throw new TypeError("$icontains requires a string, use $contains instead");return n=String(n).toLocaleLowerCase(),E(a).every(l=>n.includes(l.toLocaleLowerCase()))},$containsAny:(n,a)=>(P(a,"$containsAny requires an array as condition"),n=Array.isArray(n)?n:String(n),a.some(l=>n.includes(l))),$exists:(n,a)=>a?typeof n<"u":typeof n>"u",$type:(n,a)=>typeof n===String(a),$regex:(n,a)=>{if(!(a instanceof RegExp)){const l=String(a).match(/\/(.*)\/([dgimsuy]*)$/);a=l?new RegExp(l[1],l[2]||""):new RegExp(a)}return a.test(String(n||""))},$lt:(n,a)=>nn<=a,$gt:(n,a)=>n>a,$gte:(n,a)=>n>=a,...t||{}}}function le(r){const t=ue(),n=(c,{query:o,before:h,after:g})=>{const e=typeof o=="string"?{_path:o}:o,i=c.findIndex(u=>t(u,e));h=h??1,g=g??1;const s=new Array(h+g).fill(null,0);return i===-1?s:s.map((u,f)=>c[i-h+f+ +(f>=h)]||null)},a=[(c,o)=>{const h=c.result.filter(g=>E(o.where).every(e=>t(g,e)));return{...c,result:h,total:h.length}},(c,o)=>E(o.sort).forEach(h=>B(c.result,h)),function(o,h,g){var e;if(h.surround){let i=n(((e=o.result)==null?void 0:e.length)===1?g:o.result,h.surround);i=$(j(h.without))(i),i=$(b(h.only))(i),o.surround=i}return o}],l=[(c,o)=>{if(o.skip)return{...c,result:c.result.slice(o.skip),skip:o.skip}},(c,o)=>{if(o.limit)return{...c,result:c.result.slice(0,o.limit),limit:o.limit}},function(o,h,g){var e,i,s;if(h.dirConfig){const u=((e=o.result[0])==null?void 0:e._path)||((s=(i=h.where)==null?void 0:i.find(f=>f._path))==null?void 0:s._path);if(typeof u=="string"){const f=g.find(m=>m._path===T(u,"_dir"));f&&(o.dirConfig={_path:f._path,...j(["_"])(f)})}}return o},(c,o)=>({...c,result:$(j(o.without))(c.result)}),(c,o)=>({...c,result:$(b(o.only))(c.result)})];return async c=>{const o=await r(),h=c.params(),g={result:o,limit:0,skip:0,total:o.length},e=a.reduce((s,u)=>u(s,h,o)||s,g);if(h.count)return{result:e.result.length};const i=l.reduce((s,u)=>u(s,h,o)||s,e);return h.first?{...W(["skip","limit","total"])(i),result:i.result[0]}:i}}function L(r){const t=le(r);return async n=>{var c;const a=n.params(),l=await t(n);return a.surround?l==null?void 0:l.surround:(l!=null&&l.dirConfig&&(l.result={_path:(c=l.dirConfig)==null?void 0:c._path,...l.result,_dir:l.dirConfig}),l==null?void 0:l.result)}}var fe={exports:{}};(function(r,t){(function(n,a,l){r.exports=l(),r.exports.default=l()})("slugify",G,function(){var n=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"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","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function l(c,o){if(typeof c!="string")throw new Error("slugify: string argument expected");o=typeof o=="string"?{replacement:o}:o||{};var h=a[o.locale]||{},g=o.replacement===void 0?"-":o.replacement,e=o.trim===void 0?!0:o.trim,i=c.normalize().split("").reduce(function(s,u){var f=h[u];return f===void 0&&(f=n[u]),f===void 0&&(f=u),f===g&&(f=" "),s+f.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(i=i.replace(/[^A-Za-z0-9\s]/g,"")),e&&(i=i.trim()),i=i.replace(/\s+/g,g),o.lower&&(i=i.toLowerCase()),i}return l.extend=function(c){Object.assign(n,c)},l})})(fe);const me=r=>r.split(/[\s-]/g).map(k).join(" ");function he(r,t){const{navigation:n}=M().public.content;if(n===!1)return[];const a=c=>({...pe(["title",...n.fields])(c),...de(c==null?void 0:c.navigation)?c.navigation:{}}),l=r.sort((c,o)=>c._path.localeCompare(o._path)).reduce((c,o)=>{const h=o._path.substring(1).split("/"),g=o._id.split(":").slice(1),e=!!g[g.length-1].match(/([1-9][0-9]*\.)?index.md/g),i=f=>({title:f.title,_path:f._path,_file:f._file,children:[],...a(f),...f._draft?{_draft:!0}:{}}),s=i(o);if(e){const f=t[s._path];if(typeof(f==null?void 0:f.navigation)<"u"&&!(f!=null&&f.navigation))return c;if(o._path!=="/"){const m=i(o);s.children.push(m)}Object.assign(s,a(f))}return h.length===1?(c.push(s),c):(h.slice(0,-1).reduce((f,m,y)=>{const v="/"+h.slice(0,y+1).join("/"),w=t[v];if(typeof(w==null?void 0:w.navigation)<"u"&&!w.navigation)return[];let I=f.find(O=>O._path===v);return I||(I={title:me(m),_path:v,_file:o._file,children:[],...a(w)},f.push(I)),I.children},c).push(s),c)},[]);return z(l)}const ge=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function z(r){var n;const t=r.sort((a,l)=>ge.compare(a._file,l._file));for(const a of t)(n=a.children)!=null&&n.length?z(a.children):delete a.children,delete a._file;return r}function pe(r){return t=>(t=t||{},r&&r.length?r.filter(n=>typeof t[n]<"u").reduce((n,a)=>Object.assign(n,{[a]:t[a]}),{}):t)}function de(r){return Object.prototype.toString.call(r)==="[object Object]"}const ye=r=>H(r,M().public.content.api.baseURL),we=ne(oe({driver:F()}),"@content");function ve(r){async function t(){const n=new Set(await r.getKeys("cache:")),a=N().getPreviewToken();if(a){const c=await r.getItem(`${a}$`).then(g=>g||{});if(Array.isArray(c.ignoreSources)){const g=c.ignoreSources.map(e=>`cache:${e.trim()}:`);for(const e of n)g.some(i=>e.startsWith(i))&&n.delete(e)}const o=await r.getKeys(`${a}:`),h=await Promise.all(o.map(g=>r.getItem(g)));for(const g of h)n.delete(`cache:${g._id}`),g.__deleted||n.add(`${a}:${g._id}`)}return await Promise.all(Array.from(n).map(c=>r.getItem(c)))}return{storage:r,fetch:L(t),query:n=>J(L(t),{initialParams:n,legacy:!0})}}let R=null,S=null;async function Ie(){return S?await S:R||(S=Ae(),R=await S),R}async function Ae(){const r=q(),{content:t}=M().public,n=ve(we),a=await n.storage.getItem("integrity");if(t.integrity!==+(a||0)){const{contents:l,navigation:c}=await $fetch(ye(t.integrity?`cache.${t.integrity}.json`:"cache.json"));await Promise.all(l.map(o=>n.storage.setItem(`cache:${o._id}`,o))),await n.storage.setItem("navigation",c),await n.storage.setItem("integrity",t.integrity)}return await r.callHook("content:storage",n.storage),n}async function _e(r){const t=await Ie();if(!N().getPreviewToken()&&Object.keys(r||{}).length===0)return t.storage.getItem("navigation");const n=await t.query(r).where({_partial:!1,navigation:{$ne:!1}}).find(),l=(await t.query().where({_path:/\/_dir$/i,_partial:!0}).find()).reduce((c,o)=>{var g;((g=o.title)==null?void 0:g.toLowerCase())==="dir"&&(o.title=void 0);const h=o._path.split("/").slice(0,-1).join("/")||"/";return c[h]={...o,...o.body},c},{});return he(n,l)}export{we as contentStorage,ve as createDB,_e as generateNavigation,Ie as useContentDatabase}; diff --git a/_nuxt/docs.0uoY01y7.js b/_nuxt/docs.ssppZ59D.js similarity index 96% rename from _nuxt/docs.0uoY01y7.js rename to _nuxt/docs.ssppZ59D.js index 081365f4..b2f85258 100644 --- a/_nuxt/docs.0uoY01y7.js +++ b/_nuxt/docs.ssppZ59D.js @@ -1 +1 @@ -import{d as b,ag as k,ah as f,b as m,c as g,e as i,n as r,aA as e,aa as o,f as v,g as l,ab as y,bk as $,Y as C,a9 as w,w as s,bl as x,bm as A,bn as N,aO as U,aS as B}from"./entry.n8fVlM9F.js";const j={class:"relative"},O=b({inheritAttrs:!1,__name:"Aside",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(c){const p={wrapper:"hidden overflow-y-auto lg:block lg:max-h-[calc(100vh-var(--header-height))] lg:sticky lg:top-[--header-height] py-8 lg:px-4 lg:-mx-4",top:{wrapper:"sticky -top-8 -mt-8 pointer-events-none z-[1]",header:"h-8 bg-background -mx-4 px-4",body:"bg-background relative pointer-events-auto flex -mx-4 px-4",footer:"h-8 bg-gradient-to-b from-background -mx-4 px-4"}},t=c,{ui:n,attrs:d}=k("aside",f(t,"ui"),p,f(t,"class"),!0);return(a,_)=>{const u=$;return m(),g("aside",y({class:e(n).wrapper},e(d)),[i("div",j,[a.$slots.top?(m(),g("div",{key:0,class:r(e(n).top.wrapper)},[i("div",{class:r(e(n).top.header)},null,2),i("div",{class:r(e(n).top.body)},[o(a.$slots,"top")],2),i("div",{class:r(e(n).top.footer)},null,2)],2)):v("",!0),o(a.$slots,"links",{},()=>[l(u,{links:c.links},null,8,["links"])]),o(a.$slots,"default"),o(a.$slots,"bottom")])],16)}}}),V=b({__name:"docs",setup(c){const p=C("navigation");return(t,n)=>{const d=N,a=O,_=U,u=B,h=x;return m(),w(h,null,{default:s(()=>[l(u,null,{default:s(()=>[l(_,null,{left:s(()=>[l(a,null,{default:s(()=>[l(d,{links:("mapContentNavigation"in t?t.mapContentNavigation:e(A))(e(p))},null,8,["links"])]),_:1})]),default:s(()=>[o(t.$slots,"default")]),_:3})]),_:3})]),_:3})}}});export{V as default}; +import{d as b,ag as k,ah as f,b as m,c as g,e as i,n as r,aA as e,aa as o,f as v,g as l,ab as y,bk as $,Y as C,a9 as w,w as s,bl as x,bm as A,bn as N,aO as U,aS as B}from"./entry.YSgWRBMm.js";const j={class:"relative"},O=b({inheritAttrs:!1,__name:"Aside",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(c){const p={wrapper:"hidden overflow-y-auto lg:block lg:max-h-[calc(100vh-var(--header-height))] lg:sticky lg:top-[--header-height] py-8 lg:px-4 lg:-mx-4",top:{wrapper:"sticky -top-8 -mt-8 pointer-events-none z-[1]",header:"h-8 bg-background -mx-4 px-4",body:"bg-background relative pointer-events-auto flex -mx-4 px-4",footer:"h-8 bg-gradient-to-b from-background -mx-4 px-4"}},t=c,{ui:n,attrs:d}=k("aside",f(t,"ui"),p,f(t,"class"),!0);return(a,_)=>{const u=$;return m(),g("aside",y({class:e(n).wrapper},e(d)),[i("div",j,[a.$slots.top?(m(),g("div",{key:0,class:r(e(n).top.wrapper)},[i("div",{class:r(e(n).top.header)},null,2),i("div",{class:r(e(n).top.body)},[o(a.$slots,"top")],2),i("div",{class:r(e(n).top.footer)},null,2)],2)):v("",!0),o(a.$slots,"links",{},()=>[l(u,{links:c.links},null,8,["links"])]),o(a.$slots,"default"),o(a.$slots,"bottom")])],16)}}}),V=b({__name:"docs",setup(c){const p=C("navigation");return(t,n)=>{const d=N,a=O,_=U,u=B,h=x;return m(),w(h,null,{default:s(()=>[l(u,null,{default:s(()=>[l(_,null,{left:s(()=>[l(a,null,{default:s(()=>[l(d,{links:("mapContentNavigation"in t?t.mapContentNavigation:e(A))(e(p))},null,8,["links"])]),_:1})]),default:s(()=>[o(t.$slots,"default")]),_:3})]),_:3})]),_:3})}}});export{V as default}; diff --git a/_nuxt/entry.n8fVlM9F.js b/_nuxt/entry.YSgWRBMm.js similarity index 98% rename from _nuxt/entry.n8fVlM9F.js rename to _nuxt/entry.YSgWRBMm.js index eb3dcf44..53b09ecd 100644 --- a/_nuxt/entry.n8fVlM9F.js +++ b/_nuxt/entry.YSgWRBMm.js @@ -1,11 +1,11 @@ function Ya(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Be={},Cr=[],Jt=()=>{},mg=()=>!1,Ho=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ja=e=>e.startsWith("onUpdate:"),Ye=Object.assign,Za=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vg=Object.prototype.hasOwnProperty,Se=(e,t)=>vg.call(e,t),ce=Array.isArray,Sr=e=>Uo(e)==="[object Map]",Tf=e=>Uo(e)==="[object Set]",yg=e=>Uo(e)==="[object RegExp]",de=e=>typeof e=="function",Ue=e=>typeof e=="string",zr=e=>typeof e=="symbol",Me=e=>e!==null&&typeof e=="object",el=e=>(Me(e)||de(e))&&de(e.then)&&de(e.catch),Af=Object.prototype.toString,Uo=e=>Af.call(e),bg=e=>Uo(e).slice(8,-1),Of=e=>Uo(e)==="[object Object]",tl=e=>Ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fo=Ya(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wg=/-(\w)/g,tn=Xs(e=>e.replace(wg,(t,n)=>n?n.toUpperCase():"")),_g=/\B([A-Z])/g,yr=Xs(e=>e.replace(_g,"-$1").toLowerCase()),Ys=Xs(e=>e.charAt(0).toUpperCase()+e.slice(1)),_i=Xs(e=>e?`on${Ys(e)}`:""),fr=(e,t)=>!Object.is(e,t),po=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},xg=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$f=e=>{const t=Ue(e)?Number(e):NaN;return isNaN(t)?e:t};let yc;const Gi=()=>yc||(yc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function mn(e){if(ce(e)){const t={};for(let n=0;n{if(n){const r=n.split(Eg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function q(e){let t="";if(Ue(e))t=e;else if(ce(e))for(let n=0;nUe(e)?e:e==null?"":ce(e)||Me(e)&&(e.toString===Af||!de(e.toString))?JSON.stringify(e,Lf,2):String(e),Lf=(e,t)=>t&&t.__v_isRef?Lf(e,t.value):Sr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[xi(r,s)+" =>"]=o,n),{})}:Tf(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>xi(n))}:zr(t)?xi(t):Me(t)&&!ce(t)&&!Of(t)?String(t):t,xi=(e,t="")=>{var n;return zr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let kt;class If{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=kt,!t&&kt&&(this.index=(kt.scopes||(kt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=kt;try{return kt=this,t()}finally{kt=n}}}on(){kt=this}off(){kt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Mf=e=>(e.w&Bn)>0,Df=e=>(e.n&Bn)>0,Og=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||!zr(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ce(e)?tl(n)&&a.push(i.get("length")):(a.push(i.get(ir)),Sr(e)&&a.push(i.get(Xi)));break;case"delete":ce(e)||(a.push(i.get(ir)),Sr(e)&&a.push(i.get(Xi)));break;case"set":Sr(e)&&a.push(i.get(ir));break}if(a.length===1)a[0]&&Yi(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Yi(rl(l))}}function Yi(e,t){const n=ce(e)?e:[...e];for(const r of n)r.computed&&wc(r);for(const r of n)r.computed||wc(r)}function wc(e,t){(e!==Bt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Rg(e,t){var n;return(n=Ls.get(e))==null?void 0:n.get(t)}const Lg=Ya("__proto__,__v_isRef,__isVue"),Ff=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zr)),_c=Ig();function Ig(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Pe(this);for(let s=0,i=this.length;s{e[t]=function(...n){Vr();const r=Pe(this)[t].apply(this,n);return Wr(),r}}),e}function jg(e){const t=Pe(this);return mt(t,"has",e),t.hasOwnProperty(e)}class Hf{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const o=this._isReadonly,s=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Gg:Wf:s?Vf:zf).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ce(t);if(!o){if(i&&Se(_c,n))return Reflect.get(_c,n,r);if(n==="hasOwnProperty")return jg}const a=Reflect.get(t,n,r);return(zr(n)?Ff.has(n):Lg(n))||(o||mt(t,"get",n),s)?a:et(a)?i&&tl(n)?a:a.value:Me(a)?o?ei(a):Lt(a):a}}class Uf extends Hf{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._shallow){const l=dr(s);if(!Is(r)&&!dr(r)&&(s=Pe(s),r=Pe(r)),!ce(t)&&et(s)&&!et(r))return l?!1:(s.value=r,!0)}const i=ce(t)&&tl(n)?Number(n)e,Zs=e=>Reflect.getPrototypeOf(e);function ns(e,t,n=!1,r=!1){e=e.__v_raw;const o=Pe(e),s=Pe(t);n||(fr(t,s)&&mt(o,"get",t),mt(o,"get",s));const{has:i}=Zs(o),a=r?sl:n?ll:Co;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function rs(e,t=!1){const n=this.__v_raw,r=Pe(n),o=Pe(e);return t||(fr(e,o)&&mt(r,"has",e),mt(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function os(e,t=!1){return e=e.__v_raw,!t&&mt(Pe(e),"iterate",ir),Reflect.get(e,"size",e)}function xc(e){e=Pe(e);const t=Pe(this);return Zs(t).has.call(t,e)||(t.add(e),gn(t,"add",e,e)),this}function kc(e,t){t=Pe(t);const n=Pe(this),{has:r,get:o}=Zs(n);let s=r.call(n,e);s||(e=Pe(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?fr(t,i)&&gn(n,"set",e,t):gn(n,"add",e,t),this}function Ec(e){const t=Pe(this),{has:n,get:r}=Zs(t);let o=n.call(t,e);o||(e=Pe(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&gn(t,"delete",e,void 0),s}function Cc(){const e=Pe(this),t=e.size!==0,n=e.clear();return t&&gn(e,"clear",void 0,void 0),n}function ss(e,t){return function(r,o){const s=this,i=s.__v_raw,a=Pe(i),l=t?sl:e?ll:Co;return!e&&mt(a,"iterate",ir),i.forEach((c,u)=>r.call(o,l(c),l(u),s))}}function is(e,t,n){return function(...r){const o=this.__v_raw,s=Pe(o),i=Sr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?sl:t?ll:Co;return!t&&mt(s,"iterate",l?Xi:ir),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function _n(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Fg(){const e={get(s){return ns(this,s)},get size(){return os(this)},has:rs,add:xc,set:kc,delete:Ec,clear:Cc,forEach:ss(!1,!1)},t={get(s){return ns(this,s,!1,!0)},get size(){return os(this)},has:rs,add:xc,set:kc,delete:Ec,clear:Cc,forEach:ss(!1,!0)},n={get(s){return ns(this,s,!0)},get size(){return os(this,!0)},has(s){return rs.call(this,s,!0)},add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear"),forEach:ss(!0,!1)},r={get(s){return ns(this,s,!0,!0)},get size(){return os(this,!0)},has(s){return rs.call(this,s,!0)},add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear"),forEach:ss(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=is(s,!1,!1),n[s]=is(s,!0,!1),t[s]=is(s,!1,!0),r[s]=is(s,!0,!0)}),[e,n,t,r]}const[Hg,Ug,zg,Vg]=Fg();function il(e,t){const n=t?e?Vg:zg:e?Ug:Hg;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Se(n,o)&&o in r?n:r,o,s)}const Wg={get:il(!1,!1)},qg={get:il(!1,!0)},Kg={get:il(!0,!1)},zf=new WeakMap,Vf=new WeakMap,Wf=new WeakMap,Gg=new WeakMap;function Qg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xg(e){return e.__v_skip||!Object.isExtensible(e)?0:Qg(bg(e))}function Lt(e){return dr(e)?e:al(e,!1,Dg,Wg,zf)}function Vo(e){return al(e,!1,Bg,qg,Vf)}function ei(e){return al(e,!0,Ng,Kg,Wf)}function al(e,t,n,r,o){if(!Me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=Xg(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function Pr(e){return dr(e)?Pr(e.__v_raw):!!(e&&e.__v_isReactive)}function dr(e){return!!(e&&e.__v_isReadonly)}function Is(e){return!!(e&&e.__v_isShallow)}function qf(e){return Pr(e)||dr(e)}function Pe(e){const t=e&&e.__v_raw;return t?Pe(t):e}function Kf(e){return Rs(e,"__v_skip",!0),e}const Co=e=>Me(e)?Lt(e):e,ll=e=>Me(e)?ei(e):e;function cl(e){jn&&Bt&&(e=Pe(e),Bf(e.dep||(e.dep=rl())))}function ul(e,t){e=Pe(e);const n=e.dep;n&&Yi(n)}function et(e){return!!(e&&e.__v_isRef===!0)}function F(e){return Gf(e,!1)}function pr(e){return Gf(e,!0)}function Gf(e,t){return et(e)?e:new Yg(e,t)}class Yg{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Pe(t),this._value=n?t:Co(t)}get value(){return cl(this),this._value}set value(t){const n=this.__v_isShallow||Is(t)||dr(t);t=n?t:Pe(t),fr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Co(t),ul(this))}}function C(e){return et(e)?e.value:e}function Xt(e){return de(e)?e():C(e)}const Jg={get:(e,t,n)=>C(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return et(o)&&!et(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Qf(e){return Pr(e)?e:new Proxy(e,Jg)}class Zg{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>cl(this),()=>ul(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Xf(e){return new Zg(e)}function lT(e){const t=ce(e)?new Array(e.length):{};for(const n in e)t[n]=Yf(e,n);return t}class em{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Rg(Pe(this._object),this._key)}}class tm{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function we(e,t,n){return et(e)?e:de(e)?new tm(e):Me(e)&&arguments.length>1?Yf(e,t,n):F(e)}function Yf(e,t,n){const r=e[t];return et(r)?r:new em(e,t,n)}class nm{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ol(t,()=>{this._dirty||(this._dirty=!0,ul(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=Pe(this);return cl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function rm(e,t,n=!1){let r,o;const s=de(e);return s?(r=e,o=Jt):(r=e.get,o=e.set),new nm(r,o,s||!o,n)}function Mn(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){qr(s,t,n)}return o}function $t(e,t,n,r){if(de(e)){const s=Mn(e,t,n,r);return s&&el(s)&&s.catch(i=>{qr(i,t,n)}),s}const o=[];for(let s=0;s>>1,o=ot[r],s=Po(o);sYt&&ot.splice(t,1)}function Zi(e){ce(e)?Tr.push(...e):(!pn||!pn.includes(e,e.allowRecurse?er+1:er))&&Tr.push(e),Zf()}function Sc(e,t,n=So?Yt+1:0){for(;nPo(n)-Po(r)),er=0;ere.id==null?1/0:e.id,am=(e,t)=>{const n=Po(e)-Po(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ed(e){Ji=!1,So=!0,ot.sort(am);try{for(Yt=0;YtUe(p)?p.trim():p)),f&&(o=n.map(xg))}let a,l=r[a=_i(t)]||r[a=_i(tn(t))];!l&&s&&(l=r[a=_i(yr(t))]),l&&$t(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,$t(c,e,6,o)}}function td(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!de(e)){const l=c=>{const u=td(c,t,!0);u&&(a=!0,Ye(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Me(e)&&r.set(e,null),null):(ce(s)?s.forEach(l=>i[l]=null):Ye(i,s),Me(e)&&r.set(e,i),i)}function ni(e,t){return!e||!Ho(t)?!1:(t=t.slice(2).replace(/Once$/,""),Se(e,t[0].toLowerCase()+t.slice(1))||Se(e,yr(t))||Se(e,t))}let Ze=null,ri=null;function Ms(e){const t=Ze;return Ze=e,ri=e&&e.type.__scopeId||null,t}function cT(e){ri=e}function uT(){ri=null}function le(e,t=Ze,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Fc(-1);const s=Ms(t);let i;try{i=e(...o)}finally{Ms(s),r._d&&Fc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ki(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:g}=e;let m,w;const b=Ms(e);try{if(n.shapeFlag&4){const y=o||r,x=y;m=At(u.call(x,y,f,s,p,d,h)),w=l}else{const y=t;m=At(y.length>1?y(s,{attrs:l,slots:a,emit:c}):y(s,null)),w=t.props?l:um(l)}}catch(y){vo.length=0,qr(y,e,1),m=Q(ft)}let v=m;if(w&&g!==!1){const y=Object.keys(w),{shapeFlag:x}=v;y.length&&x&7&&(i&&y.some(Ja)&&(w=fm(w,i)),v=nn(v,w))}return n.dirs&&(v=nn(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),m=v,Ms(b),m}function cm(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Ho(n))&&((t||(t={}))[n]=e[n]);return t},fm=(e,t)=>{const n={};for(const r in e)(!Ja(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function dm(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Pc(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense,pm={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,c){e==null?hm(t,n,r,o,s,i,a,l,c):gm(e,t,n,r,o,i,a,l,c)},hydrate:mm,create:gl,normalize:vm},hl=pm;function To(e,t){const n=e.props&&e.props[t];de(n)&&n()}function hm(e,t,n,r,o,s,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=gl(e,o,r,t,f,n,s,i,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(To(e,"onPending"),To(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,i),Ar(d,e.ssFallback)):d.resolve(!1,!0)}function gm(e,t,n,r,o,s,i,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:m,isHydrating:w}=f;if(g)f.pendingBranch=d,Ft(d,g)?(l(g,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():m&&(l(h,p,n,r,o,null,s,i,a),Ar(f,p))):(f.pendingId++,w?(f.isHydrating=!1,f.activeBranch=g):c(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(l(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():(l(h,p,n,r,o,null,s,i,a),Ar(f,p))):h&&Ft(d,h)?(l(h,d,n,r,o,f,s,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0&&f.resolve()));else if(h&&Ft(d,h))l(h,d,n,r,o,f,s,i,a),Ar(f,d);else if(To(t,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:v}=f;b>0?setTimeout(()=>{f.pendingId===v&&f.fallback(p)},b):b===0&&f.fallback(p)}}function gl(e,t,n,r,o,s,i,a,l,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:g,remove:m}}=c;let w;const b=ym(e);b&&t!=null&&t.pendingBranch&&(w=t.pendingId,t.deps++);const v=e.props?$f(e.props.timeout):void 0,y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:o,anchor:s,deps:0,pendingId:0,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,E=!1){const{vnode:P,activeBranch:T,pendingBranch:M,pendingId:L,effects:K,parentComponent:A,container:B}=y;let he=!1;if(y.isHydrating)y.isHydrating=!1;else if(!x){he=T&&M.transition&&M.transition.mode==="out-in",he&&(T.transition.afterLeave=()=>{L===y.pendingId&&(d(M,B,h(T),0),Zi(K))});let{anchor:W}=y;T&&(W=h(T),p(T,A,y,!0)),he||d(M,B,W,0)}Ar(y,M),y.pendingBranch=null,y.isInFallback=!1;let fe=y.parent,V=!1;for(;fe;){if(fe.pendingBranch){fe.effects.push(...K),V=!0;break}fe=fe.parent}!V&&!he&&Zi(K),y.effects=[],b&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),To(P,"onResolve")},fallback(x){if(!y.pendingBranch)return;const{vnode:E,activeBranch:P,parentComponent:T,container:M,isSVG:L}=y;To(E,"onFallback");const K=h(P),A=()=>{y.isInFallback&&(f(null,x,M,K,T,null,L,a,l),Ar(y,x))},B=x.transition&&x.transition.mode==="out-in";B&&(P.transition.afterLeave=A),y.isInFallback=!0,p(P,T,null,!0),B||A()},move(x,E,P){y.activeBranch&&d(y.activeBranch,x,E,P),y.container=x},next(){return y.activeBranch&&h(y.activeBranch)},registerDep(x,E){const P=!!y.pendingBranch;P&&y.deps++;const T=x.vnode.el;x.asyncDep.catch(M=>{qr(M,x,0)}).then(M=>{if(x.isUnmounted||y.isUnmounted||y.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:L}=x;ia(x,M,!1),T&&(L.el=T);const K=!T&&x.subTree.el;E(x,L,g(T||x.subTree.el),T?null:h(x.subTree),y,i,l),K&&m(K),dl(x,L.el),P&&--y.deps===0&&y.resolve()})},unmount(x,E){y.isUnmounted=!0,y.activeBranch&&p(y.activeBranch,n,x,E),y.pendingBranch&&p(y.pendingBranch,n,x,E)}};return y}function mm(e,t,n,r,o,s,i,a,l){const c=t.suspense=gl(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,s,i);return c.deps===0&&c.resolve(!1,!0),u}function vm(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Ac(r?n.default:n),e.ssFallback=r?Ac(n.fallback):Q(ft)}function Ac(e){let t;if(de(e)){const n=Rr&&e._c;n&&(e._d=!1,I()),e=e(),n&&(e._d=!0,t=Ot,$d())}return ce(e)&&(e=cm(e)),e=At(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function sd(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):Zi(e)}function Ar(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,dl(r,o))}function ym(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Qe(e,t){return oi(e,null,t)}function bm(e,t){return oi(e,null,{flush:"post"})}const as={};function je(e,t,n){return oi(e,t,n)}function oi(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:i}=Be){var a;const l=Js()===((a=Ge)==null?void 0:a.scope)?Ge:null;let c,u=!1,f=!1;if(et(e)?(c=()=>e.value,u=Is(e)):Pr(e)?(c=()=>e,r=!0):ce(e)?(f=!0,u=e.some(y=>Pr(y)||Is(y)),c=()=>e.map(y=>{if(et(y))return y.value;if(Pr(y))return rr(y);if(de(y))return Mn(y,l,2)})):de(e)?t?c=()=>Mn(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),$t(e,l,3,[p])}:c=Jt,t&&r){const y=c;c=()=>rr(y())}let d,p=y=>{d=b.onStop=()=>{Mn(y,l,4),d=b.onStop=void 0}},h;if(Ir)if(p=Jt,t?n&&$t(t,l,3,[c(),f?[]:void 0,p]):c(),o==="sync"){const y=lv();h=y.__watcherHandles||(y.__watcherHandles=[])}else return Jt;let g=f?new Array(e.length).fill(as):as;const m=()=>{if(b.active)if(t){const y=b.run();(r||u||(f?y.some((x,E)=>fr(x,g[E])):fr(y,g)))&&(d&&d(),$t(t,l,3,[y,g===as?void 0:f&&g[0]===as?[]:g,p]),g=y)}else b.run()};m.allowRecurse=!!t;let w;o==="sync"?w=m:o==="post"?w=()=>nt(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),w=()=>ti(m));const b=new ol(c,w);t?n?m():g=b.run():o==="post"?nt(b.run.bind(b),l&&l.suspense):b.run();const v=()=>{b.stop(),l&&l.scope&&Za(l.scope.effects,b)};return h&&h.push(v),v}function wm(e,t,n){const r=this.proxy,o=Ue(e)?e.includes(".")?id(r,e):()=>r[e]:e.bind(r,r);let s;de(t)?s=t:(s=t.handler,n=t);const i=Ge;Fn(this);const a=oi(o,s.bind(r),n);return i?Fn(i):Dn(),a}function id(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{rr(n,t)});else if(Of(e))for(const n in e)rr(e[n],t);return e}function _m(e,t){const n=Ze;if(n===null)return e;const r=li(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),qo(()=>{e.isUnmounting=!0}),e}const Tt=[Function,Array],ad={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Tt,onEnter:Tt,onAfterEnter:Tt,onEnterCancelled:Tt,onBeforeLeave:Tt,onLeave:Tt,onAfterLeave:Tt,onLeaveCancelled:Tt,onBeforeAppear:Tt,onAppear:Tt,onAfterAppear:Tt,onAppearCancelled:Tt},km={name:"BaseTransition",props:ad,setup(e,{slots:t}){const n=sn(),r=xm();let o;return()=>{const s=t.default&&cd(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const g of s)if(g.type!==ft){i=g;break}}const a=Pe(e),{mode:l}=a;if(r.isLeaving)return Ei(i);const c=Oc(i);if(!c)return Ei(i);const u=ea(c,a,r,n);Ds(c,u);const f=n.subTree,d=f&&Oc(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const g=h();o===void 0?o=g:g!==o&&(o=g,p=!0)}if(d&&d.type!==ft&&(!Ft(c,d)||p)){const g=ea(d,a,r,n);if(Ds(d,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Ei(i);l==="in-out"&&c.type!==ft&&(g.delayLeave=(m,w,b)=>{const v=ld(r,d);v[String(d.key)]=d,m[An]=()=>{w(),m[An]=void 0,delete u.delayedLeave},u.delayedLeave=b})}return i}}},Em=km;function ld(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ea(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:g,onAppear:m,onAfterAppear:w,onAppearCancelled:b}=t,v=String(e.key),y=ld(n,e),x=(T,M)=>{T&&$t(T,r,9,M)},E=(T,M)=>{const L=M[1];x(T,M),ce(T)?T.every(K=>K.length<=1)&&L():T.length<=1&&L()},P={mode:s,persisted:i,beforeEnter(T){let M=a;if(!n.isMounted)if(o)M=g||a;else return;T[An]&&T[An](!0);const L=y[v];L&&Ft(e,L)&&L.el[An]&&L.el[An](),x(M,[T])},enter(T){let M=l,L=c,K=u;if(!n.isMounted)if(o)M=m||l,L=w||c,K=b||u;else return;let A=!1;const B=T[ls]=he=>{A||(A=!0,he?x(K,[T]):x(L,[T]),P.delayedLeave&&P.delayedLeave(),T[ls]=void 0)};M?E(M,[T,B]):B()},leave(T,M){const L=String(e.key);if(T[ls]&&T[ls](!0),n.isUnmounting)return M();x(f,[T]);let K=!1;const A=T[An]=B=>{K||(K=!0,M(),B?x(h,[T]):x(p,[T]),T[An]=void 0,y[L]===e&&delete y[L])};y[L]=e,d?E(d,[T,A]):A()},clone(T){return ea(T,t,n,r)}};return P}function Ei(e){if(Wo(e))return e=nn(e),e.children=null,e}function Oc(e){return Wo(e)?e.children?e.children[0]:void 0:e}function Ds(e,t){e.shapeFlag&6&&e.component?Ds(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function cd(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;s!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Z(e){de(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((g,m)=>{a(h,()=>g(f()),()=>m(h),u+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return re({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=Ge;if(c)return()=>Ci(c,p);const h=b=>{l=null,qr(b,p,13,!r)};if(i&&p.suspense||Ir)return d().then(b=>()=>Ci(b,p)).catch(b=>(h(b),()=>r?Q(r,{error:b}):null));const g=F(!1),m=F(),w=F(!!o);return o&&setTimeout(()=>{w.value=!1},o),s!=null&&setTimeout(()=>{if(!g.value&&!m.value){const b=new Error(`Async component timed out after ${s}ms.`);h(b),m.value=b}},s),d().then(()=>{g.value=!0,p.parent&&Wo(p.parent.vnode)&&ti(p.parent.update)}).catch(b=>{h(b),m.value=b}),()=>{if(g.value&&c)return Ci(c,p);if(m.value&&r)return Q(r,{error:m.value});if(n&&!w.value)return Q(n)}}})}function Ci(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=Q(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Wo=e=>e.type.__isKeepAlive,Cm={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=sn(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(b,v,y,x,E)=>{const P=b.component;c(b,v,y,0,a),l(P.vnode,b,v,y,P,a,x,b.slotScopeIds,E),nt(()=>{P.isDeactivated=!1,P.a&&po(P.a);const T=b.props&&b.props.onVnodeMounted;T&&ht(T,P.parent,b)},a)},r.deactivate=b=>{const v=b.component;c(b,d,null,1,a),nt(()=>{v.da&&po(v.da);const y=b.props&&b.props.onVnodeUnmounted;y&&ht(y,v.parent,b),v.isDeactivated=!0},a)};function p(b){Si(b),u(b,n,a,!0)}function h(b){o.forEach((v,y)=>{const x=aa(v.type);x&&(!b||!b(x))&&g(y)})}function g(b){const v=o.get(b);!i||!Ft(v,i)?p(v):i&&Si(i),o.delete(b),s.delete(b)}je(()=>[e.include,e.exclude],([b,v])=>{b&&h(y=>co(b,y)),v&&h(y=>!co(v,y))},{flush:"post",deep:!0});let m=null;const w=()=>{m!=null&&o.set(m,Pi(n.subTree))};return Le(w),hd(w),qo(()=>{o.forEach(b=>{const{subTree:v,suspense:y}=n,x=Pi(v);if(b.type===x.type&&b.key===x.key){Si(x);const E=x.component.da;E&&nt(E,y);return}p(b)})}),()=>{if(m=null,!t.default)return null;const b=t.default(),v=b[0];if(b.length>1)return i=null,b;if(!Lr(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return i=null,v;let y=Pi(v);const x=y.type,E=aa(lr(y)?y.type.__asyncResolved||{}:x),{include:P,exclude:T,max:M}=e;if(P&&(!E||!co(P,E))||T&&E&&co(T,E))return i=y,v;const L=y.key==null?x:y.key,K=o.get(L);return y.el&&(y=nn(y),v.shapeFlag&128&&(v.ssContent=y)),m=L,K?(y.el=K.el,y.component=K.component,y.transition&&Ds(y,y.transition),y.shapeFlag|=512,s.delete(L),s.add(L)):(s.add(L),M&&s.size>parseInt(M,10)&&g(s.values().next().value)),y.shapeFlag|=256,i=y,od(v.type)?v:y}}},Sm=Cm;function co(e,t){return ce(e)?e.some(n=>co(n,t)):Ue(e)?e.split(",").includes(t):yg(e)?e.test(t):!1}function ud(e,t){dd(e,"a",t)}function fd(e,t){dd(e,"da",t)}function dd(e,t,n=Ge){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(si(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Wo(o.parent.vnode)&&Pm(r,t,n,o),o=o.parent}}function Pm(e,t,n,r){const o=si(t,e,r,!0);Xe(()=>{Za(r[t],o)},n)}function Si(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Pi(e){return e.shapeFlag&128?e.ssContent:e}function si(e,t,n=Ge,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Vr(),Fn(n);const a=$t(t,n,e,i);return Dn(),Wr(),a});return r?o.unshift(s):o.push(s),s}}const bn=e=>(t,n=Ge)=>(!Ir||e==="sp")&&si(e,(...r)=>t(...r),n),pd=bn("bm"),Le=bn("m"),Tm=bn("bu"),hd=bn("u"),qo=bn("bum"),Xe=bn("um"),Am=bn("sp"),Om=bn("rtg"),$m=bn("rtc");function gd(e,t=Ge){si("ec",e,t)}function vt(e,t,n,r){let o;const s=n&&n[r];if(ce(e)||Ue(e)){o=new Array(e.length);for(let i=0,a=e.length;it(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,l=i.length;a{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function me(e,t,n={},r,o){if(Ze.isCE||Ze.parent&&lr(Ze.parent)&&Ze.parent.isCE)return t!=="default"&&(n.name=t),Q("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),I();const i=s&&md(s(n)),a=ae(ke,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function md(e){return e.some(t=>Lr(t)?!(t.type===ft||t.type===ke&&!md(t.children)):!0)?e:null}const ta=e=>e?Id(e)?li(e)||e.proxy:ta(e.parent):null,ho=Ye(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ta(e.parent),$root:e=>ta(e.root),$emit:e=>e.emit,$options:e=>vl(e),$forceUpdate:e=>e.f||(e.f=()=>ti(e.update)),$nextTick:e=>e.n||(e.n=yn.bind(e.proxy)),$watch:e=>wm.bind(e)}),Ti=(e,t)=>e!==Be&&!e.__isScriptSetup&&Se(e,t),Rm={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Ti(r,t))return i[t]=1,r[t];if(o!==Be&&Se(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&Se(c,t))return i[t]=3,s[t];if(n!==Be&&Se(n,t))return i[t]=4,n[t];na&&(i[t]=0)}}const u=ho[t];let f,d;if(u)return t==="$attrs"&&mt(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Be&&Se(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Se(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Ti(o,t)?(o[t]=n,!0):r!==Be&&Se(r,t)?(r[t]=n,!0):Se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==Be&&Se(e,i)||Ti(t,i)||(a=s[0])&&Se(a,i)||Se(r,i)||Se(ho,i)||Se(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function vd(){return yd().slots}function Lm(){return yd().attrs}function yd(){const e=sn();return e.setupContext||(e.setupContext=Md(e))}function $c(e){return ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ml(e){const t=sn();let n=e();return Dn(),el(n)&&(n=n.catch(r=>{throw Fn(t),r})),[n,()=>Fn(t)]}let na=!0;function Im(e){const t=vl(e),n=e.proxy,r=e.ctx;na=!1,t.beforeCreate&&Rc(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:g,deactivated:m,beforeDestroy:w,beforeUnmount:b,destroyed:v,unmounted:y,render:x,renderTracked:E,renderTriggered:P,errorCaptured:T,serverPrefetch:M,expose:L,inheritAttrs:K,components:A,directives:B,filters:he}=t;if(c&&jm(c,r,null),i)for(const W in i){const U=i[W];de(U)&&(r[W]=U.bind(n))}if(o){const W=o.call(n,n);Me(W)&&(e.data=Lt(W))}if(na=!0,s)for(const W in s){const U=s[W],_e=de(U)?U.bind(n,n):de(U.get)?U.get.bind(n,n):Jt,Ie=!de(U)&&de(U.set)?U.set.bind(n):Jt,De=R({get:_e,set:Ie});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>De.value,set:Ee=>De.value=Ee})}if(a)for(const W in a)bd(a[W],r,n,W);if(l){const W=de(l)?l.call(n):l;Reflect.ownKeys(W).forEach(U=>{ze(U,W[U])})}u&&Rc(u,e,"c");function V(W,U){ce(U)?U.forEach(_e=>W(_e.bind(n))):U&&W(U.bind(n))}if(V(pd,f),V(Le,d),V(Tm,p),V(hd,h),V(ud,g),V(fd,m),V(gd,T),V($m,E),V(Om,P),V(qo,b),V(Xe,y),V(Am,M),ce(L))if(L.length){const W=e.exposed||(e.exposed={});L.forEach(U=>{Object.defineProperty(W,U,{get:()=>n[U],set:_e=>n[U]=_e})})}else e.exposed||(e.exposed={});x&&e.render===Jt&&(e.render=x),K!=null&&(e.inheritAttrs=K),A&&(e.components=A),B&&(e.directives=B)}function jm(e,t,n=Jt){ce(e)&&(e=ra(e));for(const r in e){const o=e[r];let s;Me(o)?"default"in o?s=Te(o.from||r,o.default,!0):s=Te(o.from||r):s=Te(o),et(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Rc(e,t,n){$t(ce(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function bd(e,t,n,r){const o=r.includes(".")?id(n,r):()=>n[r];if(Ue(e)){const s=t[e];de(s)&&je(o,s)}else if(de(e))je(o,e.bind(n));else if(Me(e))if(ce(e))e.forEach(s=>bd(s,t,n,r));else{const s=de(e.handler)?e.handler.bind(n):t[e.handler];de(s)&&je(o,s,e)}}function vl(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Ns(l,c,i,!0)),Ns(l,t,i)),Me(t)&&s.set(t,l),l}function Ns(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Ns(e,s,n,!0),o&&o.forEach(i=>Ns(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Mm[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Mm={data:Lc,props:Ic,emits:Ic,methods:uo,computed:uo,beforeCreate:ct,created:ct,beforeMount:ct,mounted:ct,beforeUpdate:ct,updated:ct,beforeDestroy:ct,beforeUnmount:ct,destroyed:ct,unmounted:ct,activated:ct,deactivated:ct,errorCaptured:ct,serverPrefetch:ct,components:uo,directives:uo,watch:Nm,provide:Lc,inject:Dm};function Lc(e,t){return t?e?function(){return Ye(de(e)?e.call(this,this):e,de(t)?t.call(this,this):t)}:t:e}function Dm(e,t){return uo(ra(e),ra(t))}function ra(e){if(ce(e)){const t={};for(let n=0;n1)return n&&de(t)?t.call(r&&r.proxy):t}}function _d(){return!!(Ge||Ze||Ao)}function Hm(e,t,n,r=!1){const o={},s={};Rs(s,ai,1),e.propsDefaults=Object.create(null),xd(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Vo(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Um(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Pe(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,p]=kd(f,t,!0);Ye(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Me(e)&&r.set(e,Cr),Cr;if(ce(s))for(let u=0;u-1,p[1]=g<0||h-1||Se(p,"default"))&&a.push(f)}}}const c=[i,a];return Me(e)&&r.set(e,c),c}function jc(e){return e[0]!=="$"}function Mc(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Dc(e,t){return Mc(e)===Mc(t)}function Nc(e,t){return ce(t)?t.findIndex(n=>Dc(n,e)):de(t)&&Dc(t,e)?0:-1}const Ed=e=>e[0]==="_"||e==="$stable",yl=e=>ce(e)?e.map(At):[At(e)],zm=(e,t,n)=>{if(t._n)return t;const r=le((...o)=>yl(t(...o)),n);return r._c=!1,r},Cd=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Ed(o))continue;const s=e[o];if(de(s))t[o]=zm(o,s,r);else if(s!=null){const i=yl(s);t[o]=()=>i}}},Sd=(e,t)=>{const n=yl(t);e.slots.default=()=>n},Vm=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Pe(t),Rs(t,"_",n)):Cd(t,e.slots={})}else e.slots={},t&&Sd(e,t);Rs(e.slots,ai,1)},Wm=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Be;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Ye(o,t),!n&&a===1&&delete o._):(s=!t.$stable,Cd(t,o)),i=t}else t&&(Sd(e,t),i={default:1});if(s)for(const a in o)!Ed(a)&&i[a]==null&&delete o[a]};function Bs(e,t,n,r,o=!1){if(ce(e)){e.forEach((d,p)=>Bs(d,t&&(ce(t)?t[p]:t),n,r,o));return}if(lr(r)&&!o)return;const s=r.shapeFlag&4?li(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Be?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ue(c)?(u[c]=null,Se(f,c)&&(f[c]=null)):et(c)&&(c.value=null)),de(l))Mn(l,a,12,[i,u]);else{const d=Ue(l),p=et(l);if(d||p){const h=()=>{if(e.f){const g=d?Se(f,l)?f[l]:u[l]:l.value;o?ce(g)&&Za(g,s):ce(g)?g.includes(s)||g.push(s):d?(u[l]=[s],Se(f,l)&&(f[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,Se(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,nt(h,n)):h()}}}let xn=!1;const cs=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",us=e=>e.nodeType===8;function qm(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(v,y)=>{if(!y.hasChildNodes()){n(null,v,y),js(),y._vnode=v;return}xn=!1,f(y.firstChild,v,null,null,null),js(),y._vnode=v,xn&&console.error("Hydration completed but contains mismatches.")},f=(v,y,x,E,P,T=!1)=>{const M=us(v)&&v.data==="[",L=()=>g(v,y,x,E,P,M),{type:K,ref:A,shapeFlag:B,patchFlag:he}=y;let fe=v.nodeType;y.el=v,he===-2&&(T=!1,y.dynamicChildren=null);let V=null;switch(K){case $r:fe!==3?y.children===""?(l(y.el=o(""),i(v),v),V=v):V=L():(v.data!==y.children&&(xn=!0,v.data=y.children),V=s(v));break;case ft:b(v)?(V=s(v),w(y.el=v.content.firstChild,v,x)):fe!==8||M?V=L():V=s(v);break;case mo:if(M&&(v=s(v),fe=v.nodeType),fe===1||fe===3){V=v;const W=!y.children.length;for(let U=0;U{T=T||!!y.dynamicChildren;const{type:M,props:L,patchFlag:K,shapeFlag:A,dirs:B,transition:he}=y,fe=M==="input"||M==="option";if(fe||K!==-1){B&&Qt(y,null,x,"created");let V=!1;if(b(v)){V=Td(E,he)&&x&&x.vnode.props&&x.vnode.props.appear;const U=v.content.firstChild;V&&he.beforeEnter(U),w(U,v,x),y.el=v=U}if(L)if(fe||!T||K&48)for(const U in L)(fe&&(U.endsWith("value")||U==="indeterminate")||Ho(U)&&!fo(U)||U[0]===".")&&r(v,U,null,L[U],!1,void 0,x);else L.onClick&&r(v,"onClick",null,L.onClick,!1,void 0,x);let W;if((W=L&&L.onVnodeBeforeMount)&&ht(W,x,y),B&&Qt(y,null,x,"beforeMount"),((W=L&&L.onVnodeMounted)||B||V)&&sd(()=>{W&&ht(W,x,y),V&&he.enter(v),B&&Qt(y,null,x,"mounted")},E),A&16&&!(L&&(L.innerHTML||L.textContent))){let U=p(v.firstChild,y,v,x,E,P,T);for(;U;){xn=!0;const _e=U;U=U.nextSibling,a(_e)}}else A&8&&v.textContent!==y.children&&(xn=!0,v.textContent=y.children)}return v.nextSibling},p=(v,y,x,E,P,T,M)=>{M=M||!!y.dynamicChildren;const L=y.children,K=L.length;for(let A=0;A{const{slotScopeIds:M}=y;M&&(P=P?P.concat(M):M);const L=i(v),K=p(s(v),y,L,x,E,P,T);return K&&us(K)&&K.data==="]"?s(y.anchor=K):(xn=!0,l(y.anchor=c("]"),L,K),K)},g=(v,y,x,E,P,T)=>{if(xn=!0,y.el=null,T){const K=m(v);for(;;){const A=s(v);if(A&&A!==K)a(A);else break}}const M=s(v),L=i(v);return a(v),n(null,y,L,M,x,E,cs(L),P),M},m=(v,y="[",x="]")=>{let E=0;for(;v;)if(v=s(v),v&&us(v)&&(v.data===y&&E++,v.data===x)){if(E===0)return s(v);E--}return v},w=(v,y,x)=>{const E=y.parentNode;E&&E.replaceChild(v,y);let P=x;for(;P;)P.vnode.el===y&&(P.vnode.el=P.subTree.el=v),P=P.parent},b=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[u,f]}const nt=sd;function Km(e){return Pd(e)}function Gm(e){return Pd(e,qm)}function Pd(e,t){const n=Gi();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Jt,insertStaticContent:h}=e,g=(_,k,S,O=null,j=null,D=null,J=!1,H=null,z=!!k.dynamicChildren)=>{if(_===k)return;_&&!Ft(_,k)&&(O=$(_),Ee(_,j,D,!0),_=null),k.patchFlag===-2&&(z=!1,k.dynamicChildren=null);const{type:N,ref:ie,shapeFlag:te}=k;switch(N){case $r:m(_,k,S,O);break;case ft:w(_,k,S,O);break;case mo:_==null&&b(k,S,O,J);break;case ke:A(_,k,S,O,j,D,J,H,z);break;default:te&1?x(_,k,S,O,j,D,J,H,z):te&6?B(_,k,S,O,j,D,J,H,z):(te&64||te&128)&&N.process(_,k,S,O,j,D,J,H,z,G)}ie!=null&&j&&Bs(ie,_&&_.ref,D,k||_,!k)},m=(_,k,S,O)=>{if(_==null)r(k.el=a(k.children),S,O);else{const j=k.el=_.el;k.children!==_.children&&c(j,k.children)}},w=(_,k,S,O)=>{_==null?r(k.el=l(k.children||""),S,O):k.el=_.el},b=(_,k,S,O)=>{[_.el,_.anchor]=h(_.children,k,S,O,_.el,_.anchor)},v=({el:_,anchor:k},S,O)=>{let j;for(;_&&_!==k;)j=d(_),r(_,S,O),_=j;r(k,S,O)},y=({el:_,anchor:k})=>{let S;for(;_&&_!==k;)S=d(_),o(_),_=S;o(k)},x=(_,k,S,O,j,D,J,H,z)=>{J=J||k.type==="svg",_==null?E(k,S,O,j,D,J,H,z):M(_,k,j,D,J,H,z)},E=(_,k,S,O,j,D,J,H)=>{let z,N;const{type:ie,props:te,shapeFlag:se,transition:pe,dirs:be}=_;if(z=_.el=i(_.type,D,te&&te.is,te),se&8?u(z,_.children):se&16&&T(_.children,z,null,O,j,D&&ie!=="foreignObject",J,H),be&&Qt(_,null,O,"created"),P(z,_,_.scopeId,J,O),te){for(const Oe in te)Oe!=="value"&&!fo(Oe)&&s(z,Oe,null,te[Oe],D,_.children,O,j,Ve);"value"in te&&s(z,"value",null,te.value),(N=te.onVnodeBeforeMount)&&ht(N,O,_)}be&&Qt(_,null,O,"beforeMount");const $e=Td(j,pe);$e&&pe.beforeEnter(z),r(z,k,S),((N=te&&te.onVnodeMounted)||$e||be)&&nt(()=>{N&&ht(N,O,_),$e&&pe.enter(z),be&&Qt(_,null,O,"mounted")},j)},P=(_,k,S,O,j)=>{if(S&&p(_,S),O)for(let D=0;D{for(let N=z;N<_.length;N++){const ie=_[N]=H?On(_[N]):At(_[N]);g(null,ie,k,S,O,j,D,J,H)}},M=(_,k,S,O,j,D,J)=>{const H=k.el=_.el;let{patchFlag:z,dynamicChildren:N,dirs:ie}=k;z|=_.patchFlag&16;const te=_.props||Be,se=k.props||Be;let pe;S&&Kn(S,!1),(pe=se.onVnodeBeforeUpdate)&&ht(pe,S,k,_),ie&&Qt(k,_,S,"beforeUpdate"),S&&Kn(S,!0);const be=j&&k.type!=="foreignObject";if(N?L(_.dynamicChildren,N,H,S,O,be,D):J||U(_,k,H,null,S,O,be,D,!1),z>0){if(z&16)K(H,k,te,se,S,O,j);else if(z&2&&te.class!==se.class&&s(H,"class",null,se.class,j),z&4&&s(H,"style",te.style,se.style,j),z&8){const $e=k.dynamicProps;for(let Oe=0;Oe<$e.length;Oe++){const Ke=$e[Oe],Dt=te[Ke],_r=se[Ke];(_r!==Dt||Ke==="value")&&s(H,Ke,Dt,_r,j,_.children,S,O,Ve)}}z&1&&_.children!==k.children&&u(H,k.children)}else!J&&N==null&&K(H,k,te,se,S,O,j);((pe=se.onVnodeUpdated)||ie)&&nt(()=>{pe&&ht(pe,S,k,_),ie&&Qt(k,_,S,"updated")},O)},L=(_,k,S,O,j,D,J)=>{for(let H=0;H{if(S!==O){if(S!==Be)for(const H in S)!fo(H)&&!(H in O)&&s(_,H,S[H],null,J,k.children,j,D,Ve);for(const H in O){if(fo(H))continue;const z=O[H],N=S[H];z!==N&&H!=="value"&&s(_,H,N,z,J,k.children,j,D,Ve)}"value"in O&&s(_,"value",S.value,O.value)}},A=(_,k,S,O,j,D,J,H,z)=>{const N=k.el=_?_.el:a(""),ie=k.anchor=_?_.anchor:a("");let{patchFlag:te,dynamicChildren:se,slotScopeIds:pe}=k;pe&&(H=H?H.concat(pe):pe),_==null?(r(N,S,O),r(ie,S,O),T(k.children,S,ie,j,D,J,H,z)):te>0&&te&64&&se&&_.dynamicChildren?(L(_.dynamicChildren,se,S,j,D,J,H),(k.key!=null||j&&k===j.subTree)&&bl(_,k,!0)):U(_,k,S,ie,j,D,J,H,z)},B=(_,k,S,O,j,D,J,H,z)=>{k.slotScopeIds=H,_==null?k.shapeFlag&512?j.ctx.activate(k,S,O,J,z):he(k,S,O,j,D,J,z):fe(_,k,z)},he=(_,k,S,O,j,D,J)=>{const H=_.component=nv(_,O,j);if(Wo(_)&&(H.ctx.renderer=G),rv(H),H.asyncDep){if(j&&j.registerDep(H,V),!_.el){const z=H.subTree=Q(ft);w(null,z,k,S)}return}V(H,_,k,S,j,D,J)},fe=(_,k,S)=>{const O=k.component=_.component;if(dm(_,k,S))if(O.asyncDep&&!O.asyncResolved){W(O,k,S);return}else O.next=k,im(O.update),O.update();else k.el=_.el,O.vnode=k},V=(_,k,S,O,j,D,J)=>{const H=()=>{if(_.isMounted){let{next:ie,bu:te,u:se,parent:pe,vnode:be}=_,$e=ie,Oe;Kn(_,!1),ie?(ie.el=be.el,W(_,ie,J)):ie=be,te&&po(te),(Oe=ie.props&&ie.props.onVnodeBeforeUpdate)&&ht(Oe,pe,ie,be),Kn(_,!0);const Ke=ki(_),Dt=_.subTree;_.subTree=Ke,g(Dt,Ke,f(Dt.el),$(Dt),_,j,D),ie.el=Ke.el,$e===null&&dl(_,Ke.el),se&&nt(se,j),(Oe=ie.props&&ie.props.onVnodeUpdated)&&nt(()=>ht(Oe,pe,ie,be),j)}else{let ie;const{el:te,props:se}=k,{bm:pe,m:be,parent:$e}=_,Oe=lr(k);if(Kn(_,!1),pe&&po(pe),!Oe&&(ie=se&&se.onVnodeBeforeMount)&&ht(ie,$e,k),Kn(_,!0),te&&Ce){const Ke=()=>{_.subTree=ki(_),Ce(te,_.subTree,_,j,null)};Oe?k.type.__asyncLoader().then(()=>!_.isUnmounted&&Ke()):Ke()}else{const Ke=_.subTree=ki(_);g(null,Ke,S,O,_,j,D),k.el=Ke.el}if(be&&nt(be,j),!Oe&&(ie=se&&se.onVnodeMounted)){const Ke=k;nt(()=>ht(ie,$e,Ke),j)}(k.shapeFlag&256||$e&&lr($e.vnode)&&$e.vnode.shapeFlag&256)&&_.a&&nt(_.a,j),_.isMounted=!0,k=S=O=null}},z=_.effect=new ol(H,()=>ti(N),_.scope),N=_.update=()=>z.run();N.id=_.uid,Kn(_,!0),N()},W=(_,k,S)=>{k.component=_;const O=_.vnode.props;_.vnode=k,_.next=null,Um(_,k.props,O,S),Wm(_,k.children,S),Vr(),Sc(_),Wr()},U=(_,k,S,O,j,D,J,H,z=!1)=>{const N=_&&_.children,ie=_?_.shapeFlag:0,te=k.children,{patchFlag:se,shapeFlag:pe}=k;if(se>0){if(se&128){Ie(N,te,S,O,j,D,J,H,z);return}else if(se&256){_e(N,te,S,O,j,D,J,H,z);return}}pe&8?(ie&16&&Ve(N,j,D),te!==N&&u(S,te)):ie&16?pe&16?Ie(N,te,S,O,j,D,J,H,z):Ve(N,j,D,!0):(ie&8&&u(S,""),pe&16&&T(te,S,O,j,D,J,H,z))},_e=(_,k,S,O,j,D,J,H,z)=>{_=_||Cr,k=k||Cr;const N=_.length,ie=k.length,te=Math.min(N,ie);let se;for(se=0;seie?Ve(_,j,D,!0,!1,te):T(k,S,O,j,D,J,H,z,te)},Ie=(_,k,S,O,j,D,J,H,z)=>{let N=0;const ie=k.length;let te=_.length-1,se=ie-1;for(;N<=te&&N<=se;){const pe=_[N],be=k[N]=z?On(k[N]):At(k[N]);if(Ft(pe,be))g(pe,be,S,null,j,D,J,H,z);else break;N++}for(;N<=te&&N<=se;){const pe=_[te],be=k[se]=z?On(k[se]):At(k[se]);if(Ft(pe,be))g(pe,be,S,null,j,D,J,H,z);else break;te--,se--}if(N>te){if(N<=se){const pe=se+1,be=pese)for(;N<=te;)Ee(_[N],j,D,!0),N++;else{const pe=N,be=N,$e=new Map;for(N=be;N<=se;N++){const _t=k[N]=z?On(k[N]):At(k[N]);_t.key!=null&&$e.set(_t.key,N)}let Oe,Ke=0;const Dt=se-be+1;let _r=!1,gc=0;const Xr=new Array(Dt);for(N=0;N=Dt){Ee(_t,j,D,!0);continue}let Kt;if(_t.key!=null)Kt=$e.get(_t.key);else for(Oe=be;Oe<=se;Oe++)if(Xr[Oe-be]===0&&Ft(_t,k[Oe])){Kt=Oe;break}Kt===void 0?Ee(_t,j,D,!0):(Xr[Kt-be]=N+1,Kt>=gc?gc=Kt:_r=!0,g(_t,k[Kt],S,null,j,D,J,H,z),Ke++)}const mc=_r?Qm(Xr):Cr;for(Oe=mc.length-1,N=Dt-1;N>=0;N--){const _t=be+N,Kt=k[_t],vc=_t+1{const{el:D,type:J,transition:H,children:z,shapeFlag:N}=_;if(N&6){De(_.component.subTree,k,S,O);return}if(N&128){_.suspense.move(k,S,O);return}if(N&64){J.move(_,k,S,G);return}if(J===ke){r(D,k,S);for(let te=0;teH.enter(D),j);else{const{leave:te,delayLeave:se,afterLeave:pe}=H,be=()=>r(D,k,S),$e=()=>{te(D,()=>{be(),pe&&pe()})};se?se(D,be,$e):$e()}else r(D,k,S)},Ee=(_,k,S,O=!1,j=!1)=>{const{type:D,props:J,ref:H,children:z,dynamicChildren:N,shapeFlag:ie,patchFlag:te,dirs:se}=_;if(H!=null&&Bs(H,null,S,_,!0),ie&256){k.ctx.deactivate(_);return}const pe=ie&1&&se,be=!lr(_);let $e;if(be&&($e=J&&J.onVnodeBeforeUnmount)&&ht($e,k,_),ie&6)wt(_.component,S,O);else{if(ie&128){_.suspense.unmount(S,O);return}pe&&Qt(_,null,k,"beforeUnmount"),ie&64?_.type.remove(_,k,S,j,G,O):N&&(D!==ke||te>0&&te&64)?Ve(N,k,S,!1,!0):(D===ke&&te&384||!j&&ie&16)&&Ve(z,k,S),O&&bt(_)}(be&&($e=J&&J.onVnodeUnmounted)||pe)&&nt(()=>{$e&&ht($e,k,_),pe&&Qt(_,null,k,"unmounted")},S)},bt=_=>{const{type:k,el:S,anchor:O,transition:j}=_;if(k===ke){at(S,O);return}if(k===mo){y(_);return}const D=()=>{o(S),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(_.shapeFlag&1&&j&&!j.persisted){const{leave:J,delayLeave:H}=j,z=()=>J(S,D);H?H(_.el,D,z):z()}else D()},at=(_,k)=>{let S;for(;_!==k;)S=d(_),o(_),_=S;o(k)},wt=(_,k,S)=>{const{bum:O,scope:j,update:D,subTree:J,um:H}=_;O&&po(O),j.stop(),D&&(D.active=!1,Ee(J,_,k,S)),H&&nt(H,k),nt(()=>{_.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},Ve=(_,k,S,O=!1,j=!1,D=0)=>{for(let J=D;J<_.length;J++)Ee(_[J],k,S,O,j)},$=_=>_.shapeFlag&6?$(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el),Y=(_,k,S)=>{_==null?k._vnode&&Ee(k._vnode,null,null,!0):g(k._vnode||null,_,k,null,null,null,S),Sc(),js(),k._vnode=_},G={p:g,um:Ee,m:De,r:bt,mt:he,mc:T,pc:U,pbc:L,n:$,o:e};let oe,Ce;return t&&([oe,Ce]=t(G)),{render:Y,hydrate:oe,createApp:Fm(Y,oe)}}function Kn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Td(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function bl(e,t,n=!1){const r=e.children,o=t.children;if(ce(r)&&ce(o))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const Xm=e=>e.__isTeleport,go=e=>e&&(e.disabled||e.disabled===""),Bc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,sa=(e,t)=>{const n=e&&e.to;return Ue(n)?t?t(n):null:n},Ym={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:g,createComment:m}}=c,w=go(t.props);let{shapeFlag:b,children:v,dynamicChildren:y}=t;if(e==null){const x=t.el=g(""),E=t.anchor=g("");p(x,n,r),p(E,n,r);const P=t.target=sa(t.props,h),T=t.targetAnchor=g("");P&&(p(T,P),i=i||Bc(P));const M=(L,K)=>{b&16&&u(v,L,K,o,s,i,a,l)};w?M(n,E):P&&M(P,T)}else{t.el=e.el;const x=t.anchor=e.anchor,E=t.target=e.target,P=t.targetAnchor=e.targetAnchor,T=go(e.props),M=T?n:E,L=T?x:P;if(i=i||Bc(E),y?(d(e.dynamicChildren,y,M,o,s,i,a),bl(e,t,!0)):l||f(e,t,M,L,o,s,i,a,!1),w)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fs(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const K=t.target=sa(t.props,h);K&&fs(t,K,null,c,0)}else T&&fs(t,E,P,c,1)}Od(t)},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&s(u),i&&s(c),a&16){const p=i||!go(d);for(let h=0;h0?Ot||Cr:null,$d(),Rr>0&&Ot&&Ot.push(e),e}function ne(e,t,n,r,o,s){return Rd(xe(e,t,n,r,o,s,!0))}function ae(e,t,n,r,o){return Rd(Q(e,t,n,r,o,!0))}function Lr(e){return e?e.__v_isVNode===!0:!1}function Ft(e,t){return e.type===t.type&&e.key===t.key}const ai="__vInternal",Ld=({key:e})=>e??null,xs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ue(e)||et(e)||de(e)?{i:Ze,r:e,k:t,f:!!n}:e:null);function xe(e,t=null,n=null,r=0,o=null,s=e===ke?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ld(t),ref:t&&xs(t),scopeId:ri,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ze};return a?(wl(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ue(n)?8:16),Rr>0&&!i&&Ot&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Ot.push(l),l}const Q=Zm;function Zm(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===nd)&&(e=ft),Lr(e)){const a=nn(e,t,!0);return n&&wl(a,n),Rr>0&&!s&&Ot&&(a.shapeFlag&6?Ot[Ot.indexOf(e)]=a:Ot.push(a)),a.patchFlag|=-2,a}if(iv(e)&&(e=e.__vccOpts),t){t=Ko(t);let{class:a,style:l}=t;a&&!Ue(a)&&(t.class=q(a)),Me(l)&&(qf(l)&&!ce(l)&&(l=Ye({},l)),t.style=mn(l))}const i=Ue(e)?1:od(e)?128:Xm(e)?64:Me(e)?4:de(e)?2:0;return xe(e,t,n,r,o,i,s,!0)}function Ko(e){return e?qf(e)||ai in e?Ye({},e):e:null}function nn(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?ue(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ld(a),ref:t&&t.ref?n&&o?ce(o)?o.concat(xs(t)):[o,xs(t)]:xs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ke?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Je(e=" ",t=0){return Q($r,null,e,t)}function ge(e="",t=!1){return t?(I(),ae(ft,null,e)):Q(ft,null,e)}function At(e){return e==null||typeof e=="boolean"?Q(ft):ce(e)?Q(ke,null,e.slice()):typeof e=="object"?On(e):Q($r,null,String(e))}function On(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function wl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ce(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),wl(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ai in t)?t._ctx=Ze:o===3&&Ze&&(Ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else de(t)?(t={default:t,_ctx:Ze},n=32):(t=String(t),r&64?(n=16,t=[Je(t)]):n=8);e.children=t,e.shapeFlag|=n}function ue(...e){const t={};for(let n=0;nGe||Ze;let _l,xr,Hc="__VUE_INSTANCE_SETTERS__";(xr=Gi()[Hc])||(xr=Gi()[Hc]=[]),xr.push(e=>Ge=e),_l=e=>{xr.length>1?xr.forEach(t=>t(e)):xr[0](e)};const Fn=e=>{_l(e),e.scope.on()},Dn=()=>{Ge&&Ge.scope.off(),_l(null)};function Id(e){return e.vnode.shapeFlag&4}let Ir=!1;function rv(e,t=!1){Ir=t;const{props:n,children:r}=e.vnode,o=Id(e);Hm(e,n,o,t),Vm(e,r);const s=o?ov(e,t):void 0;return Ir=!1,s}function ov(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Kf(new Proxy(e.ctx,Rm));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Md(e):null;Fn(e),Vr();const s=Mn(r,e,0,[e.props,o]);if(Wr(),Dn(),el(s)){if(s.then(Dn,Dn),t)return s.then(i=>{ia(e,i,t)}).catch(i=>{qr(i,e,0)});e.asyncDep=s}else ia(e,s,t)}else jd(e,t)}function ia(e,t,n){de(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Me(t)&&(e.setupState=Qf(t)),jd(e,n)}let Uc;function jd(e,t,n){const r=e.type;if(!e.render){if(!t&&Uc&&!r.render){const o=r.template||vl(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Ye(Ye({isCustomElement:s,delimiters:a},i),l);r.render=Uc(o,c)}}e.render=r.render||Jt}{Fn(e),Vr();try{Im(e)}finally{Wr(),Dn()}}}function sv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return mt(e,"get","$attrs"),t[n]}}))}function Md(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return sv(e)},slots:e.slots,emit:e.emit,expose:t}}function li(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Qf(Kf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ho)return ho[n](e)},has(t,n){return n in t||n in ho}}))}function aa(e,t=!0){return de(e)?e.displayName||e.name:e.name||t&&e.__name}function iv(e){return de(e)&&"__vccOpts"in e}const R=(e,t)=>rm(e,t,Ir);function ye(e,t,n){const r=arguments.length;return r===2?Me(t)&&!ce(t)?Lr(t)?Q(e,null,[t]):Q(e,t):Q(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Lr(n)&&(n=[n]),Q(e,t,n))}const av=Symbol.for("v-scx"),lv=()=>Te(av),Dd="3.3.13",cv="http://www.w3.org/2000/svg",tr=typeof document<"u"?document:null,zc=tr&&tr.createElement("template"),uv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?tr.createElementNS(cv,e):tr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>tr.createTextNode(e),createComment:e=>tr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>tr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{zc.innerHTML=r?`${e}`:e;const a=zc.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},kn="transition",Yr="animation",Oo=Symbol("_vtc"),Hn=(e,{slots:t})=>ye(Em,fv(e),t);Hn.displayName="Transition";const Nd={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Hn.props=Ye({},ad,Nd);const Gn=(e,t=[])=>{ce(e)?e.forEach(n=>n(...t)):e&&e(...t)},Vc=e=>e?ce(e)?e.some(t=>t.length>1):e.length>1:!1;function fv(e){const t={};for(const A in e)A in Nd||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=dv(o),g=h&&h[0],m=h&&h[1],{onBeforeEnter:w,onEnter:b,onEnterCancelled:v,onLeave:y,onLeaveCancelled:x,onBeforeAppear:E=w,onAppear:P=b,onAppearCancelled:T=v}=t,M=(A,B,he)=>{Qn(A,B?u:a),Qn(A,B?c:i),he&&he()},L=(A,B)=>{A._isLeaving=!1,Qn(A,f),Qn(A,p),Qn(A,d),B&&B()},K=A=>(B,he)=>{const fe=A?P:b,V=()=>M(B,A,he);Gn(fe,[B,V]),Wc(()=>{Qn(B,A?l:s),En(B,A?u:a),Vc(fe)||qc(B,r,g,V)})};return Ye(t,{onBeforeEnter(A){Gn(w,[A]),En(A,s),En(A,i)},onBeforeAppear(A){Gn(E,[A]),En(A,l),En(A,c)},onEnter:K(!1),onAppear:K(!0),onLeave(A,B){A._isLeaving=!0;const he=()=>L(A,B);En(A,f),gv(),En(A,d),Wc(()=>{A._isLeaving&&(Qn(A,f),En(A,p),Vc(y)||qc(A,r,m,he))}),Gn(y,[A,he])},onEnterCancelled(A){M(A,!1),Gn(v,[A])},onAppearCancelled(A){M(A,!0),Gn(T,[A])},onLeaveCancelled(A){L(A),Gn(x,[A])}})}function dv(e){if(e==null)return null;if(Me(e))return[Ai(e.enter),Ai(e.leave)];{const t=Ai(e);return[t,t]}}function Ai(e){return $f(e)}function En(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Oo]||(e[Oo]=new Set)).add(t)}function Qn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Oo];n&&(n.delete(t),n.size||(e[Oo]=void 0))}function Wc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let pv=0;function qc(e,t,n,r){const o=e._endId=++pv,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=hv(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u(n[h]||"").split(", "),o=r(`${kn}Delay`),s=r(`${kn}Duration`),i=Kc(o,s),a=r(`${Yr}Delay`),l=r(`${Yr}Duration`),c=Kc(a,l);let u=null,f=0,d=0;t===kn?i>0&&(u=kn,f=i,d=s.length):t===Yr?c>0&&(u=Yr,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?kn:Yr:null,d=u?u===kn?s.length:l.length:0);const p=u===kn&&/\b(transform|all)(,|$)/.test(r(`${kn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Kc(e,t){for(;e.lengthGc(n)+Gc(e[r])))}function Gc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function gv(){return document.body.offsetHeight}function mv(e,t,n){const r=e[Oo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const xl=Symbol("_vod"),vv={beforeMount(e,{value:t},{transition:n}){e[xl]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Jr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Jr(e,!0),r.enter(e)):r.leave(e,()=>{Jr(e,!1)}):Jr(e,t))},beforeUnmount(e,{value:t}){Jr(e,t)}};function Jr(e,t){e.style.display=t?e[xl]:"none"}const Bd=Symbol("");function fT(e){const t=sn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>ca(s,o))},r=()=>{const o=e(t.proxy);la(t.subTree,o),n(o)};bm(r),Le(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Xe(()=>o.disconnect())})}function la(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{la(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)ca(e.el,t);else if(e.type===ke)e.children.forEach(n=>la(n,t));else if(e.type===mo){let{el:n,anchor:r}=e;for(;n&&(ca(n,t),n!==r);)n=n.nextSibling}}function ca(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[Bd]=r}}function yv(e,t,n){const r=e.style,o=Ue(n);if(n&&!o){if(t&&!Ue(t))for(const s in t)n[s]==null&&ua(r,s,"");for(const s in n)ua(r,s,n[s])}else{const s=r.display;if(o){if(t!==n){const i=r[Bd];i&&(n+=";"+i),r.cssText=n}}else t&&e.removeAttribute("style");xl in e&&(r.display=s)}}const Qc=/\s*!important$/;function ua(e,t,n){if(ce(n))n.forEach(r=>ua(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=bv(e,t);Qc.test(n)?e.setProperty(yr(r),n.replace(Qc,""),"important"):e[r]=n}}const Xc=["Webkit","Moz","ms"],Oi={};function bv(e,t){const n=Oi[t];if(n)return n;let r=tn(t);if(r!=="filter"&&r in e)return Oi[t]=r;r=Ys(r);for(let o=0;o$i||(Sv.then(()=>$i=0),$i=Date.now());function Tv(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;$t(Av(r,n.value),t,5,[r])};return n.value=e,n.attached=Pv(),n}function Av(e,t){if(ce(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const eu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ov=(e,t,n,r,o=!1,s,i,a,l)=>{t==="class"?mv(e,r,o):t==="style"?yv(e,n,r):Ho(t)?Ja(t)||Ev(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):$v(e,t,r,o))?_v(e,t,r,s,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),wv(e,t,r,o))};function $v(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&eu(t)&&de(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return eu(t)&&Ue(n)?!1:t in e}const Rv=["ctrl","shift","alt","meta"],Lv={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Rv.some(n=>e[`${n}Key`]&&!t.includes(n))},Ri=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=yr(o.key);if(t.some(i=>i===s||Iv[i]===s))return e(o)})},Fd=Ye({patchProp:Ov},uv);let yo,nu=!1;function jv(){return yo||(yo=Km(Fd))}function Mv(){return yo=nu?yo:Gm(Fd),nu=!0,yo}const Dv=(...e)=>{const t=jv().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Hd(r);if(!o)return;const s=t._component;!de(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},Nv=(...e)=>{const t=Mv().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Hd(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function Hd(e){return Ue(e)?document.querySelector(e):e}const Bv=/#/g,Fv=/&/g,Hv=/=/g,kl=/\+/g,Uv=/%5e/gi,zv=/%60/gi,Vv=/%7c/gi,Wv=/%20/gi;function qv(e){return encodeURI(""+e).replace(Vv,"|")}function fa(e){return qv(typeof e=="string"?e:JSON.stringify(e)).replace(kl,"%2B").replace(Wv,"+").replace(Bv,"%23").replace(Fv,"%26").replace(zv,"`").replace(Uv,"^")}function Li(e){return fa(e).replace(Hv,"%3D")}function Fs(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Kv(e){return Fs(e.replace(kl," "))}function Gv(e){return Fs(e.replace(kl," "))}function Ud(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=Kv(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=Gv(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function Qv(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Li(e)}=${fa(n)}`).join("&"):`${Li(e)}=${fa(t)}`:Li(e)}function Xv(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Qv(t,e[t])).filter(Boolean).join("&")}const Yv=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,zd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Jv=/^([/\\]\s*){2,}[^/\\]/;function Vn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Yv.test(e):zd.test(e)||(t.acceptRelative?Jv.test(e):!1)}const Zv=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function ey(e){return!!e&&Zv.test(e)}const ty=/\/$|\/\?|\/#/;function da(e="",t){return t?ty.test(e):e.endsWith("/")}function Go(e="",t){if(!t)return(da(e)?e.slice(0,-1):e)||"/";if(!da(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[s,...i]=n.split("?");return(s.slice(0,-1)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Hs(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(da(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[s,...i]=n.split("?");return s+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function ny(e=""){return e.startsWith("/")}function pa(e=""){return ny(e)?e:"/"+e}function Vd(e,t){if(qd(t)||Vn(e))return e;const n=Go(t);return e.startsWith(n)?e:br(n,e)}function ru(e,t){if(qd(t))return e;const n=Go(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Wd(e,t){const n=Qo(e),r={...Ud(n.search),...t};return n.search=Xv(r),ly(n)}function qd(e){return!e||e==="/"}function ry(e){return e&&e!=="/"}const oy=/^\.?\//;function br(e,...t){let n=e||"";for(const r of t.filter(o=>ry(o)))if(n){const o=r.replace(oy,"");n=Hs(n)+o}else n=r;return n}function sy(e){return iy(e,"https://")}function iy(e,t){const n=e.match(zd);return n?t+e.slice(n[0].length):t+e}function ay(e,t,n={}){return n.trailingSlash||(e=Hs(e),t=Hs(t)),n.leadingSlash||(e=pa(e),t=pa(t)),n.encoding||(e=Fs(e),t=Fs(t)),e===t}function Qo(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Vn(e,{acceptRelative:!0}))return t?Qo(t+e):ou(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=ou(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:c,hash:u}}function ou(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ly(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol?e.protocol+"//":"")+o+s+t+n+r}const cy=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Us=cy().app,uy=()=>Us.baseURL,fy=()=>Us.buildAssetsDir,El=(...e)=>br(Kd(),fy(),...e),Kd=(...e)=>{const t=Us.cdnURL||Us.baseURL;return e.length?br(t,...e):t};globalThis.__buildAssetsURL=El,globalThis.__publicAssetsURL=Kd;const dy=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,py=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,hy=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function gy(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){my(e);return}return t}function my(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function $o(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.at(-1)==='"'&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!hy.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(dy.test(e)||py.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,gy)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class vy extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function yy(e){var l,c,u,f,d;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"",i=`${o}: ${s}${t?` ${t}`:""}`,a=new vy(i,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return e.response&&e.response[h]}});return a}const by=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function su(e="GET"){return by.has(e.toUpperCase())}function wy(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const _y=new Set(["image/svg","application/xml","application/xhtml","application/html"]),xy=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ky(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return xy.test(t)?"json":_y.has(t)||t.startsWith("text/")?"text":"blob"}function Ey(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,s]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,s)}return r}const Cy=new Set([408,409,425,429,500,502,503,504]),Sy=new Set([101,204,205,304]);function Gd(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=su(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Cy.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),s(a.request,{...a.options,retry:u-1,timeout:a.options.timeout})}}const c=yy(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(l,c={}){var d;const u={request:l,options:Ey(c,e.defaults,n),response:void 0,error:void 0};if(u.options.method=(d=u.options.method)==null?void 0:d.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Vd(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Wd(u.request,{...u.options.params,...u.options.query}))),u.options.body&&su(u.options.method)&&(wy(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"))),!u.options.signal&&u.options.timeout){const p=new r;setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}if(u.response.body&&!Sy.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||ky(u.response.headers.get("content-type")||"");switch(p){case"json":{const h=await u.response.text(),g=u.options.parseResponse||$o;u.response._data=g(h);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},i=async function(l,c){return(await s(l,c))._data};return i.raw=s,i.native=(...a)=>t(...a),i.create=(a={})=>Gd({...e,defaults:{...e.defaults,...a}}),i}const Cl=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Py=Cl.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ty=Cl.Headers,Ay=Cl.AbortController,Oy=Gd({fetch:Py,Headers:Ty,AbortController:Ay}),$y=Oy;globalThis.$fetch||(globalThis.$fetch=$y.create({baseURL:uy()}));function ha(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?ha(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Ry={run:e=>e()},Ly=()=>Ry,Qd=typeof console.createTask<"u"?console.createTask:Ly;function Iy(e,t){const n=t.shift(),r=Qd(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function jy(e,t){const n=t.shift(),r=Qd(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Ii(e,t){for(const n of[...e])n(t)}class My{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ha(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=ha(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Iy,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(jy,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Ii(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Ii(this._after,o)}):(this._after&&o&&Ii(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Xd(){return new My}function Dy(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;ga.add(c);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{ga.delete(c)}}}}function Ny(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Dy({...e,...r})),t[n],t[n]}}}const zs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},iu="__unctx__",By=zs[iu]||(zs[iu]=Ny()),Fy=(e,t={})=>By.get(e,t),au="__unctx_async_handlers__",ga=zs[au]||(zs[au]=new Set);function Ro(e){const t=[];for(const o of ga){const s=o();s&&t.push(s)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const Yd=Fy("nuxt-app",{asyncContext:!1}),Hy="__nuxt_plugin";function Uy(e){let t=0;const n={_scope:jf(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.9.3"},get vue(){return n.vueApp.version}},payload:Lt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>Wy(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Xd(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;ds(n,i,s),ds(n.vueApp.config.globalProperties,i,s)},ds(n.vueApp,"$nuxt",n),ds(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||Ae;const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=Lt(n.payload.config);return n.provide("config",r),n}async function zy(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function Vy(e,t){const n=[],r=[],o=[],s=[];let i=0;async function a(l){if(l.dependsOn&&!l.dependsOn.every(c=>n.includes(c)))r.push([new Set(l.dependsOn),l]);else{const c=zy(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([u,f])=>{u.has(l._name)&&(u.delete(l._name),u.size===0&&(i++,await a(f)))})))});l.parallel?o.push(c.catch(u=>s.push(u))):await c}}for(const l of t)await a(l);if(await Promise.all(o),i)for(let l=0;l{}),e,{[Hy]:!0,_name:t})}function Wy(e,t,n){const r=()=>n?t(...n):t();return Yd.set(e),e.vueApp.runWithContext(r)}function Ae(){var t;let e;if(_d()&&(e=(t=sn())==null?void 0:t.appContext.app.$nuxt),e=e||Yd.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}function jt(){return Ae().$config}function ds(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const qy="modulepreload",Ky=function(e,t){return e[0]==="."?new URL(e,t).href:e},lu={},Gy=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link");o=Promise.all(n.map(i=>{if(i=Ky(i,r),i in lu)return;lu[i]=!0;const a=i.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!r)for(let f=s.length-1;f>=0;f--){const d=s[f];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":qy,a||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),a)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},X=(...e)=>Gy(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Qy=-1,Xy=-2,Yy=-3,Jy=-4,Zy=-5,e0=-6;function t0(e,t){return n0(JSON.parse(e),t)}function n0(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(s,i=!1){if(s===Qy)return;if(s===Yy)return NaN;if(s===Jy)return 1/0;if(s===Zy)return-1/0;if(s===e0)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t==null?void 0:t[l];if(c)return r[s]=c(o(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const u=new Set;r[s]=u;for(let p=1;p>>9)+65536).toString(16).substring(1,8).toLowerCase()}function cu(e){return e._h||Sl(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Zd(e,t){const{props:n,tag:r}=e;if(i0.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return t&&!t(i)?!1:`${r}:${s}:${i}`}return!1}function uu(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function ep(e,t){const n=[],r=t.resolveKeyData||(s=>s.key),o=t.resolveValueData||(s=>s.value);for(const[s,i]of Object.entries(e))n.push(...(Array.isArray(i)?i:[i]).map(a=>{const l={key:s,value:a},c=o(l);return typeof c=="object"?ep(c,t):Array.isArray(c)?c:{[typeof t.key=="function"?t.key(l):t.key]:r(l),[typeof t.value=="function"?t.value(l):t.value]:c}}).flat());return n}function tp(e,t){return Object.entries(e).map(([n,r])=>{if(typeof r=="object"&&(r=tp(r,t)),t.resolve){const o=t.resolve({key:n,value:r});if(o)return o}return typeof r=="number"&&(r=r.toString()),typeof r=="string"&&t.wrapValue&&(r=r.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),r=`${t.wrapValue}${r}${t.wrapValue}`),`${n}${t.keyValueSeparator||""}${r}`}).join(t.entrySeparator||"")}const lt=e=>({keyValue:e,metaKey:"property"}),ji=e=>({keyValue:e}),Pl={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return`${hn(e)}=${t}`}}},articleExpirationTime:lt("article:expiration_time"),articleModifiedTime:lt("article:modified_time"),articlePublishedTime:lt("article:published_time"),bookReleaseDate:lt("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve({key:e,value:t}){return`${hn(e)} ${t}`}},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:lt("fb:app_id"),msapplicationConfig:ji("msapplication-Config"),msapplicationTileColor:ji("msapplication-TileColor"),msapplicationTileImage:ji("msapplication-TileImage"),ogAudioSecureUrl:lt("og:audio:secure_url"),ogAudioUrl:lt("og:audio"),ogImageSecureUrl:lt("og:image:secure_url"),ogImageUrl:lt("og:image"),ogSiteName:lt("og:site_name"),ogVideoSecureUrl:lt("og:video:secure_url"),ogVideoUrl:lt("og:video"),profileFirstName:lt("profile:first_name"),profileLastName:lt("profile:last_name"),profileUsername:lt("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}){if(e==="seconds")return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return typeof t=="boolean"?`${hn(e)}`:`${hn(e)}:${t}`}}},xUaCompatible:{metaKey:"http-equiv"}},np=["og","book","article","profile"];function rp(e){var n;const t=hn(e).split(":")[0];return np.includes(t)?"property":((n=Pl[e])==null?void 0:n.metaKey)||"name"}function l0(e){var t;return((t=Pl[e])==null?void 0:t.keyValue)||hn(e)}function hn(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.split("-")[0];return np.includes(n)||n==="twitter"?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function ma(e){if(Array.isArray(e))return e.map(n=>ma(n));if(typeof e!="object"||Array.isArray(e))return e;const t={};for(const[n,r]of Object.entries(e))t[hn(n)]=ma(r);return t}function c0(e,t){const n=Pl[t];return t==="refresh"?`${e.seconds};url=${e.url}`:tp(ma(e),{keyValueSeparator:"=",entrySeparator:", ",resolve({value:r,key:o}){if(r===null)return"";if(typeof r=="boolean")return`${o}`},...n==null?void 0:n.unpack})}const op=["og:image","og:video","og:audio","twitter:image"];function sp(e){const t={};return Object.entries(e).forEach(([n,r])=>{String(r)!=="false"&&n&&(t[n]=r)}),t}function fu(e,t){const n=sp(t),r=hn(e),o=rp(r);if(op.includes(r)){const s={};return Object.entries(n).forEach(([i,a])=>{s[`${e}${i==="url"?"":`${i.charAt(0).toUpperCase()}${i.slice(1)}`}`]=a}),Tl(s).sort((i,a)=>{var l,c;return(((l=i[o])==null?void 0:l.length)||0)-(((c=a[o])==null?void 0:c.length)||0)})}return[{[o]:r,...n}]}function Tl(e){const t=[],n={};Object.entries(e).forEach(([o,s])=>{if(!Array.isArray(s)){if(typeof s=="object"&&s){if(op.includes(hn(o))){t.push(...fu(o,s));return}n[o]=sp(s)}else n[o]=s;return}s.forEach(i=>{t.push(...typeof i=="string"?Tl({[o]:i}):fu(o,i))})});const r=ep(n,{key({key:o}){return rp(o)},value({key:o}){return o==="charset"?"charset":"content"},resolveKeyData({key:o}){return l0(o)},resolveValueData({value:o,key:s}){return o===null?"_null":typeof o=="object"?c0(o,s):typeof o=="number"?o.toString():o}});return[...t,...r].map(o=>(o.content==="_null"&&(o.content=null),o))}async function u0(e,t,n){const r={tag:e,props:await ip(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Jd.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||o0.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=s),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function f0(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function ip(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=f0(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Jd.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const d0=10;async function p0(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&s0.includes(n)).forEach(([n,r])=>{const o=r0(r);t.push(...o.map(s=>u0(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<l&&l[c]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),e.includes(Cn)&&(e.endsWith(Cn)&&(e=e.slice(0,-Cn.length).trim()),e.startsWith(Cn)&&(e=e.slice(Cn.length).trim()),e=e.replace(new RegExp(`\\${Cn}\\s*\\${Cn}`,"g"),Cn),e=Es(e,{separator:n},n)),e}async function g0(e){const t={tag:e.tagName.toLowerCase(),props:await ip(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=Zd(t),t}async function lp(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n)return;const r={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:ks.includes(f.tag)?cu(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n==null?void 0:n[f])==null?void 0:u.children;for(const p of[...d].filter(h=>ks.includes(h.tagName.toLowerCase())))s.elMap[p.getAttribute("data-hid")||cu(await g0(p))]=p}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(f,d,p){const h=`${f}:${d}`;s.sideEffects[h]=p,delete s.pendingSideEffects[h]}function a({id:f,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");s.elMap[f]=d,h||(["textContent","innerHTML"].forEach(g=>{p[g]&&p[g]!==d[g]&&(d[g]=p[g])}),i(f,"el",()=>{s.elMap[f].remove(),delete s.elMap[f]})),Object.entries(p.props).forEach(([g,m])=>{const w=`attr:${g}`;if(g==="class")for(const b of(m||"").split(" ").filter(Boolean))h&&i(f,`${w}:${b}`,()=>d.classList.remove(b)),!d.classList.contains(b)&&d.classList.add(b);else d.getAttribute(g)!==m&&d.setAttribute(g,m===!0?"":String(m)),h&&i(f,w,()=>d.removeAttribute(g))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:h}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[h],f.$el?a(f):ks.includes(d.tag)&&l.push(f)}}for(const f of l){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function m0(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await lp(e,t),delete e._domUpdatePromise,r()}))}function v0(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(s){m0(s,e)}}}}}const y0=["templateParams","htmlAttrs","bodyAttrs"],b0={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Zd(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&y0.includes(r.tag)&&(a="merge"),a==="merge"){const l=s.props;["class","style"].forEach(c=>{l[c]&&(r.props[c]?(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`):r.props[c]=l[c])}),t[o].props={...l,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}else if(Vs(r)>Vs(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(ks.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},w0={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},_0=["script","link","bodyAttrs"];function x0(e){const t={},n={};return Object.entries(e.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"?(ap.includes(r)&&(t[r]=`this.dataset.${r} = true`),n[r]=o):t[r]=o}),{props:t,eventHandlers:n}}const k0=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(_0.includes(n.tag)){const{props:r,eventHandlers:o}=x0(n);n.props=r,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||Sl(n.props.src||n.props.href)),n._eventHandlers=o)}},"dom:renderTag":function(t,n,r){if(!t.tag._eventHandlers)return;const o=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([s,i])=>{const a=`${t.tag._d||t.tag._p}:${s}`,l=s.slice(2).toLowerCase(),c=`data-h-${l}`;if(r(t.id,a,()=>{}),t.$el.hasAttribute(c))return;t.$el.setAttribute(c,"");let u;const f=d=>{i(d),u==null||u.disconnect()};s in t.$el.dataset?f(new Event(s.replace("on",""))):ap.includes(s)&&typeof MutationObserver<"u"?(u=new MutationObserver(d=>{d.some(h=>h.attributeName===`data-${s}`)&&(f(new Event(s.replace("on",""))),u==null||u.disconnect())}),u.observe(t.$el,{attributes:!0})):o.addEventListener(l,f),r(t.id,a,()=>{u==null||u.disconnect(),o.removeEventListener(l,f),t.$el.removeAttribute(c)})})}}}),E0=["link","style","script","noscript"],C0={hooks:{"tag:normalise":({tag:e})=>{e.key&&E0.includes(e.tag)&&(e.props["data-hid"]=e._h=Sl(e.key))}}},S0={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of h0)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>Vs(n)-Vs(r))}}},P0={meta:"content",link:"href",htmlAttrs:"lang"},T0=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,r=(a=n.find(l=>l.tag==="title"))==null?void 0:a.textContent,o=n.findIndex(l=>l.tag==="templateParams"),s=o!==-1?n[o].props:{},i=s.separator||"|";delete s.separator,s.pageTitle=Es(s.pageTitle||r||"",s,i);for(const l of n.filter(c=>c.processTemplateParams!==!1)){const c=P0[l.tag];c&&typeof l.props[c]=="string"?l.props[c]=Es(l.props[c],s,i):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=Es(l[u],s,i))})}e._templateParams=s,e._separator=i,t.tags=n.filter(l=>l.tag!=="templateParams")}}}),A0={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=uu(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=uu(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},O0={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,s=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),hu(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return hu(u.mode,n)&&(s.push(u),r()),{dispose(){s=s.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),r()},patch(f){s=s.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...s]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await p0(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[b0,w0,k0,C0,S0,T0,A0,O0,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function L0(){return cp}const I0=Dd.startsWith("3");function j0(e){return typeof e=="function"?e():C(e)}function Ws(e,t=""){if(e instanceof Promise)return e;const n=j0(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Ws(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,C(o)]:[r,Ws(o,r)])):n}const M0={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ws(t.input)}}},up="usehead";function D0(e){return{install(n){I0&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(up,e))}}.install}function N0(e={}){e.domDelayFn=e.domDelayFn||(n=>yn(()=>setTimeout(()=>n(),0)));const t=$0(e);return t.use(M0),t.install=D0(t),t}const va=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ya="__unhead_injection_handler__";function B0(e){va[ya]=e}function F0(){if(ya in va)return va[ya]();const e=Te(up);return e||L0()}function Xo(e,t={}){const n=t.head||F0();if(n)return n.ssr?n.push(e,t):H0(n,e,t)}function H0(e,t,n={}){const r=F(!1),o=F({});Qe(()=>{o.value=r.value?{}:Ws(t)});const s=e.push(o.value,n);return je(o,a=>{s.patch(a)}),sn()&&(qo(()=>{s.dispose()}),fd(()=>{r.value=!0}),ud(()=>{r.value=!1})),s}function fp(e,t){const{title:n,titleTemplate:r,...o}=e;return Xo({title:n,titleTemplate:r,_flatMeta:o},{...t,transform(s){const i=Tl({...s._flatMeta});return delete s._flatMeta,{...s,meta:i}}})}const ps=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function U0(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=(t||{}).decode||W0;let s=0;for(;s{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const s=Object.prototype.toString.call(o);let i="";const a=s.length;a<10?i="unknown:["+s+"]":i=s.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return r("buffer:"),r(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let c=Object.keys(o);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!vu(o)&&(u=K0),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(o[d]),r(",")};for(const d of c)f(d);for(const d of u)f(d)}},array(o,s){if(s=s===void 0?e.unorderedArrays!==!1:s,r("array:"+o.length+":"),!s||o.length<=1){for(const l of o)this.dispatch(l);return}const i=new Map,a=o.map(l=>{const c=dp(e);c.dispatch(l);for(const[u,f]of c.getContext())i.set(u,f);return c.toString()});return n=i,a.sort(),this.array(a,!1)},date(o){return r("date:"+o.toJSON())},symbol(o){return r("symbol:"+o.toString())},unkown(o,s){if(r(s),!!o&&(r(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return r("error:"+o.toString())},boolean(o){return r("bool:"+o)},string(o){r("string:"+o.length+":"),r(o)},function(o){r("fn:"),vu(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this.object(o)},number(o){return r("number:"+o)},xml(o){return r("xml:"+o.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(o){return r("regex:"+o.toString())},uint8array(o){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},uint8clampedarray(o){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},int8array(o){return r("int8array:"),this.dispatch(Array.prototype.slice.call(o))},uint16array(o){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},int16array(o){return r("int16array:"),this.dispatch(Array.prototype.slice.call(o))},uint32array(o){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},int32array(o){return r("int32array:"),this.dispatch(Array.prototype.slice.call(o))},float32array(o){return r("float32array:"),this.dispatch(Array.prototype.slice.call(o))},float64array(o){return r("float64array:"),this.dispatch(Array.prototype.slice.call(o))},arraybuffer(o){return r("arraybuffer:"),this.dispatch(new Uint8Array(o))},url(o){return r("url:"+o.toString())},map(o){r("map:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},set(o){r("set:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},file(o){return r("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported Use "options.replacer" or "options.ignoreUnknown" -`)},domwindow(){return r("domwindow")},bigint(o){return r("bigint:"+o.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const pp="[native code] }",G0=pp.length;function vu(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-G0)===pp}class Nn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||Q0).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Nn([...this.words])}}const Q0={stringify(e){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},X0={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r>>2]>>>24-r%4*8&255,s=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=o<<16|s<<8|i;for(let l=0;l<4&&r*8+l*6>>6*(3-l)&63))}return n.join("")}},Y0={parse(e){const t=e.length,n=[];for(let r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Nn(n,t)}},J0={parse(e){return Y0.parse(unescape(encodeURIComponent(e)))}};class Z0{constructor(){this._data=new Nn,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Nn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=J0.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*this.blockSize,s=Math.min(o*4,this._data.sigBytes);if(o){for(let i=0;i>>7)^(v<<14|v>>>18)^v>>>3,x=Xn[d-2],E=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;Xn[d]=y+Xn[d-7]+E+Xn[d-16]}const p=l&c^~l&u,h=o&s^o&i^s&i,g=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),m=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),w=f+m+p+tb[d]+Xn[d],b=g+h;f=u,u=c,c=l,l=a+w|0,a=i,i=s,s=o,o=w+b|0}r[0]=r[0]+o|0,r[1]=r[1]+s|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function rb(e){return new nb().finalize(e).toString(X0)}function Lo(e,t={}){const n=typeof e=="string"?e:ba(e,t);return rb(n).slice(0,10)}function hp(e,t,n={}){return e===t||ba(e,n)===ba(t,n)}function ob(e){return{ctx:{table:e},matchAll:t=>mp(t,e)}}function gp(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,gp(o)])):new Map(Object.entries(e[n]));return t}function sb(e){return ob(gp(e))}function mp(e,t){const n=[];for(const[o,s]of bu(t.wildcard))e.startsWith(o)&&n.push(s);for(const[o,s]of bu(t.dynamic))if(e.startsWith(o+"/")){const i="/"+e.slice(o.length).split("/").splice(2).join("/");n.push(...mp(i,s))}const r=t.static.get(e);return r&&n.push(r),n.filter(Boolean)}function bu(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Mi(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function wa(e,t,n=".",r){if(!Mi(t))return wa(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:Mi(i)&&Mi(o[s])?o[s]=wa(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function Al(e){return(...t)=>t.reduce((n,r)=>wa(n,r,"",e),{})}const ci=Al(),ib=Al((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function ab(e,t){try{return t in e}catch{return!1}}var lb=Object.defineProperty,cb=(e,t,n)=>t in e?lb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zn=(e,t,n)=>(cb(e,typeof t!="symbol"?t+"":t,n),n);class _a extends Error{constructor(t,n={}){super(t,n),Zn(this,"statusCode",500),Zn(this,"fatal",!1),Zn(this,"unhandled",!1),Zn(this,"statusMessage"),Zn(this,"data"),Zn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ka(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=vp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Zn(_a,"__h3_error__",!0);function xa(e){if(typeof e=="string")return new _a(e);if(ub(e))return e;const t=new _a(e.message??e.statusMessage??"",{cause:e.cause||e});if(ab(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ka(e.statusCode,t.statusCode):e.status&&(t.statusCode=ka(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;vp(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function ub(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const fb=/[^\u0009\u0020-\u007E]/g;function vp(e=""){return e.replace(fb,"")}function ka(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const yp=Symbol("layout-meta"),Kr=Symbol("route"),bp="__nuxt_error",ui=()=>we(Ae().payload,"error"),Er=e=>{const t=fi(e);try{const n=Ae(),r=ui();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},wp=async(e={})=>{const t=Ae(),n=ui();t.callHook("app:error:cleared",e),e.redirect&&await an().replace(e.redirect),n.value=null},db=e=>!!e&&typeof e=="object"&&bp in e,fi=e=>{const t=xa(e);return Object.defineProperty(t,bp,{value:!0,configurable:!1,writable:!1}),t},an=()=>{var e;return(e=Ae())==null?void 0:e.$router},Un=()=>_d()?Te(Kr,Ae()._route):Ae()._route;const pb=()=>{try{if(Ae()._processingMiddleware)return!0}catch{return!0}return!1},hb=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Wd(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,a,c)}return Promise.resolve()}const r=(t==null?void 0:t.external)||Vn(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Qo(n).protocol;if(a&&ey(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=pb();if(!r&&o)return e;const s=an(),i=Ae();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)};function Gt(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Gt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Gt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Gt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Gt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(Gt(o))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(o,s){n.set(Gt(s),Gt(o))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Gt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const gb={ui:{primary:"green",gray:"slate",footer:{bottom:{left:"text-sm text-gray-500 dark:text-gray-400",wrapper:"border-t border-gray-200 dark:border-gray-800"}},icons:{dark:"i-heroicons-moon",light:"i-heroicons-sun"}},header:{logo:{alt:"logo nuxt supabase module",light:"/logo-nuxt-supabase-light.png",dark:"/logo-nuxt-supabase-dark.png"},search:!0,colorMode:!0,links:[{icon:"i-simple-icons-x",to:"https://x.com/nuxt_js",target:"_blank","aria-label":"Nuxt on X"},{icon:"i-simple-icons-github",to:"https://github.com/nuxt-modules/supabase",target:"_blank","aria-label":"Module on GitHub"},{icon:"i-simple-icons-nuxtdotjs",to:"https://nuxt.com",target:"_blank","aria-label":"Nuxt official website"},{icon:"i-simple-icons-supabase",to:"https://supabase.com",target:"_blank","aria-label":"Supabase official website"}]},footer:{credits:"Made with Nuxt Studio",colorMode:!1,links:[{icon:"i-simple-icons-x",to:"https://x.com/nuxt_js",target:"_blank","aria-label":"Nuxt on X"},{icon:"i-simple-icons-github",to:"https://github.com/nuxt-modules/supabase",target:"_blank","aria-label":"Module on GitHub"},{icon:"i-simple-icons-nuxtdotjs",to:"https://nuxt.com",target:"_blank","aria-label":"Nuxt official website"},{icon:"i-simple-icons-supabase",to:"https://supabase.com",target:"_blank","aria-label":"Supabase official website"}]},toc:{title:"Table of Contents",bottom:{title:"Community",edit:"https://github.com/nuxt-modules/supabase/edit/main/docs/content",links:[{icon:"i-heroicons-star",label:"Star on GitHub",to:"https://github.com/nuxt-modules/supabase",target:"_blank"},{icon:"i-simple-icons-nuxtdotjs",label:"Nuxt docs",to:"https://nuxt.com",target:"_blank"},{icon:"i-simple-icons-supabase",label:"Supabase docs",to:"https://supabase.com",target:"_blank"}]}}},mb={ui:{variables:{light:{background:"255 255 255",foreground:"var(--color-gray-700)"},dark:{background:"var(--color-gray-900)",foreground:"var(--color-gray-200)"},header:{height:"4rem"}},icons:{dark:"i-heroicons-moon-20-solid",light:"i-heroicons-sun-20-solid",system:"i-heroicons-computer-desktop-20-solid",search:"i-heroicons-magnifying-glass-20-solid",external:"i-heroicons-arrow-up-right-20-solid",chevron:"i-heroicons-chevron-down-20-solid",hash:"i-heroicons-hashtag-20-solid"},presets:{button:{primary:{color:"white",variant:"solid"},secondary:{color:"gray",variant:"ghost"},input:{color:"white",variant:"outline",ui:{font:"",color:{white:{outline:"ring-1 ring-inset ring-gray-300 dark:ring-gray-700 hover:ring-gray-300 dark:hover:ring-gray-700 hover:bg-gray-100/50 dark:hover:bg-gray-800/50 text-gray-400 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-200 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"}}}}}}}},vb={nuxt:{buildId:"f09453c5-4a08-430c-9c23-82215543834e"},ui:{primary:"green",gray:"cool",colors:["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary"],strategy:"merge"}},He=ib(gb,mb,vb);function it(){const e=Ae();return e._appConfig||(e._appConfig=Lt(He)),e._appConfig}const yb=!1,Ea=!1,bb=!1,wb={componentName:"NuxtLink"},_b={deep:!0},xb={},kb="#__nuxt";let Cs,_p;function Eb(){var t;const e=(t=it().nuxt)==null?void 0:t.buildId;return Cs=$fetch(El(`builds/meta/${e}.json`)),Cs.then(n=>{_p=sb(n.matcher)}),Cs}function di(){return Cs||Eb()}async function xp(e){return await di(),ci({},..._p.matchAll(e).reverse())}function wu(e,t={}){const n=Cb(e,t),r=Ae(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Sb(e).then(s=>s?kp(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const _u="json";function Cb(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||Vn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return br(jt().app.baseURL,n.pathname,r?`_payload.${r}.${_u}`:`_payload.${_u}`)}async function kp(e){const t=fetch(e).then(n=>n.text().then(Ep));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Sb(e=Un().path){if(e=Go(e),(await di()).prerendered.includes(e))return!0;const n=await xp(e);return!!n.prerender&&!n.redirect}let hs=null;async function Pb(){if(hs)return hs;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Ep(e.textContent||""),n=e.dataset.src?await kp(e.dataset.src):void 0;return hs={...t,...n,...window.__NUXT__},hs}async function Ep(e){return await t0(e,Ae()._payloadRevivers)}function Tb(e,t){Ae()._payloadRevivers[e]=t}const Ca={NuxtError:e=>fi(e),EmptyShallowRef:e=>pr(e==="_"?void 0:e==="0n"?BigInt(0):$o(e)),EmptyRef:e=>F(e==="_"?void 0:e==="0n"?BigInt(0):$o(e)),ShallowRef:e=>pr(e),ShallowReactive:e=>Vo(e),Ref:e=>F(e),Reactive:e=>Lt(e)};Ca.Island=({key:e,params:t,result:n})=>{const r=Ae();return r.isHydrating||(r.payload.data[e]=r.payload.data[e]||$fetch(`/__nuxt_island/${e}.json`,{responseType:"json",...t?{params:t}:{}}).then(o=>(r.payload.data[e]=o,o))),{html:"",state:{},head:{link:[],style:[]},...n}};const Ab=rt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Ca)Tb(r,Ca[r]);Object.assign(e.payload,([t,n]=Ro(()=>e.runWithContext(Pb)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Ob=[],$b=rt({name:"nuxt:head",enforce:"pre",setup(e){const t=N0({plugins:Ob});B0(()=>Ae().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await lp(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! +`)},domwindow(){return r("domwindow")},bigint(o){return r("bigint:"+o.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const pp="[native code] }",G0=pp.length;function vu(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-G0)===pp}class Nn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||Q0).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Nn([...this.words])}}const Q0={stringify(e){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},X0={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r>>2]>>>24-r%4*8&255,s=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=o<<16|s<<8|i;for(let l=0;l<4&&r*8+l*6>>6*(3-l)&63))}return n.join("")}},Y0={parse(e){const t=e.length,n=[];for(let r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Nn(n,t)}},J0={parse(e){return Y0.parse(unescape(encodeURIComponent(e)))}};class Z0{constructor(){this._data=new Nn,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Nn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=J0.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*this.blockSize,s=Math.min(o*4,this._data.sigBytes);if(o){for(let i=0;i>>7)^(v<<14|v>>>18)^v>>>3,x=Xn[d-2],E=(x<<15|x>>>17)^(x<<13|x>>>19)^x>>>10;Xn[d]=y+Xn[d-7]+E+Xn[d-16]}const p=l&c^~l&u,h=o&s^o&i^s&i,g=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),m=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),w=f+m+p+tb[d]+Xn[d],b=g+h;f=u,u=c,c=l,l=a+w|0,a=i,i=s,s=o,o=w+b|0}r[0]=r[0]+o|0,r[1]=r[1]+s|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function rb(e){return new nb().finalize(e).toString(X0)}function Lo(e,t={}){const n=typeof e=="string"?e:ba(e,t);return rb(n).slice(0,10)}function hp(e,t,n={}){return e===t||ba(e,n)===ba(t,n)}function ob(e){return{ctx:{table:e},matchAll:t=>mp(t,e)}}function gp(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,gp(o)])):new Map(Object.entries(e[n]));return t}function sb(e){return ob(gp(e))}function mp(e,t){const n=[];for(const[o,s]of bu(t.wildcard))e.startsWith(o)&&n.push(s);for(const[o,s]of bu(t.dynamic))if(e.startsWith(o+"/")){const i="/"+e.slice(o.length).split("/").splice(2).join("/");n.push(...mp(i,s))}const r=t.static.get(e);return r&&n.push(r),n.filter(Boolean)}function bu(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Mi(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function wa(e,t,n=".",r){if(!Mi(t))return wa(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:Mi(i)&&Mi(o[s])?o[s]=wa(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function Al(e){return(...t)=>t.reduce((n,r)=>wa(n,r,"",e),{})}const ci=Al(),ib=Al((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function ab(e,t){try{return t in e}catch{return!1}}var lb=Object.defineProperty,cb=(e,t,n)=>t in e?lb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zn=(e,t,n)=>(cb(e,typeof t!="symbol"?t+"":t,n),n);class _a extends Error{constructor(t,n={}){super(t,n),Zn(this,"statusCode",500),Zn(this,"fatal",!1),Zn(this,"unhandled",!1),Zn(this,"statusMessage"),Zn(this,"data"),Zn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ka(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=vp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Zn(_a,"__h3_error__",!0);function xa(e){if(typeof e=="string")return new _a(e);if(ub(e))return e;const t=new _a(e.message??e.statusMessage??"",{cause:e.cause||e});if(ab(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ka(e.statusCode,t.statusCode):e.status&&(t.statusCode=ka(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;vp(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function ub(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const fb=/[^\u0009\u0020-\u007E]/g;function vp(e=""){return e.replace(fb,"")}function ka(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const yp=Symbol("layout-meta"),Kr=Symbol("route"),bp="__nuxt_error",ui=()=>we(Ae().payload,"error"),Er=e=>{const t=fi(e);try{const n=Ae(),r=ui();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},wp=async(e={})=>{const t=Ae(),n=ui();t.callHook("app:error:cleared",e),e.redirect&&await an().replace(e.redirect),n.value=null},db=e=>!!e&&typeof e=="object"&&bp in e,fi=e=>{const t=xa(e);return Object.defineProperty(t,bp,{value:!0,configurable:!1,writable:!1}),t},an=()=>{var e;return(e=Ae())==null?void 0:e.$router},Un=()=>_d()?Te(Kr,Ae()._route):Ae()._route;const pb=()=>{try{if(Ae()._processingMiddleware)return!0}catch{return!0}return!1},hb=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Wd(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,a,c)}return Promise.resolve()}const r=(t==null?void 0:t.external)||Vn(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Qo(n).protocol;if(a&&ey(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=pb();if(!r&&o)return e;const s=an(),i=Ae();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)};function Gt(e){if(typeof e!="object")return e;var t,n,r=Object.prototype.toString.call(e);if(r==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Gt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Gt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Gt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Gt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(Gt(o))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(o,s){n.set(Gt(s),Gt(o))}),n):r==="[object Date]"?new Date(+e):r==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):r==="[object DataView]"?new e.constructor(Gt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const gb={ui:{primary:"green",gray:"slate",footer:{bottom:{left:"text-sm text-gray-500 dark:text-gray-400",wrapper:"border-t border-gray-200 dark:border-gray-800"}},icons:{dark:"i-heroicons-moon",light:"i-heroicons-sun"}},header:{logo:{alt:"logo nuxt supabase module",light:"/logo-nuxt-supabase-light.png",dark:"/logo-nuxt-supabase-dark.png"},search:!0,colorMode:!0,links:[{icon:"i-simple-icons-x",to:"https://x.com/nuxt_js",target:"_blank","aria-label":"Nuxt on X"},{icon:"i-simple-icons-github",to:"https://github.com/nuxt-modules/supabase",target:"_blank","aria-label":"Module on GitHub"},{icon:"i-simple-icons-nuxtdotjs",to:"https://nuxt.com",target:"_blank","aria-label":"Nuxt official website"},{icon:"i-simple-icons-supabase",to:"https://supabase.com",target:"_blank","aria-label":"Supabase official website"}]},footer:{credits:"Made with Nuxt Studio",colorMode:!1,links:[{icon:"i-simple-icons-x",to:"https://x.com/nuxt_js",target:"_blank","aria-label":"Nuxt on X"},{icon:"i-simple-icons-github",to:"https://github.com/nuxt-modules/supabase",target:"_blank","aria-label":"Module on GitHub"},{icon:"i-simple-icons-nuxtdotjs",to:"https://nuxt.com",target:"_blank","aria-label":"Nuxt official website"},{icon:"i-simple-icons-supabase",to:"https://supabase.com",target:"_blank","aria-label":"Supabase official website"}]},toc:{title:"Table of Contents",bottom:{title:"Community",edit:"https://github.com/nuxt-modules/supabase/edit/main/docs/content",links:[{icon:"i-heroicons-star",label:"Star on GitHub",to:"https://github.com/nuxt-modules/supabase",target:"_blank"},{icon:"i-simple-icons-nuxtdotjs",label:"Nuxt docs",to:"https://nuxt.com",target:"_blank"},{icon:"i-simple-icons-supabase",label:"Supabase docs",to:"https://supabase.com",target:"_blank"}]}}},mb={ui:{variables:{light:{background:"255 255 255",foreground:"var(--color-gray-700)"},dark:{background:"var(--color-gray-900)",foreground:"var(--color-gray-200)"},header:{height:"4rem"}},icons:{dark:"i-heroicons-moon-20-solid",light:"i-heroicons-sun-20-solid",system:"i-heroicons-computer-desktop-20-solid",search:"i-heroicons-magnifying-glass-20-solid",external:"i-heroicons-arrow-up-right-20-solid",chevron:"i-heroicons-chevron-down-20-solid",hash:"i-heroicons-hashtag-20-solid"},presets:{button:{primary:{color:"white",variant:"solid"},secondary:{color:"gray",variant:"ghost"},input:{color:"white",variant:"outline",ui:{font:"",color:{white:{outline:"ring-1 ring-inset ring-gray-300 dark:ring-gray-700 hover:ring-gray-300 dark:hover:ring-gray-700 hover:bg-gray-100/50 dark:hover:bg-gray-800/50 text-gray-400 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-200 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"}}}}}}}},vb={nuxt:{buildId:"395fd8a4-c0ee-48c0-aaa7-2fe1d2ac14ab"},ui:{primary:"green",gray:"cool",colors:["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose","primary"],strategy:"merge"}},He=ib(gb,mb,vb);function it(){const e=Ae();return e._appConfig||(e._appConfig=Lt(He)),e._appConfig}const yb=!1,Ea=!1,bb=!1,wb={componentName:"NuxtLink"},_b={deep:!0},xb={},kb="#__nuxt";let Cs,_p;function Eb(){var t;const e=(t=it().nuxt)==null?void 0:t.buildId;return Cs=$fetch(El(`builds/meta/${e}.json`)),Cs.then(n=>{_p=sb(n.matcher)}),Cs}function di(){return Cs||Eb()}async function xp(e){return await di(),ci({},..._p.matchAll(e).reverse())}function wu(e,t={}){const n=Cb(e,t),r=Ae(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Sb(e).then(s=>s?kp(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const _u="json";function Cb(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||Vn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return br(jt().app.baseURL,n.pathname,r?`_payload.${r}.${_u}`:`_payload.${_u}`)}async function kp(e){const t=fetch(e).then(n=>n.text().then(Ep));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Sb(e=Un().path){if(e=Go(e),(await di()).prerendered.includes(e))return!0;const n=await xp(e);return!!n.prerender&&!n.redirect}let hs=null;async function Pb(){if(hs)return hs;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Ep(e.textContent||""),n=e.dataset.src?await kp(e.dataset.src):void 0;return hs={...t,...n,...window.__NUXT__},hs}async function Ep(e){return await t0(e,Ae()._payloadRevivers)}function Tb(e,t){Ae()._payloadRevivers[e]=t}const Ca={NuxtError:e=>fi(e),EmptyShallowRef:e=>pr(e==="_"?void 0:e==="0n"?BigInt(0):$o(e)),EmptyRef:e=>F(e==="_"?void 0:e==="0n"?BigInt(0):$o(e)),ShallowRef:e=>pr(e),ShallowReactive:e=>Vo(e),Ref:e=>F(e),Reactive:e=>Lt(e)};Ca.Island=({key:e,params:t,result:n})=>{const r=Ae();return r.isHydrating||(r.payload.data[e]=r.payload.data[e]||$fetch(`/__nuxt_island/${e}.json`,{responseType:"json",...t?{params:t}:{}}).then(o=>(r.payload.data[e]=o,o))),{html:"",state:{},head:{link:[],style:[]},...n}};const Ab=rt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Ca)Tb(r,Ca[r]);Object.assign(e.payload,([t,n]=Ro(()=>e.runWithContext(Pb)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Ob=[],$b=rt({name:"nuxt:head",enforce:"pre",setup(e){const t=N0({plugins:Ob});B0(()=>Ae().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await lp(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const kr=typeof window<"u";function Rb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Re=Object.assign;function Di(e,t){const n={};for(const r in t){const o=t[r];n[r]=Ut(o)?o.map(e):e(o)}return n}const bo=()=>{},Ut=Array.isArray,Lb=/\/$/,Ib=e=>e.replace(Lb,"");function Ni(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Nb(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function jb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function xu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Mb(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&jr(t.matched[r],n.matched[o])&&Cp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function jr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Cp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Db(e[n],t[n]))return!1;return!0}function Db(e,t){return Ut(e)?ku(e,t):Ut(t)?ku(t,e):e===t}function ku(e,t){return Ut(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Nb(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Io;(function(e){e.pop="pop",e.push="push"})(Io||(Io={}));var wo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(wo||(wo={}));function Bb(e){if(!e)if(kr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ib(e)}const Fb=/^[^#]+#/;function Hb(e,t){return e.replace(Fb,"#")+t}function Ub(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const pi=()=>({left:window.pageXOffset,top:window.pageYOffset});function zb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Ub(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Eu(e,t){return(history.state?history.state.position-t:-1)+e}const Sa=new Map;function Vb(e,t){Sa.set(e,t)}function Wb(e){const t=Sa.get(e);return Sa.delete(e),t}let qb=()=>location.protocol+"//"+location.host;function Sp(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),xu(l,"")}return xu(n,e)+r+o}function Kb(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=Sp(e,location),h=n.value,g=t.value;let m=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}m=g?d.position-g.position:0}else r(p);o.forEach(w=>{w(n.value,h,{delta:m,type:Io.pop,direction:m?m>0?wo.forward:wo.back:wo.unknown})})};function l(){i=n.value}function c(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(Re({},d.state,{scroll:pi()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Cu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?pi():null}}function Gb(e){const{history:t,location:n}=window,r={value:Sp(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:qb()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){const u=Re({},t.state,Cu(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=Re({},o.value,t.state,{forward:l,scroll:pi()});s(u.current,u,!0);const f=Re({},Cu(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Pp(e){e=Bb(e);const t=Gb(e),n=Kb(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Re({location:"",base:e,go:r,createHref:Hb.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Qb(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Pp(e)}function Xb(e){return typeof e=="string"||e&&typeof e=="object"}function Tp(e){return typeof e=="string"||typeof e=="symbol"}const Nt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ap=Symbol("");var Su;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Su||(Su={}));function Mr(e,t){return Re(new Error,{type:e,[Ap]:!0},t)}function ln(e,t){return e instanceof Error&&Ap in e&&(t==null||!!(e.type&t))}const Pu="[^/]+?",Yb={sensitive:!1,strict:!1,start:!0,end:!0},Jb=/[.+*?^${}()[\]/\\]/g;function Zb(e,t){const n=Re({},Yb,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function tw(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const nw={type:0,value:""},rw=/[a-zA-Z0-9_]/;function ow(e){if(!e)return[[]];if(e==="/")return[[nw]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{i(b)}:bo}function i(u){if(Tp(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!Op(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Ou(u)&&r.set(u.record.name,u)}function c(u,f){let d,p={},h,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Mr(1,{location:u});g=d.record.name,p=Re(Au(f.params,d.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&Au(u.params,d.keys.map(b=>b.name))),h=d.stringify(p)}else if("path"in u)h=u.path,d=n.find(b=>b.re.test(h)),d&&(p=d.parse(h),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!d)throw Mr(1,{location:u,currentLocation:f});g=d.record.name,p=Re({},f.params,u.params),h=d.stringify(p)}const m=[];let w=d;for(;w;)m.unshift(w.record),w=w.parent;return{name:g,path:h,params:p,matched:m,meta:cw(m)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Au(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function aw(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:lw(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function lw(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ou(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function cw(e){return e.reduce((t,n)=>Re(t,n.meta),{})}function $u(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Op(e,t){return t.children.some(n=>n===e||Op(e,n))}const $p=/#/g,uw=/&/g,fw=/\//g,dw=/=/g,pw=/\?/g,Rp=/\+/g,hw=/%5B/g,gw=/%5D/g,Lp=/%5E/g,mw=/%60/g,Ip=/%7B/g,vw=/%7C/g,jp=/%7D/g,yw=/%20/g;function Ol(e){return encodeURI(""+e).replace(vw,"|").replace(hw,"[").replace(gw,"]")}function bw(e){return Ol(e).replace(Ip,"{").replace(jp,"}").replace(Lp,"^")}function Pa(e){return Ol(e).replace(Rp,"%2B").replace(yw,"+").replace($p,"%23").replace(uw,"%26").replace(mw,"`").replace(Ip,"{").replace(jp,"}").replace(Lp,"^")}function ww(e){return Pa(e).replace(dw,"%3D")}function _w(e){return Ol(e).replace($p,"%23").replace(pw,"%3F")}function xw(e){return e==null?"":_w(e).replace(fw,"%2F")}function qs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function kw(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&Pa(s)):[r&&Pa(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Ew(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ut(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Cw=Symbol(""),Lu=Symbol(""),$l=Symbol(""),Rl=Symbol(""),Ta=Symbol("");function Zr(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function $n(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(Mr(4,{from:n,to:t})):f instanceof Error?a(f):Xb(f)?a(Mr(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),i())},c=e.call(r&&r.instances[o],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Bi(e,t,n,r){const o=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Sw(a)){const c=(a.__vccOpts||a)[t];c&&o.push($n(c,n,r,s,i))}else{let l=a();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const u=Rb(c)?c.default:c;s.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&$n(d,n,r,s,i)()}))}}return o}function Sw(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Iu(e){const t=Te($l),n=Te(Rl),r=R(()=>t.resolve(C(e.to))),o=R(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(jr.bind(null,u));if(d>-1)return d;const p=ju(l[c-2]);return c>1&&ju(u)===p&&f[f.length-1].path!==p?f.findIndex(jr.bind(null,l[c-2])):d}),s=R(()=>o.value>-1&&Ow(n.params,r.value.params)),i=R(()=>o.value>-1&&o.value===n.matched.length-1&&Cp(n.params,r.value.params));function a(l={}){return Aw(l)?t[C(e.replace)?"replace":"push"](C(e.to)).catch(bo):Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const Pw=re({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Iu,setup(e,{slots:t}){const n=Lt(Iu(e)),{options:r}=Te($l),o=R(()=>({[Mu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Mu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:ye("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Tw=Pw;function Aw(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ow(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Ut(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function ju(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Mu=(e,t,n)=>e??t??n,$w=re({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Te(Ta),o=R(()=>e.route||r.value),s=Te(Lu,0),i=R(()=>{let c=C(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=R(()=>o.value.matched[i.value]);ze(Lu,R(()=>i.value+1)),ze(Cw,a),ze(Ta,o);const l=F();return je(()=>[l.value,a.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!jr(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Du(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,m=ye(d,Re({},h,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Du(n.default,{Component:m,route:c})||m}}});function Du(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Mp=$w;function Rw(e){const t=iw(e.routes,e),n=e.parseQuery||kw,r=e.stringifyQuery||Ru,o=e.history,s=Zr(),i=Zr(),a=Zr(),l=pr(Nt);let c=Nt;kr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Di.bind(null,$=>""+$),f=Di.bind(null,xw),d=Di.bind(null,qs);function p($,Y){let G,oe;return Tp($)?(G=t.getRecordMatcher($),oe=Y):oe=$,t.addRoute(oe,G)}function h($){const Y=t.getRecordMatcher($);Y&&t.removeRoute(Y)}function g(){return t.getRoutes().map($=>$.record)}function m($){return!!t.getRecordMatcher($)}function w($,Y){if(Y=Re({},Y||l.value),typeof $=="string"){const S=Ni(n,$,Y.path),O=t.resolve({path:S.path},Y),j=o.createHref(S.fullPath);return Re(S,O,{params:d(O.params),hash:qs(S.hash),redirectedFrom:void 0,href:j})}let G;if("path"in $)G=Re({},$,{path:Ni(n,$.path,Y.path).path});else{const S=Re({},$.params);for(const O in S)S[O]==null&&delete S[O];G=Re({},$,{params:f(S)}),Y.params=f(Y.params)}const oe=t.resolve(G,Y),Ce=$.hash||"";oe.params=u(d(oe.params));const _=jb(r,Re({},$,{hash:bw(Ce),path:oe.path})),k=o.createHref(_);return Re({fullPath:_,hash:Ce,query:r===Ru?Ew($.query):$.query||{}},oe,{redirectedFrom:void 0,href:k})}function b($){return typeof $=="string"?Ni(n,$,l.value.path):Re({},$)}function v($,Y){if(c!==$)return Mr(8,{from:Y,to:$})}function y($){return P($)}function x($){return y(Re(b($),{replace:!0}))}function E($){const Y=$.matched[$.matched.length-1];if(Y&&Y.redirect){const{redirect:G}=Y;let oe=typeof G=="function"?G($):G;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=b(oe):{path:oe},oe.params={}),Re({query:$.query,hash:$.hash,params:"path"in oe?{}:$.params},oe)}}function P($,Y){const G=c=w($),oe=l.value,Ce=$.state,_=$.force,k=$.replace===!0,S=E(G);if(S)return P(Re(b(S),{state:typeof S=="object"?Re({},Ce,S.state):Ce,force:_,replace:k}),Y||G);const O=G;O.redirectedFrom=Y;let j;return!_&&Mb(r,oe,G)&&(j=Mr(16,{to:O,from:oe}),De(oe,oe,!0,!1)),(j?Promise.resolve(j):L(O,oe)).catch(D=>ln(D)?ln(D,2)?D:Ie(D):U(D,O,oe)).then(D=>{if(D){if(ln(D,2))return P(Re({replace:k},b(D.to),{state:typeof D.to=="object"?Re({},Ce,D.to.state):Ce,force:_}),Y||O)}else D=A(O,oe,!0,k,Ce);return K(O,oe,D),D})}function T($,Y){const G=v($,Y);return G?Promise.reject(G):Promise.resolve()}function M($){const Y=at.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext($):$()}function L($,Y){let G;const[oe,Ce,_]=Lw($,Y);G=Bi(oe.reverse(),"beforeRouteLeave",$,Y);for(const S of oe)S.leaveGuards.forEach(O=>{G.push($n(O,$,Y))});const k=T.bind(null,$,Y);return G.push(k),Ve(G).then(()=>{G=[];for(const S of s.list())G.push($n(S,$,Y));return G.push(k),Ve(G)}).then(()=>{G=Bi(Ce,"beforeRouteUpdate",$,Y);for(const S of Ce)S.updateGuards.forEach(O=>{G.push($n(O,$,Y))});return G.push(k),Ve(G)}).then(()=>{G=[];for(const S of _)if(S.beforeEnter)if(Ut(S.beforeEnter))for(const O of S.beforeEnter)G.push($n(O,$,Y));else G.push($n(S.beforeEnter,$,Y));return G.push(k),Ve(G)}).then(()=>($.matched.forEach(S=>S.enterCallbacks={}),G=Bi(_,"beforeRouteEnter",$,Y),G.push(k),Ve(G))).then(()=>{G=[];for(const S of i.list())G.push($n(S,$,Y));return G.push(k),Ve(G)}).catch(S=>ln(S,8)?S:Promise.reject(S))}function K($,Y,G){a.list().forEach(oe=>M(()=>oe($,Y,G)))}function A($,Y,G,oe,Ce){const _=v($,Y);if(_)return _;const k=Y===Nt,S=kr?history.state:{};G&&(oe||k?o.replace($.fullPath,Re({scroll:k&&S&&S.scroll},Ce)):o.push($.fullPath,Ce)),l.value=$,De($,Y,G,k),Ie()}let B;function he(){B||(B=o.listen(($,Y,G)=>{if(!wt.listening)return;const oe=w($),Ce=E(oe);if(Ce){P(Re(Ce,{replace:!0}),oe).catch(bo);return}c=oe;const _=l.value;kr&&Vb(Eu(_.fullPath,G.delta),pi()),L(oe,_).catch(k=>ln(k,12)?k:ln(k,2)?(P(k.to,oe).then(S=>{ln(S,20)&&!G.delta&&G.type===Io.pop&&o.go(-1,!1)}).catch(bo),Promise.reject()):(G.delta&&o.go(-G.delta,!1),U(k,oe,_))).then(k=>{k=k||A(oe,_,!1),k&&(G.delta&&!ln(k,8)?o.go(-G.delta,!1):G.type===Io.pop&&ln(k,20)&&o.go(-1,!1)),K(oe,_,k)}).catch(bo)}))}let fe=Zr(),V=Zr(),W;function U($,Y,G){Ie($);const oe=V.list();return oe.length?oe.forEach(Ce=>Ce($,Y,G)):console.error($),Promise.reject($)}function _e(){return W&&l.value!==Nt?Promise.resolve():new Promise(($,Y)=>{fe.add([$,Y])})}function Ie($){return W||(W=!$,he(),fe.list().forEach(([Y,G])=>$?G($):Y()),fe.reset()),$}function De($,Y,G,oe){const{scrollBehavior:Ce}=e;if(!kr||!Ce)return Promise.resolve();const _=!G&&Wb(Eu($.fullPath,0))||(oe||!G)&&history.state&&history.state.scroll||null;return yn().then(()=>Ce($,Y,_)).then(k=>k&&zb(k)).catch(k=>U(k,$,Y))}const Ee=$=>o.go($);let bt;const at=new Set,wt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:m,getRoutes:g,resolve:w,options:e,push:y,replace:x,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:V.add,isReady:_e,install($){const Y=this;$.component("RouterLink",Tw),$.component("RouterView",Mp),$.config.globalProperties.$router=Y,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>C(l)}),kr&&!bt&&l.value===Nt&&(bt=!0,y(o.location).catch(Ce=>{}));const G={};for(const Ce in Nt)Object.defineProperty(G,Ce,{get:()=>l.value[Ce],enumerable:!0});$.provide($l,Y),$.provide(Rl,Vo(G)),$.provide(Ta,l);const oe=$.unmount;at.add($),$.unmount=function(){at.delete($),at.size<1&&(c=Nt,B&&B(),B=null,l.value=Nt,bt=!1,W=!1),oe()}}};function Ve($){return $.reduce((Y,G)=>Y.then(()=>M(G)),Promise.resolve())}return wt}function Lw(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;ijr(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>jr(c,l))||o.push(l))}return[n,r,o]}function Iw(){return Te(Rl)}const jw=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Aa=(e,t)=>{const n=e.route.matched.find(o=>{var s;return((s=o.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&jw(e.route,n));return typeof r=="function"?r(e.route):r},Mw=(e,t)=>({default:()=>e?ye(Sm,e===!0?{}:e,t):t});function Ll(e){return Array.isArray(e)?e:[e]}const xt={layout:"docs"},Nu=[{name:(xt==null?void 0:xt.name)??"slug",path:(xt==null?void 0:xt.path)??"/:slug(.*)*",meta:xt||{},alias:(xt==null?void 0:xt.alias)||[],redirect:(xt==null?void 0:xt.redirect)||void 0,component:()=>X(()=>import("./_...slug_.t8EqlsH8.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./index.kY4KOPT6.js").then(e=>e.i),__vite__mapDeps([4,3,5,6,7,8]),import.meta.url).then(e=>e.default||e)}];function Bu(e){const t=document.querySelector(e);if(t){const n=parseFloat(getComputedStyle(t).scrollMarginTop);return{el:e,behavior:"smooth",top:n}}}const Dw={scrollBehavior(e,t,n){const r=Ae();if(!(history.state&&history.state.stop))return history.state&&history.state.smooth?{el:history.state.smooth,behavior:"smooth"}:n?new Promise(o=>{r.hooks.hookOnce("page:finish",()=>{setTimeout(()=>o(n),50)})}):e.hash?new Promise(o=>{e.path===t.path?setTimeout(()=>o(Bu(e.hash)),50):r.hooks.hookOnce("page:finish",()=>{setTimeout(()=>o(Bu(e.hash)),50)})}):{top:0}}},Dp=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?ye(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function Fu(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function Nw(e,t){return e===t||t===Nt?!1:Fu(e)!==Fu(t)?!0:!e.matched.every((r,o)=>{var s,i;return r.components&&r.components.default===((i=(s=t.matched[o])==null?void 0:s.components)==null?void 0:i.default)})}const Bw={scrollBehavior(e,t,n){var c;const r=Ae(),o=((c=an().options)==null?void 0:c.scrollBehaviorType)??"auto";let s=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&i!==!1&&Nw(e,t)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Hu(e.hash),behavior:o}}const a=u=>!!(u.meta.pageTransition??Ea),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(l,async()=>{await yn(),e.hash&&(s={el:e.hash,top:Hu(e.hash),behavior:o}),u(s)})})}};function Hu(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const Fw={hashMode:!1,scrollBehaviorType:"auto"},pt={...Fw,...Bw,...Dw},Hw=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=Ae(),o=an();if(([t,n]=Ro(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=fi({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(c=>{if(a(),c===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>Er(i)),window.history.pushState({},"",e.fullPath)});return!1}})},Uw=async e=>{let t,n;const r=([t,n]=Ro(()=>xp(e.path)),t=await t,n(),t);if(r.redirect)return r.redirect},zw=[Hw,Uw],_o={};function Vw(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const c=s.includes(e.slice(i))?e.slice(i).length:1;let u=s.slice(c);return u[0]!=="/"&&(u="/"+u),ru(u,"")}const a=ru(r,e),l=!n||ay(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+s}const Ww=rt({name:"nuxt:router",enforce:"pre",async setup(e){var g,m;let t,n,r=jt().app.baseURL;pt.hashMode&&!r.includes("#")&&(r+="#");const o=((g=pt.history)==null?void 0:g.call(pt,r))??(pt.hashMode?Qb(r):Pp(r)),s=((m=pt.routes)==null?void 0:m.call(pt,Nu))??Nu;let i;const a=Vw(r,window.location,e.payload.path),l=Rw({...pt,scrollBehavior:(w,b,v)=>{var y;if(b===Nt){i=v;return}return l.options.scrollBehavior=pt.scrollBehavior,(y=pt.scrollBehavior)==null?void 0:y.call(pt,w,Nt,i||v)},history:o,routes:s});e.vueApp.use(l);const c=pr(l.currentRoute.value);l.afterEach((w,b)=>{c.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=pr(l.resolve(a)),f=()=>{u.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((w,b)=>{var v,y,x,E;((y=(v=w.matched[0])==null?void 0:v.components)==null?void 0:y.default)===((E=(x=b.matched[0])==null?void 0:x.components)==null?void 0:E.default)&&f()});const d={};for(const w in u.value)Object.defineProperty(d,w,{get:()=>u.value[w]});e._route=Vo(d),e._middleware=e._middleware||{global:[],named:{}};const p=ui();try{[t,n]=Ro(()=>l.isReady()),await t,n()}catch(w){[t,n]=Ro(()=>e.runWithContext(()=>Er(w))),await t,n()}const h=e.payload.state._layout;return l.beforeEach(async(w,b)=>{var v;await e.callHook("page:loading:start"),w.meta=Lt(w.meta),e.isHydrating&&h&&!dr(w.meta.layout)&&(w.meta.layout=h),e._processingMiddleware=!0;{const y=new Set([...zw,...e._middleware.global]);for(const x of w.matched){const E=x.meta.middleware;if(E)for(const P of Ll(E))y.add(P)}for(const x of y){const E=typeof x=="string"?e._middleware.named[x]||await((v=_o[x])==null?void 0:v.call(_o).then(T=>T.default||T)):x;if(!E)throw new Error(`Unknown route middleware: '${x}'.`);const P=await e.runWithContext(()=>E(w,b));if(!e.payload.serverRendered&&e.isHydrating&&(P===!1||P instanceof Error)){const T=P||xa({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>Er(T)),!1}if(P!==!0&&(P||P===!1))return P}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(w,b,v)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(wp),v&&await e.callHook("page:loading:end"),w.matched.length===0&&await e.runWithContext(()=>Er(xa({statusCode:404,fatal:!1,statusMessage:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=pt.scrollBehavior}catch(w){await e.runWithContext(()=>Er(w))}}),{provide:{router:l}}}}),qw="$s";function wr(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=qw+n,s=Ae(),i=we(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(et(a))return s.payload.state[o]=a,a;i.value=a}return i}function Kw(e){const t=(e==null?void 0:e.debug)||!1,n=[];function r(s){var a;if(!s||typeof s!="object"||Object.keys(s).length===0)return;if(!s._context&&t){let l=(a=new Error("tmp").stack)==null?void 0:a.split(` -`)[2].split(" ")[5];l!=null&&l.includes("/")&&(l="anonymous"),s._context=l}const i={};for(const l in s){const c=s[l];typeof c<"u"&&c!==""&&(i[l]=c)}Object.keys(i).filter(l=>!l.startsWith("_")).length>0&&n.push(i)}function o(s){var a;const i={};s!=null&&s.debug&&(i._context={});for(const l in n.sort((c,u)=>(c._priority||0)-(u._priority||0)))for(const c in n[l]){const u=c,f=n[l][c];c.startsWith("_")||(i[c]=f,s!=null&&s.debug&&(i._context[u]=((a=n[l]._context)==null?void 0:a[u])||n[l]._context||"anonymous"))}return Gw(i)}return{stack:n,push:r,get:o}}function Gw(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Vn(e.url,{acceptRelative:!0,strict:!1})&&(e.url=sy(e.url));const t=Object.keys(e).sort((r,o)=>r.localeCompare(o)),n={};for(const r of t)n[r]=e[r];return n}const Qw=rt({name:"nuxt-site-config",enforce:"pre",async setup(e){const t=jt()["nuxt-site-config"]||{debug:!1};let n;const r=wr("site-config");return n||(n=Kw({debug:t.debug})),n.push({_context:"window",url:window.location.origin}),Ae().payload.serverRendered?n.push(r.value):typeof window.__NUXT_SITE_CONFIG__<"u"&&n.push(window.__NUXT_SITE_CONFIG__),{provide:{nuxtSiteConfig:n}}}}),Oa=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Xw=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Il=e=>{const t=Ae();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Oa(e)}):Oa(e)},Yw=rt({name:"nuxt:payload",setup(e){an().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await wu(t.path);r&&Object.assign(e.static.data,r.data)}),Il(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Qo(n).protocol||await wu(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(di,1e3)})}}),Jw=rt(e=>{let t;async function n(){const r=await di();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(El("builds/latest.json"));o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}Il(()=>{t=setTimeout(n,1e3*60*60)})}),Zw=Z(()=>X(()=>import("./Releases.vp1dNn6t.js"),__vite__mapDeps([9,10,1,2,3,11]),import.meta.url).then(e=>e.default)),e_=Z(()=>X(()=>import("./VoltaBoard.H4JZvknu.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),t_=Z(()=>X(()=>import("./Callout.vLvLyna8.js"),__vite__mapDeps([12,13,6]),import.meta.url).then(e=>e.default)),n_=Z(()=>X(()=>import("./Card.CFFCfUPA.js"),__vite__mapDeps([14,7,13,6]),import.meta.url).then(e=>e.default)),r_=Z(()=>X(()=>import("./CardGroup.f5fZJJ03.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),o_=Z(()=>X(()=>import("./CodeGroup.kr8KXOZ2.js"),__vite__mapDeps([15,16]),import.meta.url).then(e=>e.default)),s_=Z(()=>X(()=>import("./Collapsible.61xynCYw.js"),__vite__mapDeps([17,13,6]),import.meta.url).then(e=>e.default)),i_=Z(()=>X(()=>import("./Field.IhB24igT.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),a_=Z(()=>X(()=>import("./FieldGroup.1bpRj5A8.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),l_=Z(()=>X(()=>import("./Shortcut.5NRnas7c.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),c_=Z(()=>X(()=>import("./Tabs.Pwj-v8mX.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),u_=Z(()=>X(()=>import("./ProseCode.C2MVqIn7.js"),__vite__mapDeps([18,19,16,20,21]),import.meta.url).then(e=>e.default)),f_=Z(()=>X(()=>import("./ProseCodeButton.Ou4xCSMM.js"),__vite__mapDeps([22,20]),import.meta.url).then(e=>e.default)),d_=Z(()=>X(()=>import("./ProseCodeIcon.67MQi9HX.js"),__vite__mapDeps([23,16]),import.meta.url).then(e=>e.default)),p_=Z(()=>X(()=>import("./ProseH1.iFuyzUZ2.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),h_=Z(()=>X(()=>import("./ProseH2.Ni1Wrda1.js"),__vite__mapDeps([24,10]),import.meta.url).then(e=>e.default)),g_=Z(()=>X(()=>import("./ProseH3.jnHH2psT.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),m_=Z(()=>X(()=>import("./ProseH4.BENHo82U.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),v_=Z(()=>X(()=>import("./ContentDoc.5_HypDRv.js"),__vite__mapDeps([25,1,2,3,26]),import.meta.url).then(e=>e.default)),y_=Z(()=>X(()=>import("./ContentList.XPmizk4i.js"),__vite__mapDeps([27,26]),import.meta.url).then(e=>e.default)),b_=Z(()=>X(()=>import("./ContentNavigation.3aXj1mv0.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),w_=Z(()=>X(()=>import("./ContentQuery.JwGr1xYe.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),__=Z(()=>X(()=>import("./ContentRenderer.U61vDq8M.js"),__vite__mapDeps([1,2,3]),import.meta.url).then(e=>e.default)),x_=Z(()=>X(()=>import("./ContentRendererMarkdown.xGq-BhZ2.js"),__vite__mapDeps([28,2,3]),import.meta.url).then(e=>e.default)),k_=Z(()=>X(()=>import("./ContentSlot.nvAV5AJw.js"),__vite__mapDeps([29,6]),import.meta.url).then(e=>e.default)),E_=Z(()=>X(()=>import("./DocumentDrivenEmpty.m7N1v1ak.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),C_=Z(()=>X(()=>import("./DocumentDrivenNotFound.ADazsOTl.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),S_=Z(()=>X(()=>import("./Markdown.YZLCIf66.js"),__vite__mapDeps([30,29,6]),import.meta.url).then(e=>e.default)),P_=Z(()=>X(()=>import("./ProseCodeInline.G6tUP7AG.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),T_=Z(()=>X(()=>import("./ProsePre.RIIM70WD.js"),__vite__mapDeps([31,19,16,20,21]),import.meta.url).then(e=>e.default)),A_=Z(()=>X(()=>import("./ProseA.EBjQ0GQA.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),O_=Z(()=>X(()=>import("./ProseBlockquote.zHVBsP9e.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),$_=Z(()=>X(()=>import("./ProseEm.-tpFMk8F.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),R_=Z(()=>X(()=>import("./ProseH5.AKt50Jx8.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),L_=Z(()=>X(()=>import("./ProseH6.fh8XDrVA.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),I_=Z(()=>X(()=>import("./ProseHr.PWPVsqcq.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),j_=Z(()=>X(()=>import("./ProseImg.NI_Z3hKc.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),M_=Z(()=>X(()=>import("./ProseLi.yw3me4Zf.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),D_=Z(()=>X(()=>import("./ProseOl.-d6FpckR.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),N_=Z(()=>X(()=>import("./ProseP.5Ii-edhi.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),B_=Z(()=>X(()=>import("./ProseScript.8M-vTO6K.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),F_=Z(()=>X(()=>import("./ProseStrong.wWHLYvDt.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),H_=Z(()=>X(()=>import("./ProseTable.vr8Lu6HN.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),U_=Z(()=>X(()=>import("./ProseTbody.jp4sqib1.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),z_=Z(()=>X(()=>import("./ProseTd.3teiJlN-.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),V_=Z(()=>X(()=>import("./ProseTh.DvN3xW7V.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),W_=Z(()=>X(()=>import("./ProseThead.ohVzKVnv.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),q_=Z(()=>X(()=>import("./ProseTr.aiD96v5k.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),K_=Z(()=>X(()=>import("./ProseUl.8mTzhdW0.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),G_=Z(()=>X(()=>Promise.resolve().then(()=>Zk),void 0,import.meta.url).then(e=>e.default)),Q_=Z(()=>X(()=>import("./IconCSS.xKd_D7LX.js"),__vite__mapDeps([32,33]),import.meta.url).then(e=>e.default)),X_=Z(()=>X(()=>import("./Static.V2K3aezp.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),Y_=Z(()=>X(()=>import("./Dynamic.uhf1S6Ax.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),J_=Z(()=>X(()=>import("./index.zxozhBNM.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),Z_=Z(()=>X(()=>import("./Cached.EPNR8yhH.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),e1=Z(()=>X(()=>import("./WithoutCache.p1OeQaMJ.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),t1=Z(()=>X(()=>import("./Screenshot.wn0_BD-5.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),n1=Z(()=>X(()=>import("./GithubRepository.gV0Q39BJ.js"),__vite__mapDeps([34,11]),import.meta.url).then(e=>e.default)),r1=Z(()=>X(()=>import("./GithubLink.e6ndn0Kh.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),o1=Z(()=>X(()=>import("./GithubReadme.AjQ1bQDb.js"),__vite__mapDeps([35,11]),import.meta.url).then(e=>e.default)),s1=Z(()=>X(()=>import("./GithubReleases.IdSk-78B.js"),__vite__mapDeps([36,11]),import.meta.url).then(e=>e.default)),i1=Z(()=>X(()=>import("./GithubLastRelease.Zc4ixaxC.js"),__vite__mapDeps([37,11]),import.meta.url).then(e=>e.default)),a1=Z(()=>X(()=>import("./GithubRelease.74JL6g_G.js"),__vite__mapDeps([38,11]),import.meta.url).then(e=>e.default)),l1=Z(()=>X(()=>import("./GithubContributors.Gzo0vZ5O.js"),__vite__mapDeps([39,11]),import.meta.url).then(e=>e.default)),c1=Z(()=>X(()=>import("./GithubFileContributors.b_sz_pTt.js"),__vite__mapDeps([40,11]),import.meta.url).then(e=>e.default)),u1=Z(()=>X(()=>import("./GithubCommits.RrrfkHo4.js"),__vite__mapDeps([41,11]),import.meta.url).then(e=>e.default)),f1=[["Releases",Zw],["VoltaBoard",e_],["Callout",t_],["Card",n_],["CardGroup",r_],["CodeGroup",o_],["Collapsible",s_],["Field",i_],["FieldGroup",a_],["Shortcut",l_],["Tabs",c_],["ProseCode",u_],["ProseCodeButton",f_],["ProseCodeIcon",d_],["ProseH1",p_],["ProseH2",h_],["ProseH3",g_],["ProseH4",m_],["ContentDoc",v_],["ContentList",y_],["ContentNavigation",b_],["ContentQuery",w_],["ContentRenderer",__],["ContentRendererMarkdown",x_],["MDCSlot",k_],["DocumentDrivenEmpty",E_],["DocumentDrivenNotFound",C_],["Markdown",S_],["ProseCodeInline",P_],["ProsePre",T_],["ProseA",A_],["ProseBlockquote",O_],["ProseEm",$_],["ProseH5",R_],["ProseH6",L_],["ProseHr",I_],["ProseImg",j_],["ProseLi",M_],["ProseOl",D_],["ProseP",N_],["ProseScript",B_],["ProseStrong",F_],["ProseTable",H_],["ProseTbody",U_],["ProseTd",z_],["ProseTh",V_],["ProseThead",W_],["ProseTr",q_],["ProseUl",K_],["Icon",G_],["IconCSS",Q_],["OgImageStatic",X_],["OgImageDynamic",Y_],["OgImage",J_],["OgImageCached",Z_],["OgImageWithoutCache",e1],["OgImageScreenshot",t1],["GithubRepository",n1],["GithubLink",r1],["GithubReadme",o1],["GithubReleases",s1],["GithubLastRelease",i1],["GithubRelease",a1],["GithubContributors",l1],["GithubFileContributors",c1],["GithubCommits",u1]],d1=rt({name:"nuxt:global-components",setup(e){for(const[t,n]of f1)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Rn={docs:()=>X(()=>import("./docs.0uoY01y7.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},p1=rt({name:"nuxt:prefetch",setup(e){const t=an();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Rn[r]=="function"&&await Rn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Vn(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=Ll(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof _o[i]=="function"&&_o[i]();o&&typeof Rn[o]=="function"&&Rn[o]()})}}),h1={path:"/",watch:!0,decode:e=>$o(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function Ss(e,t){var l;const n={...h1,...t},r=g1(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const s=o!==void 0&&o<=0,i=Gt(s?void 0:r[e]??((l=n.default)==null?void 0:l.call(n))),a=o&&!s?y1(i,o):F(i);{const c=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`),u=()=>{n.readonly||hp(a.value,r[e])||(v1(e,a.value,n),r[e]=Gt(a.value),c==null||c.postMessage(n.encode(a.value)))};let f=!1;Js()&&nl(()=>{f=!0,u(),c==null||c.close()}),c&&(c.onmessage=d=>{f=!0,r[e]=a.value=n.decode(d.data),yn(()=>{f=!1})}),n.watch?je(a,()=>{f||u()},{deep:n.watch!=="shallow"}):u()}return a}function g1(e={}){return U0(document.cookie,e)}function m1(e,t,n={}){return t==null?gu(e,t,{...n,maxAge:-1}):gu(e,t,n)}function v1(e,t,n={}){document.cookie=m1(e,t,n)}const Uu=2147483647;function y1(e,t){let n,r=0;return Js()&&nl(()=>{clearTimeout(n)}),Xf((o,s)=>{function i(){clearTimeout(n);const a=t-r,l=a{if(r+=l,r{const t=jt().public.studio||{},n=Un(),r=Ss("previewToken",{sameSite:"none",secure:!0}),o=wr("studio-client-db",()=>null);async function s(){const i=await X(()=>import("./useStudio.-w8AO5Bf.js"),__vite__mapDeps([42,43]),import.meta.url).then(c=>c.useStudio),{mountPreviewUI:a,initiateIframeCommunication:l}=i();a(),l()}if(t.apiURL){if(Object.prototype.hasOwnProperty.call(n.query,"preview")&&!n.query.preview||!n.query.preview&&!r.value)return;n.query.preview&&(r.value=String(n.query.preview)),window.sessionStorage.setItem("previewToken",String(r.value)),e.hook("content:storage",i=>{o.value=i}),e.hook("app:mounted",async()=>{await s()})}});function w1(e,t,n){const r=/^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*:)*?:?0*1$/.test(location.hostname)||location.protocol==="file:";if(!t.trackLocalhost&&r)return console.warn("[Plausible] Ignoring event because website is running locally");try{if(window.localStorage.plausible_ignore==="true")return console.warn('[Plausible] Ignoring event because "plausible_ignore" is set to "true" in localStorage')}catch{}const o={n:e,u:t.url,d:t.domain,r:t.referrer,w:t.deviceWidth,h:t.hashMode?1:0,p:n&&n.props?JSON.stringify(n.props):void 0},s=new XMLHttpRequest;s.open("POST",`${t.apiHost}/api/event`,!0),s.setRequestHeader("Content-Type","text/plain"),s.send(JSON.stringify(o)),s.onreadystatechange=()=>{s.readyState===4&&n&&n.callback&&n.callback()}}function _1(e){const t=()=>({hashMode:!1,trackLocalhost:!1,url:location.href,domain:location.hostname,referrer:document.referrer||null,deviceWidth:window.innerWidth,apiHost:"https://plausible.io",...e}),n=(i,a,l)=>{w1(i,{...t(),...l},a)},r=(i,a)=>{n("pageview",a,i)};return{trackEvent:n,trackPageview:r,enableAutoPageviews:()=>{const i=()=>r(),a=history.pushState;return a&&(history.pushState=function(l,c,u){a.apply(this,[l,c,u]),i()},addEventListener("popstate",i)),e&&e.hashMode&&addEventListener("hashchange",i),r(),function(){a&&(history.pushState=a,removeEventListener("popstate",i)),e&&e.hashMode&&removeEventListener("hashchange",i)}},enableAutoOutboundTracking:(i=document,a={subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]})=>{function l(p){n("Outbound Link: Click",{props:{url:this.href}}),typeof process<"u"&&process,setTimeout(()=>{location.href=this.href},150),p.preventDefault()}const c=new Set;function u(p){p instanceof HTMLAnchorElement?p.host!==location.host&&(p.addEventListener("click",l),c.add(p)):"querySelectorAll"in p&&p.querySelectorAll("a").forEach(u)}function f(p){p instanceof HTMLAnchorElement?(p.removeEventListener("click",l),c.delete(p)):"querySelectorAll"in p&&p.querySelectorAll("a").forEach(f)}const d=new MutationObserver(p=>{p.forEach(h=>{h.type==="attributes"?(f(h.target),u(h.target)):h.type==="childList"&&(h.addedNodes.forEach(u),h.removedNodes.forEach(f))})});return i.querySelectorAll("a").forEach(u),d.observe(i,a),function(){c.forEach(h=>{h.removeEventListener("click",l)}),c.clear(),d.disconnect()}}}}const x1=rt(()=>{const e=jt().public.plausible,t=_1({...e,domain:e.domain||window.location.hostname});return e.autoPageviews&&t.enableAutoPageviews(),e.autoOutboundTracking&&t.enableAutoOutboundTracking(),{provide:{plausible:t}}}),jl="-";function k1(e){const t=C1(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function o(i){const a=i.split(jl);return a[0]===""&&a.length!==1&&a.shift(),Np(a,t)||E1(i)}function s(i,a){const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}return{getClassGroupId:o,getConflictingClassGroupIds:s}}function Np(e,t){var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Np(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(jl);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId}const zu=/^\[(.+)\]$/;function E1(e){if(zu.test(e)){const t=zu.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function C1(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return P1(Object.entries(e.classGroups),n).forEach(([s,i])=>{$a(i,r,s,t)}),r}function $a(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Vu(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(S1(o)){$a(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{$a(i,Vu(t,s),n,r)})})}function Vu(e,t){let n=e;return t.split(jl).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function S1(e){return e.isThemeGetter}function P1(e,t){return t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[n,o]}):e}function T1(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(s,i){n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}}const Bp="!";function A1(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(i){const a=[];let l=0,c=0,u;for(let g=0;gc?u-c:void 0;return{modifiers:a,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}}}function O1(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function $1(e){return{cache:T1(e.cacheSize),splitModifiers:A1(e),...k1(e)}}const R1=/\s+/;function L1(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=new Set;return e.trim().split(R1).map(i=>{const{modifiers:a,hasImportantModifier:l,baseClassName:c,maybePostfixModifierPosition:u}=n(i);let f=r(u?c.substring(0,u):c),d=!!u;if(!f){if(!u)return{isTailwindClass:!1,originalClassName:i};if(f=r(c),!f)return{isTailwindClass:!1,originalClassName:i};d=!1}const p=O1(a).join(":");return{isTailwindClass:!0,modifierId:l?p+Bp:p,classGroupId:f,originalClassName:i,hasPostfixModifier:d}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:c}=i,u=a+l;return s.has(u)?!1:(s.add(u),o(l,c).forEach(f=>s.add(a+f)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function ut(){let e=0,t,n,r="";for(;ef(u),e());return n=$1(c),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const c=r(l);if(c)return c;const u=L1(l,n);return o(l,u),u}return function(){return s(ut.apply(null,arguments))}}function Ne(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Hp=/^\[(?:([a-z-]+):)?(.+)\]$/i,I1=/^\d+\/\d+$/,j1=new Set(["px","full","screen"]),M1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,D1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,N1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,B1=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,F1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function cn(e){return or(e)||j1.has(e)||I1.test(e)}function Sn(e){return Gr(e,"length",G1)}function or(e){return!!e&&!Number.isNaN(Number(e))}function gs(e){return Gr(e,"number",or)}function eo(e){return!!e&&Number.isInteger(Number(e))}function H1(e){return e.endsWith("%")&&or(e.slice(0,-1))}function ve(e){return Hp.test(e)}function Pn(e){return M1.test(e)}const U1=new Set(["length","size","percentage"]);function z1(e){return Gr(e,U1,Up)}function V1(e){return Gr(e,"position",Up)}const W1=new Set(["image","url"]);function q1(e){return Gr(e,W1,X1)}function K1(e){return Gr(e,"",Q1)}function to(){return!0}function Gr(e,t,n){const r=Hp.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function G1(e){return D1.test(e)&&!N1.test(e)}function Up(){return!1}function Q1(e){return B1.test(e)}function X1(e){return F1.test(e)}function La(){const e=Ne("colors"),t=Ne("spacing"),n=Ne("blur"),r=Ne("brightness"),o=Ne("borderColor"),s=Ne("borderRadius"),i=Ne("borderSpacing"),a=Ne("borderWidth"),l=Ne("contrast"),c=Ne("grayscale"),u=Ne("hueRotate"),f=Ne("invert"),d=Ne("gap"),p=Ne("gradientColorStops"),h=Ne("gradientColorStopPositions"),g=Ne("inset"),m=Ne("margin"),w=Ne("opacity"),b=Ne("padding"),v=Ne("saturate"),y=Ne("scale"),x=Ne("sepia"),E=Ne("skew"),P=Ne("space"),T=Ne("translate"),M=()=>["auto","contain","none"],L=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",ve,t],A=()=>[ve,t],B=()=>["",cn,Sn],he=()=>["auto",or,ve],fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],U=()=>["start","end","center","between","around","evenly","stretch"],_e=()=>["","0",ve],Ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],De=()=>[or,gs],Ee=()=>[or,ve];return{cacheSize:500,separator:":",theme:{colors:[to],spacing:[cn,Sn],blur:["none","",Pn,ve],brightness:De(),borderColor:[e],borderRadius:["none","","full",Pn,ve],borderSpacing:A(),borderWidth:B(),contrast:De(),grayscale:_e(),hueRotate:Ee(),invert:_e(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[H1,Sn],inset:K(),margin:K(),opacity:De(),padding:A(),saturate:De(),scale:De(),sepia:_e(),skew:Ee(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",ve]}],container:["container"],columns:[{columns:[Pn]}],"break-after":[{"break-after":Ie()}],"break-before":[{"break-before":Ie()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...fe(),ve]}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",eo,ve]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ve]}],grow:[{grow:_e()}],shrink:[{shrink:_e()}],order:[{order:["first","last","none",eo,ve]}],"grid-cols":[{"grid-cols":[to]}],"col-start-end":[{col:["auto",{span:["full",eo,ve]},ve]}],"col-start":[{"col-start":he()}],"col-end":[{"col-end":he()}],"grid-rows":[{"grid-rows":[to]}],"row-start-end":[{row:["auto",{span:[eo,ve]},ve]}],"row-start":[{"row-start":he()}],"row-end":[{"row-end":he()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ve]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ve]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...U()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...U(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...U(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ve,t]}],"min-w":[{"min-w":[ve,t,"min","max","fit"]}],"max-w":[{"max-w":[ve,t,"none","full","min","max","fit","prose",{screen:[Pn]},Pn]}],h:[{h:[ve,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ve,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ve,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ve,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Pn,Sn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",gs]}],"font-family":[{font:[to]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ve]}],"line-clamp":[{"line-clamp":["none",or,gs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cn,ve]}],"list-image":[{"list-image":["none",ve]}],"list-style-type":[{list:["none","disc","decimal",ve]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",cn,Sn]}],"underline-offset":[{"underline-offset":["auto",cn,ve]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...fe(),V1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",z1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},q1]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:V()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[cn,ve]}],"outline-w":[{outline:[cn,Sn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[cn,Sn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Pn,K1]}],"shadow-color":[{shadow:[to]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":W()}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Pn,ve]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ve]}],duration:[{duration:Ee()}],ease:[{ease:["linear","in","out","in-out",ve]}],delay:[{delay:Ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",ve]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[eo,ve]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ve]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ve]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ve]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[cn,Sn,gs]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function Y1(e,{cacheSize:t,prefix:n,separator:r,extend:o={},override:s={}}){Ps(e,"cacheSize",t),Ps(e,"prefix",n),Ps(e,"separator",r);for(const i in s)J1(e[i],s[i]);for(const i in o)Z1(e[i],o[i]);return e}function Ps(e,t,n){n!==void 0&&(e[t]=n)}function J1(e,t){if(t)for(const n in t)Ps(e,n,t[n])}function Z1(e,t){if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}}function ex(e,...t){return typeof e=="function"?Ra(La,e,...t):Ra(()=>Y1(La(),e),...t)}const It=Ra(La);function zp(e,t){const n={...e};for(const r of t)delete n[r];return n}function tx(e,t,n){typeof t=="string"&&(t=t.split(".").map(o=>{const s=Number(o);return isNaN(s)?o:s}));let r=e;for(const o of t){if(r==null)return n;r=r[o]}return r!==void 0?r:n}const hi={to:{type:[String,Object],default:void 0},href:{type:[String,Object],default:void 0},target:{type:String,default:void 0},rel:{type:String,default:void 0},noRel:{type:Boolean,default:void 0},prefetch:{type:Boolean,default:void 0},noPrefetch:{type:Boolean,default:void 0},activeClass:{type:String,default:void 0},exactActiveClass:{type:String,default:void 0},prefetchedClass:{type:String,default:void 0},replace:{type:Boolean,default:void 0},ariaCurrentValue:{type:String,default:void 0},external:{type:Boolean,default:void 0}},nx={as:{type:String,default:"button"},type:{type:String,default:"button"},disabled:{type:Boolean,default:null},active:{type:Boolean,default:void 0},exact:{type:Boolean,default:!1},exactQuery:{type:Boolean,default:!1},exactHash:{type:Boolean,default:!1},inactiveClass:{type:String,default:void 0}},rx=e=>Object.keys(hi).reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),Dr=e=>[...Object.keys(hi),...Object.keys(nx)].reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),ox=ex({extend:{classGroups:{icons:[e=>/^i-/.test(e)]}}}),sx=Al((e,t,n,r)=>{if(r==="default"||r.startsWith("default.")||r.endsWith("avatar")&&t==="size")return!1;if(typeof e[t]=="string"&&typeof n=="string"&&e[t]&&n)return e[t]=ox(e[t],n),!0});function Wt(e,...t){return e==="override"?ci({},...t):sx({},...t)}function Wu(e){const t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(t,function(r,o,s,i){return o+o+s+s+i+i});const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?`${parseInt(n[1],16)} ${parseInt(n[2],16)} ${parseInt(n[3],16)}`:null}const ix="inherit",ax="currentColor",lx="transparent",cx="#000",ux="#fff",fx={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},dx={50:"rgb(var(--color-gray-50) / )",100:"rgb(var(--color-gray-100) / )",200:"rgb(var(--color-gray-200) / )",300:"rgb(var(--color-gray-300) / )",400:"rgb(var(--color-gray-400) / )",500:"rgb(var(--color-gray-500) / )",600:"rgb(var(--color-gray-600) / )",700:"rgb(var(--color-gray-700) / )",800:"rgb(var(--color-gray-800) / )",900:"rgb(var(--color-gray-900) / )",950:"rgb(var(--color-gray-950) / )"},px={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},hx={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},gx={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},mx={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},vx={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},yx={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},bx={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},wx={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},_x={50:"#EFFDF5",100:"#D9FBE8",200:"#B3F5D1",300:"#75EDAE",400:"#00DC82",500:"#00C16A",600:"#00A155",700:"#007F45",800:"#016538",900:"#0A5331",950:"#052e16"},xx={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},kx={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},Ex={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},Cx={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},Sx={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},Px={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},Tx={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},Ax={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},Ox={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},$x={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},Rx={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},Lx="rgb(var(--ui-background) / )",Ix="rgb(var(--ui-foreground) / )",jx={50:"rgb(var(--color-primary-50) / )",100:"rgb(var(--color-primary-100) / )",200:"rgb(var(--color-primary-200) / )",300:"rgb(var(--color-primary-300) / )",400:"rgb(var(--color-primary-400) / )",500:"rgb(var(--color-primary-500) / )",600:"rgb(var(--color-primary-600) / )",700:"rgb(var(--color-primary-700) / )",800:"rgb(var(--color-primary-800) / )",900:"rgb(var(--color-primary-900) / )",950:"rgb(var(--color-primary-950) / )",DEFAULT:"rgb(var(--color-primary-DEFAULT) / )"},Mx={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},ms={inherit:ix,current:ax,transparent:lx,black:cx,white:ux,slate:fx,gray:dx,zinc:px,neutral:hx,stone:gx,red:mx,orange:vx,amber:yx,yellow:bx,lime:wx,green:_x,emerald:xx,teal:kx,cyan:Ex,sky:Cx,blue:Sx,indigo:Px,violet:Tx,purple:Ax,fuchsia:Ox,pink:$x,rose:Rx,background:Lx,foreground:Ix,primary:jx,cool:Mx},Dx=rt(()=>{const e=it(),t=Ae(),n=R(()=>{const o=ms[e.ui.primary],s=ms[e.ui.gray];return o||console.warn(`[@nuxt/ui] Primary color '${e.ui.primary}' not found in Tailwind config`),s||console.warn(`[@nuxt/ui] Gray color '${e.ui.gray}' not found in Tailwind config`),`:root { + */const kr=typeof window<"u";function Rb(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Re=Object.assign;function Di(e,t){const n={};for(const r in t){const o=t[r];n[r]=Ut(o)?o.map(e):e(o)}return n}const bo=()=>{},Ut=Array.isArray,Lb=/\/$/,Ib=e=>e.replace(Lb,"");function Ni(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Nb(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function jb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function xu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Mb(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&jr(t.matched[r],n.matched[o])&&Cp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function jr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Cp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Db(e[n],t[n]))return!1;return!0}function Db(e,t){return Ut(e)?ku(e,t):Ut(t)?ku(t,e):e===t}function ku(e,t){return Ut(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Nb(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Io;(function(e){e.pop="pop",e.push="push"})(Io||(Io={}));var wo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(wo||(wo={}));function Bb(e){if(!e)if(kr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ib(e)}const Fb=/^[^#]+#/;function Hb(e,t){return e.replace(Fb,"#")+t}function Ub(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const pi=()=>({left:window.pageXOffset,top:window.pageYOffset});function zb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Ub(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Eu(e,t){return(history.state?history.state.position-t:-1)+e}const Sa=new Map;function Vb(e,t){Sa.set(e,t)}function Wb(e){const t=Sa.get(e);return Sa.delete(e),t}let qb=()=>location.protocol+"//"+location.host;function Sp(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),xu(l,"")}return xu(n,e)+r+o}function Kb(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=Sp(e,location),h=n.value,g=t.value;let m=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}m=g?d.position-g.position:0}else r(p);o.forEach(w=>{w(n.value,h,{delta:m,type:Io.pop,direction:m?m>0?wo.forward:wo.back:wo.unknown})})};function l(){i=n.value}function c(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(Re({},d.state,{scroll:pi()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Cu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?pi():null}}function Gb(e){const{history:t,location:n}=window,r={value:Sp(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:qb()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){const u=Re({},t.state,Cu(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=Re({},o.value,t.state,{forward:l,scroll:pi()});s(u.current,u,!0);const f=Re({},Cu(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Pp(e){e=Bb(e);const t=Gb(e),n=Kb(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Re({location:"",base:e,go:r,createHref:Hb.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Qb(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Pp(e)}function Xb(e){return typeof e=="string"||e&&typeof e=="object"}function Tp(e){return typeof e=="string"||typeof e=="symbol"}const Nt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ap=Symbol("");var Su;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Su||(Su={}));function Mr(e,t){return Re(new Error,{type:e,[Ap]:!0},t)}function ln(e,t){return e instanceof Error&&Ap in e&&(t==null||!!(e.type&t))}const Pu="[^/]+?",Yb={sensitive:!1,strict:!1,start:!0,end:!0},Jb=/[.+*?^${}()[\]/\\]/g;function Zb(e,t){const n=Re({},Yb,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function tw(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const nw={type:0,value:""},rw=/[a-zA-Z0-9_]/;function ow(e){if(!e)return[[]];if(e==="/")return[[nw]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{i(b)}:bo}function i(u){if(Tp(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!Op(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Ou(u)&&r.set(u.record.name,u)}function c(u,f){let d,p={},h,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Mr(1,{location:u});g=d.record.name,p=Re(Au(f.params,d.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&Au(u.params,d.keys.map(b=>b.name))),h=d.stringify(p)}else if("path"in u)h=u.path,d=n.find(b=>b.re.test(h)),d&&(p=d.parse(h),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!d)throw Mr(1,{location:u,currentLocation:f});g=d.record.name,p=Re({},f.params,u.params),h=d.stringify(p)}const m=[];let w=d;for(;w;)m.unshift(w.record),w=w.parent;return{name:g,path:h,params:p,matched:m,meta:cw(m)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Au(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function aw(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:lw(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function lw(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ou(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function cw(e){return e.reduce((t,n)=>Re(t,n.meta),{})}function $u(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Op(e,t){return t.children.some(n=>n===e||Op(e,n))}const $p=/#/g,uw=/&/g,fw=/\//g,dw=/=/g,pw=/\?/g,Rp=/\+/g,hw=/%5B/g,gw=/%5D/g,Lp=/%5E/g,mw=/%60/g,Ip=/%7B/g,vw=/%7C/g,jp=/%7D/g,yw=/%20/g;function Ol(e){return encodeURI(""+e).replace(vw,"|").replace(hw,"[").replace(gw,"]")}function bw(e){return Ol(e).replace(Ip,"{").replace(jp,"}").replace(Lp,"^")}function Pa(e){return Ol(e).replace(Rp,"%2B").replace(yw,"+").replace($p,"%23").replace(uw,"%26").replace(mw,"`").replace(Ip,"{").replace(jp,"}").replace(Lp,"^")}function ww(e){return Pa(e).replace(dw,"%3D")}function _w(e){return Ol(e).replace($p,"%23").replace(pw,"%3F")}function xw(e){return e==null?"":_w(e).replace(fw,"%2F")}function qs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function kw(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&Pa(s)):[r&&Pa(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Ew(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ut(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Cw=Symbol(""),Lu=Symbol(""),$l=Symbol(""),Rl=Symbol(""),Ta=Symbol("");function Zr(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function $n(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(Mr(4,{from:n,to:t})):f instanceof Error?a(f):Xb(f)?a(Mr(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),i())},c=e.call(r&&r.instances[o],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Bi(e,t,n,r){const o=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Sw(a)){const c=(a.__vccOpts||a)[t];c&&o.push($n(c,n,r,s,i))}else{let l=a();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const u=Rb(c)?c.default:c;s.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&$n(d,n,r,s,i)()}))}}return o}function Sw(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Iu(e){const t=Te($l),n=Te(Rl),r=R(()=>t.resolve(C(e.to))),o=R(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(jr.bind(null,u));if(d>-1)return d;const p=ju(l[c-2]);return c>1&&ju(u)===p&&f[f.length-1].path!==p?f.findIndex(jr.bind(null,l[c-2])):d}),s=R(()=>o.value>-1&&Ow(n.params,r.value.params)),i=R(()=>o.value>-1&&o.value===n.matched.length-1&&Cp(n.params,r.value.params));function a(l={}){return Aw(l)?t[C(e.replace)?"replace":"push"](C(e.to)).catch(bo):Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const Pw=re({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Iu,setup(e,{slots:t}){const n=Lt(Iu(e)),{options:r}=Te($l),o=R(()=>({[Mu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Mu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:ye("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Tw=Pw;function Aw(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ow(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Ut(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function ju(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Mu=(e,t,n)=>e??t??n,$w=re({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Te(Ta),o=R(()=>e.route||r.value),s=Te(Lu,0),i=R(()=>{let c=C(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=R(()=>o.value.matched[i.value]);ze(Lu,R(()=>i.value+1)),ze(Cw,a),ze(Ta,o);const l=F();return je(()=>[l.value,a.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!jr(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Du(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,m=ye(d,Re({},h,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Du(n.default,{Component:m,route:c})||m}}});function Du(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Mp=$w;function Rw(e){const t=iw(e.routes,e),n=e.parseQuery||kw,r=e.stringifyQuery||Ru,o=e.history,s=Zr(),i=Zr(),a=Zr(),l=pr(Nt);let c=Nt;kr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Di.bind(null,$=>""+$),f=Di.bind(null,xw),d=Di.bind(null,qs);function p($,Y){let G,oe;return Tp($)?(G=t.getRecordMatcher($),oe=Y):oe=$,t.addRoute(oe,G)}function h($){const Y=t.getRecordMatcher($);Y&&t.removeRoute(Y)}function g(){return t.getRoutes().map($=>$.record)}function m($){return!!t.getRecordMatcher($)}function w($,Y){if(Y=Re({},Y||l.value),typeof $=="string"){const S=Ni(n,$,Y.path),O=t.resolve({path:S.path},Y),j=o.createHref(S.fullPath);return Re(S,O,{params:d(O.params),hash:qs(S.hash),redirectedFrom:void 0,href:j})}let G;if("path"in $)G=Re({},$,{path:Ni(n,$.path,Y.path).path});else{const S=Re({},$.params);for(const O in S)S[O]==null&&delete S[O];G=Re({},$,{params:f(S)}),Y.params=f(Y.params)}const oe=t.resolve(G,Y),Ce=$.hash||"";oe.params=u(d(oe.params));const _=jb(r,Re({},$,{hash:bw(Ce),path:oe.path})),k=o.createHref(_);return Re({fullPath:_,hash:Ce,query:r===Ru?Ew($.query):$.query||{}},oe,{redirectedFrom:void 0,href:k})}function b($){return typeof $=="string"?Ni(n,$,l.value.path):Re({},$)}function v($,Y){if(c!==$)return Mr(8,{from:Y,to:$})}function y($){return P($)}function x($){return y(Re(b($),{replace:!0}))}function E($){const Y=$.matched[$.matched.length-1];if(Y&&Y.redirect){const{redirect:G}=Y;let oe=typeof G=="function"?G($):G;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=b(oe):{path:oe},oe.params={}),Re({query:$.query,hash:$.hash,params:"path"in oe?{}:$.params},oe)}}function P($,Y){const G=c=w($),oe=l.value,Ce=$.state,_=$.force,k=$.replace===!0,S=E(G);if(S)return P(Re(b(S),{state:typeof S=="object"?Re({},Ce,S.state):Ce,force:_,replace:k}),Y||G);const O=G;O.redirectedFrom=Y;let j;return!_&&Mb(r,oe,G)&&(j=Mr(16,{to:O,from:oe}),De(oe,oe,!0,!1)),(j?Promise.resolve(j):L(O,oe)).catch(D=>ln(D)?ln(D,2)?D:Ie(D):U(D,O,oe)).then(D=>{if(D){if(ln(D,2))return P(Re({replace:k},b(D.to),{state:typeof D.to=="object"?Re({},Ce,D.to.state):Ce,force:_}),Y||O)}else D=A(O,oe,!0,k,Ce);return K(O,oe,D),D})}function T($,Y){const G=v($,Y);return G?Promise.reject(G):Promise.resolve()}function M($){const Y=at.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext($):$()}function L($,Y){let G;const[oe,Ce,_]=Lw($,Y);G=Bi(oe.reverse(),"beforeRouteLeave",$,Y);for(const S of oe)S.leaveGuards.forEach(O=>{G.push($n(O,$,Y))});const k=T.bind(null,$,Y);return G.push(k),Ve(G).then(()=>{G=[];for(const S of s.list())G.push($n(S,$,Y));return G.push(k),Ve(G)}).then(()=>{G=Bi(Ce,"beforeRouteUpdate",$,Y);for(const S of Ce)S.updateGuards.forEach(O=>{G.push($n(O,$,Y))});return G.push(k),Ve(G)}).then(()=>{G=[];for(const S of _)if(S.beforeEnter)if(Ut(S.beforeEnter))for(const O of S.beforeEnter)G.push($n(O,$,Y));else G.push($n(S.beforeEnter,$,Y));return G.push(k),Ve(G)}).then(()=>($.matched.forEach(S=>S.enterCallbacks={}),G=Bi(_,"beforeRouteEnter",$,Y),G.push(k),Ve(G))).then(()=>{G=[];for(const S of i.list())G.push($n(S,$,Y));return G.push(k),Ve(G)}).catch(S=>ln(S,8)?S:Promise.reject(S))}function K($,Y,G){a.list().forEach(oe=>M(()=>oe($,Y,G)))}function A($,Y,G,oe,Ce){const _=v($,Y);if(_)return _;const k=Y===Nt,S=kr?history.state:{};G&&(oe||k?o.replace($.fullPath,Re({scroll:k&&S&&S.scroll},Ce)):o.push($.fullPath,Ce)),l.value=$,De($,Y,G,k),Ie()}let B;function he(){B||(B=o.listen(($,Y,G)=>{if(!wt.listening)return;const oe=w($),Ce=E(oe);if(Ce){P(Re(Ce,{replace:!0}),oe).catch(bo);return}c=oe;const _=l.value;kr&&Vb(Eu(_.fullPath,G.delta),pi()),L(oe,_).catch(k=>ln(k,12)?k:ln(k,2)?(P(k.to,oe).then(S=>{ln(S,20)&&!G.delta&&G.type===Io.pop&&o.go(-1,!1)}).catch(bo),Promise.reject()):(G.delta&&o.go(-G.delta,!1),U(k,oe,_))).then(k=>{k=k||A(oe,_,!1),k&&(G.delta&&!ln(k,8)?o.go(-G.delta,!1):G.type===Io.pop&&ln(k,20)&&o.go(-1,!1)),K(oe,_,k)}).catch(bo)}))}let fe=Zr(),V=Zr(),W;function U($,Y,G){Ie($);const oe=V.list();return oe.length?oe.forEach(Ce=>Ce($,Y,G)):console.error($),Promise.reject($)}function _e(){return W&&l.value!==Nt?Promise.resolve():new Promise(($,Y)=>{fe.add([$,Y])})}function Ie($){return W||(W=!$,he(),fe.list().forEach(([Y,G])=>$?G($):Y()),fe.reset()),$}function De($,Y,G,oe){const{scrollBehavior:Ce}=e;if(!kr||!Ce)return Promise.resolve();const _=!G&&Wb(Eu($.fullPath,0))||(oe||!G)&&history.state&&history.state.scroll||null;return yn().then(()=>Ce($,Y,_)).then(k=>k&&zb(k)).catch(k=>U(k,$,Y))}const Ee=$=>o.go($);let bt;const at=new Set,wt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:m,getRoutes:g,resolve:w,options:e,push:y,replace:x,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:V.add,isReady:_e,install($){const Y=this;$.component("RouterLink",Tw),$.component("RouterView",Mp),$.config.globalProperties.$router=Y,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>C(l)}),kr&&!bt&&l.value===Nt&&(bt=!0,y(o.location).catch(Ce=>{}));const G={};for(const Ce in Nt)Object.defineProperty(G,Ce,{get:()=>l.value[Ce],enumerable:!0});$.provide($l,Y),$.provide(Rl,Vo(G)),$.provide(Ta,l);const oe=$.unmount;at.add($),$.unmount=function(){at.delete($),at.size<1&&(c=Nt,B&&B(),B=null,l.value=Nt,bt=!1,W=!1),oe()}}};function Ve($){return $.reduce((Y,G)=>Y.then(()=>M(G)),Promise.resolve())}return wt}function Lw(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;ijr(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>jr(c,l))||o.push(l))}return[n,r,o]}function Iw(){return Te(Rl)}const jw=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),Aa=(e,t)=>{const n=e.route.matched.find(o=>{var s;return((s=o.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&jw(e.route,n));return typeof r=="function"?r(e.route):r},Mw=(e,t)=>({default:()=>e?ye(Sm,e===!0?{}:e,t):t});function Ll(e){return Array.isArray(e)?e:[e]}const xt={layout:"docs"},Nu=[{name:(xt==null?void 0:xt.name)??"slug",path:(xt==null?void 0:xt.path)??"/:slug(.*)*",meta:xt||{},alias:(xt==null?void 0:xt.alias)||[],redirect:(xt==null?void 0:xt.redirect)||void 0,component:()=>X(()=>import("./_...slug_.dWwFjP0b.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>X(()=>import("./index.3HHY23m7.js").then(e=>e.i),__vite__mapDeps([4,3,5,6,7,8]),import.meta.url).then(e=>e.default||e)}];function Bu(e){const t=document.querySelector(e);if(t){const n=parseFloat(getComputedStyle(t).scrollMarginTop);return{el:e,behavior:"smooth",top:n}}}const Dw={scrollBehavior(e,t,n){const r=Ae();if(!(history.state&&history.state.stop))return history.state&&history.state.smooth?{el:history.state.smooth,behavior:"smooth"}:n?new Promise(o=>{r.hooks.hookOnce("page:finish",()=>{setTimeout(()=>o(n),50)})}):e.hash?new Promise(o=>{e.path===t.path?setTimeout(()=>o(Bu(e.hash)),50):r.hooks.hookOnce("page:finish",()=>{setTimeout(()=>o(Bu(e.hash)),50)})}):{top:0}}},Dp=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?ye(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function Fu(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""});return typeof t=="function"?t(e):t}function Nw(e,t){return e===t||t===Nt?!1:Fu(e)!==Fu(t)?!0:!e.matched.every((r,o)=>{var s,i;return r.components&&r.components.default===((i=(s=t.matched[o])==null?void 0:s.components)==null?void 0:i.default)})}const Bw={scrollBehavior(e,t,n){var c;const r=Ae(),o=((c=an().options)==null?void 0:c.scrollBehaviorType)??"auto";let s=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&i!==!1&&Nw(e,t)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Hu(e.hash),behavior:o}}const a=u=>!!(u.meta.pageTransition??Ea),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{r.hooks.hookOnce(l,async()=>{await yn(),e.hash&&(s={el:e.hash,top:Hu(e.hash),behavior:o}),u(s)})})}};function Hu(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const Fw={hashMode:!1,scrollBehaviorType:"auto"},pt={...Fw,...Bw,...Dw},Hw=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=Ae(),o=an();if(([t,n]=Ro(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=fi({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(c=>{if(a(),c===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>Er(i)),window.history.pushState({},"",e.fullPath)});return!1}})},Uw=async e=>{let t,n;const r=([t,n]=Ro(()=>xp(e.path)),t=await t,n(),t);if(r.redirect)return r.redirect},zw=[Hw,Uw],_o={};function Vw(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const c=s.includes(e.slice(i))?e.slice(i).length:1;let u=s.slice(c);return u[0]!=="/"&&(u="/"+u),ru(u,"")}const a=ru(r,e),l=!n||ay(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+s}const Ww=rt({name:"nuxt:router",enforce:"pre",async setup(e){var g,m;let t,n,r=jt().app.baseURL;pt.hashMode&&!r.includes("#")&&(r+="#");const o=((g=pt.history)==null?void 0:g.call(pt,r))??(pt.hashMode?Qb(r):Pp(r)),s=((m=pt.routes)==null?void 0:m.call(pt,Nu))??Nu;let i;const a=Vw(r,window.location,e.payload.path),l=Rw({...pt,scrollBehavior:(w,b,v)=>{var y;if(b===Nt){i=v;return}return l.options.scrollBehavior=pt.scrollBehavior,(y=pt.scrollBehavior)==null?void 0:y.call(pt,w,Nt,i||v)},history:o,routes:s});e.vueApp.use(l);const c=pr(l.currentRoute.value);l.afterEach((w,b)=>{c.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=pr(l.resolve(a)),f=()=>{u.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((w,b)=>{var v,y,x,E;((y=(v=w.matched[0])==null?void 0:v.components)==null?void 0:y.default)===((E=(x=b.matched[0])==null?void 0:x.components)==null?void 0:E.default)&&f()});const d={};for(const w in u.value)Object.defineProperty(d,w,{get:()=>u.value[w]});e._route=Vo(d),e._middleware=e._middleware||{global:[],named:{}};const p=ui();try{[t,n]=Ro(()=>l.isReady()),await t,n()}catch(w){[t,n]=Ro(()=>e.runWithContext(()=>Er(w))),await t,n()}const h=e.payload.state._layout;return l.beforeEach(async(w,b)=>{var v;await e.callHook("page:loading:start"),w.meta=Lt(w.meta),e.isHydrating&&h&&!dr(w.meta.layout)&&(w.meta.layout=h),e._processingMiddleware=!0;{const y=new Set([...zw,...e._middleware.global]);for(const x of w.matched){const E=x.meta.middleware;if(E)for(const P of Ll(E))y.add(P)}for(const x of y){const E=typeof x=="string"?e._middleware.named[x]||await((v=_o[x])==null?void 0:v.call(_o).then(T=>T.default||T)):x;if(!E)throw new Error(`Unknown route middleware: '${x}'.`);const P=await e.runWithContext(()=>E(w,b));if(!e.payload.serverRendered&&e.isHydrating&&(P===!1||P instanceof Error)){const T=P||xa({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>Er(T)),!1}if(P!==!0&&(P||P===!1))return P}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(w,b,v)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(wp),v&&await e.callHook("page:loading:end"),w.matched.length===0&&await e.runWithContext(()=>Er(xa({statusCode:404,fatal:!1,statusMessage:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=pt.scrollBehavior}catch(w){await e.runWithContext(()=>Er(w))}}),{provide:{router:l}}}}),qw="$s";function wr(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=qw+n,s=Ae(),i=we(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(et(a))return s.payload.state[o]=a,a;i.value=a}return i}function Kw(e){const t=(e==null?void 0:e.debug)||!1,n=[];function r(s){var a;if(!s||typeof s!="object"||Object.keys(s).length===0)return;if(!s._context&&t){let l=(a=new Error("tmp").stack)==null?void 0:a.split(` +`)[2].split(" ")[5];l!=null&&l.includes("/")&&(l="anonymous"),s._context=l}const i={};for(const l in s){const c=s[l];typeof c<"u"&&c!==""&&(i[l]=c)}Object.keys(i).filter(l=>!l.startsWith("_")).length>0&&n.push(i)}function o(s){var a;const i={};s!=null&&s.debug&&(i._context={});for(const l in n.sort((c,u)=>(c._priority||0)-(u._priority||0)))for(const c in n[l]){const u=c,f=n[l][c];c.startsWith("_")||(i[c]=f,s!=null&&s.debug&&(i._context[u]=((a=n[l]._context)==null?void 0:a[u])||n[l]._context||"anonymous"))}return Gw(i)}return{stack:n,push:r,get:o}}function Gw(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Vn(e.url,{acceptRelative:!0,strict:!1})&&(e.url=sy(e.url));const t=Object.keys(e).sort((r,o)=>r.localeCompare(o)),n={};for(const r of t)n[r]=e[r];return n}const Qw=rt({name:"nuxt-site-config",enforce:"pre",async setup(e){const t=jt()["nuxt-site-config"]||{debug:!1};let n;const r=wr("site-config");return n||(n=Kw({debug:t.debug})),n.push({_context:"window",url:window.location.origin}),Ae().payload.serverRendered?n.push(r.value):typeof window.__NUXT_SITE_CONFIG__<"u"&&n.push(window.__NUXT_SITE_CONFIG__),{provide:{nuxtSiteConfig:n}}}}),Oa=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Xw=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Il=e=>{const t=Ae();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Oa(e)}):Oa(e)},Yw=rt({name:"nuxt:payload",setup(e){an().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await wu(t.path);r&&Object.assign(e.static.data,r.data)}),Il(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Qo(n).protocol||await wu(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(di,1e3)})}}),Jw=rt(e=>{let t;async function n(){const r=await di();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(El("builds/latest.json"));o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}Il(()=>{t=setTimeout(n,1e3*60*60)})}),Zw=Z(()=>X(()=>import("./Releases.TC6OrPKn.js"),__vite__mapDeps([9,10,1,2,3,11]),import.meta.url).then(e=>e.default)),e_=Z(()=>X(()=>import("./VoltaBoard.unmktSf8.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),t_=Z(()=>X(()=>import("./Callout.U_ncT6th.js"),__vite__mapDeps([12,13,6]),import.meta.url).then(e=>e.default)),n_=Z(()=>X(()=>import("./Card.Sj04FlIE.js"),__vite__mapDeps([14,7,13,6]),import.meta.url).then(e=>e.default)),r_=Z(()=>X(()=>import("./CardGroup.L1bAzgpX.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),o_=Z(()=>X(()=>import("./CodeGroup.uHTqVN-T.js"),__vite__mapDeps([15,16]),import.meta.url).then(e=>e.default)),s_=Z(()=>X(()=>import("./Collapsible.qWM3gGRD.js"),__vite__mapDeps([17,13,6]),import.meta.url).then(e=>e.default)),i_=Z(()=>X(()=>import("./Field.Rio25kRl.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),a_=Z(()=>X(()=>import("./FieldGroup.5aNT2tOY.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),l_=Z(()=>X(()=>import("./Shortcut.A5VcKh1_.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),c_=Z(()=>X(()=>import("./Tabs.FBYCxPJB.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),u_=Z(()=>X(()=>import("./ProseCode.3zMaxfPm.js"),__vite__mapDeps([18,19,16,20,21]),import.meta.url).then(e=>e.default)),f_=Z(()=>X(()=>import("./ProseCodeButton.Vf4Ii8-m.js"),__vite__mapDeps([22,20]),import.meta.url).then(e=>e.default)),d_=Z(()=>X(()=>import("./ProseCodeIcon.c8RJNJoT.js"),__vite__mapDeps([23,16]),import.meta.url).then(e=>e.default)),p_=Z(()=>X(()=>import("./ProseH1.n2dx2pw0.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),h_=Z(()=>X(()=>import("./ProseH2.ac_KN0ve.js"),__vite__mapDeps([24,10]),import.meta.url).then(e=>e.default)),g_=Z(()=>X(()=>import("./ProseH3.jIL8QKjb.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),m_=Z(()=>X(()=>import("./ProseH4.VkfJ1c87.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),v_=Z(()=>X(()=>import("./ContentDoc.3KXCUWLY.js"),__vite__mapDeps([25,1,2,3,26]),import.meta.url).then(e=>e.default)),y_=Z(()=>X(()=>import("./ContentList.SnNuiMTB.js"),__vite__mapDeps([27,26]),import.meta.url).then(e=>e.default)),b_=Z(()=>X(()=>import("./ContentNavigation.6q5ULe7O.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),w_=Z(()=>X(()=>import("./ContentQuery.3j2_soVj.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),__=Z(()=>X(()=>import("./ContentRenderer.Snp_p6di.js"),__vite__mapDeps([1,2,3]),import.meta.url).then(e=>e.default)),x_=Z(()=>X(()=>import("./ContentRendererMarkdown.Qy60WlDh.js"),__vite__mapDeps([28,2,3]),import.meta.url).then(e=>e.default)),k_=Z(()=>X(()=>import("./ContentSlot.7o_IYYZq.js"),__vite__mapDeps([29,6]),import.meta.url).then(e=>e.default)),E_=Z(()=>X(()=>import("./DocumentDrivenEmpty.ZnHkKn_b.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),C_=Z(()=>X(()=>import("./DocumentDrivenNotFound.-QbZrK7a.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),S_=Z(()=>X(()=>import("./Markdown.Vu449gVI.js"),__vite__mapDeps([30,29,6]),import.meta.url).then(e=>e.default)),P_=Z(()=>X(()=>import("./ProseCodeInline.UKO9YEge.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),T_=Z(()=>X(()=>import("./ProsePre.fNkfwBiv.js"),__vite__mapDeps([31,19,16,20,21]),import.meta.url).then(e=>e.default)),A_=Z(()=>X(()=>import("./ProseA.1naA1Xnw.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),O_=Z(()=>X(()=>import("./ProseBlockquote.4ze-dyO4.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),$_=Z(()=>X(()=>import("./ProseEm.TctFqG5E.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),R_=Z(()=>X(()=>import("./ProseH5.nTa44zZp.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),L_=Z(()=>X(()=>import("./ProseH6.LXfRcowH.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),I_=Z(()=>X(()=>import("./ProseHr.dJQpsNk0.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),j_=Z(()=>X(()=>import("./ProseImg.cR48SDDz.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),M_=Z(()=>X(()=>import("./ProseLi.bNm5aHhx.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),D_=Z(()=>X(()=>import("./ProseOl.kGSfFGTF.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),N_=Z(()=>X(()=>import("./ProseP.xdDnCvdx.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),B_=Z(()=>X(()=>import("./ProseScript.zuTRUi7U.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),F_=Z(()=>X(()=>import("./ProseStrong.ruCkVaEx.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),H_=Z(()=>X(()=>import("./ProseTable.0W9QR9ya.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),U_=Z(()=>X(()=>import("./ProseTbody.BxGeRZKf.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),z_=Z(()=>X(()=>import("./ProseTd.KYqqvY6o.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),V_=Z(()=>X(()=>import("./ProseTh.TyYN77v-.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),W_=Z(()=>X(()=>import("./ProseThead.8EWLWutm.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),q_=Z(()=>X(()=>import("./ProseTr.-gc2NXV8.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),K_=Z(()=>X(()=>import("./ProseUl.uihB480C.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),G_=Z(()=>X(()=>Promise.resolve().then(()=>Zk),void 0,import.meta.url).then(e=>e.default)),Q_=Z(()=>X(()=>import("./IconCSS.KXs9Vl1K.js"),__vite__mapDeps([32,33]),import.meta.url).then(e=>e.default)),X_=Z(()=>X(()=>import("./Static.dUjUmiXn.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),Y_=Z(()=>X(()=>import("./Dynamic.Ak6FV06T.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),J_=Z(()=>X(()=>import("./index.-1WZlMFP.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),Z_=Z(()=>X(()=>import("./Cached.wB_iQ5j1.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),e1=Z(()=>X(()=>import("./WithoutCache.a4ZxGhRP.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),t1=Z(()=>X(()=>import("./Screenshot.oadL6VUR.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),n1=Z(()=>X(()=>import("./GithubRepository.M9uREu0t.js"),__vite__mapDeps([34,11]),import.meta.url).then(e=>e.default)),r1=Z(()=>X(()=>import("./GithubLink.XCq_5AdZ.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),o1=Z(()=>X(()=>import("./GithubReadme.xQmd5EsK.js"),__vite__mapDeps([35,11]),import.meta.url).then(e=>e.default)),s1=Z(()=>X(()=>import("./GithubReleases.RZH0RGD2.js"),__vite__mapDeps([36,11]),import.meta.url).then(e=>e.default)),i1=Z(()=>X(()=>import("./GithubLastRelease.51GpqXcI.js"),__vite__mapDeps([37,11]),import.meta.url).then(e=>e.default)),a1=Z(()=>X(()=>import("./GithubRelease.d-GfU9fx.js"),__vite__mapDeps([38,11]),import.meta.url).then(e=>e.default)),l1=Z(()=>X(()=>import("./GithubContributors.PP-IaBat.js"),__vite__mapDeps([39,11]),import.meta.url).then(e=>e.default)),c1=Z(()=>X(()=>import("./GithubFileContributors.9ZuCmwkG.js"),__vite__mapDeps([40,11]),import.meta.url).then(e=>e.default)),u1=Z(()=>X(()=>import("./GithubCommits.dG8EDzuA.js"),__vite__mapDeps([41,11]),import.meta.url).then(e=>e.default)),f1=[["Releases",Zw],["VoltaBoard",e_],["Callout",t_],["Card",n_],["CardGroup",r_],["CodeGroup",o_],["Collapsible",s_],["Field",i_],["FieldGroup",a_],["Shortcut",l_],["Tabs",c_],["ProseCode",u_],["ProseCodeButton",f_],["ProseCodeIcon",d_],["ProseH1",p_],["ProseH2",h_],["ProseH3",g_],["ProseH4",m_],["ContentDoc",v_],["ContentList",y_],["ContentNavigation",b_],["ContentQuery",w_],["ContentRenderer",__],["ContentRendererMarkdown",x_],["MDCSlot",k_],["DocumentDrivenEmpty",E_],["DocumentDrivenNotFound",C_],["Markdown",S_],["ProseCodeInline",P_],["ProsePre",T_],["ProseA",A_],["ProseBlockquote",O_],["ProseEm",$_],["ProseH5",R_],["ProseH6",L_],["ProseHr",I_],["ProseImg",j_],["ProseLi",M_],["ProseOl",D_],["ProseP",N_],["ProseScript",B_],["ProseStrong",F_],["ProseTable",H_],["ProseTbody",U_],["ProseTd",z_],["ProseTh",V_],["ProseThead",W_],["ProseTr",q_],["ProseUl",K_],["Icon",G_],["IconCSS",Q_],["OgImageStatic",X_],["OgImageDynamic",Y_],["OgImage",J_],["OgImageCached",Z_],["OgImageWithoutCache",e1],["OgImageScreenshot",t1],["GithubRepository",n1],["GithubLink",r1],["GithubReadme",o1],["GithubReleases",s1],["GithubLastRelease",i1],["GithubRelease",a1],["GithubContributors",l1],["GithubFileContributors",c1],["GithubCommits",u1]],d1=rt({name:"nuxt:global-components",setup(e){for(const[t,n]of f1)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Rn={docs:()=>X(()=>import("./docs.ssppZ59D.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},p1=rt({name:"nuxt:prefetch",setup(e){const t=an();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Rn[r]=="function"&&await Rn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Vn(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=Ll(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof _o[i]=="function"&&_o[i]();o&&typeof Rn[o]=="function"&&Rn[o]()})}}),h1={path:"/",watch:!0,decode:e=>$o(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function Ss(e,t){var l;const n={...h1,...t},r=g1(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const s=o!==void 0&&o<=0,i=Gt(s?void 0:r[e]??((l=n.default)==null?void 0:l.call(n))),a=o&&!s?y1(i,o):F(i);{const c=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`),u=()=>{n.readonly||hp(a.value,r[e])||(v1(e,a.value,n),r[e]=Gt(a.value),c==null||c.postMessage(n.encode(a.value)))};let f=!1;Js()&&nl(()=>{f=!0,u(),c==null||c.close()}),c&&(c.onmessage=d=>{f=!0,r[e]=a.value=n.decode(d.data),yn(()=>{f=!1})}),n.watch?je(a,()=>{f||u()},{deep:n.watch!=="shallow"}):u()}return a}function g1(e={}){return U0(document.cookie,e)}function m1(e,t,n={}){return t==null?gu(e,t,{...n,maxAge:-1}):gu(e,t,n)}function v1(e,t,n={}){document.cookie=m1(e,t,n)}const Uu=2147483647;function y1(e,t){let n,r=0;return Js()&&nl(()=>{clearTimeout(n)}),Xf((o,s)=>{function i(){clearTimeout(n);const a=t-r,l=a{if(r+=l,r{const t=jt().public.studio||{},n=Un(),r=Ss("previewToken",{sameSite:"none",secure:!0}),o=wr("studio-client-db",()=>null);async function s(){const i=await X(()=>import("./useStudio.oiGkyvhW.js"),__vite__mapDeps([42,43]),import.meta.url).then(c=>c.useStudio),{mountPreviewUI:a,initiateIframeCommunication:l}=i();a(),l()}if(t.apiURL){if(Object.prototype.hasOwnProperty.call(n.query,"preview")&&!n.query.preview||!n.query.preview&&!r.value)return;n.query.preview&&(r.value=String(n.query.preview)),window.sessionStorage.setItem("previewToken",String(r.value)),e.hook("content:storage",i=>{o.value=i}),e.hook("app:mounted",async()=>{await s()})}});function w1(e,t,n){const r=/^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*:)*?:?0*1$/.test(location.hostname)||location.protocol==="file:";if(!t.trackLocalhost&&r)return console.warn("[Plausible] Ignoring event because website is running locally");try{if(window.localStorage.plausible_ignore==="true")return console.warn('[Plausible] Ignoring event because "plausible_ignore" is set to "true" in localStorage')}catch{}const o={n:e,u:t.url,d:t.domain,r:t.referrer,w:t.deviceWidth,h:t.hashMode?1:0,p:n&&n.props?JSON.stringify(n.props):void 0},s=new XMLHttpRequest;s.open("POST",`${t.apiHost}/api/event`,!0),s.setRequestHeader("Content-Type","text/plain"),s.send(JSON.stringify(o)),s.onreadystatechange=()=>{s.readyState===4&&n&&n.callback&&n.callback()}}function _1(e){const t=()=>({hashMode:!1,trackLocalhost:!1,url:location.href,domain:location.hostname,referrer:document.referrer||null,deviceWidth:window.innerWidth,apiHost:"https://plausible.io",...e}),n=(i,a,l)=>{w1(i,{...t(),...l},a)},r=(i,a)=>{n("pageview",a,i)};return{trackEvent:n,trackPageview:r,enableAutoPageviews:()=>{const i=()=>r(),a=history.pushState;return a&&(history.pushState=function(l,c,u){a.apply(this,[l,c,u]),i()},addEventListener("popstate",i)),e&&e.hashMode&&addEventListener("hashchange",i),r(),function(){a&&(history.pushState=a,removeEventListener("popstate",i)),e&&e.hashMode&&removeEventListener("hashchange",i)}},enableAutoOutboundTracking:(i=document,a={subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]})=>{function l(p){n("Outbound Link: Click",{props:{url:this.href}}),typeof process<"u"&&process,setTimeout(()=>{location.href=this.href},150),p.preventDefault()}const c=new Set;function u(p){p instanceof HTMLAnchorElement?p.host!==location.host&&(p.addEventListener("click",l),c.add(p)):"querySelectorAll"in p&&p.querySelectorAll("a").forEach(u)}function f(p){p instanceof HTMLAnchorElement?(p.removeEventListener("click",l),c.delete(p)):"querySelectorAll"in p&&p.querySelectorAll("a").forEach(f)}const d=new MutationObserver(p=>{p.forEach(h=>{h.type==="attributes"?(f(h.target),u(h.target)):h.type==="childList"&&(h.addedNodes.forEach(u),h.removedNodes.forEach(f))})});return i.querySelectorAll("a").forEach(u),d.observe(i,a),function(){c.forEach(h=>{h.removeEventListener("click",l)}),c.clear(),d.disconnect()}}}}const x1=rt(()=>{const e=jt().public.plausible,t=_1({...e,domain:e.domain||window.location.hostname});return e.autoPageviews&&t.enableAutoPageviews(),e.autoOutboundTracking&&t.enableAutoOutboundTracking(),{provide:{plausible:t}}}),jl="-";function k1(e){const t=C1(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function o(i){const a=i.split(jl);return a[0]===""&&a.length!==1&&a.shift(),Np(a,t)||E1(i)}function s(i,a){const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}return{getClassGroupId:o,getConflictingClassGroupIds:s}}function Np(e,t){var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Np(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(jl);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId}const zu=/^\[(.+)\]$/;function E1(e){if(zu.test(e)){const t=zu.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function C1(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return P1(Object.entries(e.classGroups),n).forEach(([s,i])=>{$a(i,r,s,t)}),r}function $a(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Vu(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(S1(o)){$a(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{$a(i,Vu(t,s),n,r)})})}function Vu(e,t){let n=e;return t.split(jl).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function S1(e){return e.isThemeGetter}function P1(e,t){return t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[n,o]}):e}function T1(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(s,i){n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}}const Bp="!";function A1(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(i){const a=[];let l=0,c=0,u;for(let g=0;gc?u-c:void 0;return{modifiers:a,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}}}function O1(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function $1(e){return{cache:T1(e.cacheSize),splitModifiers:A1(e),...k1(e)}}const R1=/\s+/;function L1(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=new Set;return e.trim().split(R1).map(i=>{const{modifiers:a,hasImportantModifier:l,baseClassName:c,maybePostfixModifierPosition:u}=n(i);let f=r(u?c.substring(0,u):c),d=!!u;if(!f){if(!u)return{isTailwindClass:!1,originalClassName:i};if(f=r(c),!f)return{isTailwindClass:!1,originalClassName:i};d=!1}const p=O1(a).join(":");return{isTailwindClass:!0,modifierId:l?p+Bp:p,classGroupId:f,originalClassName:i,hasPostfixModifier:d}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:c}=i,u=a+l;return s.has(u)?!1:(s.add(u),o(l,c).forEach(f=>s.add(a+f)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function ut(){let e=0,t,n,r="";for(;ef(u),e());return n=$1(c),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const c=r(l);if(c)return c;const u=L1(l,n);return o(l,u),u}return function(){return s(ut.apply(null,arguments))}}function Ne(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Hp=/^\[(?:([a-z-]+):)?(.+)\]$/i,I1=/^\d+\/\d+$/,j1=new Set(["px","full","screen"]),M1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,D1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,N1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,B1=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,F1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function cn(e){return or(e)||j1.has(e)||I1.test(e)}function Sn(e){return Gr(e,"length",G1)}function or(e){return!!e&&!Number.isNaN(Number(e))}function gs(e){return Gr(e,"number",or)}function eo(e){return!!e&&Number.isInteger(Number(e))}function H1(e){return e.endsWith("%")&&or(e.slice(0,-1))}function ve(e){return Hp.test(e)}function Pn(e){return M1.test(e)}const U1=new Set(["length","size","percentage"]);function z1(e){return Gr(e,U1,Up)}function V1(e){return Gr(e,"position",Up)}const W1=new Set(["image","url"]);function q1(e){return Gr(e,W1,X1)}function K1(e){return Gr(e,"",Q1)}function to(){return!0}function Gr(e,t,n){const r=Hp.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function G1(e){return D1.test(e)&&!N1.test(e)}function Up(){return!1}function Q1(e){return B1.test(e)}function X1(e){return F1.test(e)}function La(){const e=Ne("colors"),t=Ne("spacing"),n=Ne("blur"),r=Ne("brightness"),o=Ne("borderColor"),s=Ne("borderRadius"),i=Ne("borderSpacing"),a=Ne("borderWidth"),l=Ne("contrast"),c=Ne("grayscale"),u=Ne("hueRotate"),f=Ne("invert"),d=Ne("gap"),p=Ne("gradientColorStops"),h=Ne("gradientColorStopPositions"),g=Ne("inset"),m=Ne("margin"),w=Ne("opacity"),b=Ne("padding"),v=Ne("saturate"),y=Ne("scale"),x=Ne("sepia"),E=Ne("skew"),P=Ne("space"),T=Ne("translate"),M=()=>["auto","contain","none"],L=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",ve,t],A=()=>[ve,t],B=()=>["",cn,Sn],he=()=>["auto",or,ve],fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],U=()=>["start","end","center","between","around","evenly","stretch"],_e=()=>["","0",ve],Ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],De=()=>[or,gs],Ee=()=>[or,ve];return{cacheSize:500,separator:":",theme:{colors:[to],spacing:[cn,Sn],blur:["none","",Pn,ve],brightness:De(),borderColor:[e],borderRadius:["none","","full",Pn,ve],borderSpacing:A(),borderWidth:B(),contrast:De(),grayscale:_e(),hueRotate:Ee(),invert:_e(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[H1,Sn],inset:K(),margin:K(),opacity:De(),padding:A(),saturate:De(),scale:De(),sepia:_e(),skew:Ee(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",ve]}],container:["container"],columns:[{columns:[Pn]}],"break-after":[{"break-after":Ie()}],"break-before":[{"break-before":Ie()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...fe(),ve]}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",eo,ve]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ve]}],grow:[{grow:_e()}],shrink:[{shrink:_e()}],order:[{order:["first","last","none",eo,ve]}],"grid-cols":[{"grid-cols":[to]}],"col-start-end":[{col:["auto",{span:["full",eo,ve]},ve]}],"col-start":[{"col-start":he()}],"col-end":[{"col-end":he()}],"grid-rows":[{"grid-rows":[to]}],"row-start-end":[{row:["auto",{span:[eo,ve]},ve]}],"row-start":[{"row-start":he()}],"row-end":[{"row-end":he()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ve]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ve]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...U()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...U(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...U(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ve,t]}],"min-w":[{"min-w":[ve,t,"min","max","fit"]}],"max-w":[{"max-w":[ve,t,"none","full","min","max","fit","prose",{screen:[Pn]},Pn]}],h:[{h:[ve,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ve,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ve,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ve,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Pn,Sn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",gs]}],"font-family":[{font:[to]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ve]}],"line-clamp":[{"line-clamp":["none",or,gs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cn,ve]}],"list-image":[{"list-image":["none",ve]}],"list-style-type":[{list:["none","disc","decimal",ve]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",cn,Sn]}],"underline-offset":[{"underline-offset":["auto",cn,ve]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...fe(),V1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",z1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},q1]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:V()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[cn,ve]}],"outline-w":[{outline:[cn,Sn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[cn,Sn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Pn,K1]}],"shadow-color":[{shadow:[to]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":W()}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Pn,ve]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ve]}],duration:[{duration:Ee()}],ease:[{ease:["linear","in","out","in-out",ve]}],delay:[{delay:Ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",ve]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[eo,ve]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ve]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ve]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ve]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[cn,Sn,gs]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function Y1(e,{cacheSize:t,prefix:n,separator:r,extend:o={},override:s={}}){Ps(e,"cacheSize",t),Ps(e,"prefix",n),Ps(e,"separator",r);for(const i in s)J1(e[i],s[i]);for(const i in o)Z1(e[i],o[i]);return e}function Ps(e,t,n){n!==void 0&&(e[t]=n)}function J1(e,t){if(t)for(const n in t)Ps(e,n,t[n])}function Z1(e,t){if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}}function ex(e,...t){return typeof e=="function"?Ra(La,e,...t):Ra(()=>Y1(La(),e),...t)}const It=Ra(La);function zp(e,t){const n={...e};for(const r of t)delete n[r];return n}function tx(e,t,n){typeof t=="string"&&(t=t.split(".").map(o=>{const s=Number(o);return isNaN(s)?o:s}));let r=e;for(const o of t){if(r==null)return n;r=r[o]}return r!==void 0?r:n}const hi={to:{type:[String,Object],default:void 0},href:{type:[String,Object],default:void 0},target:{type:String,default:void 0},rel:{type:String,default:void 0},noRel:{type:Boolean,default:void 0},prefetch:{type:Boolean,default:void 0},noPrefetch:{type:Boolean,default:void 0},activeClass:{type:String,default:void 0},exactActiveClass:{type:String,default:void 0},prefetchedClass:{type:String,default:void 0},replace:{type:Boolean,default:void 0},ariaCurrentValue:{type:String,default:void 0},external:{type:Boolean,default:void 0}},nx={as:{type:String,default:"button"},type:{type:String,default:"button"},disabled:{type:Boolean,default:null},active:{type:Boolean,default:void 0},exact:{type:Boolean,default:!1},exactQuery:{type:Boolean,default:!1},exactHash:{type:Boolean,default:!1},inactiveClass:{type:String,default:void 0}},rx=e=>Object.keys(hi).reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),Dr=e=>[...Object.keys(hi),...Object.keys(nx)].reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),ox=ex({extend:{classGroups:{icons:[e=>/^i-/.test(e)]}}}),sx=Al((e,t,n,r)=>{if(r==="default"||r.startsWith("default.")||r.endsWith("avatar")&&t==="size")return!1;if(typeof e[t]=="string"&&typeof n=="string"&&e[t]&&n)return e[t]=ox(e[t],n),!0});function Wt(e,...t){return e==="override"?ci({},...t):sx({},...t)}function Wu(e){const t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(t,function(r,o,s,i){return o+o+s+s+i+i});const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?`${parseInt(n[1],16)} ${parseInt(n[2],16)} ${parseInt(n[3],16)}`:null}const ix="inherit",ax="currentColor",lx="transparent",cx="#000",ux="#fff",fx={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},dx={50:"rgb(var(--color-gray-50) / )",100:"rgb(var(--color-gray-100) / )",200:"rgb(var(--color-gray-200) / )",300:"rgb(var(--color-gray-300) / )",400:"rgb(var(--color-gray-400) / )",500:"rgb(var(--color-gray-500) / )",600:"rgb(var(--color-gray-600) / )",700:"rgb(var(--color-gray-700) / )",800:"rgb(var(--color-gray-800) / )",900:"rgb(var(--color-gray-900) / )",950:"rgb(var(--color-gray-950) / )"},px={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},hx={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},gx={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},mx={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},vx={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},yx={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},bx={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},wx={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},_x={50:"#EFFDF5",100:"#D9FBE8",200:"#B3F5D1",300:"#75EDAE",400:"#00DC82",500:"#00C16A",600:"#00A155",700:"#007F45",800:"#016538",900:"#0A5331",950:"#052e16"},xx={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},kx={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},Ex={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},Cx={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},Sx={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},Px={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},Tx={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},Ax={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},Ox={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},$x={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},Rx={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},Lx="rgb(var(--ui-background) / )",Ix="rgb(var(--ui-foreground) / )",jx={50:"rgb(var(--color-primary-50) / )",100:"rgb(var(--color-primary-100) / )",200:"rgb(var(--color-primary-200) / )",300:"rgb(var(--color-primary-300) / )",400:"rgb(var(--color-primary-400) / )",500:"rgb(var(--color-primary-500) / )",600:"rgb(var(--color-primary-600) / )",700:"rgb(var(--color-primary-700) / )",800:"rgb(var(--color-primary-800) / )",900:"rgb(var(--color-primary-900) / )",950:"rgb(var(--color-primary-950) / )",DEFAULT:"rgb(var(--color-primary-DEFAULT) / )"},Mx={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},ms={inherit:ix,current:ax,transparent:lx,black:cx,white:ux,slate:fx,gray:dx,zinc:px,neutral:hx,stone:gx,red:mx,orange:vx,amber:yx,yellow:bx,lime:wx,green:_x,emerald:xx,teal:kx,cyan:Ex,sky:Cx,blue:Sx,indigo:Px,violet:Tx,purple:Ax,fuchsia:Ox,pink:$x,rose:Rx,background:Lx,foreground:Ix,primary:jx,cool:Mx},Dx=rt(()=>{const e=it(),t=Ae(),n=R(()=>{const o=ms[e.ui.primary],s=ms[e.ui.gray];return o||console.warn(`[@nuxt/ui] Primary color '${e.ui.primary}' not found in Tailwind config`),s||console.warn(`[@nuxt/ui] Gray color '${e.ui.gray}' not found in Tailwind config`),`:root { ${Object.entries(o||ms.green).map(([i,a])=>`--color-primary-${i}: ${Wu(a)};`).join(` `)} --color-primary-DEFAULT: var(--color-primary-500); @@ -30,10 +30,10 @@ ${Object.entries(s||ms.cool).map(([i,a])=>`--color-gray-${i}: ${Wu(a)};`).join(` }`),r={style:[{innerHTML:()=>n.value,tagPriority:-2,id:"nuxt-ui-variables"}]};if(t.isHydrating&&!t.payload.serverRendered){const o=document.createElement("style");o.innerHTML=n.value,o.setAttribute("data-nuxt-ui-variables",""),document.head.appendChild(o),r.script=[{innerHTML:"document.head.removeChild(document.querySelector('[data-nuxt-ui-variables]'))"}]}Xo(r)}),Vp=Object.freeze({left:0,top:0,width:16,height:16}),Wp=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ml=Object.freeze({...Vp,...Wp});Object.freeze({...Ml,body:"",hidden:!1});({...Vp});const qp=Object.freeze({width:null,height:null}),Kp=Object.freeze({...qp,...Wp});function qx(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in qp?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const Kx=/[\s,]+/;function Gx(e,t){t.split(Kx).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Qx(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const Xx=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Yx=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function qu(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Xx);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=Yx.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const Jx=e=>e==="unset"||e==="undefined"||e==="none";function Zx(e,t){const n={...Ml,...e},r={...Kp,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const g=[],m=h.hFlip,w=h.vFlip;let b=h.rotate;m?w?b+=2:(g.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),g.push("scale(-1 1)"),o.top=o.left=0):w&&(g.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),g.push("scale(1 -1)"),o.top=o.left=0);let v;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:v=o.height/2+o.top,g.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:g.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:v=o.width/2+o.left,g.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}b%2===1&&(o.left!==o.top&&(v=o.left,o.left=o.top,o.top=v),o.width!==o.height&&(v=o.width,o.width=o.height,o.height=v)),g.length&&(s=''+s+"")});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=qu(f,l/c)):(u=i==="auto"?l:i,f=a===null?qu(u,c/l):a==="auto"?c:a);const d={},p=(h,g)=>{Jx(g)||(d[h]=g.toString())};return p("width",u),p("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:d,body:s}}const ek=/\sid="(\S+)"/g,tk="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let nk=0;function rk(e,t=tk){const n=[];let r;for(;r=ek.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(nk++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function ok(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function sk(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function ik(e){return"data:image/svg+xml,"+sk(e)}function ak(e){return'url("'+ik(e)+'")'}const Ku={...Kp,inline:!1},lk={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ck={display:"inline-block"},Ia={backgroundColor:"currentColor"},Gp={backgroundColor:"transparent"},Gu={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Qu={webkitMask:Ia,mask:Ia,background:Gp};for(const e in Qu){const t=Qu[e];for(const n in Gu)t[e+n]=Gu[n]}const Ts={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Ts[e+"-flip"]=t,Ts[e.slice(0,1)+"-flip"]=t,Ts[e+"Flip"]=t});function Xu(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const uk=(e,t)=>{const n=qx(Ku,t),r={...lk},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let g in t){const m=t[g];if(m!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&Gx(n,m);break;case"color":s.color=m;break;case"rotate":typeof m=="string"?n[g]=Qx(m):typeof m=="number"&&(n[g]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete r["aria-hidden"];break;default:{const w=Ts[g];w?(m===!0||m==="true"||m===1)&&(n[w]=!0):Ku[g]===void 0&&(r[g]=m)}}}const l=Zx(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...a},Object.assign(r,c);let g=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),r.innerHTML=rk(l.body,m?()=>m+"ID"+g++:"iconifyVue"),ye("svg",r)}const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),h=ok(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":ak(h),width:Xu(c.width),height:Xu(c.height),...ck,...p?Ia:Gp,...a},ye("span",r)},fk=Object.create(null),dk=re({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?fk[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:uk({...Ml,...n},e)}}),xo=/^[a-z0-9]+(-[a-z0-9]+)*$/,gi=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!As(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!As(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!As(a,n)?null:a}return null},As=(e,t)=>e?!!((e.provider===""||e.provider.match(xo))&&(t&&e.prefix===""||e.prefix.match(xo))&&e.name.match(xo)):!1,Qp=Object.freeze({left:0,top:0,width:16,height:16}),Ks=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Dl=Object.freeze({...Qp,...Ks}),ja=Object.freeze({...Dl,body:"",hidden:!1});function pk(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Yu(e,t){const n=pk(e,t);for(const r in ja)r in Ks?r in e&&!(r in n)&&(n[r]=Ks[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function hk(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function gk(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Yu(r[a]||o[a],s)}return i(t),n.forEach(i),Yu(e,s)}function Xp(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=hk(e);for(const o in r){const s=r[o];s&&(t(o,gk(e,o,s)),n.push(o))}return n}const mk={provider:"",aliases:{},not_found:{},...Qp};function Fi(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Yp(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Fi(e,mk))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(xo)||typeof s.body!="string"||!Fi(s,ja))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(xo)||typeof i!="string"||!n[i]&&!r[i]||!Fi(s,ja))return null}return t}const Ju=Object.create(null);function vk(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function hr(e,t){const n=Ju[e]||(Ju[e]=Object.create(null));return n[t]||(n[t]=vk(e,t))}function Nl(e,t){return Yp(t)?Xp(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function yk(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let jo=!1;function Jp(e){return typeof e=="boolean"&&(jo=e),jo}function bk(e){const t=typeof e=="string"?gi(e,!0,jo):e;if(t){const n=hr(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function wk(e,t){const n=gi(e,!0,jo);if(!n)return!1;const r=hr(n.provider,n.prefix);return yk(r,n.name,t)}function _k(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),jo&&!t&&!e.prefix){let o=!1;return Yp(e)&&(e.prefix="",Xp(e,(s,i)=>{i&&wk(s,i)&&(o=!0)})),o}const n=e.prefix;if(!As({provider:t,prefix:n,name:"a"}))return!1;const r=hr(t,n);return!!Nl(r,e)}const xk=Object.freeze({width:null,height:null}),kk=Object.freeze({...xk,...Ks});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Ma=Object.create(null);function Ek(e,t){Ma[e]=t}function Da(e){return Ma[e]||Ma[""]}function Bl(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Fl=Object.create(null),no=["https://api.simplesvg.com","https://api.unisvg.com"],Os=[];for(;no.length>0;)no.length===1||Math.random()>.5?Os.push(no.shift()):Os.push(no.pop());Fl[""]=Bl({resources:["https://api.iconify.design"].concat(Os)});function Na(e,t){const n=Bl(t);return n===null?!1:(Fl[e]=n,!0)}function Hl(e){return Fl[e]}const Ck=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Zu=Ck();function Sk(e,t){const n=Hl(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function Pk(e){return e===404}const Tk=(e,t,n)=>{const r=[],o=Sk(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function Ak(e){if(typeof e=="string"){const t=Hl(e);if(t)return t.path}return"/"}const Ok=(e,t,n)=>{if(!Zu){n("abort",424);return}let r=Ak(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;Zu(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(Pk(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},$k={prepare:Tk,send:Ok};function Rk(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=hr(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function Zp(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Lk(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Zp([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Ik=0;function jk(e,t,n){const r=Ik++,o=Zp.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function Mk(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?gi(o,t,n):o;s&&r.push(s)}),r}var Dk={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Nk(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let E=e.resources.slice(0);for(i=[];E.length>1;){const P=Math.floor(Math.random()*E.length);i.push(E[P]),E=E.slice(0,P).concat(E.slice(P+1))}i=i.concat(E)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function h(){f&&(clearTimeout(f),f=null)}function g(){l==="pending"&&(l="aborted"),h(),d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function m(E,P){P&&(p=[]),typeof E=="function"&&p.push(E)}function w(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:m,abort:g}}function b(){l="failed",p.forEach(E=>{E(void 0,u)})}function v(){d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function y(E,P,T){const M=P!=="success";switch(d=d.filter(L=>L!==E),l){case"pending":break;case"failed":if(M||!e.dataAfterTimeout)return;break;default:return}if(P==="abort"){u=T,b();return}if(M){u=T,d.length||(i.length?x():b());return}if(h(),v(),!e.random){const L=e.resources.indexOf(E.resource);L!==-1&&L!==e.index&&(e.index=L)}l="completed",p.forEach(L=>{L(T)})}function x(){if(l!=="pending")return;h();const E=i.shift();if(E===void 0){if(d.length){f=setTimeout(()=>{h(),l==="pending"&&(v(),b())},e.timeout);return}b();return}const P={status:"pending",resource:E,callback:(T,M)=>{y(P,T,M)}};d.push(P),c++,f=setTimeout(x,e.rotate),n(E,t,P.callback)}return setTimeout(x),w}function eh(e){const t={...Dk,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,l,c){const u=Nk(t,a,l,(f,d)=>{r(),c&&c(f,d)});return n.push(u),u}function s(a){return n.find(l=>a(l))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function ef(){}const Hi=Object.create(null);function Bk(e){if(!Hi[e]){const t=Hl(e);if(!t)return;const n=eh(t),r={config:t,redundancy:n};Hi[e]=r}return Hi[e]}function Fk(e,t,n){let r,o;if(typeof e=="string"){const s=Da(e);if(!s)return n(void 0,424),ef;o=s.send;const i=Bk(e);i&&(r=i.redundancy)}else{const s=Bl(e);if(s){r=eh(s);const i=e.resources?e.resources[0]:"",a=Da(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),ef):r.query(t,o,n)().abort}const tf="iconify2",Mo="iconify",th=Mo+"-count",nf=Mo+"-version",nh=36e5,Hk=168;function Ba(e,t){try{return e.getItem(t)}catch{}}function Ul(e,t,n){try{return e.setItem(t,n),!0}catch{}}function rf(e,t){try{e.removeItem(t)}catch{}}function Fa(e,t){return Ul(e,th,t.toString())}function Ha(e){return parseInt(Ba(e,th))||0}const mi={local:!0,session:!0},rh={local:new Set,session:new Set};let zl=!1;function Uk(e){zl=e}let vs=typeof window>"u"?{}:window;function oh(e){const t=e+"Storage";try{if(vs&&vs[t]&&typeof vs[t].length=="number")return vs[t]}catch{}mi[e]=!1}function sh(e,t){const n=oh(e);if(!n)return;const r=Ba(n,nf);if(r!==tf){if(r){const a=Ha(n);for(let l=0;l{const l=Mo+a.toString(),c=Ba(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}rf(n,l)}};let i=Ha(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,Fa(n,i)):rh[e].add(a))}function ih(){if(!zl){Uk(!0);for(const e in mi)sh(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=hr(r,o);if(!Nl(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function zk(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in mi)sh(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Vk(e,t){zl||ih();function n(r){let o;if(!mi[r]||!(o=oh(r)))return;const s=rh[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=Ha(o),!Fa(o,i+1))return;const a={cached:Math.floor(Date.now()/nh),provider:e.provider,data:t};return Ul(o,Mo+i.toString(),JSON.stringify(a))}t.lastModified&&!zk(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function of(){}function Wk(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Lk(e)}))}function qk(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=Da(n)))return;s.prepare(n,r,o).forEach(a=>{Fk(n,a,l=>{if(typeof l!="object")a.icons.forEach(c=>{e.missing.add(c)});else try{const c=Nl(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),Vk(e,l)}catch(c){console.error(c)}Wk(e)})})}))}const Kk=(e,t)=>{const n=Mk(e,!0,Jp()),r=Rk(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,of)}),()=>{l=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===a&&c===i)return;i=c,a=u,s.push(hr(c,u));const f=o[c]||(o[c]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=hr(c,u),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(f)||(p.add(f),o[c][u].push(f))}),s.forEach(l=>{const{provider:c,prefix:u}=l;o[c][u].length&&qk(l,o[c][u])}),t?jk(t,r,s):of},Gk=e=>new Promise((t,n)=>{const r=typeof e=="string"?gi(e,!0):e;if(!r){n(e);return}Kk([r||e],o=>{if(o.length&&r){const s=bk(r);if(s){t({...Dl,...s});return}}n(e)})});({...kk});const sf={backgroundColor:"currentColor"},Qk={backgroundColor:"transparent"},af={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},lf={webkitMask:sf,mask:sf,background:Qk};for(const e in lf){const t=lf[e];for(const n in af)t[e+n]=af[n]}const Ui={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Ui[e+"-flip"]=t,Ui[e.slice(0,1)+"-flip"]=t,Ui[e+"Flip"]=t});Jp(!0);Ek("",$k);if(typeof document<"u"&&typeof window<"u"){ih();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!_k(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;Na(n,o)||console.error(r)}catch{console.error(r)}}}}({...Dl});const Xk=["fluent-emoji-high-contrast","material-symbols-light","cryptocurrency-color","icon-park-outline","icon-park-twotone","fluent-emoji-flat","emojione-monotone","streamline-emojis","heroicons-outline","simple-line-icons","material-symbols","flat-color-icons","icon-park-solid","pepicons-pencil","heroicons-solid","pepicons-print","cryptocurrency","pixelarticons","system-uicons","bitcoin-icons","devicon-plain","entypo-social","grommet-icons","vscode-icons","pepicons-pop","svg-spinners","fluent-emoji","simple-icons","circle-flags","medical-icon","icomoon-free","majesticons","radix-icons","humbleicons","fa6-regular","emojione-v1","skill-icons","academicons","healthicons","fluent-mdl2","teenyicons","ant-design","gravity-ui","akar-icons","lets-icons","streamline","fa6-brands","file-icons","game-icons","foundation","fa-regular","mono-icons","iconamoon","zondicons","mdi-light","eos-icons","gridicons","icon-park","heroicons","fa6-solid","meteocons","arcticons","dashicons","fa-brands","websymbol","fontelico","mingcute","flowbite","bytesize","guidance","openmoji","emojione","nonicons","brandico","flagpack","fa-solid","fontisto","si-glyph","pepicons","iconoir","tdesign","clarity","octicon","codicon","pajamas","formkit","line-md","twemoji","noto-v1","fxemoji","devicon","raphael","flat-ui","topcoat","feather","tabler","carbon","lucide","memory","mynaui","circum","fluent","nimbus","entypo","icons8","subway","vaadin","solar","basil","typcn","charm","prime","quill","logos","covid","maki","gala","ooui","noto","flag","iwwa","zmdi","bpmn","mdi","ion","uil","bxs","cil","uiw","uim","uit","uis","jam","oui","bxl","cib","cbi","cif","gis","map","geo","fad","eva","wpf","whh","ic","ph","ri","bi","bx","gg","ci","ep","fe","mi","f7","ei","wi","la","fa","oi","et","el","ls","vs","il","ps"];function Yk(e=""){let t,n="";if(e[0]==="@"&&e.includes(":")&&(n=e.split(":")[0].slice(1),e=e.split(":").slice(1).join(":")),e.startsWith("i-")){e=e.replace(/^i-/,"");for(const r of Xk)if(e.startsWith(r)){t=r,e=e.slice(r.length+1);break}}else if(e.includes(":")){const[r,o]=e.split(":");t=r,e=o}return{provider:n,prefix:t||"",name:e||""}}const Jk=re({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=Ae(),o=it(),s=e;je(()=>{var m;return(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions},()=>{var m,w,b,v,y,x;if((w=(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions)!=null&&w.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((v=(b=o.nuxtIcon)==null?void 0:b.iconifyApiOptions)!=null&&v.publicApiFallback){Na("custom",{resources:[(y=o.nuxtIcon)==null?void 0:y.iconifyApiOptions.url],index:0});return}Na("",{resources:[(x=o.nuxtIcon)==null?void 0:x.iconifyApiOptions.url]})}},{immediate:!0});const i=wr("icons",()=>({})),a=F(!1),l=R(()=>{var m,w;return(w=(m=o.nuxtIcon)==null?void 0:m.aliases)!=null&&w[s.name]?o.nuxtIcon.aliases[s.name]:s.name}),c=R(()=>Yk(l.value)),u=R(()=>[c.value.provider,c.value.prefix,c.value.name].filter(Boolean).join(":")),f=R(()=>{var m;return(m=i.value)==null?void 0:m[u.value]}),d=R(()=>r.vueApp.component(l.value)),p=R(()=>{var w,b,v;if(!s.size&&typeof((w=o.nuxtIcon)==null?void 0:w.size)=="boolean"&&!((b=o.nuxtIcon)!=null&&b.size))return;const m=s.size||((v=o.nuxtIcon)==null?void 0:v.size)||"1em";return String(Number(m))===m?`${m}px`:m}),h=R(()=>{var m;return((m=o==null?void 0:o.nuxtIcon)==null?void 0:m.class)??"icon"});async function g(){var m;d.value||(m=i.value)!=null&&m[u.value]||(a.value=!0,i.value[u.value]=await Gk(c.value).catch(()=>{}),a.value=!1)}return je(l,g),!d.value&&([t,n]=ml(()=>g()),t=await t,n()),(m,w)=>a.value?(I(),ne("span",{key:0,class:q(h.value),style:mn({width:p.value,height:p.value})},null,6)):f.value?(I(),ae(C(dk),{key:1,icon:f.value,class:q(h.value),width:p.value,height:p.value},null,8,["icon","class","width","height"])):d.value?(I(),ae(Or(d.value),{key:2,class:q(h.value),width:p.value,height:p.value},null,8,["class","width","height"])):(I(),ne("span",{key:3,class:q(h.value),style:mn({fontSize:p.value,lineHeight:p.value,width:p.value,height:p.value})},[me(m.$slots,"default",{},()=>[Je(Fe(e.name),1)],!0)],6))}}),Mt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ah=Mt(Jk,[["__scopeId","data-v-5533d841"]]),Zk=Object.freeze(Object.defineProperty({__proto__:null,default:ah},Symbol.toStringTag,{value:"Module"})),eE=re({props:{name:{type:String,required:!0},dynamic:{type:Boolean,default:!1}},setup(e){const t=it();return{dynamic:R(()=>{var r,o;return e.dynamic||((o=(r=t.ui)==null?void 0:r.icons)==null?void 0:o.dynamic)})}}});function tE(e,t,n,r,o,s){const i=ah;return e.dynamic?(I(),ae(i,{key:0,name:e.name},null,8,["name"])):(I(),ne("span",{key:1,class:q(e.name)},null,2))}const yt=Mt(eE,[["render",tE]]);async function lh(e,t=an()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>lh(e,t));t._routePreloaded.add(n);const s=r.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of s){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const nE=(...e)=>e.find(t=>t!==void 0),rE="noopener noreferrer";function oE(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return cf(r,e.trailingSlash);const s="path"in r?r.path:o(r).path;return{...r,name:void 0,path:cf(s,e.trailingSlash)}};return re({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const s=an(),i=jt(),a=R(()=>{const p=r.to||r.href||"";return n(p,s.resolve)}),l=R(()=>typeof a.value=="string"&&Vn(a.value,{acceptRelative:!0})),c=R(()=>r.external||r.target&&r.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||l.value),u=F(!1),f=F(null),d=p=>{var h;f.value=r.custom?(h=p==null?void 0:p.$el)==null?void 0:h.nextElementSibling:p==null?void 0:p.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!iE()){const h=Ae();let g,m=null;Le(()=>{const w=sE();Il(()=>{g=Oa(()=>{var b;(b=f==null?void 0:f.value)!=null&&b.tagName&&(m=w.observe(f.value,async()=>{m==null||m(),m=null;const v=typeof a.value=="string"?a.value:s.resolve(a.value).fullPath;await Promise.all([h.hooks.callHook("link:prefetch",v).catch(()=>{}),!c.value&&lh(a.value,s).catch(()=>{})]),u.value=!0}))})})}),qo(()=>{g&&Xw(g),m==null||m(),m=null})}return()=>{var w,b;if(!c.value){const v={ref:d,to:a.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(u.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel),ye(ar("RouterLink"),v,o.default)}const p=typeof a.value=="object"?((w=s.resolve(a.value))==null?void 0:w.href)??null:a.value&&!r.external&&!l.value?n(br(i.app.baseURL,a.value),s.resolve):a.value||null,h=r.target||null,g=r.noRel?null:nE(r.rel,e.externalRelAttribute,p?rE:"")||null,m=()=>hb(p,{replace:r.replace});return r.custom?o.default?o.default({href:p,navigate:m,get route(){if(!p)return;const v=Qo(p);return{path:v.pathname,fullPath:v.pathname,get query(){return Ud(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:g,target:h,isExternal:c.value,isActive:!1,isExactActive:!1}):null:ye("a",{ref:f,href:p,rel:g,target:h},(b=o.default)==null?void 0:b.call(o))}}})}const ch=oE(wb);function cf(e,t){const n=t==="append"?Hs:Go;return Vn(e)&&!e.startsWith("http")?e:n(e,!0)}function sE(){const e=Ae();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function iE(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const aE=re({inheritAttrs:!1,props:{...hi,as:{type:String,default:"button"},type:{type:String,default:"button"},disabled:{type:Boolean,default:null},active:{type:Boolean,default:void 0},exact:{type:Boolean,default:!1},exactQuery:{type:Boolean,default:!1},exactHash:{type:Boolean,default:!1},inactiveClass:{type:String,default:void 0}},setup(e){function t(n,r,{isActive:o,isExactActive:s}){return e.exactQuery&&!hp(n.query,r.query)||e.exactHash&&n.hash!==r.hash?e.inactiveClass:e.exact&&s||!e.exact&&o?e.activeClass:e.inactiveClass}return{resolveLinkClass:t}}}),lE=["href","aria-disabled","role","rel","target","onClick"];function cE(e,t,n,r,o,s){const i=ch;return e.to?(I(),ae(i,ue({key:1},e.$props,{custom:""}),{default:le(({route:a,href:l,target:c,rel:u,navigate:f,isActive:d,isExactActive:p,isExternal:h})=>[xe("a",ue(e.$attrs,{href:e.disabled?void 0:l,"aria-disabled":e.disabled?"true":void 0,role:e.disabled?"link":void 0,rel:u,target:c,class:e.active!==void 0?e.active?e.activeClass:e.inactiveClass:e.resolveLinkClass(a,e._.provides[Kr]||e.$route,{isActive:d,isExactActive:p}),onClick:g=>!h&&f(g)}),[me(e.$slots,"default",zo(Ko({isActive:e.exact?p:d})))],16,lE)]),_:3},16)):(I(),ae(Or(e.as),ue({key:0,type:e.type,disabled:e.disabled},e.$attrs,{class:e.active?e.activeClass:e.inactiveClass}),{default:le(()=>[me(e.$slots,"default")]),_:3},16,["type","disabled","class"]))}const Wn=Mt(aE,[["render",cE]]),qe=(e,t,n,r,o=!1)=>{const s=Lm(),i=it(),a=R(()=>{var d;const c=Xt(t),u=Xt(n),f=Xt(r);return Wt((c==null?void 0:c.strategy)||((d=i.ui)==null?void 0:d.strategy),f?{wrapper:f}:{},c||{},o?tx(i.ui,e,{}):{},u||{})}),l=R(()=>zp(s,["class"]));return{ui:a,attrs:l}};function uh({ui:e,props:t}){const n=sn();let r=n.parent,o;for(;r&&!o;){if(r.type.name==="ButtonGroup"){o=Te(`group-${r.uid}`);break}r=r.parent}const s=R(()=>o==null?void 0:o.value.children.indexOf(n));return Le(()=>{o==null||o.value.register(n)}),Xe(()=>{o==null||o.value.unregister(n)}),{size:R(()=>(o==null?void 0:o.value.size)||t.size),rounded:R(()=>!o||s.value===-1?e.value.rounded:o.value.children.length===1?o.value.ui.rounded:s.value===0?o.value.rounded.start:s.value===o.value.children.length-1?o.value.rounded.end:"rounded-none")}}const uE={wrapper:"relative inline-flex items-center justify-center flex-shrink-0",background:"bg-gray-100 dark:bg-gray-800",rounded:"rounded-full",text:"font-medium leading-none text-gray-900 dark:text-white truncate",placeholder:"font-medium leading-none text-gray-500 dark:text-gray-400 truncate",size:{"3xs":"h-4 w-4 text-[8px]","2xs":"h-5 w-5 text-[10px]",xs:"h-6 w-6 text-xs",sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg",xl:"h-14 w-14 text-xl","2xl":"h-16 w-16 text-2xl","3xl":"h-20 w-20 text-3xl"},chip:{base:"absolute rounded-full ring-1 ring-white dark:ring-gray-900 flex items-center justify-center text-white dark:text-gray-900 font-medium",background:"bg-{color}-500 dark:bg-{color}-400",position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px] p-px","2xs":"h-[5px] min-w-[5px] text-[5px] p-px",xs:"h-1.5 min-w-[0.375rem] text-[6px] p-px",sm:"h-2 min-w-[0.5rem] text-[7px] p-0.5",md:"h-2.5 min-w-[0.625rem] text-[8px] p-0.5",lg:"h-3 min-w-[0.75rem] text-[10px] p-0.5",xl:"h-3.5 min-w-[0.875rem] text-[11px] p-1","2xl":"h-4 min-w-[1rem] text-[12px] p-1","3xl":"h-5 min-w-[1.25rem] text-[14px] p-1"}},icon:{base:"text-gray-500 dark:text-gray-400 flex-shrink-0",size:{"3xs":"h-2 w-2","2xs":"h-2.5 w-2.5",xs:"h-3 w-3",sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-7 w-7","2xl":"h-8 w-8","3xl":"h-10 w-10"}},default:{size:"sm",icon:null,chipColor:null,chipPosition:"top-right"}},fE={base:"inline-flex items-center",rounded:"rounded-md",font:"font-medium",size:{xs:"text-xs px-1.5 py-0.5",sm:"text-xs px-2 py-1",md:"text-sm px-2 py-1",lg:"text-sm px-2.5 py-1.5"},color:{white:{solid:"ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-900 dark:text-white bg-white dark:bg-gray-900"},gray:{solid:"ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-700 dark:text-gray-200 bg-gray-50 dark:bg-gray-800"},black:{solid:"text-white dark:text-gray-900 bg-gray-900 dark:bg-white"}},variant:{solid:"bg-{color}-500 dark:bg-{color}-400 text-white dark:text-gray-900",outline:"text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400",soft:"bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400",subtle:"bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 ring-opacity-25 dark:ring-opacity-25"},default:{size:"sm",variant:"solid",color:"primary"}},fh={base:"focus:outline-none focus-visible:outline-0 disabled:cursor-not-allowed disabled:opacity-75 flex-shrink-0",font:"font-medium",rounded:"rounded-md",truncate:"text-left break-all line-clamp-1",block:"w-full flex justify-center items-center",inline:"inline-flex items-center",size:{"2xs":"text-xs",xs:"text-xs",sm:"text-sm",md:"text-sm",lg:"text-sm",xl:"text-base"},gap:{"2xs":"gap-x-1",xs:"gap-x-1.5",sm:"gap-x-1.5",md:"gap-x-2",lg:"gap-x-2.5",xl:"gap-x-2.5"},padding:{"2xs":"px-2 py-1",xs:"px-2.5 py-1.5",sm:"px-2.5 py-1.5",md:"px-3 py-2",lg:"px-3.5 py-2.5",xl:"px-3.5 py-2.5"},square:{"2xs":"p-1",xs:"p-1.5",sm:"p-1.5",md:"p-2",lg:"p-2.5",xl:"p-2.5"},color:{white:{solid:"shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-900 dark:text-white bg-white hover:bg-gray-50 disabled:bg-white dark:bg-gray-900 dark:hover:bg-gray-800/50 dark:disabled:bg-gray-900 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",ghost:"text-gray-900 dark:text-white hover:bg-white dark:hover:bg-gray-900 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"},gray:{solid:"shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-700 dark:text-gray-200 bg-gray-50 hover:bg-gray-100 disabled:bg-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700/50 dark:disabled:bg-gray-800 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",ghost:"text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white hover:bg-gray-50 dark:hover:bg-gray-800 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",link:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"},black:{solid:"shadow-sm text-white dark:text-gray-900 bg-gray-900 hover:bg-gray-800 disabled:bg-gray-900 dark:bg-white dark:hover:bg-gray-100 dark:disabled:bg-white focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",link:"text-gray-900 dark:text-white underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"}},variant:{solid:"shadow-sm text-white dark:text-gray-900 bg-{color}-500 hover:bg-{color}-600 disabled:bg-{color}-500 dark:bg-{color}-400 dark:hover:bg-{color}-500 dark:disabled:bg-{color}-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-{color}-500 dark:focus-visible:outline-{color}-400",outline:"ring-1 ring-inset ring-current text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",soft:"text-{color}-500 dark:text-{color}-400 bg-{color}-50 hover:bg-{color}-100 disabled:bg-{color}-50 dark:bg-{color}-950 dark:hover:bg-{color}-900 dark:disabled:bg-{color}-950 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",ghost:"text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",link:"text-{color}-500 hover:text-{color}-600 disabled:text-{color}-500 dark:text-{color}-400 dark:hover:text-{color}-500 dark:disabled:text-{color}-400 underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400"},icon:{base:"flex-shrink-0",loading:"animate-spin",size:{"2xs":"h-4 w-4",xs:"h-4 w-4",sm:"h-5 w-5",md:"h-5 w-5",lg:"h-5 w-5",xl:"h-6 w-6"}},default:{size:"sm",variant:"solid",color:"primary",loadingIcon:"i-heroicons-arrow-path-20-solid"}},vi={base:"invisible before:visible before:block before:rotate-45 before:z-[-1] before:w-2 before:h-2",ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-800",rounded:"before:rounded-sm",background:"before:bg-gray-200 dark:before:bg-gray-800",shadow:"before:shadow",placement:"group-data-[popper-placement*='right']:-left-1 group-data-[popper-placement*='left']:-right-1 group-data-[popper-placement*='top']:-bottom-1 group-data-[popper-placement*='bottom']:-top-1"};({...vi});const dE={wrapper:"w-full flex flex-col",item:{base:"",size:"text-sm",color:"text-gray-500 dark:text-gray-400",padding:"pt-1.5 pb-3",icon:"ms-auto transform transition-transform duration-200"},transition:{enterActiveClass:"overflow-hidden transition-[height] duration-200 ease-out",leaveActiveClass:"overflow-hidden transition-[height] duration-200 ease-out"},default:{openIcon:"i-heroicons-chevron-down-20-solid",closeIcon:"",class:"mb-1.5 w-full",variant:"soft"}},pE={base:"inline-flex items-center justify-center text-gray-900 dark:text-white",padding:"px-1",size:{xs:"h-4 min-w-[16px] text-[10px]",sm:"h-5 min-w-[20px] text-[11px]",md:"h-6 min-w-[24px] text-[12px]"},rounded:"rounded",font:"font-medium font-sans",background:"bg-gray-100 dark:bg-gray-800",ring:"ring-1 ring-gray-300 dark:ring-gray-700 ring-inset",default:{size:"sm"}},uf={container:"z-20 group",trigger:"inline-flex w-full",width:"w-full",height:"max-h-60",base:"relative focus:outline-none overflow-y-auto scroll-py-1",background:"bg-white dark:bg-gray-800",shadow:"shadow-lg",rounded:"rounded-md",padding:"p-1",ring:"ring-1 ring-gray-200 dark:ring-gray-700",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",option:{base:"cursor-default select-none relative flex items-center justify-between gap-1",rounded:"rounded-md",padding:"px-2 py-1.5",size:"text-sm",color:"text-gray-900 dark:text-white",container:"flex items-center gap-2 min-w-0",active:"bg-gray-100 dark:bg-gray-900",inactive:"",selected:"pe-7",disabled:"cursor-not-allowed opacity-50",empty:"text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",icon:{base:"flex-shrink-0 h-4 w-4",active:"text-gray-900 dark:text-white",inactive:"text-gray-400 dark:text-gray-500"},selectedIcon:{wrapper:"absolute inset-y-0 end-0 flex items-center",padding:"pe-2",base:"h-4 w-4 text-gray-900 dark:text-white flex-shrink-0"},avatar:{base:"flex-shrink-0",size:"3xs"},chip:{base:"flex-shrink-0 w-2 h-2 mx-1 rounded-full"}},transition:{leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},popper:{placement:"bottom-end"},default:{selectedIcon:"i-heroicons-check-20-solid",trailingIcon:"i-heroicons-chevron-down-20-solid"},arrow:{...vi,ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",background:"before:bg-white dark:before:bg-gray-700"}};({...uf,option:{...uf.option},arrow:{...vi}});const hE={base:"mx-auto",padding:"px-4 sm:px-6 lg:px-8",constrained:"max-w-7xl"},gE={wrapper:"relative",container:"z-50 group",trigger:"inline-flex w-full",width:"",background:"bg-white dark:bg-gray-900",shadow:"shadow-lg",rounded:"rounded-md",ring:"ring-1 ring-gray-200 dark:ring-gray-800",base:"overflow-hidden focus:outline-none relative",transition:{enterActiveClass:"transition ease-out duration-200",enterFromClass:"opacity-0 translate-y-1",enterToClass:"opacity-100 translate-y-0",leaveActiveClass:"transition ease-in duration-150",leaveFromClass:"opacity-100 translate-y-0",leaveToClass:"opacity-0 translate-y-1"},overlay:{base:"fixed inset-0 transition-opacity z-50",background:"bg-gray-200/75 dark:bg-gray-800/75",transition:{enterActiveClass:"ease-out duration-200",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"ease-in duration-150",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"}},popper:{strategy:"fixed"},arrow:vi},mE={wrapper:"w-full pointer-events-auto",container:"relative overflow-hidden",inner:"w-0 flex-1",title:"text-sm font-medium text-gray-900 dark:text-white",description:"mt-1 text-sm leading-4 text-gray-500 dark:text-gray-400",actions:"flex items-center gap-2 mt-3 flex-shrink-0",background:"bg-white dark:bg-gray-900",shadow:"shadow-lg",rounded:"rounded-lg",padding:"p-4",gap:"gap-3",ring:"ring-1 ring-gray-200 dark:ring-gray-800",icon:{base:"flex-shrink-0 w-5 h-5",color:"text-{color}-500 dark:text-{color}-400"},avatar:{base:"flex-shrink-0 self-center",size:"md"},progress:{base:"absolute bottom-0 end-0 start-0 h-1",background:"bg-{color}-500 dark:bg-{color}-400"},transition:{enterActiveClass:"transform ease-out duration-300 transition",enterFromClass:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterToClass:"translate-y-0 opacity-100 sm:translate-x-0",leaveActiveClass:"transition ease-in duration-100",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},default:{color:"primary",icon:null,timeout:5e3,closeButton:{icon:"i-heroicons-x-mark-20-solid",color:"gray",variant:"link",padded:!1},actionButton:{size:"xs",color:"white"}}},vE={wrapper:"fixed flex flex-col justify-end z-[55]",position:"bottom-0 end-0",width:"w-full sm:w-96",container:"px-4 sm:px-6 py-6 space-y-3 overflow-y-auto"},fn=Wt(He.ui.strategy,He.ui.button,fh),yE=re({components:{UIcon:yt,ULink:Wn},inheritAttrs:!1,props:{...hi,type:{type:String,default:"button"},block:{type:Boolean,default:!1},label:{type:String,default:null},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},padded:{type:Boolean,default:!0},size:{type:String,default:()=>fn.default.size,validator(e){return Object.keys(fn.size).includes(e)}},color:{type:String,default:()=>fn.default.color,validator(e){return[...He.ui.colors,...Object.keys(fn.color)].includes(e)}},variant:{type:String,default:()=>fn.default.variant,validator(e){return[...Object.keys(fn.variant),...Object.values(fn.color).flatMap(t=>Object.keys(t))].includes(e)}},icon:{type:String,default:null},loadingIcon:{type:String,default:()=>fn.default.loadingIcon},leadingIcon:{type:String,default:null},trailingIcon:{type:String,default:null},trailing:{type:Boolean,default:!1},leading:{type:Boolean,default:!1},square:{type:Boolean,default:!1},truncate:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e,{slots:t}){const{ui:n,attrs:r}=qe("button",we(e,"ui"),fn),{size:o,rounded:s}=uh({ui:n,props:e}),i=R(()=>e.icon&&e.leading||e.icon&&!e.trailing||e.loading&&!e.trailing||e.leadingIcon),a=R(()=>e.icon&&e.trailing||e.loading&&e.trailing||e.trailingIcon),l=R(()=>e.square||!t.default&&!e.label),c=R(()=>{var m,w;const g=((w=(m=n.value.color)==null?void 0:m[e.color])==null?void 0:w[e.variant])||n.value.variant[e.variant];return It(ut(n.value.base,n.value.font,s.value,n.value.size[o.value],n.value.gap[o.value],e.padded&&n.value[l.value?"square":"padding"][o.value],g==null?void 0:g.replaceAll("{color}",e.color),e.block?n.value.block:n.value.inline),e.class)}),u=R(()=>e.loading?e.loadingIcon:e.leadingIcon||e.icon),f=R(()=>e.loading&&!i.value?e.loadingIcon:e.trailingIcon||e.icon),d=R(()=>ut(n.value.icon.base,n.value.icon.size[o.value],e.loading&&n.value.icon.loading)),p=R(()=>ut(n.value.icon.base,n.value.icon.size[o.value],e.loading&&!i.value&&n.value.icon.loading)),h=R(()=>rx(e));return{ui:n,attrs:r,isLeading:i,isTrailing:a,isSquare:l,buttonClass:c,leadingIconName:u,trailingIconName:f,leadingIconClass:d,trailingIconClass:p,linkProps:h}}});function bE(e,t,n,r,o,s){const i=yt,a=Wn;return I(),ae(a,ue({type:e.type,disabled:e.disabled||e.loading,class:e.buttonClass},{...e.linkProps,...e.attrs}),{default:le(()=>[me(e.$slots,"leading",{disabled:e.disabled,loading:e.loading},()=>[e.isLeading&&e.leadingIconName?(I(),ae(i,{key:0,name:e.leadingIconName,class:q(e.leadingIconClass),"aria-hidden":"true"},null,8,["name","class"])):ge("",!0)]),me(e.$slots,"default",{},()=>[e.label?(I(),ne("span",{key:0,class:q([e.truncate?e.ui.truncate:""])},Fe(e.label),3)):ge("",!0)]),me(e.$slots,"trailing",{disabled:e.disabled,loading:e.loading},()=>[e.isTrailing&&e.trailingIconName?(I(),ae(i,{key:0,name:e.trailingIconName,class:q(e.trailingIconClass),"aria-hidden":"true"},null,8,["name","class"])):ge("",!0)])]),_:3},16,["type","disabled","class"])}const qt=Mt(yE,[["render",bE]]),wE=rt(e=>{e.vueApp.component("UButton",qt)}),_E=[Ab,$b,Ww,Qw,Yw,Jw,d1,p1,b1,x1,Dx,Fx,Ux,zx,Vx,Wx,wE],xE=re({inheritAttrs:!1,__name:"ColorModeImage",props:{as:{type:[String,Object],default:"img"},dark:{type:String,required:!0},light:{type:String,required:!0}},setup(e){return(t,n)=>(I(),ne(ke,null,[(I(),ae(Or(e.as),ue({src:e.light,class:"dark:hidden"},t.$attrs),null,16,["src"])),(I(),ae(Or(e.as),ue({src:e.dark,class:"hidden dark:block"},t.$attrs),null,16,["src"]))],64))}}),Tn=Wt(He.ui.strategy,He.ui.badge,fE),kE=re({inheritAttrs:!1,props:{size:{type:String,default:()=>Tn.default.size,validator(e){return Object.keys(Tn.size).includes(e)}},color:{type:String,default:()=>Tn.default.color,validator(e){return[...He.ui.colors,...Object.keys(Tn.color)].includes(e)}},variant:{type:String,default:()=>Tn.default.variant,validator(e){return[...Object.keys(Tn.variant),...Object.values(Tn.color).flatMap(t=>Object.keys(t))].includes(e)}},label:{type:[String,Number],default:null},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=qe("badge",we(e,"ui"),Tn),{size:r,rounded:o}=uh({ui:t,props:e}),s=R(()=>{var a,l;const i=((l=(a=t.value.color)==null?void 0:a[e.color])==null?void 0:l[e.variant])||t.value.variant[e.variant];return It(ut(t.value.base,t.value.font,o.value,t.value.size[r.value],i==null?void 0:i.replaceAll("{color}",e.color)),e.class)});return{attrs:n,badgeClass:s}}});function EE(e,t,n,r,o,s){return I(),ne("span",ue({class:e.badgeClass},e.attrs),[me(e.$slots,"default",{},()=>[Je(Fe(e.label),1)])],16)}const dh=Mt(kE,[["render",EE]]),zi=Wt(He.ui.strategy,He.ui.kbd,pE),CE=re({inheritAttrs:!1,props:{value:{type:String,default:null},size:{type:String,default:()=>zi.default.size,validator(e){return Object.keys(zi.size).includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=qe("kbd",we(e,"ui"),zi),r=R(()=>It(ut(t.value.base,t.value.size[e.size],t.value.padding,t.value.rounded,t.value.font,t.value.background,t.value.ring),e.class));return{ui:t,attrs:n,kbdClass:r}}});function SE(e,t,n,r,o,s){return I(),ne("kbd",ue({class:e.kbdClass},e.attrs),[me(e.$slots,"default",{},()=>[Je(Fe(e.value),1)])],16)}const PE=Mt(CE,[["render",SE]]);function TE(e,t){let n,r,o;const s=F(!0),i=()=>{s.value=!0,o()};je(e,i,{flush:"sync"});const a=typeof t=="function"?t:t.get,l=typeof t=="function"?void 0:t.set,c=Xf((u,f)=>(r=u,o=f,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(d){l==null||l(d)}}));return Object.isExtensible(c)&&(c.trigger=i),c}function gr(e){return Js()?(nl(e),!0):!1}function ph(e){let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...s)=>(t+=1,n||(r=jf(!0),n=r.run(()=>e(...s))),gr(o),n)}function rn(e){return typeof e=="function"?e():C(e)}const Do=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const AE=Object.prototype.toString,OE=e=>AE.call(e)==="[object Object]",ff=()=>+Date.now(),No=()=>{};function hh(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const $E=e=>e();function RE(e,t={}){let n,r,o=No;const s=a=>{clearTimeout(a),o(),o=No};return a=>{const l=rn(e),c=rn(t.maxWait);return n&&s(n),l<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{o=t.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},l)})}}function LE(e,t=!0,n=!0,r=!1){let o=0,s,i=!0,a=No,l;const c=()=>{s&&(clearTimeout(s),s=void 0,a(),a=No)};return f=>{const d=rn(e),p=Date.now()-o,h=()=>l=f();return c(),d<=0?(o=Date.now(),h()):(p>d&&(n||!i)?(o=Date.now(),h()):t&&(l=new Promise((g,m)=>{a=r?m:g,s=setTimeout(()=>{o=Date.now(),i=!0,g(h()),c()},Math.max(0,d-p))})),!n&&!s&&(s=setTimeout(()=>i=!0,d)),i=!1,l)}}function IE(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function jE(e,t){var n;if(typeof e=="number")return e+t;const r=((n=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:n[0])||"",o=e.slice(r.length),s=Number.parseFloat(r)+t;return Number.isNaN(s)?e:s+o}function dT(e,t=200,n={}){return hh(RE(t,n),e)}function ME(e,t,n={}){const{eventFilter:r=$E,...o}=n;return je(e,hh(r,t),o)}function DE(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let s=null;const i=F(!1);function a(){s&&(clearInterval(s),s=null)}function l(){i.value=!1,a()}function c(){const u=rn(t);u<=0||(i.value=!0,o&&e(),a(),s=setInterval(e,u))}if(r&&Do&&c(),et(t)||typeof t=="function"){const u=je(t,()=>{i.value&&Do&&c()});gr(u)}return gr(l),{isActive:i,pause:l,resume:c}}function NE(e,t,n={}){const{immediate:r=!0}=n,o=F(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,i()}function l(...c){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},rn(t))}return r&&(o.value=!0,Do&&l()),gr(a),{isPending:ei(o),start:l,stop:a}}function pT(e,t,n={}){const{throttle:r=0,trailing:o=!0,leading:s=!0,...i}=n;return ME(e,t,{...i,eventFilter:LE(r,o,s)})}function Ua(e){var t;const n=rn(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Qr=Do?window:void 0,gh=Do?window.navigator:void 0;function Ln(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Qr):[t,n,r,o]=e,!t)return No;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(u=>u()),s.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),l=je(()=>[Ua(t),rn(o)],([u,f])=>{if(i(),!u)return;const d=OE(f)?{...f}:f;s.push(...n.flatMap(p=>r.map(h=>a(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return gr(c),c}function BE(e={}){var t;const{window:n=Qr,deep:r=!0}=e,o=(t=e.document)!=null?t:n==null?void 0:n.document,s=()=>{var a;let l=o==null?void 0:o.activeElement;if(r)for(;l!=null&&l.shadowRoot;)l=(a=l==null?void 0:l.shadowRoot)==null?void 0:a.activeElement;return l},i=TE(()=>null,()=>s());return n&&(Ln(n,"blur",a=>{a.relatedTarget===null&&i.trigger()},!0),Ln(n,"focus",i.trigger,!0)),i}function FE(){const e=F(!1);return sn()&&Le(()=>{e.value=!0}),e}function Vl(e){const t=FE();return R(()=>(t.value,!!e()))}function HE(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:o=Qr}=t,s=F(!1),i=r?1e3/r:null;let a=0,l=null;function c(d){if(!s.value||!o)return;const p=d-(a||d);if(i&&pn&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=F(!1),i=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},l=Qe(()=>{r.value&&(a(),o=n.matchMedia(rn(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),s.value=o.matches)});return gr(()=>{l(),a(),o=void 0}),s}function hT(e,t={}){function n(a,l){let c=rn(e[a]);return l!=null&&(c=jE(c,l)),typeof c=="number"&&(c=`${c}px`),c}const{window:r=Qr}=t;function o(a){return r?r.matchMedia(a).matches:!1}const s=a=>ro(()=>`(min-width: ${n(a)})`,t),i=Object.keys(e).reduce((a,l)=>(Object.defineProperty(a,l,{get:()=>s(l),enumerable:!0,configurable:!0}),a),{});return Object.assign(i,{greater(a){return ro(()=>`(min-width: ${n(a,.1)})`,t)},greaterOrEqual:s,smaller(a){return ro(()=>`(max-width: ${n(a,-.1)})`,t)},smallerOrEqual(a){return ro(()=>`(max-width: ${n(a)})`,t)},between(a,l){return ro(()=>`(min-width: ${n(a)}) and (max-width: ${n(l,-.1)})`,t)},isGreater(a){return o(`(min-width: ${n(a,.1)})`)},isGreaterOrEqual(a){return o(`(min-width: ${n(a)})`)},isSmaller(a){return o(`(max-width: ${n(a,-.1)})`)},isSmallerOrEqual(a){return o(`(max-width: ${n(a)})`)},isInBetween(a,l){return o(`(min-width: ${n(a)}) and (max-width: ${n(l,-.1)})`)},current(){const a=Object.keys(e).map(l=>[l,s(l)]);return R(()=>a.filter(([,l])=>l.value).map(([l])=>l))}})}function df(e,t={}){const{controls:n=!1,navigator:r=gh}=t,o=Vl(()=>r&&"permissions"in r);let s;const i=typeof e=="string"?{name:e}:e,a=F(),l=()=>{s&&(a.value=s.state)},c=IE(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(i),Ln(s,"change",l),l()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function gT(e={}){const{navigator:t=gh,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=Vl(()=>t&&"clipboard"in t),a=df("clipboard-read"),l=df("clipboard-write"),c=R(()=>i.value||s),u=F(""),f=F(!1),d=NE(()=>f.value=!1,o);function p(){i.value&&a.value!=="denied"?t.clipboard.readText().then(w=>{u.value=w}):u.value=m()}c.value&&n&&Ln(["copy","cut"],p);async function h(w=rn(r)){c.value&&w!=null&&(i.value&&l.value!=="denied"?await t.clipboard.writeText(w):g(w),u.value=w,f.value=!0,d.start())}function g(w){const b=document.createElement("textarea");b.value=w??"",b.style.position="absolute",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}function m(){var w,b,v;return(v=(b=(w=document==null?void 0:document.getSelection)==null?void 0:w.call(document))==null?void 0:b.toString())!=null?v:""}return{isSupported:c,text:u,copied:f,copy:h}}const UE={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function mT(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:o={x:0,y:0},window:s=Qr,target:i=s,scroll:a=!0,eventFilter:l}=e;let c=null;const u=F(o.x),f=F(o.y),d=F(null),p=typeof t=="function"?t:UE[t],h=x=>{const E=p(x);c=x,E&&([u.value,f.value]=E,d.value="mouse")},g=x=>{if(x.touches.length>0){const E=p(x.touches[0]);E&&([u.value,f.value]=E,d.value="touch")}},m=()=>{if(!c||!s)return;const x=p(c);c instanceof MouseEvent&&x&&(u.value=x[0]+s.scrollX,f.value=x[1]+s.scrollY)},w=()=>{u.value=o.x,f.value=o.y},b=l?x=>l(()=>h(x),{}):x=>h(x),v=l?x=>l(()=>g(x),{}):x=>g(x),y=l?()=>l(()=>m(),{}):()=>m();if(i){const x={passive:!0};Ln(i,["mousemove","dragover"],b,x),n&&t!=="movement"&&(Ln(i,["touchstart","touchmove"],v,x),r&&Ln(i,"touchend",w,x)),a&&t==="page"&&Ln(s,"scroll",y,{passive:!0})}return{x:u,y:f,sourceType:d}}function zE(e={}){const{controls:t=!1,offset:n=0,immediate:r=!0,interval:o="requestAnimationFrame",callback:s}=e,i=F(ff()+n),a=()=>i.value=ff()+n,l=s?()=>{a(),s(i.value)}:a,c=o==="requestAnimationFrame"?HE(l,{immediate:r}):DE(l,o,{immediate:r});return t?{timestamp:i,...c}:i}const VE=()=>{const e=F(!1),t=F(!1);function n(){if(e.value){e.value=!1,setTimeout(()=>{t.value=!t.value},0);return}t.value=!t.value}return{isHeaderDialogOpen:e,isDocsSearchModalOpen:t,toggleDocsSearch:n}},mh=ph(VE),WE=()=>{const e=R(()=>navigator&&navigator.userAgent&&navigator.userAgent.match(/Macintosh;/)),t=F(" "),n=BE(),r=R(()=>{var a,l,c;const o=(a=n.value)==null?void 0:a.tagName,s=(l=n.value)==null?void 0:l.contentEditable;return o==="INPUT"||o==="TEXTAREA"||s==="true"||s==="plaintext-only"?((c=n.value)==null?void 0:c.name)||!0:!1});return Le(()=>{t.value=e.value?"⌘":"Ctrl"}),{macOS:e,metaSymbol:t,activeElement:n,usingInput:r}},qE=ph(WE),KE={class:"hidden lg:flex items-center gap-0.5 ml-auto -my-1 flex-shrink-0"},GE=re({__name:"DocsSearchButton",props:{label:{type:String,default:"Search..."}},setup(e){const t=it(),{toggleDocsSearch:n}=mh(),{metaSymbol:r}=qE();return(o,s)=>{var l,c,u,f;const i=PE,a=qt;return I(),ae(a,ue({icon:C(t).ui.icons.search,label:e.label},e.label?(c=(l=o.$ui)==null?void 0:l.button)==null?void 0:c.input:(f=(u=o.$ui)==null?void 0:u.button)==null?void 0:f.secondary,{"aria-label":"Search",class:[!!e.label&&"flex-1"],onClick:C(n)}),ii({_:2},[e.label?{name:"trailing",fn:le(()=>[xe("div",KE,[Q(i,null,{default:le(()=>[Je(Fe(C(r)),1)]),_:1}),Q(i,null,{default:le(()=>[Je(" K ")]),_:1})])]),key:"0"}:void 0]),1040,["icon","label","class","onClick"])}}}),Wl=re({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=F(!1);return Le(()=>{r.value=!0}),o=>{var l;if(r.value)return(l=t.default)==null?void 0:l.call(t);const s=t.fallback||t.placeholder;if(s)return s();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return ne(a,n,i)}}}),QE=()=>wr("color-mode").value,XE=xe("div",{class:"w-8 h-8"},null,-1),vh=re({inheritAttrs:!1,__name:"ColorModeButton",setup(e){const t=QE(),n=it(),r=R({get(){return t.value==="dark"},set(){t.preference=t.value==="dark"?"light":"dark"}});return(o,s)=>{var l;const i=qt,a=Wl;return(l=C(t))!=null&&l.forced?ge("",!0):(I(),ae(a,{key:0},{fallback:le(()=>[XE]),default:le(()=>{var c,u;return[Q(i,ue({icon:C(r)?C(n).ui.icons.dark:C(n).ui.icons.light},{...(u=(c=o.$ui)==null?void 0:c.button)==null?void 0:u.secondary,...o.$attrs},{"aria-label":`Switch to ${C(r)?"light":"dark"} mode`,onClick:s[0]||(s[0]=f=>r.value=!C(r))}),null,16,["icon","aria-label"])]}),_:1}))}}});function tt(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,tt),r}var zn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(zn||{}),In=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(In||{});function dt({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...o}){var s;let i=bh(r,n),a=Object.assign(o,{props:i});if(e||t&2&&i.static)return Vi(a);if(t&1){let l=(s=i.unmount)==null||s?0:1;return tt(l,{0(){return null},1(){return Vi({...o,props:{...i,hidden:!0,style:{display:"none"}}})}})}return Vi(a)}function Vi({props:e,attrs:t,slots:n,slot:r,name:o}){var s,i;let{as:a,...l}=wh(e,["unmount","static"]),c=(s=n.default)==null?void 0:s.call(n,r),u={};if(r){let f=!1,d=[];for(let[p,h]of Object.entries(r))typeof h=="boolean"&&(f=!0),h===!0&&d.push(p);f&&(u["data-headlessui-state"]=d.join(" "))}if(a==="template"){if(c=yh(c??[]),Object.keys(l).length>0||Object.keys(t).length>0){let[f,...d]=c??[];if(!YE(f)||d.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${o} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map(g=>g.trim()).filter((g,m,w)=>w.indexOf(g)===m).sort((g,m)=>g.localeCompare(m)).map(g=>` - ${g}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(g=>` - ${g}`).join(` `)].join(` -`));let p=bh((i=f.props)!=null?i:{},l),h=nn(f,p);for(let g in p)g.startsWith("on")&&(h.props||(h.props={}),h.props[g]=p[g]);return h}return Array.isArray(c)&&c.length===1?c[0]:c}return ye(a,Object.assign({},l,u),{default:()=>c})}function yh(e){return e.flatMap(t=>t.type===ke?yh(t.children):[t])}function bh(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](o,...s){let i=n[r];for(let a of i){if(o instanceof Event&&o.defaultPrevented)return;a(o,...s)}}});return t}function vT(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function wh(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function YE(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let JE=0;function ZE(){return++JE}function Zt(){return ZE()}var gt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(gt||{});function ee(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}let _h=Symbol("Context");var We=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(We||{});function eC(){return Yo()!==null}function Yo(){return Te(_h,null)}function ql(e){ze(_h,e)}function pf(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function xh(e,t){let n=F(pf(e.value.type,e.value.as));return Le(()=>{n.value=pf(e.value.type,e.value.as)}),Qe(()=>{var r;n.value||ee(t)&&ee(t)instanceof HTMLButtonElement&&!((r=ee(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}var tC=Object.defineProperty,nC=(e,t,n)=>t in e?tC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hf=(e,t,n)=>(nC(e,typeof t!="symbol"?t+"":t,n),n);class rC{constructor(){hf(this,"current",this.detect()),hf(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}}let Jo=new rC;function wn(e){if(Jo.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=ee(e);if(t)return t.ownerDocument}return document}let za=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var st=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(st||{}),Bo=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Bo||{}),oC=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(oC||{});function yi(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(za)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Kl=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Kl||{});function kh(e,t=0){var n;return e===((n=wn(e))==null?void 0:n.body)?!1:tt(t,{0(){return e.matches(za)},1(){let r=e;for(;r!==null;){if(r.matches(za))return!0;r=r.parentElement}return!1}})}var sC=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(sC||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function cr(e){e==null||e.focus({preventScroll:!0})}let iC=["textarea","input"].join(",");function aC(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,iC))!=null?n:!1}function lC(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),s=t(r);if(o===null||s===null)return 0;let i=o.compareDocumentPosition(s);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ht(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){var s;let i=(s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?s:document,a=Array.isArray(e)?n?lC(e):e:yi(e);o.length>0&&a.length>1&&(a=a.filter(h=>!o.includes(h))),r=r??i.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,a.indexOf(r))-1;if(t&4)return Math.max(0,a.indexOf(r))+1;if(t&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},f=0,d=a.length,p;do{if(f>=d||f+d<=0)return 0;let h=c+f;if(t&16)h=(h+d)%d;else{if(h<0)return 3;if(h>=d)return 1}p=a[h],p==null||p.focus(u),f+=l}while(p!==i.activeElement);return t&6&&aC(p)&&p.select(),2}function ys(e,t,n){Jo.isServer||Qe(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function Eh(e,t,n){Jo.isServer||Qe(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function Ch(e,t,n=R(()=>!0)){function r(s,i){if(!n.value||s.defaultPrevented)return;let a=i(s);if(a===null||!a.getRootNode().contains(a))return;let l=function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]}(e);for(let c of l){if(c===null)continue;let u=c instanceof HTMLElement?c:ee(c);if(u!=null&&u.contains(a)||s.composed&&s.composedPath().includes(u))return}return!kh(a,Kl.Loose)&&a.tabIndex!==-1&&s.preventDefault(),t(s,a)}let o=F(null);ys("pointerdown",s=>{var i,a;n.value&&(o.value=((a=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:a[0])||s.target)},!0),ys("mousedown",s=>{var i,a;n.value&&(o.value=((a=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:a[0])||s.target)},!0),ys("click",s=>{o.value&&(r(s,()=>o.value),o.value=null)},!0),ys("touchend",s=>r(s,()=>s.target instanceof HTMLElement?s.target:null),!0),Eh("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var mr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mr||{});let Nr=re({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...o}=e,s={"aria-hidden":(r&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return dt({ourProps:s,theirProps:o,slot:{},attrs:n,slots:t,name:"Hidden"})}}});function Sh(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function cC(){return/Android/gi.test(window.navigator.userAgent)}function yT(){return Sh()||cC()}function Gl(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Zo(){let e=[],t={addEventListener(n,r,o,s){return n.addEventListener(r,o,s),t.add(()=>n.removeEventListener(r,o,s))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...n)})},setTimeout(...n){let r=setTimeout(...n);t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Gl(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let s=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:s})})},group(n){let r=Zo();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}var Et=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Et||{});function Ql(){let e=F(0);return Eh("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function Xl(e,t,n,r){Jo.isServer||Qe(o=>{e=e??window,e.addEventListener(t,n,r),o(()=>e.removeEventListener(t,n,r))})}function uC(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function Ph(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.value){let r=ee(n);r instanceof HTMLElement&&t.add(r)}return t}var Th=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Th||{});let oo=Object.assign(re({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:F(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let o=F(null);r({el:o,$el:o});let s=R(()=>wn(o)),i=F(!1);Le(()=>i.value=!0),Xe(()=>i.value=!1),dC({ownerDocument:s},R(()=>i.value&&!!(e.features&16)));let a=pC({ownerDocument:s,container:o,initialFocus:R(()=>e.initialFocus)},R(()=>i.value&&!!(e.features&2)));hC({ownerDocument:s,container:o,containers:e.containers,previousActiveElement:a},R(()=>i.value&&!!(e.features&8)));let l=Ql();function c(p){let h=ee(o);h&&(g=>g())(()=>{tt(l.value,{[Et.Forwards]:()=>{Ht(h,st.First,{skipElements:[p.relatedTarget]})},[Et.Backwards]:()=>{Ht(h,st.Last,{skipElements:[p.relatedTarget]})}})})}let u=F(!1);function f(p){p.key==="Tab"&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function d(p){if(!i.value)return;let h=Ph(e.containers);ee(o)instanceof HTMLElement&&h.add(ee(o));let g=p.relatedTarget;g instanceof HTMLElement&&g.dataset.headlessuiFocusGuard!=="true"&&(Ah(h,g)||(u.value?Ht(ee(o),tt(l.value,{[Et.Forwards]:()=>st.Next,[Et.Backwards]:()=>st.Previous})|st.WrapAround,{relativeTo:p.target}):p.target instanceof HTMLElement&&cr(p.target)))}return()=>{let p={},h={ref:o,onKeydown:f,onFocusout:d},{features:g,initialFocus:m,containers:w,...b}=e;return ye(ke,[!!(g&4)&&ye(Nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:mr.Focusable}),dt({ourProps:h,theirProps:{...t,...b},slot:p,attrs:t,slots:n,name:"FocusTrap"}),!!(g&4)&&ye(Nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:mr.Focusable})])}}}),{features:Th}),nr=[];uC(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&nr[0]!==t.target&&(nr.unshift(t.target),nr=nr.filter(n=>n!=null&&n.isConnected),nr.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function fC(e){let t=F(nr.slice());return je([e],([n],[r])=>{r===!0&&n===!1?Gl(()=>{t.value.splice(0)}):r===!1&&n===!0&&(t.value=nr.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(r=>r!=null&&r.isConnected))!=null?n:null}}function dC({ownerDocument:e},t){let n=fC(t);Le(()=>{Qe(()=>{var r,o;t.value||((r=e.value)==null?void 0:r.activeElement)===((o=e.value)==null?void 0:o.body)&&cr(n())},{flush:"post"})}),Xe(()=>{t.value&&cr(n())})}function pC({ownerDocument:e,container:t,initialFocus:n},r){let o=F(null),s=F(!1);return Le(()=>s.value=!0),Xe(()=>s.value=!1),Le(()=>{je([t,n,r],(i,a)=>{if(i.every((c,u)=>(a==null?void 0:a[u])===c)||!r.value)return;let l=ee(t);l&&Gl(()=>{var c,u;if(!s.value)return;let f=ee(n),d=(c=e.value)==null?void 0:c.activeElement;if(f){if(f===d){o.value=d;return}}else if(l.contains(d)){o.value=d;return}f?cr(f):Ht(l,st.First|st.NoScroll)===Bo.Error&&console.warn("There are no focusable elements inside the "),o.value=(u=e.value)==null?void 0:u.activeElement})},{immediate:!0,flush:"post"})}),o}function hC({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){var s;Xl((s=e.value)==null?void 0:s.defaultView,"focus",i=>{if(!o.value)return;let a=Ph(n);ee(t)instanceof HTMLElement&&a.add(ee(t));let l=r.value;if(!l)return;let c=i.target;c&&c instanceof HTMLElement?Ah(a,c)?(r.value=c,cr(c)):(i.preventDefault(),i.stopPropagation(),cr(l)):cr(r.value)},!0)}function Ah(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let Wi=new Map,so=new Map;function gf(e,t=F(!0)){Qe(n=>{var r;if(!t.value)return;let o=ee(e);if(!o)return;n(function(){var i;if(!o)return;let a=(i=so.get(o))!=null?i:1;if(a===1?so.delete(o):so.set(o,a-1),a!==1)return;let l=Wi.get(o);l&&(l["aria-hidden"]===null?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",l["aria-hidden"]),o.inert=l.inert,Wi.delete(o))});let s=(r=so.get(o))!=null?r:0;so.set(o,s+1),s===0&&(Wi.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),inert:o.inert}),o.setAttribute("aria-hidden","true"),o.inert=!0)})}let Oh=Symbol("ForcePortalRootContext");function gC(){return Te(Oh,!1)}let mf=re({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return ze(Oh,e.force),()=>{let{force:r,...o}=e;return dt({theirProps:o,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}});function mC(e){let t=wn(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}let vC=re({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=F(null),o=R(()=>wn(r)),s=gC(),i=Te(Rh,null),a=F(s===!0||i==null?mC(r.value):i.resolveTarget());Qe(()=>{s||i!=null&&(a.value=i.resolveTarget())});let l=Te(Va,null);return Le(()=>{let c=ee(r);c&&l&&Xe(l.register(c))}),Xe(()=>{var c,u;let f=(c=o.value)==null?void 0:c.getElementById("headlessui-portal-root");f&&a.value===f&&a.value.children.length<=0&&((u=a.value.parentElement)==null||u.removeChild(a.value))}),()=>{if(a.value===null)return null;let c={ref:r,"data-headlessui-portal":""};return ye(Ad,{to:a.value},dt({ourProps:c,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),Va=Symbol("PortalParentContext");function $h(){let e=Te(Va,null),t=F([]);function n(s){return t.value.push(s),e&&e.register(s),()=>r(s)}function r(s){let i=t.value.indexOf(s);i!==-1&&t.value.splice(i,1),e&&e.unregister(s)}let o={register:n,unregister:r,portals:t};return[t,re({name:"PortalWrapper",setup(s,{slots:i}){return ze(Va,o),()=>{var a;return(a=i.default)==null?void 0:a.call(i)}}})]}let Rh=Symbol("PortalGroupContext"),yC=re({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let r=Lt({resolveTarget(){return e.target}});return ze(Rh,r),()=>{let{target:o,...s}=e;return dt({theirProps:s,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}}),Lh=Symbol("StackContext");var Wa=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Wa||{});function bC(){return Te(Lh,()=>{})}function wC({type:e,enabled:t,element:n,onUpdate:r}){let o=bC();function s(...i){r==null||r(...i),o(...i)}Le(()=>{je(t,(i,a)=>{i?s(0,e,n):a===!0&&s(1,e,n)},{immediate:!0,flush:"sync"})}),Xe(()=>{t.value&&s(1,e,n)}),ze(Lh,s)}let _C=Symbol("DescriptionContext");function xC({slot:e=F({}),name:t="Description",props:n={}}={}){let r=F([]);function o(s){return r.value.push(s),()=>{let i=r.value.indexOf(s);i!==-1&&r.value.splice(i,1)}}return ze(_C,{register:o,slot:e,name:t,props:n}),R(()=>r.value.length>0?r.value.join(" "):void 0)}function kC(e){let t=pr(e.getSnapshot());return Xe(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function EC(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...s){let i=t[o].call(n,...s);i&&(n=i,r.forEach(a=>a()))}}}function CC(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,s=e-o;n.style(r,"paddingRight",`${s}px`)}}}function SC(){if(!Sh())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function o(i){return r.containers.flatMap(a=>a()).some(a=>a.contains(i))}if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let i=Zo();i.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>i.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let s=null;n.addEventListener(t,"click",i=>{if(i.target instanceof HTMLElement)try{let a=i.target.closest("a");if(!a)return;let{hash:l}=new URL(a.href),c=t.querySelector(l);c&&!o(c)&&(s=c)}catch{}},!0),n.addEventListener(t,"touchmove",i=>{i.target instanceof HTMLElement&&!o(i.target)&&i.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),s&&s.isConnected&&(s.scrollIntoView({block:"nearest"}),s=null)})}}}function PC(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function TC(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let sr=EC(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Zo(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:TC(n)},o=[SC(),CC(),PC()];o.forEach(({before:s})=>s==null?void 0:s(r)),o.forEach(({after:s})=>s==null?void 0:s(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});sr.subscribe(()=>{let e=sr.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&sr.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&sr.dispatch("TEARDOWN",n)}});function AC(e,t,n){let r=kC(sr),o=R(()=>{let s=e.value?r.value.get(e.value):void 0;return s?s.count>0:!1});return je([e,t],([s,i],[a],l)=>{if(!s||!i)return;sr.dispatch("PUSH",s,n);let c=!1;l(()=>{c||(sr.dispatch("POP",a??s,n),c=!0)})},{immediate:!0}),o}function Ih({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=F(null),o=wn(r);function s(){var i;let a=[];for(let l of e)l!==null&&(l instanceof HTMLElement?a.push(l):"value"in l&&l.value instanceof HTMLElement&&a.push(l.value));if(t!=null&&t.value)for(let l of t.value)a.push(l);for(let l of(i=o==null?void 0:o.querySelectorAll("html > *, body > *"))!=null?i:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(l.contains(ee(r))||a.some(c=>l.contains(c))||a.push(l));return a}return{resolveContainers:s,contains(i){return s().some(a=>a.contains(i))},mainTreeNodeRef:r,MainTreeNode(){return n!=null?null:ye(Nr,{features:mr.Hidden,ref:r})}}}var OC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(OC||{});let qa=Symbol("DialogContext");function jh(e){let t=Te(qa,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,jh),n}return t}let bs="DC8F892D-2EBD-447C-A4C8-A03058436FF4",$C=re({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:bs},initialFocus:{type:Object,default:null},id:{type:String,default:()=>`headlessui-dialog-${Zt()}`}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){var s;let i=F(!1);Le(()=>{i.value=!0});let a=F(0),l=Yo(),c=R(()=>e.open===bs&&l!==null?(l.value&We.Open)===We.Open:e.open),u=F(null),f=R(()=>wn(u));if(o({el:u,$el:u}),!(e.open!==bs||l!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof c.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${c.value===bs?void 0:e.open}`);let d=R(()=>i.value&&c.value?0:1),p=R(()=>d.value===0),h=R(()=>a.value>1),g=Te(qa,null)!==null,[m,w]=$h(),{resolveContainers:b,mainTreeNodeRef:v,MainTreeNode:y}=Ih({portals:m,defaultContainers:[R(()=>{var W;return(W=B.panelRef.value)!=null?W:u.value})]}),x=R(()=>h.value?"parent":"leaf"),E=R(()=>l!==null?(l.value&We.Closing)===We.Closing:!1),P=R(()=>g||E.value?!1:p.value),T=R(()=>{var W,U,_e;return(_e=Array.from((U=(W=f.value)==null?void 0:W.querySelectorAll("body > *"))!=null?U:[]).find(Ie=>Ie.id==="headlessui-portal-root"?!1:Ie.contains(ee(v))&&Ie instanceof HTMLElement))!=null?_e:null});gf(T,P);let M=R(()=>h.value?!0:p.value),L=R(()=>{var W,U,_e;return(_e=Array.from((U=(W=f.value)==null?void 0:W.querySelectorAll("[data-headlessui-portal]"))!=null?U:[]).find(Ie=>Ie.contains(ee(v))&&Ie instanceof HTMLElement))!=null?_e:null});gf(L,M),wC({type:"Dialog",enabled:R(()=>d.value===0),element:u,onUpdate:(W,U)=>{if(U==="Dialog")return tt(W,{[Wa.Add]:()=>a.value+=1,[Wa.Remove]:()=>a.value-=1})}});let K=xC({name:"DialogDescription",slot:R(()=>({open:c.value}))}),A=F(null),B={titleId:A,panelRef:F(null),dialogState:d,setTitleId(W){A.value!==W&&(A.value=W)},close(){t("close",!1)}};ze(qa,B);let he=R(()=>!(!p.value||h.value));Ch(b,(W,U)=>{B.close(),yn(()=>U==null?void 0:U.focus())},he);let fe=R(()=>!(h.value||d.value!==0));Xl((s=f.value)==null?void 0:s.defaultView,"keydown",W=>{fe.value&&(W.defaultPrevented||W.key===gt.Escape&&(W.preventDefault(),W.stopPropagation(),B.close()))});let V=R(()=>!(E.value||d.value!==0||g));return AC(f,V,W=>{var U;return{containers:[...(U=W.containers)!=null?U:[],b]}}),Qe(W=>{if(d.value!==0)return;let U=ee(u);if(!U)return;let _e=new ResizeObserver(Ie=>{for(let De of Ie){let Ee=De.target.getBoundingClientRect();Ee.x===0&&Ee.y===0&&Ee.width===0&&Ee.height===0&&B.close()}});_e.observe(U),W(()=>_e.disconnect())}),()=>{let{id:W,open:U,initialFocus:_e,...Ie}=e,De={...n,ref:u,id:W,role:"dialog","aria-modal":d.value===0?!0:void 0,"aria-labelledby":A.value,"aria-describedby":K.value},Ee={open:d.value===0};return ye(mf,{force:!0},()=>[ye(vC,()=>ye(yC,{target:u.value},()=>ye(mf,{force:!1},()=>ye(oo,{initialFocus:_e,containers:b,features:p.value?tt(x.value,{parent:oo.features.RestoreFocus,leaf:oo.features.All&~oo.features.FocusLock}):oo.features.None},()=>ye(w,{},()=>dt({ourProps:De,theirProps:{...Ie,...n},slot:Ee,attrs:n,slots:r,visible:d.value===0,features:zn.RenderStrategy|zn.Static,name:"Dialog"})))))),ye(y)])}}}),RC=re({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:()=>`headlessui-dialog-panel-${Zt()}`}},setup(e,{attrs:t,slots:n,expose:r}){let o=jh("DialogPanel");r({el:o.panelRef,$el:o.panelRef});function s(i){i.stopPropagation()}return()=>{let{id:i,...a}=e,l={id:i,ref:o.panelRef,onClick:s};return dt({ourProps:l,theirProps:a,slot:{open:o.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});var LC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(LC||{});let Mh=Symbol("DisclosureContext");function Yl(e){let t=Te(Mh,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Yl),n}return t}let Dh=Symbol("DisclosurePanelContext");function IC(){return Te(Dh,null)}let jC=re({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=F(e.defaultOpen?0:1),o=F(null),s=F(null),i={buttonId:F(`headlessui-disclosure-button-${Zt()}`),panelId:F(`headlessui-disclosure-panel-${Zt()}`),disclosureState:r,panel:o,button:s,toggleDisclosure(){r.value=tt(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(a){i.closeDisclosure();let l=a?a instanceof HTMLElement?a:a.value instanceof HTMLElement?ee(a):ee(i.button):ee(i.button);l==null||l.focus()}};return ze(Mh,i),ql(R(()=>tt(r.value,{0:We.Open,1:We.Closed}))),()=>{let{defaultOpen:a,...l}=e,c={open:r.value===0,close:i.close};return dt({theirProps:l,ourProps:{},slot:c,slots:t,attrs:n,name:"Disclosure"})}}}),MC=re({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let o=Yl("DisclosureButton"),s=IC(),i=R(()=>s===null?!1:s.value===o.panelId.value);Le(()=>{i.value||e.id!==null&&(o.buttonId.value=e.id)}),Xe(()=>{i.value||(o.buttonId.value=null)});let a=F(null);r({el:a,$el:a}),i.value||Qe(()=>{o.button.value=a.value});let l=xh(R(()=>({as:e.as,type:t.type})),a);function c(){var d;e.disabled||(i.value?(o.toggleDisclosure(),(d=ee(o.button))==null||d.focus()):o.toggleDisclosure())}function u(d){var p;if(!e.disabled)if(i.value)switch(d.key){case gt.Space:case gt.Enter:d.preventDefault(),d.stopPropagation(),o.toggleDisclosure(),(p=ee(o.button))==null||p.focus();break}else switch(d.key){case gt.Space:case gt.Enter:d.preventDefault(),d.stopPropagation(),o.toggleDisclosure();break}}function f(d){switch(d.key){case gt.Space:d.preventDefault();break}}return()=>{var d;let p={open:o.disclosureState.value===0},{id:h,...g}=e,m=i.value?{ref:a,type:l.value,onClick:c,onKeydown:u}:{id:(d=o.buttonId.value)!=null?d:h,ref:a,type:l.value,"aria-expanded":o.disclosureState.value===0,"aria-controls":o.disclosureState.value===0||ee(o.panel)?o.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:c,onKeydown:u,onKeyup:f};return dt({ourProps:m,theirProps:g,slot:p,attrs:t,slots:n,name:"DisclosureButton"})}}}),DC=re({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let o=Yl("DisclosurePanel");Le(()=>{e.id!==null&&(o.panelId.value=e.id)}),Xe(()=>{o.panelId.value=null}),r({el:o.panel,$el:o.panel}),ze(Dh,o.panelId);let s=Yo(),i=R(()=>s!==null?(s.value&We.Open)===We.Open:o.disclosureState.value===0);return()=>{var a;let l={open:o.disclosureState.value===0,close:o.close},{id:c,...u}=e,f={id:(a=o.panelId.value)!=null?a:c,ref:o.panel};return dt({ourProps:f,theirProps:u,slot:l,attrs:t,slots:n,features:zn.RenderStrategy|zn.Static,visible:i.value,name:"DisclosurePanel"})}}});var NC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(NC||{});let Nh=Symbol("PopoverContext");function Jl(e){let t=Te(Nh,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <${Hh.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Jl),n}return t}let BC=Symbol("PopoverGroupContext");function Bh(){return Te(BC,null)}let Fh=Symbol("PopoverPanelContext");function FC(){return Te(Fh,null)}let Hh=re({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n,expose:r}){var o;let s=F(null);r({el:s,$el:s});let i=F(1),a=F(null),l=F(null),c=F(null),u=F(null),f=R(()=>wn(s)),d=R(()=>{var x,E;if(!ee(a)||!ee(u))return!1;for(let B of document.querySelectorAll("body > *"))if(Number(B==null?void 0:B.contains(ee(a)))^Number(B==null?void 0:B.contains(ee(u))))return!0;let P=yi(),T=P.indexOf(ee(a)),M=(T+P.length-1)%P.length,L=(T+1)%P.length,K=P[M],A=P[L];return!((x=ee(u))!=null&&x.contains(K))&&!((E=ee(u))!=null&&E.contains(A))}),p={popoverState:i,buttonId:F(null),panelId:F(null),panel:u,button:a,isPortalled:d,beforePanelSentinel:l,afterPanelSentinel:c,togglePopover(){i.value=tt(i.value,{0:1,1:0})},closePopover(){i.value!==1&&(i.value=1)},close(x){p.closePopover();let E=x?x instanceof HTMLElement?x:x.value instanceof HTMLElement?ee(x):ee(p.button):ee(p.button);E==null||E.focus()}};ze(Nh,p),ql(R(()=>tt(i.value,{0:We.Open,1:We.Closed})));let h={buttonId:p.buttonId,panelId:p.panelId,close(){p.closePopover()}},g=Bh(),m=g==null?void 0:g.registerPopover,[w,b]=$h(),v=Ih({mainTreeNodeRef:g==null?void 0:g.mainTreeNodeRef,portals:w,defaultContainers:[a,u]});function y(){var x,E,P,T;return(T=g==null?void 0:g.isFocusWithinPopoverGroup())!=null?T:((x=f.value)==null?void 0:x.activeElement)&&(((E=ee(a))==null?void 0:E.contains(f.value.activeElement))||((P=ee(u))==null?void 0:P.contains(f.value.activeElement)))}return Qe(()=>m==null?void 0:m(h)),Xl((o=f.value)==null?void 0:o.defaultView,"focus",x=>{var E,P;x.target!==window&&x.target instanceof HTMLElement&&i.value===0&&(y()||a&&u&&(v.contains(x.target)||(E=ee(p.beforePanelSentinel))!=null&&E.contains(x.target)||(P=ee(p.afterPanelSentinel))!=null&&P.contains(x.target)||p.closePopover()))},!0),Ch(v.resolveContainers,(x,E)=>{var P;p.closePopover(),kh(E,Kl.Loose)||(x.preventDefault(),(P=ee(a))==null||P.focus())},R(()=>i.value===0)),()=>{let x={open:i.value===0,close:p.close};return ye(ke,[ye(b,{},()=>dt({theirProps:{...e,...n},ourProps:{ref:s},slot:x,slots:t,attrs:n,name:"Popover"})),ye(v.MainTreeNode)])}}}),HC=re({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:()=>`headlessui-popover-button-${Zt()}`}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let o=Jl("PopoverButton"),s=R(()=>wn(o.button));r({el:o.button,$el:o.button}),Le(()=>{o.buttonId.value=e.id}),Xe(()=>{o.buttonId.value=null});let i=Bh(),a=i==null?void 0:i.closeOthers,l=FC(),c=R(()=>l===null?!1:l.value===o.panelId.value),u=F(null),f=`headlessui-focus-sentinel-${Zt()}`;c.value||Qe(()=>{o.button.value=u.value});let d=xh(R(()=>({as:e.as,type:t.type})),u);function p(v){var y,x,E,P,T;if(c.value){if(o.popoverState.value===1)return;switch(v.key){case gt.Space:case gt.Enter:v.preventDefault(),(x=(y=v.target).click)==null||x.call(y),o.closePopover(),(E=ee(o.button))==null||E.focus();break}}else switch(v.key){case gt.Space:case gt.Enter:v.preventDefault(),v.stopPropagation(),o.popoverState.value===1&&(a==null||a(o.buttonId.value)),o.togglePopover();break;case gt.Escape:if(o.popoverState.value!==0)return a==null?void 0:a(o.buttonId.value);if(!ee(o.button)||(P=s.value)!=null&&P.activeElement&&!((T=ee(o.button))!=null&&T.contains(s.value.activeElement)))return;v.preventDefault(),v.stopPropagation(),o.closePopover();break}}function h(v){c.value||v.key===gt.Space&&v.preventDefault()}function g(v){var y,x;e.disabled||(c.value?(o.closePopover(),(y=ee(o.button))==null||y.focus()):(v.preventDefault(),v.stopPropagation(),o.popoverState.value===1&&(a==null||a(o.buttonId.value)),o.togglePopover(),(x=ee(o.button))==null||x.focus()))}function m(v){v.preventDefault(),v.stopPropagation()}let w=Ql();function b(){let v=ee(o.panel);if(!v)return;function y(){tt(w.value,{[Et.Forwards]:()=>Ht(v,st.First),[Et.Backwards]:()=>Ht(v,st.Last)})===Bo.Error&&Ht(yi().filter(x=>x.dataset.headlessuiFocusGuard!=="true"),tt(w.value,{[Et.Forwards]:st.Next,[Et.Backwards]:st.Previous}),{relativeTo:ee(o.button)})}y()}return()=>{let v=o.popoverState.value===0,y={open:v},{id:x,...E}=e,P=c.value?{ref:u,type:d.value,onKeydown:p,onClick:g}:{ref:u,id:x,type:d.value,"aria-expanded":o.popoverState.value===0,"aria-controls":ee(o.panel)?o.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:p,onKeyup:h,onClick:g,onMousedown:m};return ye(ke,[dt({ourProps:P,theirProps:{...t,...E},slot:y,attrs:t,slots:n,name:"PopoverButton"}),v&&!c.value&&o.isPortalled.value&&ye(Nr,{id:f,features:mr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:b})])}}}),UC=re({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:()=>`headlessui-popover-panel-${Zt()}`}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let{focus:o}=e,s=Jl("PopoverPanel"),i=R(()=>wn(s.panel)),a=`headlessui-focus-sentinel-before-${Zt()}`,l=`headlessui-focus-sentinel-after-${Zt()}`;r({el:s.panel,$el:s.panel}),Le(()=>{s.panelId.value=e.id}),Xe(()=>{s.panelId.value=null}),ze(Fh,s.panelId),Qe(()=>{var m,w;if(!o||s.popoverState.value!==0||!s.panel)return;let b=(m=i.value)==null?void 0:m.activeElement;(w=ee(s.panel))!=null&&w.contains(b)||Ht(ee(s.panel),st.First)});let c=Yo(),u=R(()=>c!==null?(c.value&We.Open)===We.Open:s.popoverState.value===0);function f(m){var w,b;switch(m.key){case gt.Escape:if(s.popoverState.value!==0||!ee(s.panel)||i.value&&!((w=ee(s.panel))!=null&&w.contains(i.value.activeElement)))return;m.preventDefault(),m.stopPropagation(),s.closePopover(),(b=ee(s.button))==null||b.focus();break}}function d(m){var w,b,v,y,x;let E=m.relatedTarget;E&&ee(s.panel)&&((w=ee(s.panel))!=null&&w.contains(E)||(s.closePopover(),((v=(b=ee(s.beforePanelSentinel))==null?void 0:b.contains)!=null&&v.call(b,E)||(x=(y=ee(s.afterPanelSentinel))==null?void 0:y.contains)!=null&&x.call(y,E))&&E.focus({preventScroll:!0})))}let p=Ql();function h(){let m=ee(s.panel);if(!m)return;function w(){tt(p.value,{[Et.Forwards]:()=>{var b;Ht(m,st.First)===Bo.Error&&((b=ee(s.afterPanelSentinel))==null||b.focus())},[Et.Backwards]:()=>{var b;(b=ee(s.button))==null||b.focus({preventScroll:!0})}})}w()}function g(){let m=ee(s.panel);if(!m)return;function w(){tt(p.value,{[Et.Forwards]:()=>{let b=ee(s.button),v=ee(s.panel);if(!b)return;let y=yi(),x=y.indexOf(b),E=y.slice(0,x+1),P=[...y.slice(x+1),...E];for(let T of P.slice())if(T.dataset.headlessuiFocusGuard==="true"||v!=null&&v.contains(T)){let M=P.indexOf(T);M!==-1&&P.splice(M,1)}Ht(P,st.First,{sorted:!1})},[Et.Backwards]:()=>{var b;Ht(m,st.Previous)===Bo.Error&&((b=ee(s.button))==null||b.focus())}})}w()}return()=>{let m={open:s.popoverState.value===0,close:s.close},{id:w,focus:b,...v}=e,y={ref:s.panel,id:w,onKeydown:f,onFocusout:o&&s.popoverState.value===0?d:void 0,tabIndex:-1};return dt({ourProps:y,theirProps:{...t,...v},attrs:t,slot:m,slots:{...n,default:(...x)=>{var E;return[ye(ke,[u.value&&s.isPortalled.value&&ye(Nr,{id:a,ref:s.beforePanelSentinel,features:mr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:h}),(E=n.default)==null?void 0:E.call(n,...x),u.value&&s.isPortalled.value&&ye(Nr,{id:l,ref:s.afterPanelSentinel,features:mr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:g})])]}},features:zn.RenderStrategy|zn.Static,visible:u.value,name:"PopoverPanel"})}}});function zC(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function qi(e,...t){e&&t.length>0&&e.classList.add(...t)}function ws(e,...t){e&&t.length>0&&e.classList.remove(...t)}var Ka=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(Ka||{});function VC(e,t){let n=Zo();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[s,i]=[r,o].map(a=>{let[l=0]=a.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,u)=>u-c);return l});return s!==0?n.setTimeout(()=>t("finished"),s+i):t("finished"),n.add(()=>t("cancelled")),n.dispose}function vf(e,t,n,r,o,s){let i=Zo(),a=s!==void 0?zC(s):()=>{};return ws(e,...o),qi(e,...t,...n),i.nextFrame(()=>{ws(e,...n),qi(e,...r),i.add(VC(e,l=>(ws(e,...r,...t),qi(e,...o),a(l))))}),i.add(()=>ws(e,...t,...n,...r,...o)),i.add(()=>a("cancelled")),i.dispose}function Yn(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Zl=Symbol("TransitionContext");var WC=(e=>(e.Visible="visible",e.Hidden="hidden",e))(WC||{});function qC(){return Te(Zl,null)!==null}function KC(){let e=Te(Zl,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}function GC(){let e=Te(ec,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}let ec=Symbol("NestingContext");function bi(e){return"children"in e?bi(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function Uh(e){let t=F([]),n=F(!1);Le(()=>n.value=!0),Xe(()=>n.value=!1);function r(s,i=In.Hidden){let a=t.value.findIndex(({id:l})=>l===s);a!==-1&&(tt(i,{[In.Unmount](){t.value.splice(a,1)},[In.Hidden](){t.value[a].state="hidden"}}),!bi(t)&&n.value&&(e==null||e()))}function o(s){let i=t.value.find(({id:a})=>a===s);return i?i.state!=="visible"&&(i.state="visible"):t.value.push({id:s,state:"visible"}),()=>r(s,In.Unmount)}return{children:t,register:o,unregister:r}}let zh=zn.RenderStrategy,QC=re({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){let s=F(0);function i(){s.value|=We.Opening,t("beforeEnter")}function a(){s.value&=~We.Opening,t("afterEnter")}function l(){s.value|=We.Closing,t("beforeLeave")}function c(){s.value&=~We.Closing,t("afterLeave")}if(!qC()&&eC())return()=>ye(Vh,{...e,onBeforeEnter:i,onAfterEnter:a,onBeforeLeave:l,onAfterLeave:c},r);let u=F(null),f=R(()=>e.unmount?In.Unmount:In.Hidden);o({el:u,$el:u});let{show:d,appear:p}=KC(),{register:h,unregister:g}=GC(),m=F(d.value?"visible":"hidden"),w={value:!0},b=Zt(),v={value:!1},y=Uh(()=>{!v.value&&m.value!=="hidden"&&(m.value="hidden",g(b),c())});Le(()=>{let B=h(b);Xe(B)}),Qe(()=>{if(f.value===In.Hidden&&b){if(d.value&&m.value!=="visible"){m.value="visible";return}tt(m.value,{hidden:()=>g(b),visible:()=>h(b)})}});let x=Yn(e.enter),E=Yn(e.enterFrom),P=Yn(e.enterTo),T=Yn(e.entered),M=Yn(e.leave),L=Yn(e.leaveFrom),K=Yn(e.leaveTo);Le(()=>{Qe(()=>{if(m.value==="visible"){let B=ee(u);if(B instanceof Comment&&B.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function A(B){let he=w.value&&!p.value,fe=ee(u);!fe||!(fe instanceof HTMLElement)||he||(v.value=!0,d.value&&i(),d.value||l(),B(d.value?vf(fe,x,E,P,T,V=>{v.value=!1,V===Ka.Finished&&a()}):vf(fe,M,L,K,T,V=>{v.value=!1,V===Ka.Finished&&(bi(y)||(m.value="hidden",g(b),c()))})))}return Le(()=>{je([d],(B,he,fe)=>{A(fe),w.value=!1},{immediate:!0})}),ze(ec,y),ql(R(()=>tt(m.value,{visible:We.Open,hidden:We.Closed})|s.value)),()=>{let{appear:B,show:he,enter:fe,enterFrom:V,enterTo:W,entered:U,leave:_e,leaveFrom:Ie,leaveTo:De,...Ee}=e,bt={ref:u},at={...Ee,...p.value&&d.value&&Jo.isServer?{class:q([n.class,Ee.class,...x,...E])}:{}};return dt({theirProps:at,ourProps:bt,slot:{},slots:r,attrs:n,features:zh,visible:m.value==="visible",name:"TransitionChild"})}}}),XC=QC,Vh=re({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r}){let o=Yo(),s=R(()=>e.show===null&&o!==null?(o.value&We.Open)===We.Open:e.show);Qe(()=>{if(![!0,!1].includes(s.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let i=F(s.value?"visible":"hidden"),a=Uh(()=>{i.value="hidden"}),l=F(!0),c={show:s,appear:R(()=>e.appear||!l.value)};return Le(()=>{Qe(()=>{l.value=!1,s.value?i.value="visible":bi(a)||(i.value="hidden")})}),ze(ec,a),ze(Zl,c),()=>{let u=wh(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),f={unmount:e.unmount};return dt({ourProps:{...f,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[ye(XC,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...n,...f,...u},r.default)]},attrs:{},features:zh,visible:i.value==="visible",name:"Transition"})}}});const Ki=Wt(He.ui.strategy,He.ui.accordion,dE),YC=Wt(He.ui.strategy,He.ui.button,fh),JC=re({components:{HDisclosure:jC,HDisclosureButton:MC,HDisclosurePanel:DC,UIcon:yt,UButton:qt},inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},defaultOpen:{type:Boolean,default:!1},openIcon:{type:String,default:()=>Ki.default.openIcon},closeIcon:{type:String,default:()=>Ki.default.closeIcon},multiple:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=qe("accordion",we(e,"ui"),Ki,we(e,"class")),r=R(()=>YC),o=F([]);function s(u,f){!e.items[u].closeOthers&&e.multiple||o.value.forEach(d=>{d.open&&d.close(f.target)})}function i(u,f){const d=u;d.style.height="0",d.offsetHeight,d.style.height=d.scrollHeight+"px",d.addEventListener("transitionend",f,{once:!0})}function a(u){const f=u;f.style.height=f.scrollHeight+"px",f.offsetHeight}function l(u){const f=u;f.style.height="auto"}function c(u,f){const d=u;d.style.height="0",d.addEventListener("transitionend",f,{once:!0})}return{ui:t,uiButton:r,attrs:n,buttonRefs:o,closeOthers:s,omit:zp,onEnter:i,onBeforeLeave:a,onAfterEnter:l,onLeave:c}}});function ZC(e,t,n,r,o,s){const i=yt,a=qt,l=ar("HDisclosureButton"),c=ar("HDisclosurePanel"),u=ar("HDisclosure");return I(),ne("div",{class:q(e.ui.wrapper)},[(I(!0),ne(ke,null,vt(e.items,(f,d)=>(I(),ae(u,{key:d,"default-open":e.defaultOpen||f.defaultOpen},{default:le(({open:p,close:h})=>[Q(l,{ref_for:!0,ref:()=>e.buttonRefs[d]={open:p,close:h},as:"template",disabled:f.disabled,onClick:g=>e.closeOthers(d,g),onKeydown:[tu(g=>e.closeOthers(d,g),["enter"]),tu(g=>e.closeOthers(d,g),["space"])]},{default:le(()=>[me(e.$slots,"default",{item:f,index:d,open:p,close:h},()=>[Q(a,zo(Ko({...e.omit(e.ui.default,["openIcon","closeIcon"]),...e.attrs,...e.omit(f,["slot","disabled","content","defaultOpen"])})),{trailing:le(()=>[Q(i,{name:p&&e.closeIcon?e.closeIcon:e.openIcon,class:q([p&&!e.closeIcon?"-rotate-180":"",e.uiButton.icon.size[f.size||e.uiButton.default.size],e.ui.item.icon])},null,8,["name","class"])]),_:2},1040)])]),_:2},1032,["disabled","onClick","onKeydown"]),Q(Hn,ue(e.ui.transition,{onEnter:e.onEnter,onAfterEnter:e.onAfterEnter,onBeforeLeave:e.onBeforeLeave,onLeave:e.onLeave}),{default:le(()=>[_m(xe("div",null,[Q(c,{class:q([e.ui.item.base,e.ui.item.size,e.ui.item.color,e.ui.item.padding]),static:""},{default:le(()=>[me(e.$slots,f.slot||"item",{item:f,index:d,open:p,close:h},()=>[Je(Fe(f.content),1)])]),_:2},1032,["class"])],512),[[vv,p]])]),_:2},1040,["onEnter","onAfterEnter","onBeforeLeave","onLeave"])]),_:2},1032,["default-open"]))),128))],2)}const eS=Mt(JC,[["render",ZC]]),tS=re({inheritAttrs:!1,__name:"NavigationAccordion",props:{level:{type:Number,default:0},links:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},defaultOpen:{type:[Boolean,Number],default:void 0},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t=it(),n=R(()=>({wrapper:"w-full block",level:"border-l border-gray-200 dark:border-gray-800 -ml-px pl-px hover:border-gray-300 dark:hover:border-gray-700",button:{base:"flex items-center gap-1.5 group mb-3 w-full focus-visible:outline-primary",active:"text-primary border-current",inactive:"border-transparent",level:"border-l -ml-px pl-4",icon:{base:"w-5 h-5 flex-shrink-0"},trailingIcon:{name:t.ui.icons.chevron,base:"w-5 h-5 ms-auto transform transition-transform duration-200 flex-shrink-0 mr-1.5",active:"text-gray-700 dark:text-gray-200",inactive:"text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200 -rotate-90"},label:"text-sm/6 font-semibold truncate"},tree:"border-l border-gray-200 dark:border-gray-800"})),r=e,o=Un(),{ui:s,attrs:i}=qe("navigation.accordion",we(r,"ui"),n,we(r,"class"),!0),a=R(()=>{var l;return(l=r.links)==null?void 0:l.map(c=>{const u=!r.defaultOpen||typeof r.defaultOpen=="number"&&r.level{const u=yt,f=Wn,d=Wh,p=eS;return I(),ae(p,ue({key:C(o).path,items:C(a),multiple:e.multiple,ui:{wrapper:[C(s).wrapper,e.level>0&&C(s).level].filter(Boolean).join(" "),item:{padding:e.multiple?"p-0 mb-3 lg:mb-6":"p-0 mb-3",color:"text-inherit dark:text-inherit"}}},C(i)),ii({default:le(({item:h,open:g})=>[Q(f,{class:q([C(s).button.base,e.level>0&&C(s).button.level]),"active-class":C(s).button.active,"inactive-class":C(s).button.inactive},{default:le(()=>[h.icon?(I(),ae(u,{key:0,name:h.icon,class:q(C(s).button.icon.base)},null,8,["name","class"])):ge("",!0),xe("span",{class:q(C(s).button.label)},Fe(h.label),3),h.disabled?ge("",!0):(I(),ae(u,{key:1,name:C(s).button.trailingIcon.name,class:q([C(s).button.trailingIcon.base,g?C(s).button.trailingIcon.active:C(s).button.trailingIcon.inactive])},null,8,["name","class"]))]),_:2},1032,["class","active-class","inactive-class"])]),_:2},[vt(e.links,({label:h},g)=>({name:h.toLowerCase(),fn:le(({item:m})=>[Q(d,{links:m.children,level:e.level+1,"default-open":e.defaultOpen,multiple:e.multiple,style:mn({marginLeft:`${.5*(e.level+1)+.5*e.level}rem`}),class:q(C(s).tree)},null,8,["links","level","default-open","multiple","style","class"])])}))]),1040,["items","multiple","ui"])}}}),nS=re({inheritAttrs:!1,__name:"NavigationLinks",props:{level:{type:Number,default:0},links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"space-y-3",wrapperLevel:"space-y-1.5",base:"flex items-center gap-1.5 group",active:"text-primary font-medium border-current",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 border-transparent hover:border-gray-500 dark:hover:border-gray-400",level:"border-l -ml-px pl-4",icon:{base:"w-5 h-5 flex-shrink-0"},badge:{base:"rounded-full"},label:"text-sm/6 truncate"},n=e,{ui:r,attrs:o}=qe("navigation.links",we(n,"ui"),t,we(n,"class"),!0);return(s,i)=>{var u;const a=yt,l=dh,c=Wn;return(u=e.links)!=null&&u.length?(I(),ne("div",ue({key:0,class:e.level>0?C(r).wrapperLevel:C(r).wrapper},C(o)),[(I(!0),ne(ke,null,vt(e.links,(f,d)=>(I(),ae(c,ue({key:d},C(Dr)(f),{class:[C(r).base,e.level>0&&C(r).level],"active-class":C(r).active,"inactive-class":C(r).inactive,onClick:f.click}),{default:le(()=>[f.icon?(I(),ae(a,{key:0,name:f.icon,class:q(C(It)(C(r).icon.base,f.iconClass))},null,8,["name","class"])):ge("",!0),xe("span",{class:q(C(r).label)},Fe(f.label),3),me(s.$slots,"badge",{link:f},()=>[f.badge?(I(),ae(l,ue({key:0},typeof f.badge=="string"?{size:"xs",variant:"subtle",label:f.badge}:{size:"xs",variant:"subtle",...f.badge},{class:C(r).badge.base}),null,16,["class"])):ge("",!0)])]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):ge("",!0)}}}),Wh=re({inheritAttrs:!1,__name:"NavigationTree",props:{level:{type:Number,default:0},links:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},defaultOpen:{type:[Boolean,Number],default:void 0},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"space-y-3"},n=e,{ui:r,attrs:o}=qe("navigation.tree",we(n,"ui"),t,we(n,"class"),!0),s=R(()=>{var l;const i=[];let a={type:void 0,children:[]};for(const c of n.links){const u=(l=c.children)!=null&&l.length?"accordion":"link";a.type||(a.type=u),a.type===u?a.children.push(c):(i.push(a),a={type:u,children:[c]})}return a.children.length&&i.push(a),i});return(i,a)=>{var u;const l=tS,c=nS;return(u=C(s))!=null&&u.length?(I(),ne("nav",ue({key:0,class:C(r).wrapper},C(o)),[(I(!0),ne(ke,null,vt(C(s),(f,d)=>(I(),ne(ke,{key:d},[f.type==="accordion"?(I(),ae(l,{key:0,links:f.children,level:e.level,multiple:e.multiple,"default-open":e.defaultOpen},null,8,["links","level","multiple","default-open"])):(I(),ae(c,{key:1,links:f.children,level:e.level},null,8,["links","level"]))],64))),128))],16)):ge("",!0)}}}),rS=re({inheritAttrs:!1,__name:"HeaderPopoverLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t=it(),n=R(()=>({wrapper:"p-2 space-y-1",base:"block px-2 py-1.5 rounded-md flex items-start gap-1.5",active:"bg-gray-100/50 dark:bg-gray-800/50 text-primary",inactive:"hover:bg-gray-100/50 dark:hover:bg-gray-800/50",label:"font-semibold text-sm/6 inline-block relative",description:"text-sm leading-snug text-gray-500 dark:text-gray-400 line-clamp-2",icon:{base:"w-4 h-4 flex-shrink-0 mt-1"},externalIcon:{name:t.ui.icons.external,base:"w-3 h-3 absolute top-0.5 -right-3.5 text-gray-400 dark:text-gray-500"}})),r=e,{ui:o,attrs:s}=qe("header.popover.links",we(r,"ui"),n,we(r,"class"),!0);return(i,a)=>{var u;const l=yt,c=Wn;return(u=e.links)!=null&&u.length?(I(),ne("div",ue({key:0,class:C(o).wrapper},C(s)),[(I(!0),ne(ke,null,vt(e.links,(f,d)=>(I(),ae(c,ue({key:d},C(Dr)(f),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:f.click}),{default:le(()=>[f.icon?(I(),ae(l,{key:0,name:f.icon,class:q(C(It)(C(o).icon.base,f.iconClass))},null,8,["name","class"])):ge("",!0),xe("p",{class:q([f.target==="_blank"&&"pr-3"])},[xe("span",{class:q(C(o).label)},[Je(Fe(f.label)+" ",1),f.target==="_blank"?(I(),ae(l,{key:0,name:C(o).externalIcon.name,class:q(C(o).externalIcon.base)},null,8,["name","class"])):ge("",!0)],2),f.description?(I(),ne("span",{key:0,class:q(C(o).description)},Fe(f.description),3)):ge("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):ge("",!0)}}});function Pt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function vr(e){var t=Pt(e).Element;return e instanceof t||e instanceof Element}function Rt(e){var t=Pt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tc(e){if(typeof ShadowRoot>"u")return!1;var t=Pt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ur=Math.max,Gs=Math.min,Br=Math.round;function Ga(){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 qh(){return!/^((?!chrome|android).)*safari/i.test(Ga())}function Fr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&Rt(e)&&(o=e.offsetWidth>0&&Br(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Br(r.height)/e.offsetHeight||1);var i=vr(e)?Pt(e):window,a=i.visualViewport,l=!qh()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/o,d=r.height/s;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function nc(e){var t=Pt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function oS(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sS(e){return e===Pt(e)||!Rt(e)?nc(e):oS(e)}function on(e){return e?(e.nodeName||"").toLowerCase():null}function qn(e){return((vr(e)?e.ownerDocument:e.document)||window.document).documentElement}function rc(e){return Fr(qn(e)).left+nc(e).scrollLeft}function vn(e){return Pt(e).getComputedStyle(e)}function oc(e){var t=vn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function iS(e){var t=e.getBoundingClientRect(),n=Br(t.width)/e.offsetWidth||1,r=Br(t.height)/e.offsetHeight||1;return n!==1||r!==1}function aS(e,t,n){n===void 0&&(n=!1);var r=Rt(t),o=Rt(t)&&iS(t),s=qn(t),i=Fr(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((on(t)!=="body"||oc(s))&&(a=sS(t)),Rt(t)?(l=Fr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=rc(s))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function sc(e){var t=Fr(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 wi(e){return on(e)==="html"?e:e.assignedSlot||e.parentNode||(tc(e)?e.host:null)||qn(e)}function Kh(e){return["html","body","#document"].indexOf(on(e))>=0?e.ownerDocument.body:Rt(e)&&oc(e)?e:Kh(wi(e))}function ko(e,t){var n;t===void 0&&(t=[]);var r=Kh(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Pt(r),i=o?[s].concat(s.visualViewport||[],oc(r)?r:[]):r,a=t.concat(i);return o?a:a.concat(ko(wi(i)))}function lS(e){return["table","td","th"].indexOf(on(e))>=0}function yf(e){return!Rt(e)||vn(e).position==="fixed"?null:e.offsetParent}function cS(e){var t=/firefox/i.test(Ga()),n=/Trident/i.test(Ga());if(n&&Rt(e)){var r=vn(e);if(r.position==="fixed")return null}var o=wi(e);for(tc(o)&&(o=o.host);Rt(o)&&["html","body"].indexOf(on(o))<0;){var s=vn(o);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 o;o=o.parentNode}return null}function es(e){for(var t=Pt(e),n=yf(e);n&&lS(n)&&vn(n).position==="static";)n=yf(n);return n&&(on(n)==="html"||on(n)==="body"&&vn(n).position==="static")?t:n||cS(e)||t}var Ct="top",zt="bottom",Vt="right",St="left",ic="auto",ts=[Ct,zt,Vt,St],Hr="start",Fo="end",uS="clippingParents",Gh="viewport",io="popper",fS="reference",bf=ts.reduce(function(e,t){return e.concat([t+"-"+Hr,t+"-"+Fo])},[]),Qh=[].concat(ts,[ic]).reduce(function(e,t){return e.concat([t,t+"-"+Hr,t+"-"+Fo])},[]),dS="beforeRead",pS="read",hS="afterRead",gS="beforeMain",mS="main",vS="afterMain",yS="beforeWrite",bS="write",wS="afterWrite",_S=[dS,pS,hS,gS,mS,vS,yS,bS,wS];function xS(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&o(l)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function kS(e){var t=xS(e);return _S.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function ES(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function CS(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}function SS(e,t){var n=Pt(e),r=qn(e),o=n.visualViewport,s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;var c=qh();(c||!c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a+rc(e),y:l}}function PS(e){var t,n=qn(e),r=nc(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=ur(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=ur(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+rc(e),l=-r.scrollTop;return vn(o||n).direction==="rtl"&&(a+=ur(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:i,x:a,y:l}}function Xh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&tc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Qa(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function TS(e,t){var n=Fr(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 wf(e,t,n){return t===Gh?Qa(SS(e,n)):vr(t)?TS(t,n):Qa(PS(qn(e)))}function AS(e){var t=ko(wi(e)),n=["absolute","fixed"].indexOf(vn(e).position)>=0,r=n&&Rt(e)?es(e):e;return vr(r)?t.filter(function(o){return vr(o)&&Xh(o,r)&&on(o)!=="body"}):[]}function OS(e,t,n,r){var o=t==="clippingParents"?AS(e):[].concat(t),s=[].concat(o,[n]),i=s[0],a=s.reduce(function(l,c){var u=wf(e,c,r);return l.top=ur(u.top,l.top),l.right=Gs(u.right,l.right),l.bottom=Gs(u.bottom,l.bottom),l.left=ur(u.left,l.left),l},wf(e,i,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function en(e){return e.split("-")[0]}function Ur(e){return e.split("-")[1]}function ac(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Yh(e){var t=e.reference,n=e.element,r=e.placement,o=r?en(r):null,s=r?Ur(r):null,i=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(o){case Ct:l={x:i,y:t.y-n.height};break;case zt:l={x:i,y:t.y+t.height};break;case Vt:l={x:t.x+t.width,y:a};break;case St:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=o?ac(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Hr:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Fo:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function Jh(){return{top:0,right:0,bottom:0,left:0}}function Zh(e){return Object.assign({},Jh(),e)}function eg(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}function lc(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,i=s===void 0?e.strategy:s,a=n.boundary,l=a===void 0?uS:a,c=n.rootBoundary,u=c===void 0?Gh:c,f=n.elementContext,d=f===void 0?io:f,p=n.altBoundary,h=p===void 0?!1:p,g=n.padding,m=g===void 0?0:g,w=Zh(typeof m!="number"?m:eg(m,ts)),b=d===io?fS:io,v=e.rects.popper,y=e.elements[h?b:d],x=OS(vr(y)?y:y.contextElement||qn(e.elements.popper),l,u,i),E=Fr(e.elements.reference),P=Yh({reference:E,element:v,strategy:"absolute",placement:o}),T=Qa(Object.assign({},v,P)),M=d===io?T:E,L={top:x.top-M.top+w.top,bottom:M.bottom-x.bottom+w.bottom,left:x.left-M.left+w.left,right:M.right-x.right+w.right},K=e.modifiersData.offset;if(d===io&&K){var A=K[o];Object.keys(L).forEach(function(B){var he=[Vt,zt].indexOf(B)>=0?1:-1,fe=[Ct,zt].indexOf(B)>=0?"y":"x";L[B]+=A[fe]*he})}return L}var _f={placement:"bottom",modifiers:[],strategy:"absolute"};function xf(){for(var e=arguments.length,t=new Array(e),n=0;n=0});d.length===0&&(d=f);var p=d.reduce(function(h,g){return h[g]=lc(e,{placement:g,boundary:o,rootBoundary:s,padding:i})[en(g)],h},{});return Object.keys(p).sort(function(h,g){return p[h]-p[g]})}function WS(e){if(en(e)===ic)return[];var t=$s(e);return[Ef(e),t,Ef(t)]}function qS(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,g=n.allowedAutoPlacements,m=t.options.placement,w=en(m),b=w===m,v=l||(b||!h?[$s(m)]:WS(m)),y=[m].concat(v).reduce(function(at,wt){return at.concat(en(wt)===ic?VS(t,{placement:wt,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:g}):wt)},[]),x=t.rects.reference,E=t.rects.popper,P=new Map,T=!0,M=y[0],L=0;L=0,fe=he?"width":"height",V=lc(t,{placement:K,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),W=he?B?Vt:St:B?zt:Ct;x[fe]>E[fe]&&(W=$s(W));var U=$s(W),_e=[];if(s&&_e.push(V[A]<=0),a&&_e.push(V[W]<=0,V[U]<=0),_e.every(function(at){return at})){M=K,T=!1;break}P.set(K,_e)}if(T)for(var Ie=h?3:1,De=function(wt){var Ve=y.find(function($){var Y=P.get($);if(Y)return Y.slice(0,wt).every(function(G){return G})});if(Ve)return M=Ve,"break"},Ee=Ie;Ee>0;Ee--){var bt=De(Ee);if(bt==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const KS={name:"flip",enabled:!0,phase:"main",fn:qS,requiresIfExists:["offset"],data:{_skip:!1}};function GS(e,t,n){var r=en(e),o=[St,Ct].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=s[0],a=s[1];return i=i||0,a=(a||0)*o,[St,Vt].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function QS(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,i=Qh.reduce(function(u,f){return u[f]=GS(f,t.rects,s),u},{}),a=i[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}const XS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:QS};function YS(e){return e==="x"?"y":"x"}function Eo(e,t,n){return ur(e,Gs(t,n))}function JS(e,t,n){var r=Eo(e,t,n);return r>n?n:r}function ZS(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=d===void 0?!0:d,h=n.tetherOffset,g=h===void 0?0:h,m=lc(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),w=en(t.placement),b=Ur(t.placement),v=!b,y=ac(w),x=YS(y),E=t.modifiersData.popperOffsets,P=t.rects.reference,T=t.rects.popper,M=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,L=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),K=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(E){if(s){var B,he=y==="y"?Ct:St,fe=y==="y"?zt:Vt,V=y==="y"?"height":"width",W=E[y],U=W+m[he],_e=W-m[fe],Ie=p?-T[V]/2:0,De=b===Hr?P[V]:T[V],Ee=b===Hr?-T[V]:-P[V],bt=t.elements.arrow,at=p&&bt?sc(bt):{width:0,height:0},wt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Jh(),Ve=wt[he],$=wt[fe],Y=Eo(0,P[V],at[V]),G=v?P[V]/2-Ie-Y-Ve-L.mainAxis:De-Y-Ve-L.mainAxis,oe=v?-P[V]/2+Ie+Y+$+L.mainAxis:Ee+Y+$+L.mainAxis,Ce=t.elements.arrow&&es(t.elements.arrow),_=Ce?y==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,k=(B=K==null?void 0:K[y])!=null?B:0,S=W+G-k-_,O=W+oe-k,j=Eo(p?Gs(U,S):U,W,p?ur(_e,O):_e);E[y]=j,A[y]=j-W}if(a){var D,J=y==="x"?Ct:St,H=y==="x"?zt:Vt,z=E[x],N=x==="y"?"height":"width",ie=z+m[J],te=z-m[H],se=[Ct,St].indexOf(w)!==-1,pe=(D=K==null?void 0:K[x])!=null?D:0,be=se?ie:z-P[N]-T[N]-pe+L.altAxis,$e=se?z+P[N]+T[N]-pe-L.altAxis:te,Oe=p&&se?JS(be,z,$e):Eo(p?be:ie,z,p?$e:te);E[x]=Oe,A[x]=Oe-z}t.modifiersData[r]=A}}const eP={name:"preventOverflow",enabled:!0,phase:"main",fn:ZS,requiresIfExists:["offset"]};var tP=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Zh(typeof t!="number"?t:eg(t,ts))};function nP(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,i=n.modifiersData.popperOffsets,a=en(n.placement),l=ac(a),c=[St,Vt].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!i)){var f=tP(o.padding,n),d=sc(s),p=l==="y"?Ct:St,h=l==="y"?zt:Vt,g=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],m=i[l]-n.rects.reference[l],w=es(s),b=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,v=g/2-m/2,y=f[p],x=b-d[u]-f[h],E=b/2-d[u]/2+v,P=Eo(y,E,x),T=l;n.modifiersData[r]=(t={},t[T]=P,t.centerOffset=P-E,t)}}function rP(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Xh(t.elements.popper,o)&&(t.elements.arrow=o))}const oP={name:"arrow",enabled:!0,phase:"main",fn:nP,effect:rP,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},sP=$S({defaultModifiers:[...HS,XS,KS,eP,ng,tg,oP]});function iP({locked:e=!1,overflowPadding:t=8,offsetDistance:n=8,offsetSkid:r=0,gpuAcceleration:o=!0,adaptive:s=!0,scroll:i=!0,resize:a=!0,arrow:l=!1,placement:c,strategy:u},f){const d=F(null),p=F(null),h=F(null);return Le(()=>{Qe(g=>{if(!p.value||!d.value&&!(f!=null&&f.value))return;const m=Ua(p),w=(f==null?void 0:f.value)||Ua(d);if(!(m instanceof HTMLElement)||!w)return;const b={modifiers:[{name:"flip",enabled:!e},{name:"preventOverflow",options:{padding:t}},{name:"offset",options:{offset:[r,n]}},{name:"computeStyles",options:{adaptive:s,gpuAcceleration:o}},{name:"eventListeners",options:{scroll:i,resize:a}},{name:"arrow",enabled:l}]};c&&(b.placement=c),u&&(b.strategy=u),h.value=sP(w,m,b),g(h.value.destroy)})}),[d,p,h]}const aP=Wt(He.ui.strategy,He.ui.popover,gE),lP=re({components:{HPopover:Hh,HPopoverButton:HC,HPopoverPanel:UC},inheritAttrs:!1,props:{mode:{type:String,default:"click",validator:e=>["click","hover"].includes(e)},open:{type:Boolean,default:void 0},disabled:{type:Boolean,default:!1},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},overlay:{type:Boolean,default:!1},popper:{type:Object,default:()=>({})},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:open"],setup(e,{emit:t}){const{ui:n,attrs:r}=qe("popover",we(e,"ui"),aP,we(e,"class")),o=R(()=>ci(e.mode==="hover"?{offsetDistance:0}:{},e.popper,n.value.popper)),[s,i]=iP(o.value),a=F(null),l=F(null);let c=null,u=null;Le(()=>{var m,w;const h=(m=a.value)==null?void 0:m.$.provides;if(!h)return;const g=Object.getOwnPropertySymbols(h);l.value=g.length&&h[g[0]],e.open&&((w=l.value)==null||w.togglePopover())});const f=R(()=>{var w,b,v;if(e.mode!=="hover")return{};const h=((w=e.popper)==null?void 0:w.offsetDistance)||((b=n.value.popper)==null?void 0:b.offsetDistance)||8,g=(v=o.value.placement)==null?void 0:v.split("-")[0],m=`${h}px`;return g==="top"||g==="bottom"?{paddingTop:m,paddingBottom:m}:g==="left"||g==="right"?{paddingLeft:m,paddingRight:m}:{paddingTop:m,paddingBottom:m,paddingLeft:m,paddingRight:m}});function d(){e.mode!=="hover"||!l.value||(u&&(clearTimeout(u),u=null),l.value.popoverState!==0&&(c=c||setTimeout(()=>{l.value.togglePopover&&l.value.togglePopover(),c=null},e.openDelay)))}function p(){e.mode!=="hover"||!l.value||(c&&(clearTimeout(c),c=null),l.value.popoverState!==1&&(u=u||setTimeout(()=>{l.value.closePopover&&l.value.closePopover(),u=null},e.closeDelay)))}return je(()=>e.open,(h,g)=>{l.value&&(g===void 0||h===g||(h?l.value.popoverState=0:l.value.closePopover()))}),je(()=>{var h;return(h=l.value)==null?void 0:h.popoverState},(h,g)=>{g===void 0||h===g||t("update:open",h===0)}),{ui:n,attrs:r,popover:a,popper:o,trigger:s,container:i,containerStyle:f,onMouseOver:d,onMouseLeave:p}}}),cP=["disabled"];function uP(e,t,n,r,o,s){const i=ar("HPopoverButton"),a=ar("HPopoverPanel"),l=ar("HPopover");return I(),ae(l,ue({ref:"popover",class:e.ui.wrapper},e.attrs,{onMouseleave:e.onMouseLeave}),{default:le(({open:c,close:u})=>[Q(i,{ref:"trigger",as:"div",disabled:e.disabled,class:q(e.ui.trigger),role:"button",onMouseover:e.onMouseOver},{default:le(()=>[me(e.$slots,"default",{open:c,close:u},()=>[xe("button",{disabled:e.disabled}," Open ",8,cP)])]),_:2},1032,["disabled","class","onMouseover"]),e.overlay?(I(),ae(Hn,ue({key:0,appear:""},e.ui.overlay.transition),{default:le(()=>[c?(I(),ne("div",{key:0,class:q([e.ui.overlay.base,e.ui.overlay.background])},null,2)):ge("",!0)]),_:2},1040)):ge("",!0),c?(I(),ne("div",{key:1,ref:"container",class:q([e.ui.container,e.ui.width]),style:mn(e.containerStyle),onMouseover:t[0]||(t[0]=(...f)=>e.onMouseOver&&e.onMouseOver(...f))},[Q(Hn,ue({appear:""},e.ui.transition),{default:le(()=>[xe("div",null,[e.popper.arrow?(I(),ne("div",{key:0,"data-popper-arrow":"",class:q(Object.values(e.ui.arrow))},null,2)):ge("",!0),Q(a,{class:q([e.ui.base,e.ui.background,e.ui.ring,e.ui.rounded,e.ui.shadow]),static:""},{default:le(()=>[me(e.$slots,"panel",{open:c,close:u})]),_:2},1032,["class"])])]),_:2},1040)],38)):ge("",!0)]),_:3},16,["class","onMouseleave"])}const fP=Mt(lP,[["render",uP]]),dP=re({inheritAttrs:!1,__name:"HeaderLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t=it(),n=R(()=>({wrapper:"flex items-center gap-x-8",base:"text-sm/6 font-semibold flex items-center gap-1",active:"text-primary",inactive:"hover:text-primary",trailingIcon:{name:t.ui.icons.chevron,base:"w-5 h-5 transform transition-transform duration-200 flex-shrink-0",active:"rotate-180",inactive:""},externalIcon:{name:t.ui.icons.external,base:"w-3 h-3 absolute top-0.5 -right-3.5 text-gray-400 dark:text-gray-500"},popover:{mode:"hover",openDelay:0,ui:{width:"max-w-[16rem]"}}})),r=e,{ui:o,attrs:s}=qe("header.links",we(r,"ui"),n,we(r,"class"),!0);return(i,a)=>{var d;const l=yt,c=Wn,u=rS,f=fP;return(d=e.links)!=null&&d.length?(I(),ne("ul",ue({key:0,class:C(o).wrapper},C(s)),[(I(!0),ne(ke,null,vt(e.links,(p,h)=>{var g;return I(),ne("li",{key:h,class:"relative"},[(g=p.children)!=null&&g.length?(I(),ae(f,zo(ue({key:0},C(o).popover)),{default:le(({open:m})=>[Q(c,ue(C(Dr)(p),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:p.click}),{default:le(()=>[me(i.$slots,"label",{link:p},()=>[Je(Fe(p.label),1)]),Q(l,{name:C(o).trailingIcon.name,class:q([C(o).trailingIcon.base,m?C(o).trailingIcon.active:C(o).trailingIcon.inactive])},null,8,["name","class"])]),_:2},1040,["class","active-class","inactive-class","onClick"])]),panel:le(({close:m})=>[me(i.$slots,"panel",{link:p,close:m},()=>[Q(u,{links:p.children,onClick:m},null,8,["links","onClick"])])]),_:2},1040)):(I(),ae(c,ue({key:1},C(Dr)(p),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:p.click}),{default:le(()=>[me(i.$slots,"label",{link:p},()=>[Je(Fe(p.label),1)]),p.target==="_blank"?(I(),ae(l,{key:0,name:C(o).externalIcon.name,class:q(C(o).externalIcon.base)},null,8,["name","class"])):ge("",!0)]),_:2},1040,["class","active-class","inactive-class","onClick"]))])}),128))],16)):ge("",!0)}}}),pP=Wt(He.ui.strategy,He.ui.container,hE),hP=re({inheritAttrs:!1,props:{as:{type:String,default:"div"},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=qe("container",we(e,"ui"),pP),r=R(()=>It(ut(t.value.base,t.value.padding,t.value.constrained),e.class));return{ui:t,attrs:n,containerClass:r}}});function gP(e,t,n,r,o,s){return I(),ae(Or(e.as),ue({class:e.containerClass},e.attrs),{default:le(()=>[me(e.$slots,"default")]),_:3},16,["class"])}const cc=Mt(hP,[["render",gP]]),mP=re({inheritAttrs:!1,__name:"AsideLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t=it(),n=R(()=>({wrapper:"space-y-3 mb-3 lg:mb-6 -mx-1 lg:mx-0",base:"flex items-center gap-1.5 lg:gap-2 group",active:"text-primary font-semibold",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 font-medium",icon:{wrapper:"rounded-md p-1 inline-flex ring-inset ring-1",base:"w-4 h-4 flex-shrink-0",active:"bg-primary ring-primary text-background",inactive:"bg-gray-100/50 dark:bg-gray-800/50 ring-gray-300 dark:ring-gray-700 group-hover:bg-primary group-hover:ring-primary group-hover:text-background"},externalIcon:{name:t.ui.icons.external,base:"w-3 h-3 absolute top-0.5 -right-3.5 text-gray-400 dark:text-gray-500"},label:"text-sm/6 relative"})),r=e,{ui:o,attrs:s}=qe("aside.links",we(r,"ui"),n,we(r,"class"),!0);return(i,a)=>{var u;const l=yt,c=Wn;return(u=e.links)!=null&&u.length?(I(),ne("div",ue({key:0,class:C(o).wrapper},C(s)),[(I(!0),ne(ke,null,vt(e.links,(f,d)=>(I(),ae(c,ue({key:d},C(Dr)(f),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:f.click}),{default:le(({isActive:p})=>[f.icon?(I(),ne("div",{key:0,class:q([C(o).icon.wrapper,f.active||p?C(o).icon.active:C(o).icon.inactive])},[Q(l,{name:f.icon,class:q(C(It)(C(o).icon.base,f.iconClass))},null,8,["name","class"])],2)):ge("",!0),xe("span",{class:q(C(o).label)},[Je(Fe(f.label)+" ",1),f.target==="_blank"?(I(),ae(l,{key:0,name:C(o).externalIcon.name,class:q(C(o).externalIcon.base)},null,8,["name","class"])):ge("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):ge("",!0)}}}),Xa=e=>e.map(t=>{if(!t.children||typeof t.children=="string")return t.children||"";if(Array.isArray(t.children))return Xa(t.children);if(t.children.default)return Xa(t.children.default())}).join(""),vP=re({inheritAttrs:!1,__name:"Header",props:{to:{type:String,default:"/"},title:{type:String,default:void 0},links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"bg-background/75 backdrop-blur border-b border-gray-200 dark:border-gray-800 -mb-px sticky top-0 z-50",container:"flex items-center justify-between gap-3 h-[--header-height]",left:"lg:flex-1 flex items-center gap-1.5",center:"hidden lg:flex",right:"flex items-center justify-end lg:flex-1 gap-1.5",logo:"flex-shrink-0 font-bold text-xl text-gray-900 dark:text-white flex items-end gap-1.5",panel:{wrapper:"fixed inset-0 z-50 overflow-y-auto bg-background lg:hidden",header:"px-4 sm:px-6",body:"px-4 sm:px-6 pt-3 pb-6"},button:{base:"lg:hidden",icon:{open:"i-heroicons-bars-3",close:"i-heroicons-x-mark-20-solid"}}},n=e,r=Un(),o=vd(),{isHeaderDialogOpen:s}=mh(),{ui:i,attrs:a}=qe("header",we(n,"ui"),t,we(n,"class"),!0),l=R(()=>(n.title||o.title&&Xa(o.title())||"Logo").trim());return je(()=>r.fullPath,()=>{s.value=!1}),(c,u)=>{const f=ch,d=dP,p=qt,h=cc,g=mP;return I(),ne("header",ue({class:C(i).wrapper},C(a)),[me(c.$slots,"top"),Q(h,{class:q(C(i).container)},{default:le(()=>[xe("div",{class:q(C(i).left)},[me(c.$slots,"left",{},()=>[Q(f,{to:e.to,"aria-label":C(l),class:q(C(i).logo)},{default:le(()=>[me(c.$slots,"logo",{},()=>[Je(Fe(e.title||"Nuxt UI Pro"),1)])]),_:3},8,["to","aria-label","class"])])],2),me(c.$slots,"center",{},()=>[Q(d,{links:e.links,class:q(C(i).center)},null,8,["links","class"])]),xe("div",{class:q(C(i).right)},[me(c.$slots,"right"),me(c.$slots,"panel-button",{open:C(s)},()=>{var m,w;return[e.links.length||c.$slots.panel?(I(),ae(p,ue({key:0,class:C(i).button.base},(w=(m=c.$ui)==null?void 0:m.button)==null?void 0:w.secondary,{"aria-label":`${C(s)?"Close":"Open"} Menu`,icon:C(s)?C(i).button.icon.close:C(i).button.icon.open,onClick:u[0]||(u[0]=b=>s.value=!C(s))}),null,16,["class","aria-label","icon"])):ge("",!0)]})],2)]),_:3},8,["class"]),me(c.$slots,"bottom"),Q(C(Vh),{show:C(s),as:"template"},{default:le(()=>[Q(C($C),{as:"div",onClose:u[2]||(u[2]=m=>s.value=!1)},{default:le(()=>[Q(C(RC),{class:q(C(i).panel.wrapper)},{default:le(()=>[xe("div",{class:q([C(i).panel.header,C(i).wrapper])},[xe("div",{class:q(C(i).container)},[xe("div",{class:q(C(i).left)},[me(c.$slots,"left",{},()=>[Q(f,{to:e.to,"aria-label":C(l),class:q(C(i).logo)},{default:le(()=>[me(c.$slots,"logo",{},()=>[Je(Fe(e.title||"Nuxt UI Pro"),1)])]),_:3},8,["to","aria-label","class"])])],2),me(c.$slots,"center"),xe("div",{class:q(C(i).right)},[me(c.$slots,"right"),me(c.$slots,"panel-button",{open:C(s)},()=>{var m,w;return[Q(p,ue({class:C(i).button.base},(w=(m=c.$ui)==null?void 0:m.button)==null?void 0:w.secondary,{"aria-label":`${C(s)?"Close":"Open"} Menu`,icon:C(s)?C(i).button.icon.close:C(i).button.icon.open,onClick:u[1]||(u[1]=b=>s.value=!C(s))}),null,16,["class","aria-label","icon"])]})],2)],2)],2),xe("div",{class:q(C(i).panel.body)},[me(c.$slots,"panel",{},()=>[Q(g,{links:e.links},null,8,["links"])])],2)]),_:3},8,["class"])]),_:3})]),_:3},8,["show"])],16)}}}),yP=/\d/,bP=["-","_","/","."];function wP(e=""){if(!yP.test(e))return e!==e.toLowerCase()}function uc(e,t){const n=t??bP,r=[];if(!e||typeof e!="string")return r;let o="",s,i;for(const a of e){const l=n.includes(a);if(l===!0){r.push(o),o="",s=void 0;continue}const c=wP(a);if(i===!1){if(s===!1&&c===!0){r.push(o),o=a,s=c;continue}if(s===!0&&c===!1&&o.length>1){const u=o.at(-1);r.push(o.slice(0,Math.max(0,o.length-1))),o=u+a,s=c;continue}}o+=a,s=c,i=l}return r.push(o),r}function rg(e){return e?e[0].toUpperCase()+e.slice(1):""}function bT(e,t){return e?(Array.isArray(e)?e:uc(e)).map(n=>rg(t!=null&&t.normalize?n.toLowerCase():n)).join(""):""}function wT(e,t){return e?(Array.isArray(e)?e:uc(e)).map(n=>n.toLowerCase()).join(t??"-"):""}const _P={title:"label",_path:"to"};function og(e,t){return e.map(n=>{var o;const r={};for(const s in n){if(s==="children"){r.children=(o=n.children)!=null&&o.length?og(n.children):void 0;continue}n[s]&&(r[_P[s]||s]=n[s])}return r})}function _T(e){var t;return(t=e._dir)!=null&&t.title?e._dir.title:uc(e._dir).map(n=>rg(n)).join(" ")}function xP(e,t){return!e||!t?[]:e.reduce((n,r)=>{var o;return(o=t._path)!=null&&o.startsWith(r._path)&&r.children&&(n.push(r),n.push(...xP(r.children,t))),n},[])}const kP=""+globalThis.__publicAssetsURL("favicon.ico"),EP={class:"hidden sm:block"},CP=xe("img",{class:"block sm:hidden h-6 w-auto",src:kP,alt:"mobile favicon"},null,-1),sg=re({__name:"Header",setup(e){const t=Te("navigation",[]),{header:n}=it();return(r,o)=>{var d;const s=xE,i=dh,a=GE,l=vh,c=qt,u=Wh,f=vP;return I(),ae(f,null,ii({logo:le(()=>{var p,h,g,m,w;return[(h=(p=C(n))==null?void 0:p.logo)!=null&&h.dark||(m=(g=C(n))==null?void 0:g.logo)!=null&&m.light?(I(),ne(ke,{key:0},[xe("div",EP,[Q(s,zo(Ko({class:"h-6 w-auto",...(w=C(n))==null?void 0:w.logo})),null,16)]),CP],64)):(I(),ne(ke,{key:1},[Je(" Nuxt UI Pro "),Q(i,{label:"Docs",variant:"subtle",class:"mb-0.5"})],64))]}),right:le(()=>{var p,h,g;return[(p=C(n))!=null&&p.search?(I(),ae(a,{key:0,label:null,class:"lg:hidden"})):ge("",!0),(h=C(n))!=null&&h.colorMode?(I(),ae(l,{key:1})):ge("",!0),(g=C(n))!=null&&g.links?(I(!0),ne(ke,{key:2},vt(C(n).links,(m,w)=>(I(),ae(c,ue({key:w},{color:"gray",variant:"ghost",...m}),null,16))),128)):ge("",!0)]}),panel:le(()=>[Q(u,{links:("mapContentNavigation"in r?r.mapContentNavigation:C(og))(C(t))},null,8,["links"])]),_:2},[(d=C(n))!=null&&d.search?{name:"center",fn:le(()=>[Q(a,{class:"hidden lg:flex"})]),key:"0"}:void 0]),1024)}}}),SP=re({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return ze(Kr,Vo(r)),()=>ye(e.vnode,{ref:e.vnodeRef})}}),PP=re({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=Ae(),o=F(),s=Te(Kr,null);let i;n({pageRef:o});const a=Te(yp,null);let l;const c=r.deferHydration();return e.pageKey&&je(()=>e.pageKey,(u,f)=>{u!==f&&r.callHook("page:loading:start")}),()=>ye(Mp,{name:e.name,route:e.route,...t},{default:u=>{const f=AP(s,u.route,u.Component),d=s&&s.matched.length===u.route.matched.length;if(!u.Component){if(l&&!d)return l;c();return}if(l&&a&&!a.isCurrent(u.route))return l;if(f&&s&&(!a||a!=null&&a.isCurrent(s)))return d?l:null;const p=Aa(u,e.pageKey);!r.isHydrating&&!OP(s,u.route,u.Component)&&i===p&&r.callHook("page:loading:end"),i=p;const h=!!(e.transition??u.route.meta.pageTransition??Ea),g=h&&TP([e.transition,u.route.meta.pageTransition,Ea,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),m=e.keepalive??u.route.meta.keepalive??bb;return l=Dp(Hn,h&&g,Mw(m,ye(hl,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{yn(()=>r.callHook("page:finish",u.Component).then(()=>r.callHook("page:loading:end")).finally(c))}},{default:()=>{const w=ye(SP,{key:p||void 0,vnode:u.Component,route:u.route,renderKey:p||void 0,trackRootNodes:h,vnodeRef:o});return m&&(w.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),w}}))).default(),l}})}});function TP(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Ll(n.onAfterLeave):void 0}));return ci(...t)}function AP(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>{var i,a,l;return((i=o.components)==null?void 0:i.default)!==((l=(a=e.matched[s])==null?void 0:a.components)==null?void 0:l.default)})||n&&Aa({route:t,Component:n})!==Aa({route:e,Component:n})}function OP(e,t,n){return e?t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)})r.default||r);return()=>ye(n,e.layoutProps,t.slots)}}),RP=re({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=Ae(),r=Te(Kr),o=r===Un()?Iw():r,s=R(()=>{let l=C(e.name)??o.meta.layout??"default";return l&&!(l in Rn)&&e.fallback&&(l=C(e.fallback)),l}),i=F();t.expose({layoutRef:i});const a=n.deferHydration();return()=>{const l=s.value&&s.value in Rn,c=o.meta.layoutTransition??yb;return Dp(Hn,l&&c,{default:()=>ye(hl,{suspensible:!0,onResolve:()=>{yn(a)}},{default:()=>ye(LP,{layoutProps:ue(t.attrs,{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),LP=re({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&ze(yp,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,o;return!n||typeof n=="string"&&!(n in Rn)?(o=(r=t.slots).default)==null?void 0:o.call(r):ye($P,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),ig=re({inheritAttrs:!1,__name:"Main",props:{class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"min-h-[calc(100vh-var(--header-height))]"},n=e,{ui:r,attrs:o}=qe("main",we(n,"ui"),t,we(n,"class"),!0);return(s,i)=>(I(),ne("main",ue({class:C(r).wrapper},C(o)),[me(s.$slots,"default")],16))}}),IP=re({inheritAttrs:!1,__name:"FooterLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t=it(),n=R(()=>({wrapper:"flex flex-col md:flex-row items-center justify-center gap-4 lg:gap-6",base:"text-sm",active:"text-gray-900 dark:text-white font-medium",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-600 dark:hover:text-gray-300",externalIcon:{name:t.ui.icons.external,base:"w-3 h-3 absolute top-0.5 -right-3.5 text-gray-400 dark:text-gray-500"}})),r=e,{ui:o,attrs:s}=qe("footer.links",we(r,"ui"),n,we(r,"class"),!0);return(i,a)=>{var u;const l=yt,c=Wn;return(u=e.links)!=null&&u.length?(I(),ne("ul",ue({key:0,class:C(o).wrapper},C(s)),[(I(!0),ne(ke,null,vt(e.links,(f,d)=>(I(),ne("li",{key:d,class:"relative"},[Q(c,ue(C(Dr)(f),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:f.click}),{default:le(()=>[Je(Fe(f.label)+" ",1),f.target==="_blank"?(I(),ae(l,{key:0,name:C(o).externalIcon.name,class:q(C(o).externalIcon.base)},null,8,["name","class"])):ge("",!0)]),_:2},1040,["class","active-class","inactive-class","onClick"])]))),128))],16)):ge("",!0)}}}),jP=re({inheritAttrs:!1,__name:"Footer",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"relative",top:{wrapper:"",container:"py-8 lg:py-12"},bottom:{wrapper:"",container:"py-8 lg:py-4 lg:flex lg:items-center lg:justify-between lg:gap-x-3",left:"flex items-center justify-center lg:justify-start lg:flex-1 gap-x-1.5 mt-3 lg:mt-0 lg:order-1",center:"mt-3 lg:mt-0 lg:order-2 flex items-center justify-center",right:"lg:flex-1 flex items-center justify-center lg:justify-end gap-x-1.5 lg:order-3"}},n=e,{ui:r,attrs:o}=qe("footer",we(n,"ui"),t,we(n,"class"),!0);return(s,i)=>{const a=cc,l=IP;return I(),ne("footer",ue({class:C(r).wrapper},C(o)),[s.$slots.top?(I(),ne("div",{key:0,class:q(C(r).top.wrapper)},[Q(a,{class:q(C(r).top.container)},{default:le(()=>[me(s.$slots,"top")]),_:3},8,["class"])],2)):ge("",!0),xe("div",{class:q(C(r).bottom.wrapper)},[Q(a,{class:q(C(r).bottom.container)},{default:le(()=>[xe("div",{class:q(C(r).bottom.right)},[me(s.$slots,"right")],2),xe("div",{class:q(C(r).bottom.center)},[me(s.$slots,"center",{},()=>[Q(l,{links:e.links},null,8,["links"])])],2),xe("div",{class:q(C(r).bottom.left)},[me(s.$slots,"left")],2)]),_:3},8,["class"])],2)],16)}}}),ag=re({__name:"Footer",setup(e){const{footer:t}=it();return(n,r)=>{const o=vh,s=qt,i=jP;return I(),ae(i,null,{left:le(()=>[Je(Fe(C(t).credits),1)]),right:le(()=>{var a,l,c;return[(a=C(t))!=null&&a.colorMode?(I(),ae(o,{key:0})):ge("",!0),(l=C(t))!=null&&l.links?(I(!0),ne(ke,{key:1},vt((c=C(t))==null?void 0:c.links,(u,f)=>(I(),ae(s,ue({key:f},{color:"gray",variant:"ghost",...u}),null,16))),128)):ge("",!0)]}),_:1})}}}),Jn=Wt(He.ui.strategy,He.ui.avatar,uE),MP=re({components:{UIcon:yt},inheritAttrs:!1,props:{src:{type:[String,Boolean],default:null},alt:{type:String,default:null},text:{type:String,default:null},icon:{type:String,default:()=>Jn.default.icon},size:{type:String,default:()=>Jn.default.size,validator(e){return Object.keys(Jn.size).includes(e)}},chipColor:{type:String,default:()=>Jn.default.chipColor,validator(e){return["gray",...He.ui.colors].includes(e)}},chipPosition:{type:String,default:()=>Jn.default.chipPosition,validator(e){return Object.keys(Jn.chip.position).includes(e)}},chipText:{type:[String,Number],default:null},imgClass:{type:String,default:""},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=qe("avatar",we(e,"ui"),Jn),r=R(()=>typeof e.src=="boolean"?null:e.src),o=R(()=>(e.alt||"").split(" ").map(f=>f.charAt(0)).join("").substring(0,2)),s=R(()=>It(ut(t.value.wrapper,(c.value||!r.value)&&t.value.background,t.value.rounded,t.value.size[e.size]),e.class)),i=R(()=>It(ut(t.value.rounded,t.value.size[e.size]),e.imgClass)),a=R(()=>ut(t.value.icon.base,t.value.icon.size[e.size])),l=R(()=>ut(t.value.chip.base,t.value.chip.size[e.size],t.value.chip.position[e.chipPosition],t.value.chip.background.replaceAll("{color}",e.chipColor))),c=F(!1);je(()=>e.src,()=>{c.value&&(c.value=!1)});function u(){c.value=!0}return{ui:t,attrs:n,wrapperClass:s,imgClass:i,iconClass:a,chipClass:l,url:r,placeholder:o,error:c,onError:u}}}),DP=["alt","src"];function NP(e,t,n,r,o,s){const i=yt;return I(),ne("span",{class:q(e.wrapperClass)},[e.url&&!e.error?(I(),ne("img",ue({key:0,class:e.imgClass,alt:e.alt,src:e.url},e.attrs,{onError:t[0]||(t[0]=(...a)=>e.onError&&e.onError(...a))}),null,16,DP)):e.text?(I(),ne("span",{key:1,class:q(e.ui.text)},Fe(e.text),3)):e.icon?(I(),ae(i,{key:2,name:e.icon,class:q(e.iconClass)},null,8,["name","class"])):e.placeholder?(I(),ne("span",{key:3,class:q(e.ui.placeholder)},Fe(e.placeholder),3)):ge("",!0),e.chipColor?(I(),ne("span",{key:4,class:q(e.chipClass)},Fe(e.chipText),3)):ge("",!0),me(e.$slots,"default")],2)}const lg=Mt(MP,[["render",NP]]);function BP(e,t,n){let r=null;const{pause:o,resume:s,timestamp:i}=zE({...n||{},controls:!0}),a=F(null),l=R(()=>a.value?t-(i.value-a.value):0);function c(...g){r=setTimeout(()=>{r=null,a.value=null,e(...g)},l.value)}function u(){r&&(clearTimeout(r),r=null)}function f(){a.value=Date.now(),c()}function d(){u(),o()}function p(){u(),o()}function h(){c(),s(),a.value=(a.value||0)+(Date.now()-i.value)}return f(),{start:f,stop:d,pause:p,resume:h,remaining:l}}const ao=Wt(He.ui.strategy,He.ui.notification,mE),FP=re({components:{UIcon:yt,UAvatar:lg,UButton:qt},inheritAttrs:!1,props:{id:{type:[String,Number],required:!0},title:{type:String,required:!0},description:{type:String,default:null},icon:{type:String,default:()=>ao.default.icon},avatar:{type:Object,default:null},closeButton:{type:Object,default:()=>ao.default.closeButton},timeout:{type:Number,default:()=>ao.default.timeout},actions:{type:Array,default:()=>[]},callback:{type:Function,default:null},color:{type:String,default:()=>ao.default.color,validator(e){return["gray",...He.ui.colors].includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["close"],setup(e,{emit:t}){const{ui:n,attrs:r}=qe("notification",we(e,"ui"),ao);let o=null;const s=F(e.timeout),i=R(()=>{var h;return It(ut(n.value.wrapper,(h=n.value.background)==null?void 0:h.replaceAll("{color}",e.color),n.value.rounded,n.value.shadow),e.class)}),a=R(()=>{var h;return ut(n.value.progress.base,(h=n.value.progress.background)==null?void 0:h.replaceAll("{color}",e.color))}),l=R(()=>({width:`${s.value/e.timeout*100||0}%`})),c=R(()=>{var h;return ut(n.value.icon.base,(h=n.value.icon.color)==null?void 0:h.replaceAll("{color}",e.color))});function u(){o&&o.pause()}function f(){o&&o.resume()}function d(){o&&o.stop(),e.callback&&e.callback(),t("close")}function p(h){o&&o.stop(),h.click&&h.click(),t("close")}return Le(()=>{e.timeout&&(o=BP(()=>{d()},e.timeout),Qe(()=>{s.value=o.remaining.value}))}),Xe(()=>{o&&o.stop()}),{ui:n,attrs:r,wrapperClass:i,progressClass:a,progressStyle:l,iconClass:c,onMouseover:u,onMouseleave:f,onClose:d,onAction:p,twMerge:It}}});function HP(e,t,n,r,o,s){const i=yt,a=lg,l=qt;return I(),ae(Hn,ue({appear:""},e.ui.transition),{default:le(()=>[xe("div",ue({class:e.wrapperClass,role:"status"},e.attrs,{onMouseover:t[0]||(t[0]=(...c)=>e.onMouseover&&e.onMouseover(...c)),onMouseleave:t[1]||(t[1]=(...c)=>e.onMouseleave&&e.onMouseleave(...c))}),[xe("div",{class:q([e.ui.container,e.ui.rounded,e.ui.ring])},[xe("div",{class:q(["flex",[e.ui.padding,e.ui.gap,{"items-start":e.description||e.$slots.description,"items-center":!e.description&&!e.$slots.description}]])},[e.icon?(I(),ae(i,{key:0,name:e.icon,class:q(e.iconClass)},null,8,["name","class"])):ge("",!0),e.avatar?(I(),ae(a,ue({key:1},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):ge("",!0),xe("div",{class:q(e.ui.inner)},[xe("p",{class:q(e.ui.title)},[me(e.$slots,"title",{title:e.title},()=>[Je(Fe(e.title),1)])],2),e.description||e.$slots.description?(I(),ne("p",{key:0,class:q(e.ui.description)},[me(e.$slots,"description",{description:e.description},()=>[Je(Fe(e.description),1)])],2)):ge("",!0),(e.description||e.$slots.description)&&e.actions.length?(I(),ne("div",{key:1,class:q(e.ui.actions)},[(I(!0),ne(ke,null,vt(e.actions,(c,u)=>(I(),ae(l,ue({key:u},{...e.ui.default.actionButton||{},...c},{onClick:Ri(f=>e.onAction(c),["stop"])}),null,16,["onClick"]))),128))],2)):ge("",!0)],2),e.closeButton||!e.description&&!e.$slots.description&&e.actions.length?(I(),ne("div",{key:2,class:q(e.twMerge(e.ui.actions,"mt-0"))},[!e.description&&!e.$slots.description&&e.actions.length?(I(!0),ne(ke,{key:0},vt(e.actions,(c,u)=>(I(),ae(l,ue({key:u},{...e.ui.default.actionButton||{},...c},{onClick:Ri(f=>e.onAction(c),["stop"])}),null,16,["onClick"]))),128)):ge("",!0),e.closeButton?(I(),ae(l,ue({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{onClick:Ri(e.onClose,["stop"])}),null,16,["onClick"])):ge("",!0)],2)):ge("",!0)],2),e.timeout?(I(),ne("div",{key:0,class:q(e.progressClass),style:mn(e.progressStyle)},null,6)):ge("",!0)],2)],16)]),_:3},16)}const cg=Mt(FP,[["render",HP]]);function UP(){const e=wr("notifications",()=>[]);function t(r){const o={id:new Date().getTime().toString(),...r};return e.value.findIndex(i=>i.id===o.id)===-1&&e.value.push(o),o}function n(r){e.value=e.value.filter(o=>o.id!==r)}return{add:t,remove:n}}const zP=Wt(He.ui.strategy,He.ui.notifications,vE),VP=re({components:{UNotification:cg},inheritAttrs:!1,props:{class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=qe("notifications",we(e,"ui"),zP),r=UP(),o=wr("notifications",()=>[]),s=R(()=>It(ut(t.value.wrapper,t.value.position,t.value.width),e.class));return{ui:t,attrs:n,toast:r,notifications:o,wrapperClass:s}}});function WP(e,t,n,r,o,s){const i=cg;return I(),ae(Ad,{to:"body"},[xe("div",ue({class:e.wrapperClass,role:"region"},e.attrs),[e.notifications.length?(I(),ne("div",{key:0,class:q(e.ui.container)},[(I(!0),ne(ke,null,vt(e.notifications,a=>(I(),ne("div",{key:a.id},[Q(i,ue(a,{class:a.click&&"cursor-pointer",onClick:l=>a.click&&a.click(a),onClose:l=>e.toast.remove(a.id)}),ii({_:2},[vt(e.$slots,(l,c)=>({name:c,fn:le(u=>[me(e.$slots,c,zo(Ko(u)))])}))]),1040,["class","onClick","onClose"])]))),128))],2)):ge("",!0)],16)])}const ug=Mt(VP,[["render",WP]]),qP=e=>e==="defer"||e===!1;function fc(...e){var p;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,o={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const s=Ae(),i=()=>null,a=()=>s.isHydrating?s.payload.data[n]:s.static.data[n];o.server=o.server??!0,o.default=o.default??i,o.getCachedData=o.getCachedData??a,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??_b.deep,o.dedupe=o.dedupe??"cancel";const l=()=>![null,void 0].includes(o.getCachedData(n));if(!s._asyncData[n]||!o.immediate){(p=s.payload._errors)[n]??(p[n]=null);const h=o.deep?F:pr;s._asyncData[n]={data:h(o.getCachedData(n)??o.default()),pending:F(!l()),error:we(s.payload._errors,n),status:F("idle")}}const c={...s._asyncData[n]};c.refresh=c.execute=(h={})=>{if(s._asyncDataPromises[n]){if(qP(h.dedupe??o.dedupe))return s._asyncDataPromises[n];s._asyncDataPromises[n].cancelled=!0}if((h._initial||s.isHydrating&&h._initial!==!1)&&l())return Promise.resolve(o.getCachedData(n));c.pending.value=!0,c.status.value="pending";const g=new Promise((m,w)=>{try{m(r(s))}catch(b){w(b)}}).then(m=>{if(g.cancelled)return s._asyncDataPromises[n];let w=m;o.transform&&(w=o.transform(m)),o.pick&&(w=KP(w,o.pick)),s.payload.data[n]=w,c.data.value=w,c.error.value=null,c.status.value="success"}).catch(m=>{if(g.cancelled)return s._asyncDataPromises[n];c.error.value=fi(m),c.data.value=C(o.default()),c.status.value="error"}).finally(()=>{g.cancelled||(c.pending.value=!1,delete s._asyncDataPromises[n])});return s._asyncDataPromises[n]=g,s._asyncDataPromises[n]};const u=()=>c.refresh({_initial:!0}),f=o.server!==!1&&s.payload.serverRendered;{const h=sn();if(h&&!h._nuxtOnBeforeMountCbs){h._nuxtOnBeforeMountCbs=[];const m=h._nuxtOnBeforeMountCbs;h&&(pd(()=>{m.forEach(w=>{w()}),m.splice(0,m.length)}),Xe(()=>m.splice(0,m.length)))}f&&s.isHydrating&&(c.error.value||l())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):h&&(s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?h._nuxtOnBeforeMountCbs.push(u):o.immediate&&u(),o.watch&&je(o.watch,()=>c.refresh());const g=s.hook("app:data:refresh",async m=>{(!m||m.includes(n))&&await c.refresh()});h&&Xe(g)}const d=Promise.resolve(s._asyncDataPromises[n]).then(()=>c);return Object.assign(d,c),d}function KP(e,t){const n={};for(const r of t)n[r]=e[r];return n}function dc(e){return JSON.stringify(e,GP)}function GP(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const fg=e=>{let t=dc(e);return t=typeof Buffer<"u"?Buffer.from(t).toString("base64"):btoa(t),t=t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(t.match(/.{1,100}/g)||[]).join("/")},pc=()=>({isEnabled:()=>{const r=Un().query;return Object.prototype.hasOwnProperty.call(r,"preview")&&!r.preview?!1:!!(r.preview||Ss("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>Ss("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:r=>{Ss("previewToken").value=r,Un().query.preview=r||"",r?sessionStorage.setItem("previewToken",r):sessionStorage.removeItem("previewToken"),window.location.reload()}}),Qs=e=>Vd(e,jt().public.content.api.baseURL),xT=()=>{throw console.warn("useContent is only accessible when you are using `documentDriven` mode."),console.warn("Learn more by visiting: https://content.nuxt.com/document-driven"),new Error("useContent is only accessible when you are using `documentDriven` mode.")},dg=()=>{const{experimental:e}=jt().public.content;return e.clientDB?!0:pc().isEnabled()},Cf=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),hc=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),kT=e=>t=>e&&e.length?hc(t,n=>!e.includes(n)):t,ET=e=>t=>Array.isArray(t)?t.map(n=>e(n)):e(t),pg=e=>{const t=[],n=[];for(const r of e)["$","_"].includes(r)?t.push(r):n.push(r);return{prefixes:t,properties:n}},CT=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=pg(e);return hc(t,o=>!r.includes(o)&&!n.includes(o[0]))},ST=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=pg(e);return hc(t,o=>r.includes(o)||n.includes(o[0]))},PT=(e,t)=>{const n=new Intl.Collator(t.$locale,{numeric:t.$numeric,caseFirst:t.$caseFirst,sensitivity:t.$sensitivity}),r=Object.keys(t).filter(o=>!o.startsWith("$"));for(const o of r)e=e.sort((s,i)=>{const a=[Cf(s,o),Cf(i,o)].map(l=>{if(l!==null)return l instanceof Date?l.toISOString():l});return t[o]===-1&&a.reverse(),n.compare(a[0],a[1])});return e},TT=(e,t="Expected an array")=>{if(!Array.isArray(e))throw new TypeError(t)},dn=e=>Array.isArray(e)?e:[void 0,null].includes(e)?[]:[e],QP=["sort","where","only","without"];function XP(e,t={}){const n={};for(const i of Object.keys(t.initialParams||{}))n[i]=QP.includes(i)?dn(t.initialParams[i]):t.initialParams[i];const r=(i,a=l=>l)=>(...l)=>(n[i]=a(...l),s),o=i=>{var a;return t.legacy?i!=null&&i.surround?i.surround:i&&(i!=null&&i.dirConfig&&(i.result={_path:(a=i.dirConfig)==null?void 0:a._path,...i.result,_dir:i.dirConfig}),i!=null&&i._path||Array.isArray(i)||!Object.prototype.hasOwnProperty.call(i,"result")?i:i==null?void 0:i.result):i},s={params:()=>({...n,...n.where?{where:[...dn(n.where)]}:{},...n.sort?{sort:[...dn(n.sort)]}:{}}),only:r("only",dn),without:r("without",dn),where:r("where",i=>[...dn(n.where),...dn(i)]),sort:r("sort",i=>[...dn(n.sort),...dn(i)]),limit:r("limit",i=>parseInt(String(i),10)),skip:r("skip",i=>parseInt(String(i),10)),find:()=>e(s).then(o),findOne:()=>e(r("first")(!0)).then(o),count:()=>e(r("count")(!0)).then(o),locale:i=>s.where({_locale:i}),withSurround:r("surround",(i,a)=>({query:i,...a})),withDirConfig:()=>r("dirConfig")(!0)};return t.legacy&&(s.findSurround=(i,a)=>s.withSurround(i,a).find().then(o)),s}const YP=()=>async e=>{const{content:t}=jt().public,n=e.params(),r=t.experimental.stripQueryParameters?Qs(`/query/${`${Lo(n)}.${t.integrity}`}/${fg(n)}.json`):Qs(`/query/${Lo(n)}.${t.integrity}.json`);if(dg())return(await X(()=>import("./client-db.czaupYgg.js"),__vite__mapDeps([44,5]),import.meta.url).then(i=>i.useContentDatabase())).fetch(e);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:dc(n),previewToken:pc().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function JP(e,...t){const{content:n}=jt().public,r=XP(YP(),{initialParams:typeof e!="string"?e:{},legacy:!0});let o;typeof e=="string"&&(o=pa(br(e,...t)));const s=r.params;return r.params=()=>{var a,l,c;const i=s();return o&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:Go(o)}):i.where.push({_path:new RegExp(`^${o.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),(a=i.sort)!=null&&a.length||(i.sort=[{_file:1,$numeric:!0}]),n.locales.length&&((c=(l=i.where)==null?void 0:l.find(f=>f._locale))!=null&&c._locale||(i.where=i.where||[],i.where.push({_locale:n.defaultLocale}))),i},r}const hg=async e=>{const{content:t}=jt().public;typeof(e==null?void 0:e.params)!="function"&&(e=JP(e));const n=e.params(),r=t.experimental.stripQueryParameters?Qs(`/navigation/${`${Lo(n)}.${t.integrity}`}/${fg(n)}.json`):Qs(`/navigation/${Lo(n)}.${t.integrity}.json`);if(dg())return(await X(()=>import("./client-db.czaupYgg.js"),__vite__mapDeps([44,5]),import.meta.url).then(i=>i.generateNavigation))(n);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:dc(n),previewToken:pc().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function ZP(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],s=R(()=>{let E=e;return typeof E=="function"&&(E=E()),Xt(E)}),i=r.key||Lo([o,typeof s.value=="string"?s.value:"",...eT(r)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const a=i===o?"$f"+i:i;if(!r.baseURL&&typeof s.value=="string"&&s.value[0]==="/"&&s.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:f,pick:d,watch:p,immediate:h,getCachedData:g,deep:m,...w}=r,b=Lt({...xb,...w,cache:typeof r.cache=="boolean"?void 0:r.cache}),v={server:l,lazy:c,default:u,transform:f,pick:d,immediate:h,getCachedData:g,deep:m,watch:p===!1?[]:[b,s,...p||[]]};let y;return fc(a,()=>{var T;(T=y==null?void 0:y.abort)==null||T.call(y),y=typeof AbortController<"u"?new AbortController:{};const E=Xt(r.timeout);return E&&setTimeout(()=>y.abort(),E),(r.$fetch||globalThis.$fetch)(s.value,{signal:y.signal,...b})},v)}function gg(e,t,n){const[r,o]=typeof t=="string"?[{},t]:[t,n];return ZP(e,{...r,lazy:!0},o)}function eT(e){var n;const t=[((n=Xt(e.method))==null?void 0:n.toUpperCase())||"GET",Xt(e.baseURL)];for(const r of[e.params||e.query]){const o=Xt(r);if(!o)continue;const s={};for(const[i,a]of Object.entries(o))s[Xt(i)]=Xt(a);t.push(s)}return t}const tT=Z(()=>X(()=>import("./DocsSearch.zSVieBBc.js"),__vite__mapDeps([45,46]),import.meta.url).then(e=>e.default||e)),nT=re({__name:"app",async setup(e){let t,n;const{data:r}=([t,n]=ml(()=>fc("navigation",()=>hg())),t=await t,n(),t),{data:o}=gg("/api/search.json",{default:()=>[],server:!1},"$siNM9WAguS");return Xo({meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",href:"/favicon.ico"}],htmlAttrs:{lang:"en"}}),fp({ogSiteName:"Nuxt x Supabase - Docs",twitterCard:"summary_large_image"}),ze("navigation",r),(s,i)=>{const a=sg,l=PP,c=RP,u=ig,f=ag,d=tT,p=Wl,h=ug;return I(),ne("div",null,[Q(a),Q(u,null,{default:le(()=>[Q(c,null,{default:le(()=>[Q(l)]),_:1})]),_:1}),Q(f),Q(p,null,{default:le(()=>[Q(d,{files:C(o),navigation:C(r)},null,8,["files","navigation"])]),_:1}),Q(h)])}}}),rT=re({inheritAttrs:!1,__name:"PageError",props:{error:{type:Object,default:void 0},status:{type:Number,default:404},name:{type:String,default:"An error occurred"},message:{type:String,default:"This is not the page you're looking for."},clearButton:{type:Object,default:()=>({})},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"min-h-[calc(100vh-var(--header-height))] flex flex-col items-center justify-center",status:"text-base font-semibold text-primary",name:"text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-5xl",message:"mt-6 text-base/7 text-gray-500 dark:text-gray-400 text-center",links:"mt-10 flex items-center justify-center gap-x-6",default:{clearButton:{label:"Go back home",color:"primary",size:"lg"}}},n=e,{ui:r,attrs:o}=qe("page.error",we(n,"ui"),t,we(n,"class"),!0),s=()=>wp({redirect:"/"});return(i,a)=>{var c,u,f,d;const l=qt;return I(),ne("div",ue({class:C(r).wrapper},C(o)),[xe("p",{class:q(C(r).status)},Fe(((c=e.error)==null?void 0:c.statusCode)||e.status),3),xe("h1",{class:q(C(r).name)},Fe(((u=e.error)==null?void 0:u.name)||((f=e.error)==null?void 0:f.statusMessage)||e.name),3),xe("p",{class:q(C(r).message)},Fe((d=e.error)!=null&&d.message&&e.error.message!==(e.error.name||e.error.statusMessage||e.name)?e.error.message:e.message),3),xe("div",{class:q(C(r).links)},[Q(l,ue({...C(r).default.clearButton,...e.clearButton},{onClick:s}),null,16)],2)],16)}}}),oT=re({inheritAttrs:!1,__name:"Page",props:{class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"flex flex-col lg:grid lg:grid-cols-10 lg:gap-8",left:"lg:col-span-2",center:{narrow:"lg:col-span-6",base:"lg:col-span-8",full:"lg:col-span-10"},right:"lg:col-span-2 order-first lg:order-last"},n=e,r=vd(),{ui:o,attrs:s}=qe("page",we(n,"ui"),t,we(n,"class"),!0),i=R(()=>r.left&&r.right?o.value.center.narrow:r.left||r.right?o.value.center.base:o.value.center.full);return(a,l)=>(I(),ne("div",ue({class:C(o).wrapper},C(s)),[a.$slots.left?(I(),ne("div",{key:0,class:q(C(o).left)},[me(a.$slots,"left")],2)):ge("",!0),xe("div",{class:q(C(i))},[me(a.$slots,"default")],2),a.$slots.right?(I(),ne("div",{key:1,class:q(C(o).right)},[me(a.$slots,"right")],2)):ge("",!0)],16))}}),sT=Z(()=>X(()=>import("./DocsSearch.zSVieBBc.js"),__vite__mapDeps([45,46]),import.meta.url).then(e=>e.default||e)),iT=re({__name:"error",props:{error:{}},async setup(e){let t,n;fp({title:"Page not found",description:"We are sorry but this page could not be found."}),Xo({htmlAttrs:{lang:"en"}});const{data:r}=([t,n]=ml(()=>fc("navigation",()=>hg())),t=await t,n(),t),{data:o}=gg("/api/search.json",{default:()=>[],server:!1},"$mar46U4SiV");return ze("navigation",r),(s,i)=>{const a=sg,l=rT,c=oT,u=cc,f=ig,d=ag,p=sT,h=Wl,g=ug;return I(),ne("div",null,[Q(a),Q(f,null,{default:le(()=>[Q(u,null,{default:le(()=>[Q(c,null,{default:le(()=>[Q(l,{error:s.error},null,8,["error"])]),_:1})]),_:1})]),_:1}),Q(d),Q(h,null,{default:le(()=>[Q(p,{files:C(o),navigation:C(r)},null,8,["files","navigation"])]),_:1}),Q(g)])}}}),aT={__name:"nuxt-root",setup(e){const t=()=>null,n=Ae(),r=n.deferHydration(),o=!1;ze(Kr,Un()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const s=ui();gd((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),db(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Er(a)),!1});const i=!1;return(a,l)=>(I(),ae(hl,{onResolve:C(r)},{default:le(()=>[C(s)?(I(),ae(C(iT),{key:0,error:C(s)},null,8,["error"])):C(i)?(I(),ae(C(t),{key:1,context:C(i)},null,8,["context"])):C(o)?(I(),ae(Or(C(o)),{key:2})):(I(),ae(C(nT),{key:3}))]),_:1},8,["onResolve"]))}},Sf=aT;let Pf;{let e;Pf=async function(){var i,a;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Nv(Sf):Dv(Sf),o=Uy({vueApp:r});async function s(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||l}r.config.errorHandler=s;try{await Vy(o,_E)}catch(l){s(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(kb),await o.hooks.callHook("app:mounted",r),await yn()}catch(l){s(l)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=Pf().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Zo as $,xT as A,Pe as B,Al as C,Qe as D,wn as E,ke as F,R as G,tt as H,ee as I,Ch as J,ze as K,ql as L,We as M,je as N,ye as O,Nr as P,vT as Q,mr as R,dt as S,Hn as T,wh as U,Zt as V,zn as W,Yo as X,Te as Y,lC as Z,X as _,Xe as a,vd as a$,gt as a0,yn as a1,yT as a2,rn as a3,yt as a4,lg as a5,PE as a6,ar as a7,vt as a8,ae as a9,C as aA,et as aB,ch as aC,It as aD,Dr as aE,Wn as aF,pd as aG,qo as aH,Ri as aI,ml as aJ,fi as aK,fp as aL,fc as aM,_T as aN,oT as aO,Go as aP,wT as aQ,Lo as aR,cc as aS,ph as aT,mT as aU,Qr as aV,pT as aW,Ua as aX,hi as aY,fT as aZ,ms as a_,me as aa,ue as ab,mn as ac,Wt as ad,He as ae,qt as af,qe as ag,we as ah,ci as ai,dT as aj,ut as ak,_m as al,vv as am,ii as an,zo as ao,Ko as ap,$C as aq,RC as ar,Vh as as,QC as at,qE as au,Ln as av,mh as aw,hT as ax,QE as ay,xP as az,I as b,rx as b0,Xa as b1,Or as b2,MC as b3,DC as b4,jC as b5,Xo as b6,Hs as b7,lT as b8,hg as b9,pc as ba,bT as bb,$r as bc,$o as bd,br as be,gT as bf,UP as bg,sn as bh,pa as bi,Yk as bj,mP as bk,ig as bl,og as bm,Wh as bn,Cf as bo,TT as bp,dn as bq,kT as br,PT as bs,ET as bt,CT as bu,ST as bv,XP as bw,Vd as bx,ne as c,re as d,xe as e,ge as f,Q as g,Ss as h,uT as i,Je as j,Ae as k,Mt as l,jt as m,q as n,Le as o,cT as p,wr as q,F as r,JP as s,Fe as t,an as u,Un as v,le as w,Wy as x,it as y,Dv as z}; +`));let p=bh((i=f.props)!=null?i:{},l),h=nn(f,p);for(let g in p)g.startsWith("on")&&(h.props||(h.props={}),h.props[g]=p[g]);return h}return Array.isArray(c)&&c.length===1?c[0]:c}return ye(a,Object.assign({},l,u),{default:()=>c})}function yh(e){return e.flatMap(t=>t.type===ke?yh(t.children):[t])}function bh(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](o,...s){let i=n[r];for(let a of i){if(o instanceof Event&&o.defaultPrevented)return;a(o,...s)}}});return t}function vT(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function wh(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function YE(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let JE=0;function ZE(){return++JE}function Zt(){return ZE()}var gt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(gt||{});function ee(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}let _h=Symbol("Context");var We=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(We||{});function eC(){return Yo()!==null}function Yo(){return Te(_h,null)}function ql(e){ze(_h,e)}function pf(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function xh(e,t){let n=F(pf(e.value.type,e.value.as));return Le(()=>{n.value=pf(e.value.type,e.value.as)}),Qe(()=>{var r;n.value||ee(t)&&ee(t)instanceof HTMLButtonElement&&!((r=ee(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}var tC=Object.defineProperty,nC=(e,t,n)=>t in e?tC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hf=(e,t,n)=>(nC(e,typeof t!="symbol"?t+"":t,n),n);class rC{constructor(){hf(this,"current",this.detect()),hf(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}}let Jo=new rC;function wn(e){if(Jo.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=ee(e);if(t)return t.ownerDocument}return document}let za=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var st=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(st||{}),Bo=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Bo||{}),oC=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(oC||{});function yi(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(za)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Kl=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Kl||{});function kh(e,t=0){var n;return e===((n=wn(e))==null?void 0:n.body)?!1:tt(t,{0(){return e.matches(za)},1(){let r=e;for(;r!==null;){if(r.matches(za))return!0;r=r.parentElement}return!1}})}var sC=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(sC||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function cr(e){e==null||e.focus({preventScroll:!0})}let iC=["textarea","input"].join(",");function aC(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,iC))!=null?n:!1}function lC(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),s=t(r);if(o===null||s===null)return 0;let i=o.compareDocumentPosition(s);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ht(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){var s;let i=(s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?s:document,a=Array.isArray(e)?n?lC(e):e:yi(e);o.length>0&&a.length>1&&(a=a.filter(h=>!o.includes(h))),r=r??i.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,a.indexOf(r))-1;if(t&4)return Math.max(0,a.indexOf(r))+1;if(t&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},f=0,d=a.length,p;do{if(f>=d||f+d<=0)return 0;let h=c+f;if(t&16)h=(h+d)%d;else{if(h<0)return 3;if(h>=d)return 1}p=a[h],p==null||p.focus(u),f+=l}while(p!==i.activeElement);return t&6&&aC(p)&&p.select(),2}function ys(e,t,n){Jo.isServer||Qe(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function Eh(e,t,n){Jo.isServer||Qe(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function Ch(e,t,n=R(()=>!0)){function r(s,i){if(!n.value||s.defaultPrevented)return;let a=i(s);if(a===null||!a.getRootNode().contains(a))return;let l=function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]}(e);for(let c of l){if(c===null)continue;let u=c instanceof HTMLElement?c:ee(c);if(u!=null&&u.contains(a)||s.composed&&s.composedPath().includes(u))return}return!kh(a,Kl.Loose)&&a.tabIndex!==-1&&s.preventDefault(),t(s,a)}let o=F(null);ys("pointerdown",s=>{var i,a;n.value&&(o.value=((a=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:a[0])||s.target)},!0),ys("mousedown",s=>{var i,a;n.value&&(o.value=((a=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:a[0])||s.target)},!0),ys("click",s=>{o.value&&(r(s,()=>o.value),o.value=null)},!0),ys("touchend",s=>r(s,()=>s.target instanceof HTMLElement?s.target:null),!0),Eh("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var mr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mr||{});let Nr=re({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...o}=e,s={"aria-hidden":(r&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return dt({ourProps:s,theirProps:o,slot:{},attrs:n,slots:t,name:"Hidden"})}}});function Sh(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function cC(){return/Android/gi.test(window.navigator.userAgent)}function yT(){return Sh()||cC()}function Gl(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Zo(){let e=[],t={addEventListener(n,r,o,s){return n.addEventListener(r,o,s),t.add(()=>n.removeEventListener(r,o,s))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...n)})},setTimeout(...n){let r=setTimeout(...n);t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Gl(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let s=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:s})})},group(n){let r=Zo();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}var Et=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Et||{});function Ql(){let e=F(0);return Eh("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function Xl(e,t,n,r){Jo.isServer||Qe(o=>{e=e??window,e.addEventListener(t,n,r),o(()=>e.removeEventListener(t,n,r))})}function uC(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function Ph(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.value){let r=ee(n);r instanceof HTMLElement&&t.add(r)}return t}var Th=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Th||{});let oo=Object.assign(re({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:F(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let o=F(null);r({el:o,$el:o});let s=R(()=>wn(o)),i=F(!1);Le(()=>i.value=!0),Xe(()=>i.value=!1),dC({ownerDocument:s},R(()=>i.value&&!!(e.features&16)));let a=pC({ownerDocument:s,container:o,initialFocus:R(()=>e.initialFocus)},R(()=>i.value&&!!(e.features&2)));hC({ownerDocument:s,container:o,containers:e.containers,previousActiveElement:a},R(()=>i.value&&!!(e.features&8)));let l=Ql();function c(p){let h=ee(o);h&&(g=>g())(()=>{tt(l.value,{[Et.Forwards]:()=>{Ht(h,st.First,{skipElements:[p.relatedTarget]})},[Et.Backwards]:()=>{Ht(h,st.Last,{skipElements:[p.relatedTarget]})}})})}let u=F(!1);function f(p){p.key==="Tab"&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function d(p){if(!i.value)return;let h=Ph(e.containers);ee(o)instanceof HTMLElement&&h.add(ee(o));let g=p.relatedTarget;g instanceof HTMLElement&&g.dataset.headlessuiFocusGuard!=="true"&&(Ah(h,g)||(u.value?Ht(ee(o),tt(l.value,{[Et.Forwards]:()=>st.Next,[Et.Backwards]:()=>st.Previous})|st.WrapAround,{relativeTo:p.target}):p.target instanceof HTMLElement&&cr(p.target)))}return()=>{let p={},h={ref:o,onKeydown:f,onFocusout:d},{features:g,initialFocus:m,containers:w,...b}=e;return ye(ke,[!!(g&4)&&ye(Nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:mr.Focusable}),dt({ourProps:h,theirProps:{...t,...b},slot:p,attrs:t,slots:n,name:"FocusTrap"}),!!(g&4)&&ye(Nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:mr.Focusable})])}}}),{features:Th}),nr=[];uC(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&nr[0]!==t.target&&(nr.unshift(t.target),nr=nr.filter(n=>n!=null&&n.isConnected),nr.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function fC(e){let t=F(nr.slice());return je([e],([n],[r])=>{r===!0&&n===!1?Gl(()=>{t.value.splice(0)}):r===!1&&n===!0&&(t.value=nr.slice())},{flush:"post"}),()=>{var n;return(n=t.value.find(r=>r!=null&&r.isConnected))!=null?n:null}}function dC({ownerDocument:e},t){let n=fC(t);Le(()=>{Qe(()=>{var r,o;t.value||((r=e.value)==null?void 0:r.activeElement)===((o=e.value)==null?void 0:o.body)&&cr(n())},{flush:"post"})}),Xe(()=>{t.value&&cr(n())})}function pC({ownerDocument:e,container:t,initialFocus:n},r){let o=F(null),s=F(!1);return Le(()=>s.value=!0),Xe(()=>s.value=!1),Le(()=>{je([t,n,r],(i,a)=>{if(i.every((c,u)=>(a==null?void 0:a[u])===c)||!r.value)return;let l=ee(t);l&&Gl(()=>{var c,u;if(!s.value)return;let f=ee(n),d=(c=e.value)==null?void 0:c.activeElement;if(f){if(f===d){o.value=d;return}}else if(l.contains(d)){o.value=d;return}f?cr(f):Ht(l,st.First|st.NoScroll)===Bo.Error&&console.warn("There are no focusable elements inside the "),o.value=(u=e.value)==null?void 0:u.activeElement})},{immediate:!0,flush:"post"})}),o}function hC({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){var s;Xl((s=e.value)==null?void 0:s.defaultView,"focus",i=>{if(!o.value)return;let a=Ph(n);ee(t)instanceof HTMLElement&&a.add(ee(t));let l=r.value;if(!l)return;let c=i.target;c&&c instanceof HTMLElement?Ah(a,c)?(r.value=c,cr(c)):(i.preventDefault(),i.stopPropagation(),cr(l)):cr(r.value)},!0)}function Ah(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let Wi=new Map,so=new Map;function gf(e,t=F(!0)){Qe(n=>{var r;if(!t.value)return;let o=ee(e);if(!o)return;n(function(){var i;if(!o)return;let a=(i=so.get(o))!=null?i:1;if(a===1?so.delete(o):so.set(o,a-1),a!==1)return;let l=Wi.get(o);l&&(l["aria-hidden"]===null?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",l["aria-hidden"]),o.inert=l.inert,Wi.delete(o))});let s=(r=so.get(o))!=null?r:0;so.set(o,s+1),s===0&&(Wi.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),inert:o.inert}),o.setAttribute("aria-hidden","true"),o.inert=!0)})}let Oh=Symbol("ForcePortalRootContext");function gC(){return Te(Oh,!1)}let mf=re({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return ze(Oh,e.force),()=>{let{force:r,...o}=e;return dt({theirProps:o,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}});function mC(e){let t=wn(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}let vC=re({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=F(null),o=R(()=>wn(r)),s=gC(),i=Te(Rh,null),a=F(s===!0||i==null?mC(r.value):i.resolveTarget());Qe(()=>{s||i!=null&&(a.value=i.resolveTarget())});let l=Te(Va,null);return Le(()=>{let c=ee(r);c&&l&&Xe(l.register(c))}),Xe(()=>{var c,u;let f=(c=o.value)==null?void 0:c.getElementById("headlessui-portal-root");f&&a.value===f&&a.value.children.length<=0&&((u=a.value.parentElement)==null||u.removeChild(a.value))}),()=>{if(a.value===null)return null;let c={ref:r,"data-headlessui-portal":""};return ye(Ad,{to:a.value},dt({ourProps:c,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),Va=Symbol("PortalParentContext");function $h(){let e=Te(Va,null),t=F([]);function n(s){return t.value.push(s),e&&e.register(s),()=>r(s)}function r(s){let i=t.value.indexOf(s);i!==-1&&t.value.splice(i,1),e&&e.unregister(s)}let o={register:n,unregister:r,portals:t};return[t,re({name:"PortalWrapper",setup(s,{slots:i}){return ze(Va,o),()=>{var a;return(a=i.default)==null?void 0:a.call(i)}}})]}let Rh=Symbol("PortalGroupContext"),yC=re({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let r=Lt({resolveTarget(){return e.target}});return ze(Rh,r),()=>{let{target:o,...s}=e;return dt({theirProps:s,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}}),Lh=Symbol("StackContext");var Wa=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Wa||{});function bC(){return Te(Lh,()=>{})}function wC({type:e,enabled:t,element:n,onUpdate:r}){let o=bC();function s(...i){r==null||r(...i),o(...i)}Le(()=>{je(t,(i,a)=>{i?s(0,e,n):a===!0&&s(1,e,n)},{immediate:!0,flush:"sync"})}),Xe(()=>{t.value&&s(1,e,n)}),ze(Lh,s)}let _C=Symbol("DescriptionContext");function xC({slot:e=F({}),name:t="Description",props:n={}}={}){let r=F([]);function o(s){return r.value.push(s),()=>{let i=r.value.indexOf(s);i!==-1&&r.value.splice(i,1)}}return ze(_C,{register:o,slot:e,name:t,props:n}),R(()=>r.value.length>0?r.value.join(" "):void 0)}function kC(e){let t=pr(e.getSnapshot());return Xe(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function EC(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...s){let i=t[o].call(n,...s);i&&(n=i,r.forEach(a=>a()))}}}function CC(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,s=e-o;n.style(r,"paddingRight",`${s}px`)}}}function SC(){if(!Sh())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function o(i){return r.containers.flatMap(a=>a()).some(a=>a.contains(i))}if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let i=Zo();i.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>i.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let s=null;n.addEventListener(t,"click",i=>{if(i.target instanceof HTMLElement)try{let a=i.target.closest("a");if(!a)return;let{hash:l}=new URL(a.href),c=t.querySelector(l);c&&!o(c)&&(s=c)}catch{}},!0),n.addEventListener(t,"touchmove",i=>{i.target instanceof HTMLElement&&!o(i.target)&&i.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),s&&s.isConnected&&(s.scrollIntoView({block:"nearest"}),s=null)})}}}function PC(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function TC(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let sr=EC(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Zo(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:TC(n)},o=[SC(),CC(),PC()];o.forEach(({before:s})=>s==null?void 0:s(r)),o.forEach(({after:s})=>s==null?void 0:s(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});sr.subscribe(()=>{let e=sr.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&sr.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&sr.dispatch("TEARDOWN",n)}});function AC(e,t,n){let r=kC(sr),o=R(()=>{let s=e.value?r.value.get(e.value):void 0;return s?s.count>0:!1});return je([e,t],([s,i],[a],l)=>{if(!s||!i)return;sr.dispatch("PUSH",s,n);let c=!1;l(()=>{c||(sr.dispatch("POP",a??s,n),c=!0)})},{immediate:!0}),o}function Ih({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=F(null),o=wn(r);function s(){var i;let a=[];for(let l of e)l!==null&&(l instanceof HTMLElement?a.push(l):"value"in l&&l.value instanceof HTMLElement&&a.push(l.value));if(t!=null&&t.value)for(let l of t.value)a.push(l);for(let l of(i=o==null?void 0:o.querySelectorAll("html > *, body > *"))!=null?i:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(l.contains(ee(r))||a.some(c=>l.contains(c))||a.push(l));return a}return{resolveContainers:s,contains(i){return s().some(a=>a.contains(i))},mainTreeNodeRef:r,MainTreeNode(){return n!=null?null:ye(Nr,{features:mr.Hidden,ref:r})}}}var OC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(OC||{});let qa=Symbol("DialogContext");function jh(e){let t=Te(qa,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,jh),n}return t}let bs="DC8F892D-2EBD-447C-A4C8-A03058436FF4",$C=re({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:bs},initialFocus:{type:Object,default:null},id:{type:String,default:()=>`headlessui-dialog-${Zt()}`}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){var s;let i=F(!1);Le(()=>{i.value=!0});let a=F(0),l=Yo(),c=R(()=>e.open===bs&&l!==null?(l.value&We.Open)===We.Open:e.open),u=F(null),f=R(()=>wn(u));if(o({el:u,$el:u}),!(e.open!==bs||l!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof c.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${c.value===bs?void 0:e.open}`);let d=R(()=>i.value&&c.value?0:1),p=R(()=>d.value===0),h=R(()=>a.value>1),g=Te(qa,null)!==null,[m,w]=$h(),{resolveContainers:b,mainTreeNodeRef:v,MainTreeNode:y}=Ih({portals:m,defaultContainers:[R(()=>{var W;return(W=B.panelRef.value)!=null?W:u.value})]}),x=R(()=>h.value?"parent":"leaf"),E=R(()=>l!==null?(l.value&We.Closing)===We.Closing:!1),P=R(()=>g||E.value?!1:p.value),T=R(()=>{var W,U,_e;return(_e=Array.from((U=(W=f.value)==null?void 0:W.querySelectorAll("body > *"))!=null?U:[]).find(Ie=>Ie.id==="headlessui-portal-root"?!1:Ie.contains(ee(v))&&Ie instanceof HTMLElement))!=null?_e:null});gf(T,P);let M=R(()=>h.value?!0:p.value),L=R(()=>{var W,U,_e;return(_e=Array.from((U=(W=f.value)==null?void 0:W.querySelectorAll("[data-headlessui-portal]"))!=null?U:[]).find(Ie=>Ie.contains(ee(v))&&Ie instanceof HTMLElement))!=null?_e:null});gf(L,M),wC({type:"Dialog",enabled:R(()=>d.value===0),element:u,onUpdate:(W,U)=>{if(U==="Dialog")return tt(W,{[Wa.Add]:()=>a.value+=1,[Wa.Remove]:()=>a.value-=1})}});let K=xC({name:"DialogDescription",slot:R(()=>({open:c.value}))}),A=F(null),B={titleId:A,panelRef:F(null),dialogState:d,setTitleId(W){A.value!==W&&(A.value=W)},close(){t("close",!1)}};ze(qa,B);let he=R(()=>!(!p.value||h.value));Ch(b,(W,U)=>{B.close(),yn(()=>U==null?void 0:U.focus())},he);let fe=R(()=>!(h.value||d.value!==0));Xl((s=f.value)==null?void 0:s.defaultView,"keydown",W=>{fe.value&&(W.defaultPrevented||W.key===gt.Escape&&(W.preventDefault(),W.stopPropagation(),B.close()))});let V=R(()=>!(E.value||d.value!==0||g));return AC(f,V,W=>{var U;return{containers:[...(U=W.containers)!=null?U:[],b]}}),Qe(W=>{if(d.value!==0)return;let U=ee(u);if(!U)return;let _e=new ResizeObserver(Ie=>{for(let De of Ie){let Ee=De.target.getBoundingClientRect();Ee.x===0&&Ee.y===0&&Ee.width===0&&Ee.height===0&&B.close()}});_e.observe(U),W(()=>_e.disconnect())}),()=>{let{id:W,open:U,initialFocus:_e,...Ie}=e,De={...n,ref:u,id:W,role:"dialog","aria-modal":d.value===0?!0:void 0,"aria-labelledby":A.value,"aria-describedby":K.value},Ee={open:d.value===0};return ye(mf,{force:!0},()=>[ye(vC,()=>ye(yC,{target:u.value},()=>ye(mf,{force:!1},()=>ye(oo,{initialFocus:_e,containers:b,features:p.value?tt(x.value,{parent:oo.features.RestoreFocus,leaf:oo.features.All&~oo.features.FocusLock}):oo.features.None},()=>ye(w,{},()=>dt({ourProps:De,theirProps:{...Ie,...n},slot:Ee,attrs:n,slots:r,visible:d.value===0,features:zn.RenderStrategy|zn.Static,name:"Dialog"})))))),ye(y)])}}}),RC=re({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:()=>`headlessui-dialog-panel-${Zt()}`}},setup(e,{attrs:t,slots:n,expose:r}){let o=jh("DialogPanel");r({el:o.panelRef,$el:o.panelRef});function s(i){i.stopPropagation()}return()=>{let{id:i,...a}=e,l={id:i,ref:o.panelRef,onClick:s};return dt({ourProps:l,theirProps:a,slot:{open:o.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});var LC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(LC||{});let Mh=Symbol("DisclosureContext");function Yl(e){let t=Te(Mh,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Yl),n}return t}let Dh=Symbol("DisclosurePanelContext");function IC(){return Te(Dh,null)}let jC=re({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=F(e.defaultOpen?0:1),o=F(null),s=F(null),i={buttonId:F(`headlessui-disclosure-button-${Zt()}`),panelId:F(`headlessui-disclosure-panel-${Zt()}`),disclosureState:r,panel:o,button:s,toggleDisclosure(){r.value=tt(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(a){i.closeDisclosure();let l=a?a instanceof HTMLElement?a:a.value instanceof HTMLElement?ee(a):ee(i.button):ee(i.button);l==null||l.focus()}};return ze(Mh,i),ql(R(()=>tt(r.value,{0:We.Open,1:We.Closed}))),()=>{let{defaultOpen:a,...l}=e,c={open:r.value===0,close:i.close};return dt({theirProps:l,ourProps:{},slot:c,slots:t,attrs:n,name:"Disclosure"})}}}),MC=re({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let o=Yl("DisclosureButton"),s=IC(),i=R(()=>s===null?!1:s.value===o.panelId.value);Le(()=>{i.value||e.id!==null&&(o.buttonId.value=e.id)}),Xe(()=>{i.value||(o.buttonId.value=null)});let a=F(null);r({el:a,$el:a}),i.value||Qe(()=>{o.button.value=a.value});let l=xh(R(()=>({as:e.as,type:t.type})),a);function c(){var d;e.disabled||(i.value?(o.toggleDisclosure(),(d=ee(o.button))==null||d.focus()):o.toggleDisclosure())}function u(d){var p;if(!e.disabled)if(i.value)switch(d.key){case gt.Space:case gt.Enter:d.preventDefault(),d.stopPropagation(),o.toggleDisclosure(),(p=ee(o.button))==null||p.focus();break}else switch(d.key){case gt.Space:case gt.Enter:d.preventDefault(),d.stopPropagation(),o.toggleDisclosure();break}}function f(d){switch(d.key){case gt.Space:d.preventDefault();break}}return()=>{var d;let p={open:o.disclosureState.value===0},{id:h,...g}=e,m=i.value?{ref:a,type:l.value,onClick:c,onKeydown:u}:{id:(d=o.buttonId.value)!=null?d:h,ref:a,type:l.value,"aria-expanded":o.disclosureState.value===0,"aria-controls":o.disclosureState.value===0||ee(o.panel)?o.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:c,onKeydown:u,onKeyup:f};return dt({ourProps:m,theirProps:g,slot:p,attrs:t,slots:n,name:"DisclosureButton"})}}}),DC=re({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let o=Yl("DisclosurePanel");Le(()=>{e.id!==null&&(o.panelId.value=e.id)}),Xe(()=>{o.panelId.value=null}),r({el:o.panel,$el:o.panel}),ze(Dh,o.panelId);let s=Yo(),i=R(()=>s!==null?(s.value&We.Open)===We.Open:o.disclosureState.value===0);return()=>{var a;let l={open:o.disclosureState.value===0,close:o.close},{id:c,...u}=e,f={id:(a=o.panelId.value)!=null?a:c,ref:o.panel};return dt({ourProps:f,theirProps:u,slot:l,attrs:t,slots:n,features:zn.RenderStrategy|zn.Static,visible:i.value,name:"DisclosurePanel"})}}});var NC=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(NC||{});let Nh=Symbol("PopoverContext");function Jl(e){let t=Te(Nh,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <${Hh.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Jl),n}return t}let BC=Symbol("PopoverGroupContext");function Bh(){return Te(BC,null)}let Fh=Symbol("PopoverPanelContext");function FC(){return Te(Fh,null)}let Hh=re({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n,expose:r}){var o;let s=F(null);r({el:s,$el:s});let i=F(1),a=F(null),l=F(null),c=F(null),u=F(null),f=R(()=>wn(s)),d=R(()=>{var x,E;if(!ee(a)||!ee(u))return!1;for(let B of document.querySelectorAll("body > *"))if(Number(B==null?void 0:B.contains(ee(a)))^Number(B==null?void 0:B.contains(ee(u))))return!0;let P=yi(),T=P.indexOf(ee(a)),M=(T+P.length-1)%P.length,L=(T+1)%P.length,K=P[M],A=P[L];return!((x=ee(u))!=null&&x.contains(K))&&!((E=ee(u))!=null&&E.contains(A))}),p={popoverState:i,buttonId:F(null),panelId:F(null),panel:u,button:a,isPortalled:d,beforePanelSentinel:l,afterPanelSentinel:c,togglePopover(){i.value=tt(i.value,{0:1,1:0})},closePopover(){i.value!==1&&(i.value=1)},close(x){p.closePopover();let E=x?x instanceof HTMLElement?x:x.value instanceof HTMLElement?ee(x):ee(p.button):ee(p.button);E==null||E.focus()}};ze(Nh,p),ql(R(()=>tt(i.value,{0:We.Open,1:We.Closed})));let h={buttonId:p.buttonId,panelId:p.panelId,close(){p.closePopover()}},g=Bh(),m=g==null?void 0:g.registerPopover,[w,b]=$h(),v=Ih({mainTreeNodeRef:g==null?void 0:g.mainTreeNodeRef,portals:w,defaultContainers:[a,u]});function y(){var x,E,P,T;return(T=g==null?void 0:g.isFocusWithinPopoverGroup())!=null?T:((x=f.value)==null?void 0:x.activeElement)&&(((E=ee(a))==null?void 0:E.contains(f.value.activeElement))||((P=ee(u))==null?void 0:P.contains(f.value.activeElement)))}return Qe(()=>m==null?void 0:m(h)),Xl((o=f.value)==null?void 0:o.defaultView,"focus",x=>{var E,P;x.target!==window&&x.target instanceof HTMLElement&&i.value===0&&(y()||a&&u&&(v.contains(x.target)||(E=ee(p.beforePanelSentinel))!=null&&E.contains(x.target)||(P=ee(p.afterPanelSentinel))!=null&&P.contains(x.target)||p.closePopover()))},!0),Ch(v.resolveContainers,(x,E)=>{var P;p.closePopover(),kh(E,Kl.Loose)||(x.preventDefault(),(P=ee(a))==null||P.focus())},R(()=>i.value===0)),()=>{let x={open:i.value===0,close:p.close};return ye(ke,[ye(b,{},()=>dt({theirProps:{...e,...n},ourProps:{ref:s},slot:x,slots:t,attrs:n,name:"Popover"})),ye(v.MainTreeNode)])}}}),HC=re({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:()=>`headlessui-popover-button-${Zt()}`}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let o=Jl("PopoverButton"),s=R(()=>wn(o.button));r({el:o.button,$el:o.button}),Le(()=>{o.buttonId.value=e.id}),Xe(()=>{o.buttonId.value=null});let i=Bh(),a=i==null?void 0:i.closeOthers,l=FC(),c=R(()=>l===null?!1:l.value===o.panelId.value),u=F(null),f=`headlessui-focus-sentinel-${Zt()}`;c.value||Qe(()=>{o.button.value=u.value});let d=xh(R(()=>({as:e.as,type:t.type})),u);function p(v){var y,x,E,P,T;if(c.value){if(o.popoverState.value===1)return;switch(v.key){case gt.Space:case gt.Enter:v.preventDefault(),(x=(y=v.target).click)==null||x.call(y),o.closePopover(),(E=ee(o.button))==null||E.focus();break}}else switch(v.key){case gt.Space:case gt.Enter:v.preventDefault(),v.stopPropagation(),o.popoverState.value===1&&(a==null||a(o.buttonId.value)),o.togglePopover();break;case gt.Escape:if(o.popoverState.value!==0)return a==null?void 0:a(o.buttonId.value);if(!ee(o.button)||(P=s.value)!=null&&P.activeElement&&!((T=ee(o.button))!=null&&T.contains(s.value.activeElement)))return;v.preventDefault(),v.stopPropagation(),o.closePopover();break}}function h(v){c.value||v.key===gt.Space&&v.preventDefault()}function g(v){var y,x;e.disabled||(c.value?(o.closePopover(),(y=ee(o.button))==null||y.focus()):(v.preventDefault(),v.stopPropagation(),o.popoverState.value===1&&(a==null||a(o.buttonId.value)),o.togglePopover(),(x=ee(o.button))==null||x.focus()))}function m(v){v.preventDefault(),v.stopPropagation()}let w=Ql();function b(){let v=ee(o.panel);if(!v)return;function y(){tt(w.value,{[Et.Forwards]:()=>Ht(v,st.First),[Et.Backwards]:()=>Ht(v,st.Last)})===Bo.Error&&Ht(yi().filter(x=>x.dataset.headlessuiFocusGuard!=="true"),tt(w.value,{[Et.Forwards]:st.Next,[Et.Backwards]:st.Previous}),{relativeTo:ee(o.button)})}y()}return()=>{let v=o.popoverState.value===0,y={open:v},{id:x,...E}=e,P=c.value?{ref:u,type:d.value,onKeydown:p,onClick:g}:{ref:u,id:x,type:d.value,"aria-expanded":o.popoverState.value===0,"aria-controls":ee(o.panel)?o.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:p,onKeyup:h,onClick:g,onMousedown:m};return ye(ke,[dt({ourProps:P,theirProps:{...t,...E},slot:y,attrs:t,slots:n,name:"PopoverButton"}),v&&!c.value&&o.isPortalled.value&&ye(Nr,{id:f,features:mr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:b})])}}}),UC=re({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:()=>`headlessui-popover-panel-${Zt()}`}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let{focus:o}=e,s=Jl("PopoverPanel"),i=R(()=>wn(s.panel)),a=`headlessui-focus-sentinel-before-${Zt()}`,l=`headlessui-focus-sentinel-after-${Zt()}`;r({el:s.panel,$el:s.panel}),Le(()=>{s.panelId.value=e.id}),Xe(()=>{s.panelId.value=null}),ze(Fh,s.panelId),Qe(()=>{var m,w;if(!o||s.popoverState.value!==0||!s.panel)return;let b=(m=i.value)==null?void 0:m.activeElement;(w=ee(s.panel))!=null&&w.contains(b)||Ht(ee(s.panel),st.First)});let c=Yo(),u=R(()=>c!==null?(c.value&We.Open)===We.Open:s.popoverState.value===0);function f(m){var w,b;switch(m.key){case gt.Escape:if(s.popoverState.value!==0||!ee(s.panel)||i.value&&!((w=ee(s.panel))!=null&&w.contains(i.value.activeElement)))return;m.preventDefault(),m.stopPropagation(),s.closePopover(),(b=ee(s.button))==null||b.focus();break}}function d(m){var w,b,v,y,x;let E=m.relatedTarget;E&&ee(s.panel)&&((w=ee(s.panel))!=null&&w.contains(E)||(s.closePopover(),((v=(b=ee(s.beforePanelSentinel))==null?void 0:b.contains)!=null&&v.call(b,E)||(x=(y=ee(s.afterPanelSentinel))==null?void 0:y.contains)!=null&&x.call(y,E))&&E.focus({preventScroll:!0})))}let p=Ql();function h(){let m=ee(s.panel);if(!m)return;function w(){tt(p.value,{[Et.Forwards]:()=>{var b;Ht(m,st.First)===Bo.Error&&((b=ee(s.afterPanelSentinel))==null||b.focus())},[Et.Backwards]:()=>{var b;(b=ee(s.button))==null||b.focus({preventScroll:!0})}})}w()}function g(){let m=ee(s.panel);if(!m)return;function w(){tt(p.value,{[Et.Forwards]:()=>{let b=ee(s.button),v=ee(s.panel);if(!b)return;let y=yi(),x=y.indexOf(b),E=y.slice(0,x+1),P=[...y.slice(x+1),...E];for(let T of P.slice())if(T.dataset.headlessuiFocusGuard==="true"||v!=null&&v.contains(T)){let M=P.indexOf(T);M!==-1&&P.splice(M,1)}Ht(P,st.First,{sorted:!1})},[Et.Backwards]:()=>{var b;Ht(m,st.Previous)===Bo.Error&&((b=ee(s.button))==null||b.focus())}})}w()}return()=>{let m={open:s.popoverState.value===0,close:s.close},{id:w,focus:b,...v}=e,y={ref:s.panel,id:w,onKeydown:f,onFocusout:o&&s.popoverState.value===0?d:void 0,tabIndex:-1};return dt({ourProps:y,theirProps:{...t,...v},attrs:t,slot:m,slots:{...n,default:(...x)=>{var E;return[ye(ke,[u.value&&s.isPortalled.value&&ye(Nr,{id:a,ref:s.beforePanelSentinel,features:mr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:h}),(E=n.default)==null?void 0:E.call(n,...x),u.value&&s.isPortalled.value&&ye(Nr,{id:l,ref:s.afterPanelSentinel,features:mr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:g})])]}},features:zn.RenderStrategy|zn.Static,visible:u.value,name:"PopoverPanel"})}}});function zC(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function qi(e,...t){e&&t.length>0&&e.classList.add(...t)}function ws(e,...t){e&&t.length>0&&e.classList.remove(...t)}var Ka=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(Ka||{});function VC(e,t){let n=Zo();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[s,i]=[r,o].map(a=>{let[l=0]=a.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,u)=>u-c);return l});return s!==0?n.setTimeout(()=>t("finished"),s+i):t("finished"),n.add(()=>t("cancelled")),n.dispose}function vf(e,t,n,r,o,s){let i=Zo(),a=s!==void 0?zC(s):()=>{};return ws(e,...o),qi(e,...t,...n),i.nextFrame(()=>{ws(e,...n),qi(e,...r),i.add(VC(e,l=>(ws(e,...r,...t),qi(e,...o),a(l))))}),i.add(()=>ws(e,...t,...n,...r,...o)),i.add(()=>a("cancelled")),i.dispose}function Yn(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Zl=Symbol("TransitionContext");var WC=(e=>(e.Visible="visible",e.Hidden="hidden",e))(WC||{});function qC(){return Te(Zl,null)!==null}function KC(){let e=Te(Zl,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}function GC(){let e=Te(ec,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}let ec=Symbol("NestingContext");function bi(e){return"children"in e?bi(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function Uh(e){let t=F([]),n=F(!1);Le(()=>n.value=!0),Xe(()=>n.value=!1);function r(s,i=In.Hidden){let a=t.value.findIndex(({id:l})=>l===s);a!==-1&&(tt(i,{[In.Unmount](){t.value.splice(a,1)},[In.Hidden](){t.value[a].state="hidden"}}),!bi(t)&&n.value&&(e==null||e()))}function o(s){let i=t.value.find(({id:a})=>a===s);return i?i.state!=="visible"&&(i.state="visible"):t.value.push({id:s,state:"visible"}),()=>r(s,In.Unmount)}return{children:t,register:o,unregister:r}}let zh=zn.RenderStrategy,QC=re({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){let s=F(0);function i(){s.value|=We.Opening,t("beforeEnter")}function a(){s.value&=~We.Opening,t("afterEnter")}function l(){s.value|=We.Closing,t("beforeLeave")}function c(){s.value&=~We.Closing,t("afterLeave")}if(!qC()&&eC())return()=>ye(Vh,{...e,onBeforeEnter:i,onAfterEnter:a,onBeforeLeave:l,onAfterLeave:c},r);let u=F(null),f=R(()=>e.unmount?In.Unmount:In.Hidden);o({el:u,$el:u});let{show:d,appear:p}=KC(),{register:h,unregister:g}=GC(),m=F(d.value?"visible":"hidden"),w={value:!0},b=Zt(),v={value:!1},y=Uh(()=>{!v.value&&m.value!=="hidden"&&(m.value="hidden",g(b),c())});Le(()=>{let B=h(b);Xe(B)}),Qe(()=>{if(f.value===In.Hidden&&b){if(d.value&&m.value!=="visible"){m.value="visible";return}tt(m.value,{hidden:()=>g(b),visible:()=>h(b)})}});let x=Yn(e.enter),E=Yn(e.enterFrom),P=Yn(e.enterTo),T=Yn(e.entered),M=Yn(e.leave),L=Yn(e.leaveFrom),K=Yn(e.leaveTo);Le(()=>{Qe(()=>{if(m.value==="visible"){let B=ee(u);if(B instanceof Comment&&B.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function A(B){let he=w.value&&!p.value,fe=ee(u);!fe||!(fe instanceof HTMLElement)||he||(v.value=!0,d.value&&i(),d.value||l(),B(d.value?vf(fe,x,E,P,T,V=>{v.value=!1,V===Ka.Finished&&a()}):vf(fe,M,L,K,T,V=>{v.value=!1,V===Ka.Finished&&(bi(y)||(m.value="hidden",g(b),c()))})))}return Le(()=>{je([d],(B,he,fe)=>{A(fe),w.value=!1},{immediate:!0})}),ze(ec,y),ql(R(()=>tt(m.value,{visible:We.Open,hidden:We.Closed})|s.value)),()=>{let{appear:B,show:he,enter:fe,enterFrom:V,enterTo:W,entered:U,leave:_e,leaveFrom:Ie,leaveTo:De,...Ee}=e,bt={ref:u},at={...Ee,...p.value&&d.value&&Jo.isServer?{class:q([n.class,Ee.class,...x,...E])}:{}};return dt({theirProps:at,ourProps:bt,slot:{},slots:r,attrs:n,features:zh,visible:m.value==="visible",name:"TransitionChild"})}}}),XC=QC,Vh=re({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r}){let o=Yo(),s=R(()=>e.show===null&&o!==null?(o.value&We.Open)===We.Open:e.show);Qe(()=>{if(![!0,!1].includes(s.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let i=F(s.value?"visible":"hidden"),a=Uh(()=>{i.value="hidden"}),l=F(!0),c={show:s,appear:R(()=>e.appear||!l.value)};return Le(()=>{Qe(()=>{l.value=!1,s.value?i.value="visible":bi(a)||(i.value="hidden")})}),ze(ec,a),ze(Zl,c),()=>{let u=wh(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),f={unmount:e.unmount};return dt({ourProps:{...f,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[ye(XC,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...n,...f,...u},r.default)]},attrs:{},features:zh,visible:i.value==="visible",name:"Transition"})}}});const Ki=Wt(He.ui.strategy,He.ui.accordion,dE),YC=Wt(He.ui.strategy,He.ui.button,fh),JC=re({components:{HDisclosure:jC,HDisclosureButton:MC,HDisclosurePanel:DC,UIcon:yt,UButton:qt},inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},defaultOpen:{type:Boolean,default:!1},openIcon:{type:String,default:()=>Ki.default.openIcon},closeIcon:{type:String,default:()=>Ki.default.closeIcon},multiple:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=qe("accordion",we(e,"ui"),Ki,we(e,"class")),r=R(()=>YC),o=F([]);function s(u,f){!e.items[u].closeOthers&&e.multiple||o.value.forEach(d=>{d.open&&d.close(f.target)})}function i(u,f){const d=u;d.style.height="0",d.offsetHeight,d.style.height=d.scrollHeight+"px",d.addEventListener("transitionend",f,{once:!0})}function a(u){const f=u;f.style.height=f.scrollHeight+"px",f.offsetHeight}function l(u){const f=u;f.style.height="auto"}function c(u,f){const d=u;d.style.height="0",d.addEventListener("transitionend",f,{once:!0})}return{ui:t,uiButton:r,attrs:n,buttonRefs:o,closeOthers:s,omit:zp,onEnter:i,onBeforeLeave:a,onAfterEnter:l,onLeave:c}}});function ZC(e,t,n,r,o,s){const i=yt,a=qt,l=ar("HDisclosureButton"),c=ar("HDisclosurePanel"),u=ar("HDisclosure");return I(),ne("div",{class:q(e.ui.wrapper)},[(I(!0),ne(ke,null,vt(e.items,(f,d)=>(I(),ae(u,{key:d,"default-open":e.defaultOpen||f.defaultOpen},{default:le(({open:p,close:h})=>[Q(l,{ref_for:!0,ref:()=>e.buttonRefs[d]={open:p,close:h},as:"template",disabled:f.disabled,onClick:g=>e.closeOthers(d,g),onKeydown:[tu(g=>e.closeOthers(d,g),["enter"]),tu(g=>e.closeOthers(d,g),["space"])]},{default:le(()=>[me(e.$slots,"default",{item:f,index:d,open:p,close:h},()=>[Q(a,zo(Ko({...e.omit(e.ui.default,["openIcon","closeIcon"]),...e.attrs,...e.omit(f,["slot","disabled","content","defaultOpen"])})),{trailing:le(()=>[Q(i,{name:p&&e.closeIcon?e.closeIcon:e.openIcon,class:q([p&&!e.closeIcon?"-rotate-180":"",e.uiButton.icon.size[f.size||e.uiButton.default.size],e.ui.item.icon])},null,8,["name","class"])]),_:2},1040)])]),_:2},1032,["disabled","onClick","onKeydown"]),Q(Hn,ue(e.ui.transition,{onEnter:e.onEnter,onAfterEnter:e.onAfterEnter,onBeforeLeave:e.onBeforeLeave,onLeave:e.onLeave}),{default:le(()=>[_m(xe("div",null,[Q(c,{class:q([e.ui.item.base,e.ui.item.size,e.ui.item.color,e.ui.item.padding]),static:""},{default:le(()=>[me(e.$slots,f.slot||"item",{item:f,index:d,open:p,close:h},()=>[Je(Fe(f.content),1)])]),_:2},1032,["class"])],512),[[vv,p]])]),_:2},1040,["onEnter","onAfterEnter","onBeforeLeave","onLeave"])]),_:2},1032,["default-open"]))),128))],2)}const eS=Mt(JC,[["render",ZC]]),tS=re({inheritAttrs:!1,__name:"NavigationAccordion",props:{level:{type:Number,default:0},links:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},defaultOpen:{type:[Boolean,Number],default:void 0},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t=it(),n=R(()=>({wrapper:"w-full block",level:"border-l border-gray-200 dark:border-gray-800 -ml-px pl-px hover:border-gray-300 dark:hover:border-gray-700",button:{base:"flex items-center gap-1.5 group mb-3 w-full focus-visible:outline-primary",active:"text-primary border-current",inactive:"border-transparent",level:"border-l -ml-px pl-4",icon:{base:"w-5 h-5 flex-shrink-0"},trailingIcon:{name:t.ui.icons.chevron,base:"w-5 h-5 ms-auto transform transition-transform duration-200 flex-shrink-0 mr-1.5",active:"text-gray-700 dark:text-gray-200",inactive:"text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200 -rotate-90"},label:"text-sm/6 font-semibold truncate"},tree:"border-l border-gray-200 dark:border-gray-800"})),r=e,o=Un(),{ui:s,attrs:i}=qe("navigation.accordion",we(r,"ui"),n,we(r,"class"),!0),a=R(()=>{var l;return(l=r.links)==null?void 0:l.map(c=>{const u=!r.defaultOpen||typeof r.defaultOpen=="number"&&r.level{const u=yt,f=Wn,d=Wh,p=eS;return I(),ae(p,ue({key:C(o).path,items:C(a),multiple:e.multiple,ui:{wrapper:[C(s).wrapper,e.level>0&&C(s).level].filter(Boolean).join(" "),item:{padding:e.multiple?"p-0 mb-3 lg:mb-6":"p-0 mb-3",color:"text-inherit dark:text-inherit"}}},C(i)),ii({default:le(({item:h,open:g})=>[Q(f,{class:q([C(s).button.base,e.level>0&&C(s).button.level]),"active-class":C(s).button.active,"inactive-class":C(s).button.inactive},{default:le(()=>[h.icon?(I(),ae(u,{key:0,name:h.icon,class:q(C(s).button.icon.base)},null,8,["name","class"])):ge("",!0),xe("span",{class:q(C(s).button.label)},Fe(h.label),3),h.disabled?ge("",!0):(I(),ae(u,{key:1,name:C(s).button.trailingIcon.name,class:q([C(s).button.trailingIcon.base,g?C(s).button.trailingIcon.active:C(s).button.trailingIcon.inactive])},null,8,["name","class"]))]),_:2},1032,["class","active-class","inactive-class"])]),_:2},[vt(e.links,({label:h},g)=>({name:h.toLowerCase(),fn:le(({item:m})=>[Q(d,{links:m.children,level:e.level+1,"default-open":e.defaultOpen,multiple:e.multiple,style:mn({marginLeft:`${.5*(e.level+1)+.5*e.level}rem`}),class:q(C(s).tree)},null,8,["links","level","default-open","multiple","style","class"])])}))]),1040,["items","multiple","ui"])}}}),nS=re({inheritAttrs:!1,__name:"NavigationLinks",props:{level:{type:Number,default:0},links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"space-y-3",wrapperLevel:"space-y-1.5",base:"flex items-center gap-1.5 group",active:"text-primary font-medium border-current",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 border-transparent hover:border-gray-500 dark:hover:border-gray-400",level:"border-l -ml-px pl-4",icon:{base:"w-5 h-5 flex-shrink-0"},badge:{base:"rounded-full"},label:"text-sm/6 truncate"},n=e,{ui:r,attrs:o}=qe("navigation.links",we(n,"ui"),t,we(n,"class"),!0);return(s,i)=>{var u;const a=yt,l=dh,c=Wn;return(u=e.links)!=null&&u.length?(I(),ne("div",ue({key:0,class:e.level>0?C(r).wrapperLevel:C(r).wrapper},C(o)),[(I(!0),ne(ke,null,vt(e.links,(f,d)=>(I(),ae(c,ue({key:d},C(Dr)(f),{class:[C(r).base,e.level>0&&C(r).level],"active-class":C(r).active,"inactive-class":C(r).inactive,onClick:f.click}),{default:le(()=>[f.icon?(I(),ae(a,{key:0,name:f.icon,class:q(C(It)(C(r).icon.base,f.iconClass))},null,8,["name","class"])):ge("",!0),xe("span",{class:q(C(r).label)},Fe(f.label),3),me(s.$slots,"badge",{link:f},()=>[f.badge?(I(),ae(l,ue({key:0},typeof f.badge=="string"?{size:"xs",variant:"subtle",label:f.badge}:{size:"xs",variant:"subtle",...f.badge},{class:C(r).badge.base}),null,16,["class"])):ge("",!0)])]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):ge("",!0)}}}),Wh=re({inheritAttrs:!1,__name:"NavigationTree",props:{level:{type:Number,default:0},links:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},defaultOpen:{type:[Boolean,Number],default:void 0},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"space-y-3"},n=e,{ui:r,attrs:o}=qe("navigation.tree",we(n,"ui"),t,we(n,"class"),!0),s=R(()=>{var l;const i=[];let a={type:void 0,children:[]};for(const c of n.links){const u=(l=c.children)!=null&&l.length?"accordion":"link";a.type||(a.type=u),a.type===u?a.children.push(c):(i.push(a),a={type:u,children:[c]})}return a.children.length&&i.push(a),i});return(i,a)=>{var u;const l=tS,c=nS;return(u=C(s))!=null&&u.length?(I(),ne("nav",ue({key:0,class:C(r).wrapper},C(o)),[(I(!0),ne(ke,null,vt(C(s),(f,d)=>(I(),ne(ke,{key:d},[f.type==="accordion"?(I(),ae(l,{key:0,links:f.children,level:e.level,multiple:e.multiple,"default-open":e.defaultOpen},null,8,["links","level","multiple","default-open"])):(I(),ae(c,{key:1,links:f.children,level:e.level},null,8,["links","level"]))],64))),128))],16)):ge("",!0)}}}),rS=re({inheritAttrs:!1,__name:"HeaderPopoverLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t=it(),n=R(()=>({wrapper:"p-2 space-y-1",base:"block px-2 py-1.5 rounded-md flex items-start gap-1.5",active:"bg-gray-100/50 dark:bg-gray-800/50 text-primary",inactive:"hover:bg-gray-100/50 dark:hover:bg-gray-800/50",label:"font-semibold text-sm/6 inline-block relative",description:"text-sm leading-snug text-gray-500 dark:text-gray-400 line-clamp-2",icon:{base:"w-4 h-4 flex-shrink-0 mt-1"},externalIcon:{name:t.ui.icons.external,base:"w-3 h-3 absolute top-0.5 -right-3.5 text-gray-400 dark:text-gray-500"}})),r=e,{ui:o,attrs:s}=qe("header.popover.links",we(r,"ui"),n,we(r,"class"),!0);return(i,a)=>{var u;const l=yt,c=Wn;return(u=e.links)!=null&&u.length?(I(),ne("div",ue({key:0,class:C(o).wrapper},C(s)),[(I(!0),ne(ke,null,vt(e.links,(f,d)=>(I(),ae(c,ue({key:d},C(Dr)(f),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:f.click}),{default:le(()=>[f.icon?(I(),ae(l,{key:0,name:f.icon,class:q(C(It)(C(o).icon.base,f.iconClass))},null,8,["name","class"])):ge("",!0),xe("p",{class:q([f.target==="_blank"&&"pr-3"])},[xe("span",{class:q(C(o).label)},[Je(Fe(f.label)+" ",1),f.target==="_blank"?(I(),ae(l,{key:0,name:C(o).externalIcon.name,class:q(C(o).externalIcon.base)},null,8,["name","class"])):ge("",!0)],2),f.description?(I(),ne("span",{key:0,class:q(C(o).description)},Fe(f.description),3)):ge("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):ge("",!0)}}});function Pt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function vr(e){var t=Pt(e).Element;return e instanceof t||e instanceof Element}function Rt(e){var t=Pt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tc(e){if(typeof ShadowRoot>"u")return!1;var t=Pt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ur=Math.max,Gs=Math.min,Br=Math.round;function Ga(){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 qh(){return!/^((?!chrome|android).)*safari/i.test(Ga())}function Fr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&Rt(e)&&(o=e.offsetWidth>0&&Br(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Br(r.height)/e.offsetHeight||1);var i=vr(e)?Pt(e):window,a=i.visualViewport,l=!qh()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/o,u=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/o,d=r.height/s;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function nc(e){var t=Pt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function oS(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sS(e){return e===Pt(e)||!Rt(e)?nc(e):oS(e)}function on(e){return e?(e.nodeName||"").toLowerCase():null}function qn(e){return((vr(e)?e.ownerDocument:e.document)||window.document).documentElement}function rc(e){return Fr(qn(e)).left+nc(e).scrollLeft}function vn(e){return Pt(e).getComputedStyle(e)}function oc(e){var t=vn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function iS(e){var t=e.getBoundingClientRect(),n=Br(t.width)/e.offsetWidth||1,r=Br(t.height)/e.offsetHeight||1;return n!==1||r!==1}function aS(e,t,n){n===void 0&&(n=!1);var r=Rt(t),o=Rt(t)&&iS(t),s=qn(t),i=Fr(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((on(t)!=="body"||oc(s))&&(a=sS(t)),Rt(t)?(l=Fr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=rc(s))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function sc(e){var t=Fr(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 wi(e){return on(e)==="html"?e:e.assignedSlot||e.parentNode||(tc(e)?e.host:null)||qn(e)}function Kh(e){return["html","body","#document"].indexOf(on(e))>=0?e.ownerDocument.body:Rt(e)&&oc(e)?e:Kh(wi(e))}function ko(e,t){var n;t===void 0&&(t=[]);var r=Kh(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Pt(r),i=o?[s].concat(s.visualViewport||[],oc(r)?r:[]):r,a=t.concat(i);return o?a:a.concat(ko(wi(i)))}function lS(e){return["table","td","th"].indexOf(on(e))>=0}function yf(e){return!Rt(e)||vn(e).position==="fixed"?null:e.offsetParent}function cS(e){var t=/firefox/i.test(Ga()),n=/Trident/i.test(Ga());if(n&&Rt(e)){var r=vn(e);if(r.position==="fixed")return null}var o=wi(e);for(tc(o)&&(o=o.host);Rt(o)&&["html","body"].indexOf(on(o))<0;){var s=vn(o);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 o;o=o.parentNode}return null}function es(e){for(var t=Pt(e),n=yf(e);n&&lS(n)&&vn(n).position==="static";)n=yf(n);return n&&(on(n)==="html"||on(n)==="body"&&vn(n).position==="static")?t:n||cS(e)||t}var Ct="top",zt="bottom",Vt="right",St="left",ic="auto",ts=[Ct,zt,Vt,St],Hr="start",Fo="end",uS="clippingParents",Gh="viewport",io="popper",fS="reference",bf=ts.reduce(function(e,t){return e.concat([t+"-"+Hr,t+"-"+Fo])},[]),Qh=[].concat(ts,[ic]).reduce(function(e,t){return e.concat([t,t+"-"+Hr,t+"-"+Fo])},[]),dS="beforeRead",pS="read",hS="afterRead",gS="beforeMain",mS="main",vS="afterMain",yS="beforeWrite",bS="write",wS="afterWrite",_S=[dS,pS,hS,gS,mS,vS,yS,bS,wS];function xS(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&o(l)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function kS(e){var t=xS(e);return _S.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function ES(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function CS(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}function SS(e,t){var n=Pt(e),r=qn(e),o=n.visualViewport,s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;var c=qh();(c||!c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a+rc(e),y:l}}function PS(e){var t,n=qn(e),r=nc(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=ur(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=ur(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+rc(e),l=-r.scrollTop;return vn(o||n).direction==="rtl"&&(a+=ur(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:i,x:a,y:l}}function Xh(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&tc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Qa(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function TS(e,t){var n=Fr(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 wf(e,t,n){return t===Gh?Qa(SS(e,n)):vr(t)?TS(t,n):Qa(PS(qn(e)))}function AS(e){var t=ko(wi(e)),n=["absolute","fixed"].indexOf(vn(e).position)>=0,r=n&&Rt(e)?es(e):e;return vr(r)?t.filter(function(o){return vr(o)&&Xh(o,r)&&on(o)!=="body"}):[]}function OS(e,t,n,r){var o=t==="clippingParents"?AS(e):[].concat(t),s=[].concat(o,[n]),i=s[0],a=s.reduce(function(l,c){var u=wf(e,c,r);return l.top=ur(u.top,l.top),l.right=Gs(u.right,l.right),l.bottom=Gs(u.bottom,l.bottom),l.left=ur(u.left,l.left),l},wf(e,i,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function en(e){return e.split("-")[0]}function Ur(e){return e.split("-")[1]}function ac(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Yh(e){var t=e.reference,n=e.element,r=e.placement,o=r?en(r):null,s=r?Ur(r):null,i=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(o){case Ct:l={x:i,y:t.y-n.height};break;case zt:l={x:i,y:t.y+t.height};break;case Vt:l={x:t.x+t.width,y:a};break;case St:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=o?ac(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Hr:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Fo:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function Jh(){return{top:0,right:0,bottom:0,left:0}}function Zh(e){return Object.assign({},Jh(),e)}function eg(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}function lc(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,i=s===void 0?e.strategy:s,a=n.boundary,l=a===void 0?uS:a,c=n.rootBoundary,u=c===void 0?Gh:c,f=n.elementContext,d=f===void 0?io:f,p=n.altBoundary,h=p===void 0?!1:p,g=n.padding,m=g===void 0?0:g,w=Zh(typeof m!="number"?m:eg(m,ts)),b=d===io?fS:io,v=e.rects.popper,y=e.elements[h?b:d],x=OS(vr(y)?y:y.contextElement||qn(e.elements.popper),l,u,i),E=Fr(e.elements.reference),P=Yh({reference:E,element:v,strategy:"absolute",placement:o}),T=Qa(Object.assign({},v,P)),M=d===io?T:E,L={top:x.top-M.top+w.top,bottom:M.bottom-x.bottom+w.bottom,left:x.left-M.left+w.left,right:M.right-x.right+w.right},K=e.modifiersData.offset;if(d===io&&K){var A=K[o];Object.keys(L).forEach(function(B){var he=[Vt,zt].indexOf(B)>=0?1:-1,fe=[Ct,zt].indexOf(B)>=0?"y":"x";L[B]+=A[fe]*he})}return L}var _f={placement:"bottom",modifiers:[],strategy:"absolute"};function xf(){for(var e=arguments.length,t=new Array(e),n=0;n=0});d.length===0&&(d=f);var p=d.reduce(function(h,g){return h[g]=lc(e,{placement:g,boundary:o,rootBoundary:s,padding:i})[en(g)],h},{});return Object.keys(p).sort(function(h,g){return p[h]-p[g]})}function WS(e){if(en(e)===ic)return[];var t=$s(e);return[Ef(e),t,Ef(t)]}function qS(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,g=n.allowedAutoPlacements,m=t.options.placement,w=en(m),b=w===m,v=l||(b||!h?[$s(m)]:WS(m)),y=[m].concat(v).reduce(function(at,wt){return at.concat(en(wt)===ic?VS(t,{placement:wt,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:g}):wt)},[]),x=t.rects.reference,E=t.rects.popper,P=new Map,T=!0,M=y[0],L=0;L=0,fe=he?"width":"height",V=lc(t,{placement:K,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),W=he?B?Vt:St:B?zt:Ct;x[fe]>E[fe]&&(W=$s(W));var U=$s(W),_e=[];if(s&&_e.push(V[A]<=0),a&&_e.push(V[W]<=0,V[U]<=0),_e.every(function(at){return at})){M=K,T=!1;break}P.set(K,_e)}if(T)for(var Ie=h?3:1,De=function(wt){var Ve=y.find(function($){var Y=P.get($);if(Y)return Y.slice(0,wt).every(function(G){return G})});if(Ve)return M=Ve,"break"},Ee=Ie;Ee>0;Ee--){var bt=De(Ee);if(bt==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const KS={name:"flip",enabled:!0,phase:"main",fn:qS,requiresIfExists:["offset"],data:{_skip:!1}};function GS(e,t,n){var r=en(e),o=[St,Ct].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=s[0],a=s[1];return i=i||0,a=(a||0)*o,[St,Vt].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function QS(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,i=Qh.reduce(function(u,f){return u[f]=GS(f,t.rects,s),u},{}),a=i[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}const XS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:QS};function YS(e){return e==="x"?"y":"x"}function Eo(e,t,n){return ur(e,Gs(t,n))}function JS(e,t,n){var r=Eo(e,t,n);return r>n?n:r}function ZS(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=d===void 0?!0:d,h=n.tetherOffset,g=h===void 0?0:h,m=lc(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),w=en(t.placement),b=Ur(t.placement),v=!b,y=ac(w),x=YS(y),E=t.modifiersData.popperOffsets,P=t.rects.reference,T=t.rects.popper,M=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,L=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),K=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(E){if(s){var B,he=y==="y"?Ct:St,fe=y==="y"?zt:Vt,V=y==="y"?"height":"width",W=E[y],U=W+m[he],_e=W-m[fe],Ie=p?-T[V]/2:0,De=b===Hr?P[V]:T[V],Ee=b===Hr?-T[V]:-P[V],bt=t.elements.arrow,at=p&&bt?sc(bt):{width:0,height:0},wt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Jh(),Ve=wt[he],$=wt[fe],Y=Eo(0,P[V],at[V]),G=v?P[V]/2-Ie-Y-Ve-L.mainAxis:De-Y-Ve-L.mainAxis,oe=v?-P[V]/2+Ie+Y+$+L.mainAxis:Ee+Y+$+L.mainAxis,Ce=t.elements.arrow&&es(t.elements.arrow),_=Ce?y==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,k=(B=K==null?void 0:K[y])!=null?B:0,S=W+G-k-_,O=W+oe-k,j=Eo(p?Gs(U,S):U,W,p?ur(_e,O):_e);E[y]=j,A[y]=j-W}if(a){var D,J=y==="x"?Ct:St,H=y==="x"?zt:Vt,z=E[x],N=x==="y"?"height":"width",ie=z+m[J],te=z-m[H],se=[Ct,St].indexOf(w)!==-1,pe=(D=K==null?void 0:K[x])!=null?D:0,be=se?ie:z-P[N]-T[N]-pe+L.altAxis,$e=se?z+P[N]+T[N]-pe-L.altAxis:te,Oe=p&&se?JS(be,z,$e):Eo(p?be:ie,z,p?$e:te);E[x]=Oe,A[x]=Oe-z}t.modifiersData[r]=A}}const eP={name:"preventOverflow",enabled:!0,phase:"main",fn:ZS,requiresIfExists:["offset"]};var tP=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Zh(typeof t!="number"?t:eg(t,ts))};function nP(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,i=n.modifiersData.popperOffsets,a=en(n.placement),l=ac(a),c=[St,Vt].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!i)){var f=tP(o.padding,n),d=sc(s),p=l==="y"?Ct:St,h=l==="y"?zt:Vt,g=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],m=i[l]-n.rects.reference[l],w=es(s),b=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,v=g/2-m/2,y=f[p],x=b-d[u]-f[h],E=b/2-d[u]/2+v,P=Eo(y,E,x),T=l;n.modifiersData[r]=(t={},t[T]=P,t.centerOffset=P-E,t)}}function rP(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Xh(t.elements.popper,o)&&(t.elements.arrow=o))}const oP={name:"arrow",enabled:!0,phase:"main",fn:nP,effect:rP,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},sP=$S({defaultModifiers:[...HS,XS,KS,eP,ng,tg,oP]});function iP({locked:e=!1,overflowPadding:t=8,offsetDistance:n=8,offsetSkid:r=0,gpuAcceleration:o=!0,adaptive:s=!0,scroll:i=!0,resize:a=!0,arrow:l=!1,placement:c,strategy:u},f){const d=F(null),p=F(null),h=F(null);return Le(()=>{Qe(g=>{if(!p.value||!d.value&&!(f!=null&&f.value))return;const m=Ua(p),w=(f==null?void 0:f.value)||Ua(d);if(!(m instanceof HTMLElement)||!w)return;const b={modifiers:[{name:"flip",enabled:!e},{name:"preventOverflow",options:{padding:t}},{name:"offset",options:{offset:[r,n]}},{name:"computeStyles",options:{adaptive:s,gpuAcceleration:o}},{name:"eventListeners",options:{scroll:i,resize:a}},{name:"arrow",enabled:l}]};c&&(b.placement=c),u&&(b.strategy=u),h.value=sP(w,m,b),g(h.value.destroy)})}),[d,p,h]}const aP=Wt(He.ui.strategy,He.ui.popover,gE),lP=re({components:{HPopover:Hh,HPopoverButton:HC,HPopoverPanel:UC},inheritAttrs:!1,props:{mode:{type:String,default:"click",validator:e=>["click","hover"].includes(e)},open:{type:Boolean,default:void 0},disabled:{type:Boolean,default:!1},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},overlay:{type:Boolean,default:!1},popper:{type:Object,default:()=>({})},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:open"],setup(e,{emit:t}){const{ui:n,attrs:r}=qe("popover",we(e,"ui"),aP,we(e,"class")),o=R(()=>ci(e.mode==="hover"?{offsetDistance:0}:{},e.popper,n.value.popper)),[s,i]=iP(o.value),a=F(null),l=F(null);let c=null,u=null;Le(()=>{var m,w;const h=(m=a.value)==null?void 0:m.$.provides;if(!h)return;const g=Object.getOwnPropertySymbols(h);l.value=g.length&&h[g[0]],e.open&&((w=l.value)==null||w.togglePopover())});const f=R(()=>{var w,b,v;if(e.mode!=="hover")return{};const h=((w=e.popper)==null?void 0:w.offsetDistance)||((b=n.value.popper)==null?void 0:b.offsetDistance)||8,g=(v=o.value.placement)==null?void 0:v.split("-")[0],m=`${h}px`;return g==="top"||g==="bottom"?{paddingTop:m,paddingBottom:m}:g==="left"||g==="right"?{paddingLeft:m,paddingRight:m}:{paddingTop:m,paddingBottom:m,paddingLeft:m,paddingRight:m}});function d(){e.mode!=="hover"||!l.value||(u&&(clearTimeout(u),u=null),l.value.popoverState!==0&&(c=c||setTimeout(()=>{l.value.togglePopover&&l.value.togglePopover(),c=null},e.openDelay)))}function p(){e.mode!=="hover"||!l.value||(c&&(clearTimeout(c),c=null),l.value.popoverState!==1&&(u=u||setTimeout(()=>{l.value.closePopover&&l.value.closePopover(),u=null},e.closeDelay)))}return je(()=>e.open,(h,g)=>{l.value&&(g===void 0||h===g||(h?l.value.popoverState=0:l.value.closePopover()))}),je(()=>{var h;return(h=l.value)==null?void 0:h.popoverState},(h,g)=>{g===void 0||h===g||t("update:open",h===0)}),{ui:n,attrs:r,popover:a,popper:o,trigger:s,container:i,containerStyle:f,onMouseOver:d,onMouseLeave:p}}}),cP=["disabled"];function uP(e,t,n,r,o,s){const i=ar("HPopoverButton"),a=ar("HPopoverPanel"),l=ar("HPopover");return I(),ae(l,ue({ref:"popover",class:e.ui.wrapper},e.attrs,{onMouseleave:e.onMouseLeave}),{default:le(({open:c,close:u})=>[Q(i,{ref:"trigger",as:"div",disabled:e.disabled,class:q(e.ui.trigger),role:"button",onMouseover:e.onMouseOver},{default:le(()=>[me(e.$slots,"default",{open:c,close:u},()=>[xe("button",{disabled:e.disabled}," Open ",8,cP)])]),_:2},1032,["disabled","class","onMouseover"]),e.overlay?(I(),ae(Hn,ue({key:0,appear:""},e.ui.overlay.transition),{default:le(()=>[c?(I(),ne("div",{key:0,class:q([e.ui.overlay.base,e.ui.overlay.background])},null,2)):ge("",!0)]),_:2},1040)):ge("",!0),c?(I(),ne("div",{key:1,ref:"container",class:q([e.ui.container,e.ui.width]),style:mn(e.containerStyle),onMouseover:t[0]||(t[0]=(...f)=>e.onMouseOver&&e.onMouseOver(...f))},[Q(Hn,ue({appear:""},e.ui.transition),{default:le(()=>[xe("div",null,[e.popper.arrow?(I(),ne("div",{key:0,"data-popper-arrow":"",class:q(Object.values(e.ui.arrow))},null,2)):ge("",!0),Q(a,{class:q([e.ui.base,e.ui.background,e.ui.ring,e.ui.rounded,e.ui.shadow]),static:""},{default:le(()=>[me(e.$slots,"panel",{open:c,close:u})]),_:2},1032,["class"])])]),_:2},1040)],38)):ge("",!0)]),_:3},16,["class","onMouseleave"])}const fP=Mt(lP,[["render",uP]]),dP=re({inheritAttrs:!1,__name:"HeaderLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t=it(),n=R(()=>({wrapper:"flex items-center gap-x-8",base:"text-sm/6 font-semibold flex items-center gap-1",active:"text-primary",inactive:"hover:text-primary",trailingIcon:{name:t.ui.icons.chevron,base:"w-5 h-5 transform transition-transform duration-200 flex-shrink-0",active:"rotate-180",inactive:""},externalIcon:{name:t.ui.icons.external,base:"w-3 h-3 absolute top-0.5 -right-3.5 text-gray-400 dark:text-gray-500"},popover:{mode:"hover",openDelay:0,ui:{width:"max-w-[16rem]"}}})),r=e,{ui:o,attrs:s}=qe("header.links",we(r,"ui"),n,we(r,"class"),!0);return(i,a)=>{var d;const l=yt,c=Wn,u=rS,f=fP;return(d=e.links)!=null&&d.length?(I(),ne("ul",ue({key:0,class:C(o).wrapper},C(s)),[(I(!0),ne(ke,null,vt(e.links,(p,h)=>{var g;return I(),ne("li",{key:h,class:"relative"},[(g=p.children)!=null&&g.length?(I(),ae(f,zo(ue({key:0},C(o).popover)),{default:le(({open:m})=>[Q(c,ue(C(Dr)(p),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:p.click}),{default:le(()=>[me(i.$slots,"label",{link:p},()=>[Je(Fe(p.label),1)]),Q(l,{name:C(o).trailingIcon.name,class:q([C(o).trailingIcon.base,m?C(o).trailingIcon.active:C(o).trailingIcon.inactive])},null,8,["name","class"])]),_:2},1040,["class","active-class","inactive-class","onClick"])]),panel:le(({close:m})=>[me(i.$slots,"panel",{link:p,close:m},()=>[Q(u,{links:p.children,onClick:m},null,8,["links","onClick"])])]),_:2},1040)):(I(),ae(c,ue({key:1},C(Dr)(p),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:p.click}),{default:le(()=>[me(i.$slots,"label",{link:p},()=>[Je(Fe(p.label),1)]),p.target==="_blank"?(I(),ae(l,{key:0,name:C(o).externalIcon.name,class:q(C(o).externalIcon.base)},null,8,["name","class"])):ge("",!0)]),_:2},1040,["class","active-class","inactive-class","onClick"]))])}),128))],16)):ge("",!0)}}}),pP=Wt(He.ui.strategy,He.ui.container,hE),hP=re({inheritAttrs:!1,props:{as:{type:String,default:"div"},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=qe("container",we(e,"ui"),pP),r=R(()=>It(ut(t.value.base,t.value.padding,t.value.constrained),e.class));return{ui:t,attrs:n,containerClass:r}}});function gP(e,t,n,r,o,s){return I(),ae(Or(e.as),ue({class:e.containerClass},e.attrs),{default:le(()=>[me(e.$slots,"default")]),_:3},16,["class"])}const cc=Mt(hP,[["render",gP]]),mP=re({inheritAttrs:!1,__name:"AsideLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t=it(),n=R(()=>({wrapper:"space-y-3 mb-3 lg:mb-6 -mx-1 lg:mx-0",base:"flex items-center gap-1.5 lg:gap-2 group",active:"text-primary font-semibold",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 font-medium",icon:{wrapper:"rounded-md p-1 inline-flex ring-inset ring-1",base:"w-4 h-4 flex-shrink-0",active:"bg-primary ring-primary text-background",inactive:"bg-gray-100/50 dark:bg-gray-800/50 ring-gray-300 dark:ring-gray-700 group-hover:bg-primary group-hover:ring-primary group-hover:text-background"},externalIcon:{name:t.ui.icons.external,base:"w-3 h-3 absolute top-0.5 -right-3.5 text-gray-400 dark:text-gray-500"},label:"text-sm/6 relative"})),r=e,{ui:o,attrs:s}=qe("aside.links",we(r,"ui"),n,we(r,"class"),!0);return(i,a)=>{var u;const l=yt,c=Wn;return(u=e.links)!=null&&u.length?(I(),ne("div",ue({key:0,class:C(o).wrapper},C(s)),[(I(!0),ne(ke,null,vt(e.links,(f,d)=>(I(),ae(c,ue({key:d},C(Dr)(f),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:f.click}),{default:le(({isActive:p})=>[f.icon?(I(),ne("div",{key:0,class:q([C(o).icon.wrapper,f.active||p?C(o).icon.active:C(o).icon.inactive])},[Q(l,{name:f.icon,class:q(C(It)(C(o).icon.base,f.iconClass))},null,8,["name","class"])],2)):ge("",!0),xe("span",{class:q(C(o).label)},[Je(Fe(f.label)+" ",1),f.target==="_blank"?(I(),ae(l,{key:0,name:C(o).externalIcon.name,class:q(C(o).externalIcon.base)},null,8,["name","class"])):ge("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):ge("",!0)}}}),Xa=e=>e.map(t=>{if(!t.children||typeof t.children=="string")return t.children||"";if(Array.isArray(t.children))return Xa(t.children);if(t.children.default)return Xa(t.children.default())}).join(""),vP=re({inheritAttrs:!1,__name:"Header",props:{to:{type:String,default:"/"},title:{type:String,default:void 0},links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"bg-background/75 backdrop-blur border-b border-gray-200 dark:border-gray-800 -mb-px sticky top-0 z-50",container:"flex items-center justify-between gap-3 h-[--header-height]",left:"lg:flex-1 flex items-center gap-1.5",center:"hidden lg:flex",right:"flex items-center justify-end lg:flex-1 gap-1.5",logo:"flex-shrink-0 font-bold text-xl text-gray-900 dark:text-white flex items-end gap-1.5",panel:{wrapper:"fixed inset-0 z-50 overflow-y-auto bg-background lg:hidden",header:"px-4 sm:px-6",body:"px-4 sm:px-6 pt-3 pb-6"},button:{base:"lg:hidden",icon:{open:"i-heroicons-bars-3",close:"i-heroicons-x-mark-20-solid"}}},n=e,r=Un(),o=vd(),{isHeaderDialogOpen:s}=mh(),{ui:i,attrs:a}=qe("header",we(n,"ui"),t,we(n,"class"),!0),l=R(()=>(n.title||o.title&&Xa(o.title())||"Logo").trim());return je(()=>r.fullPath,()=>{s.value=!1}),(c,u)=>{const f=ch,d=dP,p=qt,h=cc,g=mP;return I(),ne("header",ue({class:C(i).wrapper},C(a)),[me(c.$slots,"top"),Q(h,{class:q(C(i).container)},{default:le(()=>[xe("div",{class:q(C(i).left)},[me(c.$slots,"left",{},()=>[Q(f,{to:e.to,"aria-label":C(l),class:q(C(i).logo)},{default:le(()=>[me(c.$slots,"logo",{},()=>[Je(Fe(e.title||"Nuxt UI Pro"),1)])]),_:3},8,["to","aria-label","class"])])],2),me(c.$slots,"center",{},()=>[Q(d,{links:e.links,class:q(C(i).center)},null,8,["links","class"])]),xe("div",{class:q(C(i).right)},[me(c.$slots,"right"),me(c.$slots,"panel-button",{open:C(s)},()=>{var m,w;return[e.links.length||c.$slots.panel?(I(),ae(p,ue({key:0,class:C(i).button.base},(w=(m=c.$ui)==null?void 0:m.button)==null?void 0:w.secondary,{"aria-label":`${C(s)?"Close":"Open"} Menu`,icon:C(s)?C(i).button.icon.close:C(i).button.icon.open,onClick:u[0]||(u[0]=b=>s.value=!C(s))}),null,16,["class","aria-label","icon"])):ge("",!0)]})],2)]),_:3},8,["class"]),me(c.$slots,"bottom"),Q(C(Vh),{show:C(s),as:"template"},{default:le(()=>[Q(C($C),{as:"div",onClose:u[2]||(u[2]=m=>s.value=!1)},{default:le(()=>[Q(C(RC),{class:q(C(i).panel.wrapper)},{default:le(()=>[xe("div",{class:q([C(i).panel.header,C(i).wrapper])},[xe("div",{class:q(C(i).container)},[xe("div",{class:q(C(i).left)},[me(c.$slots,"left",{},()=>[Q(f,{to:e.to,"aria-label":C(l),class:q(C(i).logo)},{default:le(()=>[me(c.$slots,"logo",{},()=>[Je(Fe(e.title||"Nuxt UI Pro"),1)])]),_:3},8,["to","aria-label","class"])])],2),me(c.$slots,"center"),xe("div",{class:q(C(i).right)},[me(c.$slots,"right"),me(c.$slots,"panel-button",{open:C(s)},()=>{var m,w;return[Q(p,ue({class:C(i).button.base},(w=(m=c.$ui)==null?void 0:m.button)==null?void 0:w.secondary,{"aria-label":`${C(s)?"Close":"Open"} Menu`,icon:C(s)?C(i).button.icon.close:C(i).button.icon.open,onClick:u[1]||(u[1]=b=>s.value=!C(s))}),null,16,["class","aria-label","icon"])]})],2)],2)],2),xe("div",{class:q(C(i).panel.body)},[me(c.$slots,"panel",{},()=>[Q(g,{links:e.links},null,8,["links"])])],2)]),_:3},8,["class"])]),_:3})]),_:3},8,["show"])],16)}}}),yP=/\d/,bP=["-","_","/","."];function wP(e=""){if(!yP.test(e))return e!==e.toLowerCase()}function uc(e,t){const n=t??bP,r=[];if(!e||typeof e!="string")return r;let o="",s,i;for(const a of e){const l=n.includes(a);if(l===!0){r.push(o),o="",s=void 0;continue}const c=wP(a);if(i===!1){if(s===!1&&c===!0){r.push(o),o=a,s=c;continue}if(s===!0&&c===!1&&o.length>1){const u=o.at(-1);r.push(o.slice(0,Math.max(0,o.length-1))),o=u+a,s=c;continue}}o+=a,s=c,i=l}return r.push(o),r}function rg(e){return e?e[0].toUpperCase()+e.slice(1):""}function bT(e,t){return e?(Array.isArray(e)?e:uc(e)).map(n=>rg(t!=null&&t.normalize?n.toLowerCase():n)).join(""):""}function wT(e,t){return e?(Array.isArray(e)?e:uc(e)).map(n=>n.toLowerCase()).join(t??"-"):""}const _P={title:"label",_path:"to"};function og(e,t){return e.map(n=>{var o;const r={};for(const s in n){if(s==="children"){r.children=(o=n.children)!=null&&o.length?og(n.children):void 0;continue}n[s]&&(r[_P[s]||s]=n[s])}return r})}function _T(e){var t;return(t=e._dir)!=null&&t.title?e._dir.title:uc(e._dir).map(n=>rg(n)).join(" ")}function xP(e,t){return!e||!t?[]:e.reduce((n,r)=>{var o;return(o=t._path)!=null&&o.startsWith(r._path)&&r.children&&(n.push(r),n.push(...xP(r.children,t))),n},[])}const kP=""+globalThis.__publicAssetsURL("favicon.ico"),EP={class:"hidden sm:block"},CP=xe("img",{class:"block sm:hidden h-6 w-auto",src:kP,alt:"mobile favicon"},null,-1),sg=re({__name:"Header",setup(e){const t=Te("navigation",[]),{header:n}=it();return(r,o)=>{var d;const s=xE,i=dh,a=GE,l=vh,c=qt,u=Wh,f=vP;return I(),ae(f,null,ii({logo:le(()=>{var p,h,g,m,w;return[(h=(p=C(n))==null?void 0:p.logo)!=null&&h.dark||(m=(g=C(n))==null?void 0:g.logo)!=null&&m.light?(I(),ne(ke,{key:0},[xe("div",EP,[Q(s,zo(Ko({class:"h-6 w-auto",...(w=C(n))==null?void 0:w.logo})),null,16)]),CP],64)):(I(),ne(ke,{key:1},[Je(" Nuxt UI Pro "),Q(i,{label:"Docs",variant:"subtle",class:"mb-0.5"})],64))]}),right:le(()=>{var p,h,g;return[(p=C(n))!=null&&p.search?(I(),ae(a,{key:0,label:null,class:"lg:hidden"})):ge("",!0),(h=C(n))!=null&&h.colorMode?(I(),ae(l,{key:1})):ge("",!0),(g=C(n))!=null&&g.links?(I(!0),ne(ke,{key:2},vt(C(n).links,(m,w)=>(I(),ae(c,ue({key:w},{color:"gray",variant:"ghost",...m}),null,16))),128)):ge("",!0)]}),panel:le(()=>[Q(u,{links:("mapContentNavigation"in r?r.mapContentNavigation:C(og))(C(t))},null,8,["links"])]),_:2},[(d=C(n))!=null&&d.search?{name:"center",fn:le(()=>[Q(a,{class:"hidden lg:flex"})]),key:"0"}:void 0]),1024)}}}),SP=re({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return ze(Kr,Vo(r)),()=>ye(e.vnode,{ref:e.vnodeRef})}}),PP=re({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=Ae(),o=F(),s=Te(Kr,null);let i;n({pageRef:o});const a=Te(yp,null);let l;const c=r.deferHydration();return e.pageKey&&je(()=>e.pageKey,(u,f)=>{u!==f&&r.callHook("page:loading:start")}),()=>ye(Mp,{name:e.name,route:e.route,...t},{default:u=>{const f=AP(s,u.route,u.Component),d=s&&s.matched.length===u.route.matched.length;if(!u.Component){if(l&&!d)return l;c();return}if(l&&a&&!a.isCurrent(u.route))return l;if(f&&s&&(!a||a!=null&&a.isCurrent(s)))return d?l:null;const p=Aa(u,e.pageKey);!r.isHydrating&&!OP(s,u.route,u.Component)&&i===p&&r.callHook("page:loading:end"),i=p;const h=!!(e.transition??u.route.meta.pageTransition??Ea),g=h&&TP([e.transition,u.route.meta.pageTransition,Ea,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),m=e.keepalive??u.route.meta.keepalive??bb;return l=Dp(Hn,h&&g,Mw(m,ye(hl,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{yn(()=>r.callHook("page:finish",u.Component).then(()=>r.callHook("page:loading:end")).finally(c))}},{default:()=>{const w=ye(SP,{key:p||void 0,vnode:u.Component,route:u.route,renderKey:p||void 0,trackRootNodes:h,vnodeRef:o});return m&&(w.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),w}}))).default(),l}})}});function TP(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Ll(n.onAfterLeave):void 0}));return ci(...t)}function AP(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)});return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>{var i,a,l;return((i=o.components)==null?void 0:i.default)!==((l=(a=e.matched[s])==null?void 0:a.components)==null?void 0:l.default)})||n&&Aa({route:t,Component:n})!==Aa({route:e,Component:n})}function OP(e,t,n){return e?t.matched.findIndex(o=>{var s;return((s=o.components)==null?void 0:s.default)===(n==null?void 0:n.type)})r.default||r);return()=>ye(n,e.layoutProps,t.slots)}}),RP=re({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=Ae(),r=Te(Kr),o=r===Un()?Iw():r,s=R(()=>{let l=C(e.name)??o.meta.layout??"default";return l&&!(l in Rn)&&e.fallback&&(l=C(e.fallback)),l}),i=F();t.expose({layoutRef:i});const a=n.deferHydration();return()=>{const l=s.value&&s.value in Rn,c=o.meta.layoutTransition??yb;return Dp(Hn,l&&c,{default:()=>ye(hl,{suspensible:!0,onResolve:()=>{yn(a)}},{default:()=>ye(LP,{layoutProps:ue(t.attrs,{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),LP=re({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&ze(yp,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,o;return!n||typeof n=="string"&&!(n in Rn)?(o=(r=t.slots).default)==null?void 0:o.call(r):ye($P,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),ig=re({inheritAttrs:!1,__name:"Main",props:{class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"min-h-[calc(100vh-var(--header-height))]"},n=e,{ui:r,attrs:o}=qe("main",we(n,"ui"),t,we(n,"class"),!0);return(s,i)=>(I(),ne("main",ue({class:C(r).wrapper},C(o)),[me(s.$slots,"default")],16))}}),IP=re({inheritAttrs:!1,__name:"FooterLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t=it(),n=R(()=>({wrapper:"flex flex-col md:flex-row items-center justify-center gap-4 lg:gap-6",base:"text-sm",active:"text-gray-900 dark:text-white font-medium",inactive:"text-gray-500 dark:text-gray-400 hover:text-gray-600 dark:hover:text-gray-300",externalIcon:{name:t.ui.icons.external,base:"w-3 h-3 absolute top-0.5 -right-3.5 text-gray-400 dark:text-gray-500"}})),r=e,{ui:o,attrs:s}=qe("footer.links",we(r,"ui"),n,we(r,"class"),!0);return(i,a)=>{var u;const l=yt,c=Wn;return(u=e.links)!=null&&u.length?(I(),ne("ul",ue({key:0,class:C(o).wrapper},C(s)),[(I(!0),ne(ke,null,vt(e.links,(f,d)=>(I(),ne("li",{key:d,class:"relative"},[Q(c,ue(C(Dr)(f),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:f.click}),{default:le(()=>[Je(Fe(f.label)+" ",1),f.target==="_blank"?(I(),ae(l,{key:0,name:C(o).externalIcon.name,class:q(C(o).externalIcon.base)},null,8,["name","class"])):ge("",!0)]),_:2},1040,["class","active-class","inactive-class","onClick"])]))),128))],16)):ge("",!0)}}}),jP=re({inheritAttrs:!1,__name:"Footer",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"relative",top:{wrapper:"",container:"py-8 lg:py-12"},bottom:{wrapper:"",container:"py-8 lg:py-4 lg:flex lg:items-center lg:justify-between lg:gap-x-3",left:"flex items-center justify-center lg:justify-start lg:flex-1 gap-x-1.5 mt-3 lg:mt-0 lg:order-1",center:"mt-3 lg:mt-0 lg:order-2 flex items-center justify-center",right:"lg:flex-1 flex items-center justify-center lg:justify-end gap-x-1.5 lg:order-3"}},n=e,{ui:r,attrs:o}=qe("footer",we(n,"ui"),t,we(n,"class"),!0);return(s,i)=>{const a=cc,l=IP;return I(),ne("footer",ue({class:C(r).wrapper},C(o)),[s.$slots.top?(I(),ne("div",{key:0,class:q(C(r).top.wrapper)},[Q(a,{class:q(C(r).top.container)},{default:le(()=>[me(s.$slots,"top")]),_:3},8,["class"])],2)):ge("",!0),xe("div",{class:q(C(r).bottom.wrapper)},[Q(a,{class:q(C(r).bottom.container)},{default:le(()=>[xe("div",{class:q(C(r).bottom.right)},[me(s.$slots,"right")],2),xe("div",{class:q(C(r).bottom.center)},[me(s.$slots,"center",{},()=>[Q(l,{links:e.links},null,8,["links"])])],2),xe("div",{class:q(C(r).bottom.left)},[me(s.$slots,"left")],2)]),_:3},8,["class"])],2)],16)}}}),ag=re({__name:"Footer",setup(e){const{footer:t}=it();return(n,r)=>{const o=vh,s=qt,i=jP;return I(),ae(i,null,{left:le(()=>[Je(Fe(C(t).credits),1)]),right:le(()=>{var a,l,c;return[(a=C(t))!=null&&a.colorMode?(I(),ae(o,{key:0})):ge("",!0),(l=C(t))!=null&&l.links?(I(!0),ne(ke,{key:1},vt((c=C(t))==null?void 0:c.links,(u,f)=>(I(),ae(s,ue({key:f},{color:"gray",variant:"ghost",...u}),null,16))),128)):ge("",!0)]}),_:1})}}}),Jn=Wt(He.ui.strategy,He.ui.avatar,uE),MP=re({components:{UIcon:yt},inheritAttrs:!1,props:{src:{type:[String,Boolean],default:null},alt:{type:String,default:null},text:{type:String,default:null},icon:{type:String,default:()=>Jn.default.icon},size:{type:String,default:()=>Jn.default.size,validator(e){return Object.keys(Jn.size).includes(e)}},chipColor:{type:String,default:()=>Jn.default.chipColor,validator(e){return["gray",...He.ui.colors].includes(e)}},chipPosition:{type:String,default:()=>Jn.default.chipPosition,validator(e){return Object.keys(Jn.chip.position).includes(e)}},chipText:{type:[String,Number],default:null},imgClass:{type:String,default:""},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=qe("avatar",we(e,"ui"),Jn),r=R(()=>typeof e.src=="boolean"?null:e.src),o=R(()=>(e.alt||"").split(" ").map(f=>f.charAt(0)).join("").substring(0,2)),s=R(()=>It(ut(t.value.wrapper,(c.value||!r.value)&&t.value.background,t.value.rounded,t.value.size[e.size]),e.class)),i=R(()=>It(ut(t.value.rounded,t.value.size[e.size]),e.imgClass)),a=R(()=>ut(t.value.icon.base,t.value.icon.size[e.size])),l=R(()=>ut(t.value.chip.base,t.value.chip.size[e.size],t.value.chip.position[e.chipPosition],t.value.chip.background.replaceAll("{color}",e.chipColor))),c=F(!1);je(()=>e.src,()=>{c.value&&(c.value=!1)});function u(){c.value=!0}return{ui:t,attrs:n,wrapperClass:s,imgClass:i,iconClass:a,chipClass:l,url:r,placeholder:o,error:c,onError:u}}}),DP=["alt","src"];function NP(e,t,n,r,o,s){const i=yt;return I(),ne("span",{class:q(e.wrapperClass)},[e.url&&!e.error?(I(),ne("img",ue({key:0,class:e.imgClass,alt:e.alt,src:e.url},e.attrs,{onError:t[0]||(t[0]=(...a)=>e.onError&&e.onError(...a))}),null,16,DP)):e.text?(I(),ne("span",{key:1,class:q(e.ui.text)},Fe(e.text),3)):e.icon?(I(),ae(i,{key:2,name:e.icon,class:q(e.iconClass)},null,8,["name","class"])):e.placeholder?(I(),ne("span",{key:3,class:q(e.ui.placeholder)},Fe(e.placeholder),3)):ge("",!0),e.chipColor?(I(),ne("span",{key:4,class:q(e.chipClass)},Fe(e.chipText),3)):ge("",!0),me(e.$slots,"default")],2)}const lg=Mt(MP,[["render",NP]]);function BP(e,t,n){let r=null;const{pause:o,resume:s,timestamp:i}=zE({...n||{},controls:!0}),a=F(null),l=R(()=>a.value?t-(i.value-a.value):0);function c(...g){r=setTimeout(()=>{r=null,a.value=null,e(...g)},l.value)}function u(){r&&(clearTimeout(r),r=null)}function f(){a.value=Date.now(),c()}function d(){u(),o()}function p(){u(),o()}function h(){c(),s(),a.value=(a.value||0)+(Date.now()-i.value)}return f(),{start:f,stop:d,pause:p,resume:h,remaining:l}}const ao=Wt(He.ui.strategy,He.ui.notification,mE),FP=re({components:{UIcon:yt,UAvatar:lg,UButton:qt},inheritAttrs:!1,props:{id:{type:[String,Number],required:!0},title:{type:String,required:!0},description:{type:String,default:null},icon:{type:String,default:()=>ao.default.icon},avatar:{type:Object,default:null},closeButton:{type:Object,default:()=>ao.default.closeButton},timeout:{type:Number,default:()=>ao.default.timeout},actions:{type:Array,default:()=>[]},callback:{type:Function,default:null},color:{type:String,default:()=>ao.default.color,validator(e){return["gray",...He.ui.colors].includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["close"],setup(e,{emit:t}){const{ui:n,attrs:r}=qe("notification",we(e,"ui"),ao);let o=null;const s=F(e.timeout),i=R(()=>{var h;return It(ut(n.value.wrapper,(h=n.value.background)==null?void 0:h.replaceAll("{color}",e.color),n.value.rounded,n.value.shadow),e.class)}),a=R(()=>{var h;return ut(n.value.progress.base,(h=n.value.progress.background)==null?void 0:h.replaceAll("{color}",e.color))}),l=R(()=>({width:`${s.value/e.timeout*100||0}%`})),c=R(()=>{var h;return ut(n.value.icon.base,(h=n.value.icon.color)==null?void 0:h.replaceAll("{color}",e.color))});function u(){o&&o.pause()}function f(){o&&o.resume()}function d(){o&&o.stop(),e.callback&&e.callback(),t("close")}function p(h){o&&o.stop(),h.click&&h.click(),t("close")}return Le(()=>{e.timeout&&(o=BP(()=>{d()},e.timeout),Qe(()=>{s.value=o.remaining.value}))}),Xe(()=>{o&&o.stop()}),{ui:n,attrs:r,wrapperClass:i,progressClass:a,progressStyle:l,iconClass:c,onMouseover:u,onMouseleave:f,onClose:d,onAction:p,twMerge:It}}});function HP(e,t,n,r,o,s){const i=yt,a=lg,l=qt;return I(),ae(Hn,ue({appear:""},e.ui.transition),{default:le(()=>[xe("div",ue({class:e.wrapperClass,role:"status"},e.attrs,{onMouseover:t[0]||(t[0]=(...c)=>e.onMouseover&&e.onMouseover(...c)),onMouseleave:t[1]||(t[1]=(...c)=>e.onMouseleave&&e.onMouseleave(...c))}),[xe("div",{class:q([e.ui.container,e.ui.rounded,e.ui.ring])},[xe("div",{class:q(["flex",[e.ui.padding,e.ui.gap,{"items-start":e.description||e.$slots.description,"items-center":!e.description&&!e.$slots.description}]])},[e.icon?(I(),ae(i,{key:0,name:e.icon,class:q(e.iconClass)},null,8,["name","class"])):ge("",!0),e.avatar?(I(),ae(a,ue({key:1},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):ge("",!0),xe("div",{class:q(e.ui.inner)},[xe("p",{class:q(e.ui.title)},[me(e.$slots,"title",{title:e.title},()=>[Je(Fe(e.title),1)])],2),e.description||e.$slots.description?(I(),ne("p",{key:0,class:q(e.ui.description)},[me(e.$slots,"description",{description:e.description},()=>[Je(Fe(e.description),1)])],2)):ge("",!0),(e.description||e.$slots.description)&&e.actions.length?(I(),ne("div",{key:1,class:q(e.ui.actions)},[(I(!0),ne(ke,null,vt(e.actions,(c,u)=>(I(),ae(l,ue({key:u},{...e.ui.default.actionButton||{},...c},{onClick:Ri(f=>e.onAction(c),["stop"])}),null,16,["onClick"]))),128))],2)):ge("",!0)],2),e.closeButton||!e.description&&!e.$slots.description&&e.actions.length?(I(),ne("div",{key:2,class:q(e.twMerge(e.ui.actions,"mt-0"))},[!e.description&&!e.$slots.description&&e.actions.length?(I(!0),ne(ke,{key:0},vt(e.actions,(c,u)=>(I(),ae(l,ue({key:u},{...e.ui.default.actionButton||{},...c},{onClick:Ri(f=>e.onAction(c),["stop"])}),null,16,["onClick"]))),128)):ge("",!0),e.closeButton?(I(),ae(l,ue({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{onClick:Ri(e.onClose,["stop"])}),null,16,["onClick"])):ge("",!0)],2)):ge("",!0)],2),e.timeout?(I(),ne("div",{key:0,class:q(e.progressClass),style:mn(e.progressStyle)},null,6)):ge("",!0)],2)],16)]),_:3},16)}const cg=Mt(FP,[["render",HP]]);function UP(){const e=wr("notifications",()=>[]);function t(r){const o={id:new Date().getTime().toString(),...r};return e.value.findIndex(i=>i.id===o.id)===-1&&e.value.push(o),o}function n(r){e.value=e.value.filter(o=>o.id!==r)}return{add:t,remove:n}}const zP=Wt(He.ui.strategy,He.ui.notifications,vE),VP=re({components:{UNotification:cg},inheritAttrs:!1,props:{class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=qe("notifications",we(e,"ui"),zP),r=UP(),o=wr("notifications",()=>[]),s=R(()=>It(ut(t.value.wrapper,t.value.position,t.value.width),e.class));return{ui:t,attrs:n,toast:r,notifications:o,wrapperClass:s}}});function WP(e,t,n,r,o,s){const i=cg;return I(),ae(Ad,{to:"body"},[xe("div",ue({class:e.wrapperClass,role:"region"},e.attrs),[e.notifications.length?(I(),ne("div",{key:0,class:q(e.ui.container)},[(I(!0),ne(ke,null,vt(e.notifications,a=>(I(),ne("div",{key:a.id},[Q(i,ue(a,{class:a.click&&"cursor-pointer",onClick:l=>a.click&&a.click(a),onClose:l=>e.toast.remove(a.id)}),ii({_:2},[vt(e.$slots,(l,c)=>({name:c,fn:le(u=>[me(e.$slots,c,zo(Ko(u)))])}))]),1040,["class","onClick","onClose"])]))),128))],2)):ge("",!0)],16)])}const ug=Mt(VP,[["render",WP]]),qP=e=>e==="defer"||e===!1;function fc(...e){var p;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,o={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const s=Ae(),i=()=>null,a=()=>s.isHydrating?s.payload.data[n]:s.static.data[n];o.server=o.server??!0,o.default=o.default??i,o.getCachedData=o.getCachedData??a,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??_b.deep,o.dedupe=o.dedupe??"cancel";const l=()=>![null,void 0].includes(o.getCachedData(n));if(!s._asyncData[n]||!o.immediate){(p=s.payload._errors)[n]??(p[n]=null);const h=o.deep?F:pr;s._asyncData[n]={data:h(o.getCachedData(n)??o.default()),pending:F(!l()),error:we(s.payload._errors,n),status:F("idle")}}const c={...s._asyncData[n]};c.refresh=c.execute=(h={})=>{if(s._asyncDataPromises[n]){if(qP(h.dedupe??o.dedupe))return s._asyncDataPromises[n];s._asyncDataPromises[n].cancelled=!0}if((h._initial||s.isHydrating&&h._initial!==!1)&&l())return Promise.resolve(o.getCachedData(n));c.pending.value=!0,c.status.value="pending";const g=new Promise((m,w)=>{try{m(r(s))}catch(b){w(b)}}).then(m=>{if(g.cancelled)return s._asyncDataPromises[n];let w=m;o.transform&&(w=o.transform(m)),o.pick&&(w=KP(w,o.pick)),s.payload.data[n]=w,c.data.value=w,c.error.value=null,c.status.value="success"}).catch(m=>{if(g.cancelled)return s._asyncDataPromises[n];c.error.value=fi(m),c.data.value=C(o.default()),c.status.value="error"}).finally(()=>{g.cancelled||(c.pending.value=!1,delete s._asyncDataPromises[n])});return s._asyncDataPromises[n]=g,s._asyncDataPromises[n]};const u=()=>c.refresh({_initial:!0}),f=o.server!==!1&&s.payload.serverRendered;{const h=sn();if(h&&!h._nuxtOnBeforeMountCbs){h._nuxtOnBeforeMountCbs=[];const m=h._nuxtOnBeforeMountCbs;h&&(pd(()=>{m.forEach(w=>{w()}),m.splice(0,m.length)}),Xe(()=>m.splice(0,m.length)))}f&&s.isHydrating&&(c.error.value||l())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):h&&(s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?h._nuxtOnBeforeMountCbs.push(u):o.immediate&&u(),o.watch&&je(o.watch,()=>c.refresh());const g=s.hook("app:data:refresh",async m=>{(!m||m.includes(n))&&await c.refresh()});h&&Xe(g)}const d=Promise.resolve(s._asyncDataPromises[n]).then(()=>c);return Object.assign(d,c),d}function KP(e,t){const n={};for(const r of t)n[r]=e[r];return n}function dc(e){return JSON.stringify(e,GP)}function GP(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const fg=e=>{let t=dc(e);return t=typeof Buffer<"u"?Buffer.from(t).toString("base64"):btoa(t),t=t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(t.match(/.{1,100}/g)||[]).join("/")},pc=()=>({isEnabled:()=>{const r=Un().query;return Object.prototype.hasOwnProperty.call(r,"preview")&&!r.preview?!1:!!(r.preview||Ss("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>Ss("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:r=>{Ss("previewToken").value=r,Un().query.preview=r||"",r?sessionStorage.setItem("previewToken",r):sessionStorage.removeItem("previewToken"),window.location.reload()}}),Qs=e=>Vd(e,jt().public.content.api.baseURL),xT=()=>{throw console.warn("useContent is only accessible when you are using `documentDriven` mode."),console.warn("Learn more by visiting: https://content.nuxt.com/document-driven"),new Error("useContent is only accessible when you are using `documentDriven` mode.")},dg=()=>{const{experimental:e}=jt().public.content;return e.clientDB?!0:pc().isEnabled()},Cf=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),hc=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),kT=e=>t=>e&&e.length?hc(t,n=>!e.includes(n)):t,ET=e=>t=>Array.isArray(t)?t.map(n=>e(n)):e(t),pg=e=>{const t=[],n=[];for(const r of e)["$","_"].includes(r)?t.push(r):n.push(r);return{prefixes:t,properties:n}},CT=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=pg(e);return hc(t,o=>!r.includes(o)&&!n.includes(o[0]))},ST=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=pg(e);return hc(t,o=>r.includes(o)||n.includes(o[0]))},PT=(e,t)=>{const n=new Intl.Collator(t.$locale,{numeric:t.$numeric,caseFirst:t.$caseFirst,sensitivity:t.$sensitivity}),r=Object.keys(t).filter(o=>!o.startsWith("$"));for(const o of r)e=e.sort((s,i)=>{const a=[Cf(s,o),Cf(i,o)].map(l=>{if(l!==null)return l instanceof Date?l.toISOString():l});return t[o]===-1&&a.reverse(),n.compare(a[0],a[1])});return e},TT=(e,t="Expected an array")=>{if(!Array.isArray(e))throw new TypeError(t)},dn=e=>Array.isArray(e)?e:[void 0,null].includes(e)?[]:[e],QP=["sort","where","only","without"];function XP(e,t={}){const n={};for(const i of Object.keys(t.initialParams||{}))n[i]=QP.includes(i)?dn(t.initialParams[i]):t.initialParams[i];const r=(i,a=l=>l)=>(...l)=>(n[i]=a(...l),s),o=i=>{var a;return t.legacy?i!=null&&i.surround?i.surround:i&&(i!=null&&i.dirConfig&&(i.result={_path:(a=i.dirConfig)==null?void 0:a._path,...i.result,_dir:i.dirConfig}),i!=null&&i._path||Array.isArray(i)||!Object.prototype.hasOwnProperty.call(i,"result")?i:i==null?void 0:i.result):i},s={params:()=>({...n,...n.where?{where:[...dn(n.where)]}:{},...n.sort?{sort:[...dn(n.sort)]}:{}}),only:r("only",dn),without:r("without",dn),where:r("where",i=>[...dn(n.where),...dn(i)]),sort:r("sort",i=>[...dn(n.sort),...dn(i)]),limit:r("limit",i=>parseInt(String(i),10)),skip:r("skip",i=>parseInt(String(i),10)),find:()=>e(s).then(o),findOne:()=>e(r("first")(!0)).then(o),count:()=>e(r("count")(!0)).then(o),locale:i=>s.where({_locale:i}),withSurround:r("surround",(i,a)=>({query:i,...a})),withDirConfig:()=>r("dirConfig")(!0)};return t.legacy&&(s.findSurround=(i,a)=>s.withSurround(i,a).find().then(o)),s}const YP=()=>async e=>{const{content:t}=jt().public,n=e.params(),r=t.experimental.stripQueryParameters?Qs(`/query/${`${Lo(n)}.${t.integrity}`}/${fg(n)}.json`):Qs(`/query/${Lo(n)}.${t.integrity}.json`);if(dg())return(await X(()=>import("./client-db.rX5AsS25.js"),__vite__mapDeps([44,5]),import.meta.url).then(i=>i.useContentDatabase())).fetch(e);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:dc(n),previewToken:pc().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function JP(e,...t){const{content:n}=jt().public,r=XP(YP(),{initialParams:typeof e!="string"?e:{},legacy:!0});let o;typeof e=="string"&&(o=pa(br(e,...t)));const s=r.params;return r.params=()=>{var a,l,c;const i=s();return o&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:Go(o)}):i.where.push({_path:new RegExp(`^${o.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),(a=i.sort)!=null&&a.length||(i.sort=[{_file:1,$numeric:!0}]),n.locales.length&&((c=(l=i.where)==null?void 0:l.find(f=>f._locale))!=null&&c._locale||(i.where=i.where||[],i.where.push({_locale:n.defaultLocale}))),i},r}const hg=async e=>{const{content:t}=jt().public;typeof(e==null?void 0:e.params)!="function"&&(e=JP(e));const n=e.params(),r=t.experimental.stripQueryParameters?Qs(`/navigation/${`${Lo(n)}.${t.integrity}`}/${fg(n)}.json`):Qs(`/navigation/${Lo(n)}.${t.integrity}.json`);if(dg())return(await X(()=>import("./client-db.rX5AsS25.js"),__vite__mapDeps([44,5]),import.meta.url).then(i=>i.generateNavigation))(n);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:dc(n),previewToken:pc().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function ZP(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],s=R(()=>{let E=e;return typeof E=="function"&&(E=E()),Xt(E)}),i=r.key||Lo([o,typeof s.value=="string"?s.value:"",...eT(r)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const a=i===o?"$f"+i:i;if(!r.baseURL&&typeof s.value=="string"&&s.value[0]==="/"&&s.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:f,pick:d,watch:p,immediate:h,getCachedData:g,deep:m,...w}=r,b=Lt({...xb,...w,cache:typeof r.cache=="boolean"?void 0:r.cache}),v={server:l,lazy:c,default:u,transform:f,pick:d,immediate:h,getCachedData:g,deep:m,watch:p===!1?[]:[b,s,...p||[]]};let y;return fc(a,()=>{var T;(T=y==null?void 0:y.abort)==null||T.call(y),y=typeof AbortController<"u"?new AbortController:{};const E=Xt(r.timeout);return E&&setTimeout(()=>y.abort(),E),(r.$fetch||globalThis.$fetch)(s.value,{signal:y.signal,...b})},v)}function gg(e,t,n){const[r,o]=typeof t=="string"?[{},t]:[t,n];return ZP(e,{...r,lazy:!0},o)}function eT(e){var n;const t=[((n=Xt(e.method))==null?void 0:n.toUpperCase())||"GET",Xt(e.baseURL)];for(const r of[e.params||e.query]){const o=Xt(r);if(!o)continue;const s={};for(const[i,a]of Object.entries(o))s[Xt(i)]=Xt(a);t.push(s)}return t}const tT=Z(()=>X(()=>import("./DocsSearch.cRjzeNWs.js"),__vite__mapDeps([45,46]),import.meta.url).then(e=>e.default||e)),nT=re({__name:"app",async setup(e){let t,n;const{data:r}=([t,n]=ml(()=>fc("navigation",()=>hg())),t=await t,n(),t),{data:o}=gg("/api/search.json",{default:()=>[],server:!1},"$siNM9WAguS");return Xo({meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",href:"/favicon.ico"}],htmlAttrs:{lang:"en"}}),fp({ogSiteName:"Nuxt x Supabase - Docs",twitterCard:"summary_large_image"}),ze("navigation",r),(s,i)=>{const a=sg,l=PP,c=RP,u=ig,f=ag,d=tT,p=Wl,h=ug;return I(),ne("div",null,[Q(a),Q(u,null,{default:le(()=>[Q(c,null,{default:le(()=>[Q(l)]),_:1})]),_:1}),Q(f),Q(p,null,{default:le(()=>[Q(d,{files:C(o),navigation:C(r)},null,8,["files","navigation"])]),_:1}),Q(h)])}}}),rT=re({inheritAttrs:!1,__name:"PageError",props:{error:{type:Object,default:void 0},status:{type:Number,default:404},name:{type:String,default:"An error occurred"},message:{type:String,default:"This is not the page you're looking for."},clearButton:{type:Object,default:()=>({})},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"min-h-[calc(100vh-var(--header-height))] flex flex-col items-center justify-center",status:"text-base font-semibold text-primary",name:"text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-5xl",message:"mt-6 text-base/7 text-gray-500 dark:text-gray-400 text-center",links:"mt-10 flex items-center justify-center gap-x-6",default:{clearButton:{label:"Go back home",color:"primary",size:"lg"}}},n=e,{ui:r,attrs:o}=qe("page.error",we(n,"ui"),t,we(n,"class"),!0),s=()=>wp({redirect:"/"});return(i,a)=>{var c,u,f,d;const l=qt;return I(),ne("div",ue({class:C(r).wrapper},C(o)),[xe("p",{class:q(C(r).status)},Fe(((c=e.error)==null?void 0:c.statusCode)||e.status),3),xe("h1",{class:q(C(r).name)},Fe(((u=e.error)==null?void 0:u.name)||((f=e.error)==null?void 0:f.statusMessage)||e.name),3),xe("p",{class:q(C(r).message)},Fe((d=e.error)!=null&&d.message&&e.error.message!==(e.error.name||e.error.statusMessage||e.name)?e.error.message:e.message),3),xe("div",{class:q(C(r).links)},[Q(l,ue({...C(r).default.clearButton,...e.clearButton},{onClick:s}),null,16)],2)],16)}}}),oT=re({inheritAttrs:!1,__name:"Page",props:{class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"flex flex-col lg:grid lg:grid-cols-10 lg:gap-8",left:"lg:col-span-2",center:{narrow:"lg:col-span-6",base:"lg:col-span-8",full:"lg:col-span-10"},right:"lg:col-span-2 order-first lg:order-last"},n=e,r=vd(),{ui:o,attrs:s}=qe("page",we(n,"ui"),t,we(n,"class"),!0),i=R(()=>r.left&&r.right?o.value.center.narrow:r.left||r.right?o.value.center.base:o.value.center.full);return(a,l)=>(I(),ne("div",ue({class:C(o).wrapper},C(s)),[a.$slots.left?(I(),ne("div",{key:0,class:q(C(o).left)},[me(a.$slots,"left")],2)):ge("",!0),xe("div",{class:q(C(i))},[me(a.$slots,"default")],2),a.$slots.right?(I(),ne("div",{key:1,class:q(C(o).right)},[me(a.$slots,"right")],2)):ge("",!0)],16))}}),sT=Z(()=>X(()=>import("./DocsSearch.cRjzeNWs.js"),__vite__mapDeps([45,46]),import.meta.url).then(e=>e.default||e)),iT=re({__name:"error",props:{error:{}},async setup(e){let t,n;fp({title:"Page not found",description:"We are sorry but this page could not be found."}),Xo({htmlAttrs:{lang:"en"}});const{data:r}=([t,n]=ml(()=>fc("navigation",()=>hg())),t=await t,n(),t),{data:o}=gg("/api/search.json",{default:()=>[],server:!1},"$mar46U4SiV");return ze("navigation",r),(s,i)=>{const a=sg,l=rT,c=oT,u=cc,f=ig,d=ag,p=sT,h=Wl,g=ug;return I(),ne("div",null,[Q(a),Q(f,null,{default:le(()=>[Q(u,null,{default:le(()=>[Q(c,null,{default:le(()=>[Q(l,{error:s.error},null,8,["error"])]),_:1})]),_:1})]),_:1}),Q(d),Q(h,null,{default:le(()=>[Q(p,{files:C(o),navigation:C(r)},null,8,["files","navigation"])]),_:1}),Q(g)])}}}),aT={__name:"nuxt-root",setup(e){const t=()=>null,n=Ae(),r=n.deferHydration(),o=!1;ze(Kr,Un()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const s=ui();gd((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),db(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Er(a)),!1});const i=!1;return(a,l)=>(I(),ae(hl,{onResolve:C(r)},{default:le(()=>[C(s)?(I(),ae(C(iT),{key:0,error:C(s)},null,8,["error"])):C(i)?(I(),ae(C(t),{key:1,context:C(i)},null,8,["context"])):C(o)?(I(),ae(Or(C(o)),{key:2})):(I(),ae(C(nT),{key:3}))]),_:1},8,["onResolve"]))}},Sf=aT;let Pf;{let e;Pf=async function(){var i,a;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Nv(Sf):Dv(Sf),o=Uy({vueApp:r});async function s(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||l}r.config.errorHandler=s;try{await Vy(o,_E)}catch(l){s(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(kb),await o.hooks.callHook("app:mounted",r),await yn()}catch(l){s(l)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=Pf().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Zo as $,xT as A,Pe as B,Al as C,Qe as D,wn as E,ke as F,R as G,tt as H,ee as I,Ch as J,ze as K,ql as L,We as M,je as N,ye as O,Nr as P,vT as Q,mr as R,dt as S,Hn as T,wh as U,Zt as V,zn as W,Yo as X,Te as Y,lC as Z,X as _,Xe as a,vd as a$,gt as a0,yn as a1,yT as a2,rn as a3,yt as a4,lg as a5,PE as a6,ar as a7,vt as a8,ae as a9,C as aA,et as aB,ch as aC,It as aD,Dr as aE,Wn as aF,pd as aG,qo as aH,Ri as aI,ml as aJ,fi as aK,fp as aL,fc as aM,_T as aN,oT as aO,Go as aP,wT as aQ,Lo as aR,cc as aS,ph as aT,mT as aU,Qr as aV,pT as aW,Ua as aX,hi as aY,fT as aZ,ms as a_,me as aa,ue as ab,mn as ac,Wt as ad,He as ae,qt as af,qe as ag,we as ah,ci as ai,dT as aj,ut as ak,_m as al,vv as am,ii as an,zo as ao,Ko as ap,$C as aq,RC as ar,Vh as as,QC as at,qE as au,Ln as av,mh as aw,hT as ax,QE as ay,xP as az,I as b,rx as b0,Xa as b1,Or as b2,MC as b3,DC as b4,jC as b5,Xo as b6,Hs as b7,lT as b8,hg as b9,pc as ba,bT as bb,$r as bc,$o as bd,br as be,gT as bf,UP as bg,sn as bh,pa as bi,Yk as bj,mP as bk,ig as bl,og as bm,Wh as bn,Cf as bo,TT as bp,dn as bq,kT as br,PT as bs,ET as bt,CT as bu,ST as bv,XP as bw,Vd as bx,ne as c,re as d,xe as e,ge as f,Q as g,Ss as h,uT as i,Je as j,Ae as k,Mt as l,jt as m,q as n,Le as o,cT as p,wr as q,F as r,JP as s,Fe as t,an as u,Un as v,le as w,Wy as x,it as y,Dv as z}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./_...slug_.t8EqlsH8.js","./ContentRenderer.U61vDq8M.js","./ContentRendererMarkdown.vue.08XeXCxx.js","./MDCRenderer.o5m2R7Hl.js","./index.kY4KOPT6.js","./_commonjsHelpers.5-cIlDoe.js","./node.kQagOfUD.js","./Card.oqOBlRID.js","./index.uUtgeEBU.css","./Releases.vp1dNn6t.js","./ProseH2.vue.wUyf_dNM.js","./useGithub.Y6y6nFQf.js","./Callout.vLvLyna8.js","./slot.BWovzuEB.js","./Card.CFFCfUPA.js","./CodeGroup.kr8KXOZ2.js","./ProseCodeIcon.vue.dMXRLg8I.js","./Collapsible.61xynCYw.js","./ProseCode.C2MVqIn7.js","./ProseCode.vue.15_JCNhQ.js","./ProseCodeButton.vue.OCF9lT2F.js","./ProseCode.nIRUQbb-.css","./ProseCodeButton.Ou4xCSMM.js","./ProseCodeIcon.67MQi9HX.js","./ProseH2.Ni1Wrda1.js","./ContentDoc.5_HypDRv.js","./ContentQuery.JwGr1xYe.js","./ContentList.XPmizk4i.js","./ContentRendererMarkdown.xGq-BhZ2.js","./ContentSlot.nvAV5AJw.js","./Markdown.YZLCIf66.js","./ProsePre.RIIM70WD.js","./IconCSS.xKd_D7LX.js","./IconCSS.AsHuoYM9.css","./GithubRepository.gV0Q39BJ.js","./GithubReadme.AjQ1bQDb.js","./GithubReleases.IdSk-78B.js","./GithubLastRelease.Zc4ixaxC.js","./GithubRelease.74JL6g_G.js","./GithubContributors.Gzo0vZ5O.js","./GithubFileContributors.b_sz_pTt.js","./GithubCommits.RrrfkHo4.js","./useStudio.-w8AO5Bf.js","./useStudio.cW0WuOeU.css","./client-db.czaupYgg.js","./DocsSearch.zSVieBBc.js","./DocsSearch.3-xXTSx6.css"] + __vite__mapDeps.viteFileDeps = ["./_...slug_.dWwFjP0b.js","./ContentRenderer.Snp_p6di.js","./ContentRendererMarkdown.vue.wsrTaKXh.js","./MDCRenderer.0MFNxIgT.js","./index.3HHY23m7.js","./_commonjsHelpers.5-cIlDoe.js","./node.kQagOfUD.js","./Card.D-3aG5gf.js","./index.uUtgeEBU.css","./Releases.TC6OrPKn.js","./ProseH2.vue.KLujDh1h.js","./useGithub.VmKQ2Hb8.js","./Callout.U_ncT6th.js","./slot.afHLBHGJ.js","./Card.Sj04FlIE.js","./CodeGroup.uHTqVN-T.js","./ProseCodeIcon.vue.caB8vZGS.js","./Collapsible.qWM3gGRD.js","./ProseCode.3zMaxfPm.js","./ProseCode.vue.MtZTLDWl.js","./ProseCodeButton.vue.ya303riA.js","./ProseCode.nIRUQbb-.css","./ProseCodeButton.Vf4Ii8-m.js","./ProseCodeIcon.c8RJNJoT.js","./ProseH2.ac_KN0ve.js","./ContentDoc.3KXCUWLY.js","./ContentQuery.3j2_soVj.js","./ContentList.SnNuiMTB.js","./ContentRendererMarkdown.Qy60WlDh.js","./ContentSlot.7o_IYYZq.js","./Markdown.Vu449gVI.js","./ProsePre.fNkfwBiv.js","./IconCSS.KXs9Vl1K.js","./IconCSS.AsHuoYM9.css","./GithubRepository.M9uREu0t.js","./GithubReadme.xQmd5EsK.js","./GithubReleases.RZH0RGD2.js","./GithubLastRelease.51GpqXcI.js","./GithubRelease.d-GfU9fx.js","./GithubContributors.PP-IaBat.js","./GithubFileContributors.9ZuCmwkG.js","./GithubCommits.dG8EDzuA.js","./useStudio.oiGkyvhW.js","./useStudio.cW0WuOeU.css","./client-db.rX5AsS25.js","./DocsSearch.cRjzeNWs.js","./DocsSearch.3-xXTSx6.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/_nuxt/highlighter.d9j6adwR.js b/_nuxt/highlighter.VWAyexcv.js similarity index 99% rename from _nuxt/highlighter.d9j6adwR.js rename to _nuxt/highlighter.VWAyexcv.js index 7023ca1a..0005c27b 100644 --- a/_nuxt/highlighter.d9j6adwR.js +++ b/_nuxt/highlighter.VWAyexcv.js @@ -1,4 +1,4 @@ -var Ft=Object.defineProperty;var Ut=(r,e,t)=>e in r?Ft(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var p=(r,e,t)=>(Ut(r,typeof e!="symbol"?e+"":e,t),t);import{_ as c}from"./entry.n8fVlM9F.js";const lt=[{id:"abap",name:"ABAP",import:()=>c(()=>import("./abap.yzSXrVC5.js"),__vite__mapDeps([]),import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>c(()=>import("./actionscript-3.NUzLYz6e.js"),__vite__mapDeps([]),import.meta.url)},{id:"ada",name:"Ada",import:()=>c(()=>import("./ada.HSb8VHJ5.js"),__vite__mapDeps([]),import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>c(()=>import("./angular-html.yxVqTS0b.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(function(r){return r.e})},{id:"angular-ts",name:"Angular TypeScript",import:()=>c(()=>import("./angular-ts.7zGs9C76.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>c(()=>import("./apache.TpqIaH_y.js"),__vite__mapDeps([]),import.meta.url)},{id:"apex",name:"Apex",import:()=>c(()=>import("./apex.z6-Xw0EX.js"),__vite__mapDeps([]),import.meta.url)},{id:"apl",name:"APL",import:()=>c(()=>import("./apl.yJx5rzQ3.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>c(()=>import("./applescript.1KeWlfzz.js"),__vite__mapDeps([]),import.meta.url)},{id:"ara",name:"Ara",import:()=>c(()=>import("./ara.7qqsOVdw.js"),__vite__mapDeps([]),import.meta.url)},{id:"asm",name:"Assembly",import:()=>c(()=>import("./asm.N3zWSyW8.js"),__vite__mapDeps([]),import.meta.url)},{id:"astro",name:"Astro",import:()=>c(()=>import("./astro.gGHJG0zO.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>c(()=>import("./awk.tQAliBPt.js"),__vite__mapDeps([]),import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>c(()=>import("./ballerina.PaIViq1I.js"),__vite__mapDeps([]),import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>c(()=>import("./bat.4hprCtpO.js"),__vite__mapDeps([]),import.meta.url)},{id:"beancount",name:"Beancount",import:()=>c(()=>import("./beancount.uiwATqdU.js"),__vite__mapDeps([]),import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>c(()=>import("./berry.99Qqo7Pl.js"),__vite__mapDeps([]),import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>c(()=>import("./bibtex.PUS4KD1G.js"),__vite__mapDeps([]),import.meta.url)},{id:"bicep",name:"Bicep",import:()=>c(()=>import("./bicep.U1vZFTkg.js"),__vite__mapDeps([]),import.meta.url)},{id:"blade",name:"Blade",import:()=>c(()=>import("./blade.KNL37tao.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>c(()=>import("./c.X9kOgFBJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>c(()=>import("./cadence.wPBjDAPG.js"),__vite__mapDeps([]),import.meta.url)},{id:"clarity",name:"Clarity",import:()=>c(()=>import("./clarity.9V3ikNUm.js"),__vite__mapDeps([]),import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>c(()=>import("./clojure.m464_LIc.js"),__vite__mapDeps([]),import.meta.url)},{id:"cmake",name:"CMake",import:()=>c(()=>import("./cmake.YiKLaZ9A.js"),__vite__mapDeps([]),import.meta.url)},{id:"cobol",name:"COBOL",import:()=>c(()=>import("./cobol._ZR5agqT.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>c(()=>import("./codeql.i7fhVOvX.js"),__vite__mapDeps([]),import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>c(()=>import("./coffee.fJ2aU-i-.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>c(()=>import("./cpp.Mww8HGxj.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>c(()=>import("./crystal.yZYljleR.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>c(()=>import("./csharp.2BZVon2H.js"),__vite__mapDeps([]),import.meta.url)},{id:"css",name:"CSS",import:()=>c(()=>import("./css.a-KJtBLB.js"),__vite__mapDeps([]),import.meta.url)},{id:"csv",name:"csv syntax",import:()=>c(()=>import("./csv.REIP-dDb.js"),__vite__mapDeps([]),import.meta.url)},{id:"cue",name:"CUE",import:()=>c(()=>import("./cue.ts9p4IYJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>c(()=>import("./cypher.y2dXjvht.js"),__vite__mapDeps([]),import.meta.url)},{id:"d",name:"D",import:()=>c(()=>import("./d.91KOtcJM.js"),__vite__mapDeps([]),import.meta.url)},{id:"dart",name:"Dart",import:()=>c(()=>import("./dart.ATU8nP6d.js"),__vite__mapDeps([]),import.meta.url)},{id:"dax",name:"DAX",import:()=>c(()=>import("./dax.eDd1XLPM.js"),__vite__mapDeps([]),import.meta.url)},{id:"diff",name:"Diff",import:()=>c(()=>import("./diff.-l9-nN5b.js"),__vite__mapDeps([]),import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>c(()=>import("./docker.FKXxym4E.js"),__vite__mapDeps([]),import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>c(()=>import("./dream-maker.L_Xna6pR.js"),__vite__mapDeps([]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>c(()=>import("./elixir.-iU-6W8K.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>c(()=>import("./elm.xbB3Paod.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>c(()=>import("./erb.F2WbMcJW.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>c(()=>import("./erlang._Br9gip-.js"),__vite__mapDeps([]),import.meta.url)},{id:"fish",name:"Fish",import:()=>c(()=>import("./fish.8OPDyp__.js"),__vite__mapDeps([]),import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>c(()=>import("./fsharp.5nj56DYn.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>c(()=>import("./gdresource.E-6KARD6.js"),__vite__mapDeps([33,34,35]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>c(()=>import("./gdscript.OcgrjXtx.js"),__vite__mapDeps([]),import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>c(()=>import("./gdshader.6pjKCTQy.js"),__vite__mapDeps([]),import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>c(()=>import("./gherkin.hgsyILVZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>c(()=>import("./git-commit.RtAxFnK2.js"),__vite__mapDeps([36,37]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>c(()=>import("./git-rebase.0KMhfRGC.js"),__vite__mapDeps([38,25]),import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>c(()=>import("./glimmer-js.BcobvQJQ.js"),__vite__mapDeps([39,2,40,1,3,41]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>c(()=>import("./glimmer-ts.R-R26SoE.js"),__vite__mapDeps([42,11,40,1,2,3,41]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>c(()=>import("./glsl.R1vJ1oYR.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>c(()=>import("./gnuplot.IjrRM4zE.js"),__vite__mapDeps([]),import.meta.url)},{id:"go",name:"Go",import:()=>c(()=>import("./go.2bJKq9hO.js"),__vite__mapDeps([]),import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>c(()=>import("./graphql.D_hPJL5L.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>c(()=>import("./groovy.t_Z-RNwE.js"),__vite__mapDeps([]),import.meta.url)},{id:"hack",name:"Hack",import:()=>c(()=>import("./hack.A9dM7Soe.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>c(()=>import("./haml.grEL_Akc.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,32]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>c(()=>import("./handlebars.SAnFpW51.js"),__vite__mapDeps([40,1,2,3,41]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>c(()=>import("./haskell.A-5_ppOo.js"),__vite__mapDeps([]),import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>c(()=>import("./hcl.M9siRbiv.js"),__vite__mapDeps([]),import.meta.url)},{id:"hjson",name:"Hjson",import:()=>c(()=>import("./hjson.WqKL_IBz.js"),__vite__mapDeps([]),import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>c(()=>import("./hlsl.Do_j-o-7.js"),__vite__mapDeps([]),import.meta.url)},{id:"html",name:"HTML",import:()=>c(()=>import("./html.0DSFJ4KV.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>c(()=>import("./http.zOl_tnnE.js"),__vite__mapDeps([47,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"imba",name:"Imba",import:()=>c(()=>import("./imba.fXdamFlz.js"),__vite__mapDeps([48,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>c(()=>import("./ini.T6bxBy5-.js"),__vite__mapDeps([]),import.meta.url)},{id:"java",name:"Java",import:()=>c(()=>import("./java.J9xUvsrr.js"),__vite__mapDeps([]),import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>c(()=>import("./javascript.Of8SnKfU.js"),__vite__mapDeps([]),import.meta.url)},{id:"jinja",name:"Jinja",import:()=>c(()=>import("./jinja.QIM0udV4.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>c(()=>import("./jison.zJEqYGkC.js"),__vite__mapDeps([50,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>c(()=>import("./json.t1qiHl76.js"),__vite__mapDeps([]),import.meta.url)},{id:"json5",name:"JSON5",import:()=>c(()=>import("./json5.ZOu0_AUY.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>c(()=>import("./jsonc.bsAR9RGa.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>c(()=>import("./jsonl.jX8WBZTU.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>c(()=>import("./jsonnet.WK26vH-O.js"),__vite__mapDeps([]),import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>c(()=>import("./jssm.eioTUq4-.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsx",name:"JSX",import:()=>c(()=>import("./jsx.RFqDhwr1.js"),__vite__mapDeps([]),import.meta.url)},{id:"julia",name:"Julia",import:()=>c(()=>import("./julia.U-qvXX7J.js"),__vite__mapDeps([51,21,22,23,18,52,2,53]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>c(()=>import("./kotlin.inxKUFvi.js"),__vite__mapDeps([]),import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>c(()=>import("./kusto.UpRCclYC.js"),__vite__mapDeps([]),import.meta.url)},{id:"latex",name:"LaTeX",import:()=>c(()=>import("./latex.3qoxmJjb.js"),__vite__mapDeps([54,55,53,3,56,1,2,7,8,30,23,51,21,22,18,52,29,25,11,41,57,58,59]),import.meta.url)},{id:"less",name:"Less",import:()=>c(()=>import("./less.I9yNwswz.js"),__vite__mapDeps([]),import.meta.url)},{id:"liquid",name:"Liquid",import:()=>c(()=>import("./liquid.o-s-iQ92.js"),__vite__mapDeps([60,1,2,3,9]),import.meta.url)},{id:"lisp",name:"Lisp",import:()=>c(()=>import("./lisp.iIZdsWzX.js"),__vite__mapDeps([]),import.meta.url)},{id:"logo",name:"Logo",import:()=>c(()=>import("./logo.WuHqTpFy.js"),__vite__mapDeps([]),import.meta.url)},{id:"lua",name:"Lua",import:()=>c(()=>import("./lua.B1kmAdIg.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>c(()=>import("./make.8zIAVqFD.js"),__vite__mapDeps([]),import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>c(()=>import("./markdown.G9M4Ga78.js"),__vite__mapDeps([]),import.meta.url)},{id:"marko",name:"Marko",import:()=>c(()=>import("./marko.ITGE-LOP.js"),__vite__mapDeps([61,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>c(()=>import("./matlab.Da4d4KUX.js"),__vite__mapDeps([]),import.meta.url)},{id:"mdc",name:"MDC",import:()=>c(()=>import("./mdc.mCV_44Do.js"),__vite__mapDeps([62,32,41]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>c(()=>import("./mdx.VhCSg2DJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>c(()=>import("./mermaid.WuNnVULj.js"),__vite__mapDeps([]),import.meta.url)},{id:"mojo",name:"Mojo",import:()=>c(()=>import("./mojo.MYqA7G82.js"),__vite__mapDeps([]),import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>c(()=>import("./narrat.QCsHsRq3.js"),__vite__mapDeps([]),import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>c(()=>import("./nextflow.lYJjOZ_l.js"),__vite__mapDeps([]),import.meta.url)},{id:"nginx",name:"Nginx",import:()=>c(()=>import("./nginx.tXAVuVtX.js"),__vite__mapDeps([63,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>c(()=>import("./nim.4dfZDcBw.js"),__vite__mapDeps([64,23,1,2,3,7,8,22,32]),import.meta.url)},{id:"nix",name:"Nix",import:()=>c(()=>import("./nix.z3u_V08Q.js"),__vite__mapDeps([]),import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>c(()=>import("./nushell.GDk9yul-.js"),__vite__mapDeps([]),import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>c(()=>import("./objective-c.mjTzshLd.js"),__vite__mapDeps([]),import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>c(()=>import("./objective-cpp.ZsAw_O8P.js"),__vite__mapDeps([]),import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>c(()=>import("./ocaml.oQRvlYTD.js"),__vite__mapDeps([]),import.meta.url)},{id:"pascal",name:"Pascal",import:()=>c(()=>import("./pascal.aIRIFbih.js"),__vite__mapDeps([]),import.meta.url)},{id:"perl",name:"Perl",import:()=>c(()=>import("./perl.3NPZVZku.js"),__vite__mapDeps([65,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>c(()=>import("./php.07veT587.js"),__vite__mapDeps([66,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>c(()=>import("./plsql.vhhXsReo.js"),__vite__mapDeps([]),import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>c(()=>import("./postcss.57yKeRpx.js"),__vite__mapDeps([]),import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>c(()=>import("./powerquery.wBQvr9E-.js"),__vite__mapDeps([]),import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>c(()=>import("./powershell.6Y_bsqLY.js"),__vite__mapDeps([]),import.meta.url)},{id:"prisma",name:"Prisma",import:()=>c(()=>import("./prisma.fG9Ut-9i.js"),__vite__mapDeps([]),import.meta.url)},{id:"prolog",name:"Prolog",import:()=>c(()=>import("./prolog.vggnm0Hd.js"),__vite__mapDeps([]),import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>c(()=>import("./proto.yigfBmiL.js"),__vite__mapDeps([]),import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>c(()=>import("./pug.za1cfLXq.js"),__vite__mapDeps([67,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>c(()=>import("./puppet.NqXa_cO1.js"),__vite__mapDeps([]),import.meta.url)},{id:"purescript",name:"PureScript",import:()=>c(()=>import("./purescript.fAXsO8Zw.js"),__vite__mapDeps([]),import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>c(()=>import("./python.YmSF6wLD.js"),__vite__mapDeps([]),import.meta.url)},{id:"r",name:"R",import:()=>c(()=>import("./r.xMXDrvl2.js"),__vite__mapDeps([]),import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>c(()=>import("./raku.NSWyGF40.js"),__vite__mapDeps([]),import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>c(()=>import("./razor.ZMUzVST9.js"),__vite__mapDeps([68,1,2,3,69]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>c(()=>import("./reg.Dr-lXfN9.js"),__vite__mapDeps([]),import.meta.url)},{id:"rel",name:"Rel",import:()=>c(()=>import("./rel.vATIbX_E.js"),__vite__mapDeps([]),import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>c(()=>import("./riscv.QWH-uSbr.js"),__vite__mapDeps([]),import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>c(()=>import("./rst.0NF1uIAo.js"),__vite__mapDeps([70,21,22,23,18,52,2,25,41,71,29,1,3,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>c(()=>import("./ruby.rrLroD3R.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>c(()=>import("./rust.FLHuhIzG.js"),__vite__mapDeps([]),import.meta.url)},{id:"sas",name:"SAS",import:()=>c(()=>import("./sas.puySyBYQ.js"),__vite__mapDeps([72,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>c(()=>import("./sass.URKSWxt9.js"),__vite__mapDeps([]),import.meta.url)},{id:"scala",name:"Scala",import:()=>c(()=>import("./scala.7DKpDMtV.js"),__vite__mapDeps([]),import.meta.url)},{id:"scheme",name:"Scheme",import:()=>c(()=>import("./scheme.nvEzGdoT.js"),__vite__mapDeps([]),import.meta.url)},{id:"scss",name:"SCSS",import:()=>c(()=>import("./scss.eN2S-YgQ.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>c(()=>import("./shaderlab.MYTNW71C.js"),__vite__mapDeps([73,74]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>c(()=>import("./shellscript.h1L64xId.js"),__vite__mapDeps([]),import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>c(()=>import("./shellsession.dWbZxXVv.js"),__vite__mapDeps([75,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>c(()=>import("./smalltalk.ymyryZ3T.js"),__vite__mapDeps([]),import.meta.url)},{id:"solidity",name:"Solidity",import:()=>c(()=>import("./solidity.rGqtk2dD.js"),__vite__mapDeps([]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>c(()=>import("./sparql.b6B4dWwT.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>c(()=>import("./splunk.OYnOZZCZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"sql",name:"SQL",import:()=>c(()=>import("./sql.RXuC_bCa.js"),__vite__mapDeps([]),import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>c(()=>import("./ssh-config.jdYjUr9x.js"),__vite__mapDeps([]),import.meta.url)},{id:"stata",name:"Stata",import:()=>c(()=>import("./stata.y5sEXDu9.js"),__vite__mapDeps([78,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>c(()=>import("./stylus.sfyXZDNv.js"),__vite__mapDeps([]),import.meta.url)},{id:"svelte",name:"Svelte",import:()=>c(()=>import("./svelte.uemsFGUO.js"),__vite__mapDeps([79,2,11,20,12,13,3,5,14,15,67,1,32]),import.meta.url)},{id:"swift",name:"Swift",import:()=>c(()=>import("./swift.tTjd7IJi.js"),__vite__mapDeps([]),import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>c(()=>import("./system-verilog.mf3Q2X9a.js"),__vite__mapDeps([]),import.meta.url)},{id:"tasl",name:"Tasl",import:()=>c(()=>import("./tasl.IM3fg-4x.js"),__vite__mapDeps([]),import.meta.url)},{id:"tcl",name:"Tcl",import:()=>c(()=>import("./tcl.h_zrCUh3.js"),__vite__mapDeps([]),import.meta.url)},{id:"tex",name:"TeX",import:()=>c(()=>import("./tex.uNByjuDB.js"),__vite__mapDeps([55,53]),import.meta.url)},{id:"toml",name:"TOML",import:()=>c(()=>import("./toml.4s_42Pga.js"),__vite__mapDeps([]),import.meta.url)},{id:"tsx",name:"TSX",import:()=>c(()=>import("./tsx.G49JmQ9B.js"),__vite__mapDeps([]),import.meta.url)},{id:"turtle",name:"Turtle",import:()=>c(()=>import("./turtle.qvOLXpiq.js"),__vite__mapDeps([]),import.meta.url)},{id:"twig",name:"Twig",import:()=>c(()=>import("./twig.p3crao0U.js"),__vite__mapDeps([80,3,2,5,66,1,7,8,18,9,52,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>c(()=>import("./typescript.b1Nw_bQe.js"),__vite__mapDeps([]),import.meta.url)},{id:"v",name:"V",import:()=>c(()=>import("./v.BcVLQyAr.js"),__vite__mapDeps([]),import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>c(()=>import("./vb.nfm3ZogP.js"),__vite__mapDeps([]),import.meta.url)},{id:"verilog",name:"Verilog",import:()=>c(()=>import("./verilog.32GaFvLA.js"),__vite__mapDeps([]),import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>c(()=>import("./vhdl.6AkUlm0f.js"),__vite__mapDeps([]),import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>c(()=>import("./viml.Ob-szSvk.js"),__vite__mapDeps([]),import.meta.url)},{id:"vue",name:"Vue",import:()=>c(()=>import("./vue.KH96DMBO.js"),__vite__mapDeps([81,1,2,3,32,67,13,5,12,20,14,11,44,16,9,82,83,41,84,43]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>c(()=>import("./vue-html.r1SKEVRX.js"),__vite__mapDeps([85,81,1,2,3,32,67,13,5,12,20,14,11,44,16,9,82,83,41,84,43]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>c(()=>import("./vyper.cQP8UfyH.js"),__vite__mapDeps([]),import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>c(()=>import("./wasm.5qeU6UJI.js"),__vite__mapDeps([]),import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>c(()=>import("./wenyan.gl1zQYA8.js"),__vite__mapDeps([]),import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>c(()=>import("./wgsl.KpVp-DWl.js"),__vite__mapDeps([]),import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>c(()=>import("./wolfram.K_QzNdW-.js"),__vite__mapDeps([]),import.meta.url)},{id:"xml",name:"XML",import:()=>c(()=>import("./xml.yBTb8DCa.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>c(()=>import("./xsl.iP6-ZmFs.js"),__vite__mapDeps([86,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>c(()=>import("./yaml.FtfhlYqU.js"),__vite__mapDeps([]),import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>c(()=>import("./zenscript.htRIWiQY.js"),__vite__mapDeps([]),import.meta.url)},{id:"zig",name:"zig",import:()=>c(()=>import("./zig.VzlkOal1.js"),__vite__mapDeps([]),import.meta.url)}],$t=Object.fromEntries(lt.map(r=>[r.id,r.import])),Ht=Object.fromEntries(lt.flatMap(r=>{var e;return((e=r.aliases)==null?void 0:e.map(t=>[t,r.import]))||[]})),Wt={...$t,...Ht},zt=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>c(()=>import("./andromeeda.TE0Toi4a.js"),__vite__mapDeps([]),import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>c(()=>import("./aurora-x.23vffHpO.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>c(()=>import("./catppuccin-frappe.3zzElYQH.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>c(()=>import("./catppuccin-latte.7_seQpm6.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>c(()=>import("./catppuccin-macchiato.xyLZ1Mzm.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>c(()=>import("./catppuccin-mocha.sKQhYBeR.js"),__vite__mapDeps([]),import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>c(()=>import("./dark-plus.kgh98KCl.js"),__vite__mapDeps([]),import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>c(()=>import("./dracula.mNVTF5-9.js"),__vite__mapDeps([]),import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>c(()=>import("./dracula-soft.E92bUq8i.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>c(()=>import("./github-dark.WrpzPehD.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>c(()=>import("./github-dark-dimmed.yDYFqRVv.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>c(()=>import("./github-light.QjB713Ax.js"),__vite__mapDeps([]),import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>c(()=>import("./light-plus.TzXGjDsL.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>c(()=>import("./material-theme.49YjOoAR.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>c(()=>import("./material-theme-darker.e1lAwchJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>c(()=>import("./material-theme-lighter.y77yPuAI.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>c(()=>import("./material-theme-ocean.oIMAIpse.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>c(()=>import("./material-theme-palenight.Z44VU5rQ.js"),__vite__mapDeps([]),import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>c(()=>import("./min-dark._Ja8ZF5C.js"),__vite__mapDeps([]),import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>c(()=>import("./min-light.N1m_6E3S.js"),__vite__mapDeps([]),import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>c(()=>import("./monokai.WLw4Glvg.js"),__vite__mapDeps([]),import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>c(()=>import("./nord.1NrVtx79.js"),__vite__mapDeps([]),import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>c(()=>import("./one-dark-pro.qlkgvdEn.js"),__vite__mapDeps([]),import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>c(()=>import("./poimandres.oZrO-I17.js"),__vite__mapDeps([]),import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>c(()=>import("./red.sV5NnIRC.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>c(()=>import("./rose-pine._tQyNI4L.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>c(()=>import("./rose-pine-dawn.qPi4euik.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>c(()=>import("./rose-pine-moon.Im6VgKOx.js"),__vite__mapDeps([]),import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>c(()=>import("./slack-dark.1ZggNzwg.js"),__vite__mapDeps([]),import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>c(()=>import("./slack-ochin.IcMt0x71.js"),__vite__mapDeps([]),import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>c(()=>import("./solarized-dark.3DcwRX9o.js"),__vite__mapDeps([]),import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>c(()=>import("./solarized-light.iUVMuJ2F.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>c(()=>import("./vitesse-black.uLlG6AUB.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>c(()=>import("./vitesse-dark.5VceXvs6.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>c(()=>import("./vitesse-light.HOMMxGxw.js"),__vite__mapDeps([]),import.meta.url)}],qt=Object.fromEntries(zt.map(r=>[r.id,r.import]));var M;(function(r){r[r.NotSet=-1]="NotSet",r[r.None=0]="None",r[r.Italic=1]="Italic",r[r.Bold=2]="Bold",r[r.Underline=4]="Underline"})(M||(M={}));var K;(function(r){function e(m){return m.toString(2).padStart(32,"0")}r.toBinaryStr=e;function t(m){const h=r.getLanguageId(m),d=r.getTokenType(m),_=r.getFontStyle(m),y=r.getForeground(m),v=r.getBackground(m);console.log({languageId:h,tokenType:d,fontStyle:_,foreground:y,background:v})}r.print=t;function n(m){return(m&255)>>>0}r.getLanguageId=n;function i(m){return(m&768)>>>8}r.getTokenType=i;function o(m){return(m&1024)!==0}r.containsBalancedBrackets=o;function s(m){return(m&30720)>>>11}r.getFontStyle=s;function l(m){return(m&16744448)>>>15}r.getForeground=l;function a(m){return(m&4278190080)>>>24}r.getBackground=a;function u(m,h,d,_,y,v,A){let f=r.getLanguageId(m),E=r.getTokenType(m),L=r.containsBalancedBrackets(m)?1:0,R=r.getFontStyle(m),P=r.getForeground(m),O=r.getBackground(m);return h!==0&&(f=h),d!==8&&(E=d),_!==null&&(L=_?1:0),y!==-1&&(R=y),v!==0&&(P=v),A!==0&&(O=A),(f<<0|E<<8|L<<10|R<<11|P<<15|O<<24)>>>0}r.set=u})(K||(K={}));function ce(r,e){const t=[],n=Kt(r);let i=n.next();for(;i!==null;){let a=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=n.next()}let u=s();if(t.push({matcher:u,priority:a}),i!==",")break;i=n.next()}return t;function o(){if(i==="-"){i=n.next();const a=o();return u=>!!a&&!a(u)}if(i==="("){i=n.next();const a=l();return i===")"&&(i=n.next()),a}if(Ue(i)){const a=[];do a.push(i),i=n.next();while(Ue(i));return u=>e(a,u)}return null}function s(){const a=[];let u=o();for(;u;)a.push(u),u=o();return m=>a.every(h=>h(m))}function l(){const a=[];let u=s();for(;u&&(a.push(u),i==="|"||i===",");){do i=n.next();while(i==="|"||i===",");u=s()}return m=>a.some(h=>h(m))}}function Ue(r){return!!r&&!!r.match(/[\w\.:]+/)}function Kt(r){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(r);return{next:()=>{if(!t)return null;const n=t[0];return t=e.exec(r),n}}}function ut(r){typeof r.dispose=="function"&&r.dispose()}function Yt(r){return xe(r)}function xe(r){return Array.isArray(r)?Xt(r):typeof r=="object"?Jt(r):r}function Xt(r){let e=[];for(let t=0,n=r.length;t{for(let n in t)r[n]=t[n]}),r}function mt(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?mt(r.substring(0,r.length-1)):r.substr(~e+1)}let ve=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class oe{static hasCaptures(e){return e===null?!1:(ve.lastIndex=0,ve.test(e))}static replaceCaptures(e,t,n){return e.replace(ve,(i,o,s,l)=>{let a=n[parseInt(o||s,10)];if(a){let u=t.substring(a.start,a.end);for(;u[0]===".";)u=u.substring(1);switch(l){case"downcase":return u.toLowerCase();case"upcase":return u.toUpperCase();default:return u}}else return i})}}function pt(r,e){return re?1:0}function ht(r,e){if(r===null&&e===null)return 0;if(!r)return-1;if(!e)return 1;let t=r.length,n=e.length;if(t===n){for(let i=0;i`);return}const o=t.lookup(e);r instanceof Z?ue({baseGrammar:o,selfGrammar:i},n):Te(r.ruleName,{baseGrammar:o,selfGrammar:i,repository:i.repository},n);const s=t.injections(r.scopeName);if(s)for(const l of s)n.add(new Z(l))}function Te(r,e,t){if(e.repository&&e.repository[r]){const n=e.repository[r];me([n],e,t)}}function ue(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&me(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&me(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function me(r,e,t){for(const n of r){if(t.visitedRule.has(n))continue;t.visitedRule.add(n);const i=n.repository?ct({},e.repository,n.repository):e.repository;Array.isArray(n.patterns)&&me(n.patterns,{...e,repository:i},t);const o=n.include;if(!o)continue;const s=_t(o);switch(s.kind){case 0:ue({...e,selfGrammar:e.baseGrammar},t);break;case 1:ue(e,t);break;case 2:Te(s.ruleName,{...e,repository:i},t);break;case 3:case 4:const l=s.scopeName===e.selfGrammar.scopeName?e.selfGrammar:s.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(l){const a={baseGrammar:e.baseGrammar,selfGrammar:l,repository:i};s.kind===4?Te(s.ruleName,a,t):ue(a,t)}else s.kind===4?t.add(new Qt(s.scopeName,s.ruleName)):t.add(new Z(s.scopeName));break}}}class nn{constructor(){p(this,"kind",0)}}class rn{constructor(){p(this,"kind",1)}}class on{constructor(e){p(this,"ruleName");p(this,"kind",2);this.ruleName=e}}class sn{constructor(e){p(this,"scopeName");p(this,"kind",3);this.scopeName=e}}class an{constructor(e,t){p(this,"scopeName");p(this,"ruleName");p(this,"kind",4);this.scopeName=e,this.ruleName=t}}function _t(r){if(r==="$base")return new nn;if(r==="$self")return new rn;const e=r.indexOf("#");if(e===-1)return new sn(r);if(e===0)return new on(r.substring(1));{const t=r.substring(0,e),n=r.substring(e+1);return new an(t,n)}}const ln=/\\(\d+)/,He=/\\(\d+)/g,un=-1,gt=-2;class re{constructor(e,t,n,i){p(this,"$location");p(this,"id");p(this,"_nameIsCapturing");p(this,"_name");p(this,"_contentNameIsCapturing");p(this,"_contentName");this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=oe.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=oe.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${mt(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:oe.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:oe.replaceCaptures(this._contentName,e,t)}}class cn extends re{constructor(t,n,i,o,s){super(t,n,i,o);p(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,i,o){throw new Error("Not supported!")}}class mn extends re{constructor(t,n,i,o,s){super(t,n,i,null);p(this,"_match");p(this,"captures");p(this,"_cachedCompiledPatterns");this._match=new $(o,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,i,o){return this._getCachedCompiledPatterns(t).compileAG(t,i,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ee,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class We extends re{constructor(t,n,i,o,s){super(t,n,i,o);p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const i of this.patterns)t.getRule(i).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,i,o){return this._getCachedCompiledPatterns(t).compileAG(t,i,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ee,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Oe extends re{constructor(t,n,i,o,s,l,a,u,m,h){super(t,n,i,o);p(this,"_begin");p(this,"beginCaptures");p(this,"_end");p(this,"endHasBackReferences");p(this,"endCaptures");p(this,"applyEndPatternLast");p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");this._begin=new $(s,this.id),this.beginCaptures=l,this._end=new $(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=u,this.applyEndPatternLast=m||!1,this.patterns=h.patterns,this.hasMissingPatterns=h.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,i,o){return this._getCachedCompiledPatterns(t,n).compileAG(t,i,o)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ee;for(const i of this.patterns)t.getRule(i).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}}class pe extends re{constructor(t,n,i,o,s,l,a,u,m){super(t,n,i,o);p(this,"_begin");p(this,"beginCaptures");p(this,"whileCaptures");p(this,"_while");p(this,"whileHasBackReferences");p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");p(this,"_cachedCompiledWhilePatterns");this._begin=new $(s,this.id),this.beginCaptures=l,this.whileCaptures=u,this._while=new $(a,gt),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=m.patterns,this.hasMissingPatterns=m.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,i,o){return this._getCachedCompiledPatterns(t).compileAG(t,i,o)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ee;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,i,o){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,i,o)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ee,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"￿"),this._cachedCompiledWhilePatterns}}class I{static createCaptureRule(e,t,n,i,o){return e.registerRule(s=>new cn(t,s,n,i,o))}static getCompiledRuleId(e,t,n){return e.id||t.registerRule(i=>{if(e.id=i,e.match)return new mn(e.$vscodeTextmateLocation,e.id,e.name,e.match,I._compileCaptures(e.captures,t,n));if(typeof e.begin>"u"){e.repository&&(n=ct({},n,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new We(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,I._compilePatterns(o,t,n))}return e.while?new pe(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,I._compileCaptures(e.beginCaptures||e.captures,t,n),e.while,I._compileCaptures(e.whileCaptures||e.captures,t,n),I._compilePatterns(e.patterns,t,n)):new Oe(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,I._compileCaptures(e.beginCaptures||e.captures,t,n),e.end,I._compileCaptures(e.endCaptures||e.captures,t,n),e.applyEndPatternLast,I._compilePatterns(e.patterns,t,n))}),e.id}static _compileCaptures(e,t,n){let i=[];if(e){let o=0;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>o&&(o=l)}for(let s=0;s<=o;s++)i[s]=null;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;e[s].patterns&&(a=I.getCompiledRuleId(e[s],t,n)),i[l]=I.createCaptureRule(t,e[s].$vscodeTextmateLocation,e[s].name,e[s].contentName,a)}}return i}static _compilePatterns(e,t,n){let i=[];if(e)for(let o=0,s=e.length;oe.substring(i.start,i.end));return He.lastIndex=0,this.source.replace(He,(i,o)=>dt(n[parseInt(o,10)]||""))}_buildAnchorCache(){let e=[],t=[],n=[],i=[],o,s,l,a;for(o=0,s=this.source.length;on.source);this._cached=new ze(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let i=this._items.map(o=>o.resolveAnchors(t,n));return new ze(e,i,this._items.map(o=>o.ruleId))}}class ze{constructor(e,t,n){p(this,"regExps");p(this,"rules");p(this,"scanner");this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;te in r?Ft(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var p=(r,e,t)=>(Ut(r,typeof e!="symbol"?e+"":e,t),t);import{_ as c}from"./entry.YSgWRBMm.js";const lt=[{id:"abap",name:"ABAP",import:()=>c(()=>import("./abap.yzSXrVC5.js"),__vite__mapDeps([]),import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>c(()=>import("./actionscript-3.NUzLYz6e.js"),__vite__mapDeps([]),import.meta.url)},{id:"ada",name:"Ada",import:()=>c(()=>import("./ada.HSb8VHJ5.js"),__vite__mapDeps([]),import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>c(()=>import("./angular-html.yxVqTS0b.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(function(r){return r.e})},{id:"angular-ts",name:"Angular TypeScript",import:()=>c(()=>import("./angular-ts.7zGs9C76.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>c(()=>import("./apache.TpqIaH_y.js"),__vite__mapDeps([]),import.meta.url)},{id:"apex",name:"Apex",import:()=>c(()=>import("./apex.z6-Xw0EX.js"),__vite__mapDeps([]),import.meta.url)},{id:"apl",name:"APL",import:()=>c(()=>import("./apl.yJx5rzQ3.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>c(()=>import("./applescript.1KeWlfzz.js"),__vite__mapDeps([]),import.meta.url)},{id:"ara",name:"Ara",import:()=>c(()=>import("./ara.7qqsOVdw.js"),__vite__mapDeps([]),import.meta.url)},{id:"asm",name:"Assembly",import:()=>c(()=>import("./asm.N3zWSyW8.js"),__vite__mapDeps([]),import.meta.url)},{id:"astro",name:"Astro",import:()=>c(()=>import("./astro.gGHJG0zO.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>c(()=>import("./awk.tQAliBPt.js"),__vite__mapDeps([]),import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>c(()=>import("./ballerina.PaIViq1I.js"),__vite__mapDeps([]),import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>c(()=>import("./bat.4hprCtpO.js"),__vite__mapDeps([]),import.meta.url)},{id:"beancount",name:"Beancount",import:()=>c(()=>import("./beancount.uiwATqdU.js"),__vite__mapDeps([]),import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>c(()=>import("./berry.99Qqo7Pl.js"),__vite__mapDeps([]),import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>c(()=>import("./bibtex.PUS4KD1G.js"),__vite__mapDeps([]),import.meta.url)},{id:"bicep",name:"Bicep",import:()=>c(()=>import("./bicep.U1vZFTkg.js"),__vite__mapDeps([]),import.meta.url)},{id:"blade",name:"Blade",import:()=>c(()=>import("./blade.KNL37tao.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>c(()=>import("./c.X9kOgFBJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>c(()=>import("./cadence.wPBjDAPG.js"),__vite__mapDeps([]),import.meta.url)},{id:"clarity",name:"Clarity",import:()=>c(()=>import("./clarity.9V3ikNUm.js"),__vite__mapDeps([]),import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>c(()=>import("./clojure.m464_LIc.js"),__vite__mapDeps([]),import.meta.url)},{id:"cmake",name:"CMake",import:()=>c(()=>import("./cmake.YiKLaZ9A.js"),__vite__mapDeps([]),import.meta.url)},{id:"cobol",name:"COBOL",import:()=>c(()=>import("./cobol._ZR5agqT.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>c(()=>import("./codeql.i7fhVOvX.js"),__vite__mapDeps([]),import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>c(()=>import("./coffee.fJ2aU-i-.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>c(()=>import("./cpp.Mww8HGxj.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>c(()=>import("./crystal.yZYljleR.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>c(()=>import("./csharp.2BZVon2H.js"),__vite__mapDeps([]),import.meta.url)},{id:"css",name:"CSS",import:()=>c(()=>import("./css.a-KJtBLB.js"),__vite__mapDeps([]),import.meta.url)},{id:"csv",name:"csv syntax",import:()=>c(()=>import("./csv.REIP-dDb.js"),__vite__mapDeps([]),import.meta.url)},{id:"cue",name:"CUE",import:()=>c(()=>import("./cue.ts9p4IYJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>c(()=>import("./cypher.y2dXjvht.js"),__vite__mapDeps([]),import.meta.url)},{id:"d",name:"D",import:()=>c(()=>import("./d.91KOtcJM.js"),__vite__mapDeps([]),import.meta.url)},{id:"dart",name:"Dart",import:()=>c(()=>import("./dart.ATU8nP6d.js"),__vite__mapDeps([]),import.meta.url)},{id:"dax",name:"DAX",import:()=>c(()=>import("./dax.eDd1XLPM.js"),__vite__mapDeps([]),import.meta.url)},{id:"diff",name:"Diff",import:()=>c(()=>import("./diff.-l9-nN5b.js"),__vite__mapDeps([]),import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>c(()=>import("./docker.FKXxym4E.js"),__vite__mapDeps([]),import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>c(()=>import("./dream-maker.L_Xna6pR.js"),__vite__mapDeps([]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>c(()=>import("./elixir.-iU-6W8K.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>c(()=>import("./elm.xbB3Paod.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>c(()=>import("./erb.F2WbMcJW.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>c(()=>import("./erlang._Br9gip-.js"),__vite__mapDeps([]),import.meta.url)},{id:"fish",name:"Fish",import:()=>c(()=>import("./fish.8OPDyp__.js"),__vite__mapDeps([]),import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>c(()=>import("./fsharp.5nj56DYn.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>c(()=>import("./gdresource.E-6KARD6.js"),__vite__mapDeps([33,34,35]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>c(()=>import("./gdscript.OcgrjXtx.js"),__vite__mapDeps([]),import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>c(()=>import("./gdshader.6pjKCTQy.js"),__vite__mapDeps([]),import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>c(()=>import("./gherkin.hgsyILVZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>c(()=>import("./git-commit.RtAxFnK2.js"),__vite__mapDeps([36,37]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>c(()=>import("./git-rebase.0KMhfRGC.js"),__vite__mapDeps([38,25]),import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>c(()=>import("./glimmer-js.BcobvQJQ.js"),__vite__mapDeps([39,2,40,1,3,41]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>c(()=>import("./glimmer-ts.R-R26SoE.js"),__vite__mapDeps([42,11,40,1,2,3,41]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>c(()=>import("./glsl.R1vJ1oYR.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>c(()=>import("./gnuplot.IjrRM4zE.js"),__vite__mapDeps([]),import.meta.url)},{id:"go",name:"Go",import:()=>c(()=>import("./go.2bJKq9hO.js"),__vite__mapDeps([]),import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>c(()=>import("./graphql.D_hPJL5L.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>c(()=>import("./groovy.t_Z-RNwE.js"),__vite__mapDeps([]),import.meta.url)},{id:"hack",name:"Hack",import:()=>c(()=>import("./hack.A9dM7Soe.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>c(()=>import("./haml.grEL_Akc.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,32]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>c(()=>import("./handlebars.SAnFpW51.js"),__vite__mapDeps([40,1,2,3,41]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>c(()=>import("./haskell.A-5_ppOo.js"),__vite__mapDeps([]),import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>c(()=>import("./hcl.M9siRbiv.js"),__vite__mapDeps([]),import.meta.url)},{id:"hjson",name:"Hjson",import:()=>c(()=>import("./hjson.WqKL_IBz.js"),__vite__mapDeps([]),import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>c(()=>import("./hlsl.Do_j-o-7.js"),__vite__mapDeps([]),import.meta.url)},{id:"html",name:"HTML",import:()=>c(()=>import("./html.0DSFJ4KV.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>c(()=>import("./http.zOl_tnnE.js"),__vite__mapDeps([47,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"imba",name:"Imba",import:()=>c(()=>import("./imba.fXdamFlz.js"),__vite__mapDeps([48,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>c(()=>import("./ini.T6bxBy5-.js"),__vite__mapDeps([]),import.meta.url)},{id:"java",name:"Java",import:()=>c(()=>import("./java.J9xUvsrr.js"),__vite__mapDeps([]),import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>c(()=>import("./javascript.Of8SnKfU.js"),__vite__mapDeps([]),import.meta.url)},{id:"jinja",name:"Jinja",import:()=>c(()=>import("./jinja.QIM0udV4.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>c(()=>import("./jison.zJEqYGkC.js"),__vite__mapDeps([50,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>c(()=>import("./json.t1qiHl76.js"),__vite__mapDeps([]),import.meta.url)},{id:"json5",name:"JSON5",import:()=>c(()=>import("./json5.ZOu0_AUY.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>c(()=>import("./jsonc.bsAR9RGa.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>c(()=>import("./jsonl.jX8WBZTU.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>c(()=>import("./jsonnet.WK26vH-O.js"),__vite__mapDeps([]),import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>c(()=>import("./jssm.eioTUq4-.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsx",name:"JSX",import:()=>c(()=>import("./jsx.RFqDhwr1.js"),__vite__mapDeps([]),import.meta.url)},{id:"julia",name:"Julia",import:()=>c(()=>import("./julia.U-qvXX7J.js"),__vite__mapDeps([51,21,22,23,18,52,2,53]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>c(()=>import("./kotlin.inxKUFvi.js"),__vite__mapDeps([]),import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>c(()=>import("./kusto.UpRCclYC.js"),__vite__mapDeps([]),import.meta.url)},{id:"latex",name:"LaTeX",import:()=>c(()=>import("./latex.3qoxmJjb.js"),__vite__mapDeps([54,55,53,3,56,1,2,7,8,30,23,51,21,22,18,52,29,25,11,41,57,58,59]),import.meta.url)},{id:"less",name:"Less",import:()=>c(()=>import("./less.I9yNwswz.js"),__vite__mapDeps([]),import.meta.url)},{id:"liquid",name:"Liquid",import:()=>c(()=>import("./liquid.o-s-iQ92.js"),__vite__mapDeps([60,1,2,3,9]),import.meta.url)},{id:"lisp",name:"Lisp",import:()=>c(()=>import("./lisp.iIZdsWzX.js"),__vite__mapDeps([]),import.meta.url)},{id:"logo",name:"Logo",import:()=>c(()=>import("./logo.WuHqTpFy.js"),__vite__mapDeps([]),import.meta.url)},{id:"lua",name:"Lua",import:()=>c(()=>import("./lua.B1kmAdIg.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>c(()=>import("./make.8zIAVqFD.js"),__vite__mapDeps([]),import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>c(()=>import("./markdown.G9M4Ga78.js"),__vite__mapDeps([]),import.meta.url)},{id:"marko",name:"Marko",import:()=>c(()=>import("./marko.ITGE-LOP.js"),__vite__mapDeps([61,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>c(()=>import("./matlab.Da4d4KUX.js"),__vite__mapDeps([]),import.meta.url)},{id:"mdc",name:"MDC",import:()=>c(()=>import("./mdc.mCV_44Do.js"),__vite__mapDeps([62,32,41]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>c(()=>import("./mdx.VhCSg2DJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>c(()=>import("./mermaid.WuNnVULj.js"),__vite__mapDeps([]),import.meta.url)},{id:"mojo",name:"Mojo",import:()=>c(()=>import("./mojo.MYqA7G82.js"),__vite__mapDeps([]),import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>c(()=>import("./narrat.QCsHsRq3.js"),__vite__mapDeps([]),import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>c(()=>import("./nextflow.lYJjOZ_l.js"),__vite__mapDeps([]),import.meta.url)},{id:"nginx",name:"Nginx",import:()=>c(()=>import("./nginx.tXAVuVtX.js"),__vite__mapDeps([63,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>c(()=>import("./nim.4dfZDcBw.js"),__vite__mapDeps([64,23,1,2,3,7,8,22,32]),import.meta.url)},{id:"nix",name:"Nix",import:()=>c(()=>import("./nix.z3u_V08Q.js"),__vite__mapDeps([]),import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>c(()=>import("./nushell.GDk9yul-.js"),__vite__mapDeps([]),import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>c(()=>import("./objective-c.mjTzshLd.js"),__vite__mapDeps([]),import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>c(()=>import("./objective-cpp.ZsAw_O8P.js"),__vite__mapDeps([]),import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>c(()=>import("./ocaml.oQRvlYTD.js"),__vite__mapDeps([]),import.meta.url)},{id:"pascal",name:"Pascal",import:()=>c(()=>import("./pascal.aIRIFbih.js"),__vite__mapDeps([]),import.meta.url)},{id:"perl",name:"Perl",import:()=>c(()=>import("./perl.3NPZVZku.js"),__vite__mapDeps([65,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>c(()=>import("./php.07veT587.js"),__vite__mapDeps([66,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>c(()=>import("./plsql.vhhXsReo.js"),__vite__mapDeps([]),import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>c(()=>import("./postcss.57yKeRpx.js"),__vite__mapDeps([]),import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>c(()=>import("./powerquery.wBQvr9E-.js"),__vite__mapDeps([]),import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>c(()=>import("./powershell.6Y_bsqLY.js"),__vite__mapDeps([]),import.meta.url)},{id:"prisma",name:"Prisma",import:()=>c(()=>import("./prisma.fG9Ut-9i.js"),__vite__mapDeps([]),import.meta.url)},{id:"prolog",name:"Prolog",import:()=>c(()=>import("./prolog.vggnm0Hd.js"),__vite__mapDeps([]),import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>c(()=>import("./proto.yigfBmiL.js"),__vite__mapDeps([]),import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>c(()=>import("./pug.za1cfLXq.js"),__vite__mapDeps([67,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>c(()=>import("./puppet.NqXa_cO1.js"),__vite__mapDeps([]),import.meta.url)},{id:"purescript",name:"PureScript",import:()=>c(()=>import("./purescript.fAXsO8Zw.js"),__vite__mapDeps([]),import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>c(()=>import("./python.YmSF6wLD.js"),__vite__mapDeps([]),import.meta.url)},{id:"r",name:"R",import:()=>c(()=>import("./r.xMXDrvl2.js"),__vite__mapDeps([]),import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>c(()=>import("./raku.NSWyGF40.js"),__vite__mapDeps([]),import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>c(()=>import("./razor.ZMUzVST9.js"),__vite__mapDeps([68,1,2,3,69]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>c(()=>import("./reg.Dr-lXfN9.js"),__vite__mapDeps([]),import.meta.url)},{id:"rel",name:"Rel",import:()=>c(()=>import("./rel.vATIbX_E.js"),__vite__mapDeps([]),import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>c(()=>import("./riscv.QWH-uSbr.js"),__vite__mapDeps([]),import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>c(()=>import("./rst.0NF1uIAo.js"),__vite__mapDeps([70,21,22,23,18,52,2,25,41,71,29,1,3,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>c(()=>import("./ruby.rrLroD3R.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>c(()=>import("./rust.FLHuhIzG.js"),__vite__mapDeps([]),import.meta.url)},{id:"sas",name:"SAS",import:()=>c(()=>import("./sas.puySyBYQ.js"),__vite__mapDeps([72,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>c(()=>import("./sass.URKSWxt9.js"),__vite__mapDeps([]),import.meta.url)},{id:"scala",name:"Scala",import:()=>c(()=>import("./scala.7DKpDMtV.js"),__vite__mapDeps([]),import.meta.url)},{id:"scheme",name:"Scheme",import:()=>c(()=>import("./scheme.nvEzGdoT.js"),__vite__mapDeps([]),import.meta.url)},{id:"scss",name:"SCSS",import:()=>c(()=>import("./scss.eN2S-YgQ.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>c(()=>import("./shaderlab.MYTNW71C.js"),__vite__mapDeps([73,74]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>c(()=>import("./shellscript.h1L64xId.js"),__vite__mapDeps([]),import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>c(()=>import("./shellsession.dWbZxXVv.js"),__vite__mapDeps([75,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>c(()=>import("./smalltalk.ymyryZ3T.js"),__vite__mapDeps([]),import.meta.url)},{id:"solidity",name:"Solidity",import:()=>c(()=>import("./solidity.rGqtk2dD.js"),__vite__mapDeps([]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>c(()=>import("./sparql.b6B4dWwT.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>c(()=>import("./splunk.OYnOZZCZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"sql",name:"SQL",import:()=>c(()=>import("./sql.RXuC_bCa.js"),__vite__mapDeps([]),import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>c(()=>import("./ssh-config.jdYjUr9x.js"),__vite__mapDeps([]),import.meta.url)},{id:"stata",name:"Stata",import:()=>c(()=>import("./stata.y5sEXDu9.js"),__vite__mapDeps([78,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>c(()=>import("./stylus.sfyXZDNv.js"),__vite__mapDeps([]),import.meta.url)},{id:"svelte",name:"Svelte",import:()=>c(()=>import("./svelte.uemsFGUO.js"),__vite__mapDeps([79,2,11,20,12,13,3,5,14,15,67,1,32]),import.meta.url)},{id:"swift",name:"Swift",import:()=>c(()=>import("./swift.tTjd7IJi.js"),__vite__mapDeps([]),import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>c(()=>import("./system-verilog.mf3Q2X9a.js"),__vite__mapDeps([]),import.meta.url)},{id:"tasl",name:"Tasl",import:()=>c(()=>import("./tasl.IM3fg-4x.js"),__vite__mapDeps([]),import.meta.url)},{id:"tcl",name:"Tcl",import:()=>c(()=>import("./tcl.h_zrCUh3.js"),__vite__mapDeps([]),import.meta.url)},{id:"tex",name:"TeX",import:()=>c(()=>import("./tex.uNByjuDB.js"),__vite__mapDeps([55,53]),import.meta.url)},{id:"toml",name:"TOML",import:()=>c(()=>import("./toml.4s_42Pga.js"),__vite__mapDeps([]),import.meta.url)},{id:"tsx",name:"TSX",import:()=>c(()=>import("./tsx.G49JmQ9B.js"),__vite__mapDeps([]),import.meta.url)},{id:"turtle",name:"Turtle",import:()=>c(()=>import("./turtle.qvOLXpiq.js"),__vite__mapDeps([]),import.meta.url)},{id:"twig",name:"Twig",import:()=>c(()=>import("./twig.p3crao0U.js"),__vite__mapDeps([80,3,2,5,66,1,7,8,18,9,52,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>c(()=>import("./typescript.b1Nw_bQe.js"),__vite__mapDeps([]),import.meta.url)},{id:"v",name:"V",import:()=>c(()=>import("./v.BcVLQyAr.js"),__vite__mapDeps([]),import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>c(()=>import("./vb.nfm3ZogP.js"),__vite__mapDeps([]),import.meta.url)},{id:"verilog",name:"Verilog",import:()=>c(()=>import("./verilog.32GaFvLA.js"),__vite__mapDeps([]),import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>c(()=>import("./vhdl.6AkUlm0f.js"),__vite__mapDeps([]),import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>c(()=>import("./viml.Ob-szSvk.js"),__vite__mapDeps([]),import.meta.url)},{id:"vue",name:"Vue",import:()=>c(()=>import("./vue.KH96DMBO.js"),__vite__mapDeps([81,1,2,3,32,67,13,5,12,20,14,11,44,16,9,82,83,41,84,43]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>c(()=>import("./vue-html.r1SKEVRX.js"),__vite__mapDeps([85,81,1,2,3,32,67,13,5,12,20,14,11,44,16,9,82,83,41,84,43]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>c(()=>import("./vyper.cQP8UfyH.js"),__vite__mapDeps([]),import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>c(()=>import("./wasm.5qeU6UJI.js"),__vite__mapDeps([]),import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>c(()=>import("./wenyan.gl1zQYA8.js"),__vite__mapDeps([]),import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>c(()=>import("./wgsl.KpVp-DWl.js"),__vite__mapDeps([]),import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>c(()=>import("./wolfram.K_QzNdW-.js"),__vite__mapDeps([]),import.meta.url)},{id:"xml",name:"XML",import:()=>c(()=>import("./xml.yBTb8DCa.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>c(()=>import("./xsl.iP6-ZmFs.js"),__vite__mapDeps([86,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>c(()=>import("./yaml.FtfhlYqU.js"),__vite__mapDeps([]),import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>c(()=>import("./zenscript.htRIWiQY.js"),__vite__mapDeps([]),import.meta.url)},{id:"zig",name:"zig",import:()=>c(()=>import("./zig.VzlkOal1.js"),__vite__mapDeps([]),import.meta.url)}],$t=Object.fromEntries(lt.map(r=>[r.id,r.import])),Ht=Object.fromEntries(lt.flatMap(r=>{var e;return((e=r.aliases)==null?void 0:e.map(t=>[t,r.import]))||[]})),Wt={...$t,...Ht},zt=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>c(()=>import("./andromeeda.TE0Toi4a.js"),__vite__mapDeps([]),import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>c(()=>import("./aurora-x.23vffHpO.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>c(()=>import("./catppuccin-frappe.3zzElYQH.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>c(()=>import("./catppuccin-latte.7_seQpm6.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>c(()=>import("./catppuccin-macchiato.xyLZ1Mzm.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>c(()=>import("./catppuccin-mocha.sKQhYBeR.js"),__vite__mapDeps([]),import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>c(()=>import("./dark-plus.kgh98KCl.js"),__vite__mapDeps([]),import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>c(()=>import("./dracula.mNVTF5-9.js"),__vite__mapDeps([]),import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>c(()=>import("./dracula-soft.E92bUq8i.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>c(()=>import("./github-dark.WrpzPehD.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>c(()=>import("./github-dark-dimmed.yDYFqRVv.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>c(()=>import("./github-light.QjB713Ax.js"),__vite__mapDeps([]),import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>c(()=>import("./light-plus.TzXGjDsL.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>c(()=>import("./material-theme.49YjOoAR.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>c(()=>import("./material-theme-darker.e1lAwchJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>c(()=>import("./material-theme-lighter.y77yPuAI.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>c(()=>import("./material-theme-ocean.oIMAIpse.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>c(()=>import("./material-theme-palenight.Z44VU5rQ.js"),__vite__mapDeps([]),import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>c(()=>import("./min-dark._Ja8ZF5C.js"),__vite__mapDeps([]),import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>c(()=>import("./min-light.N1m_6E3S.js"),__vite__mapDeps([]),import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>c(()=>import("./monokai.WLw4Glvg.js"),__vite__mapDeps([]),import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>c(()=>import("./nord.1NrVtx79.js"),__vite__mapDeps([]),import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>c(()=>import("./one-dark-pro.qlkgvdEn.js"),__vite__mapDeps([]),import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>c(()=>import("./poimandres.oZrO-I17.js"),__vite__mapDeps([]),import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>c(()=>import("./red.sV5NnIRC.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>c(()=>import("./rose-pine._tQyNI4L.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>c(()=>import("./rose-pine-dawn.qPi4euik.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>c(()=>import("./rose-pine-moon.Im6VgKOx.js"),__vite__mapDeps([]),import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>c(()=>import("./slack-dark.1ZggNzwg.js"),__vite__mapDeps([]),import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>c(()=>import("./slack-ochin.IcMt0x71.js"),__vite__mapDeps([]),import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>c(()=>import("./solarized-dark.3DcwRX9o.js"),__vite__mapDeps([]),import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>c(()=>import("./solarized-light.iUVMuJ2F.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>c(()=>import("./vitesse-black.uLlG6AUB.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>c(()=>import("./vitesse-dark.5VceXvs6.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>c(()=>import("./vitesse-light.HOMMxGxw.js"),__vite__mapDeps([]),import.meta.url)}],qt=Object.fromEntries(zt.map(r=>[r.id,r.import]));var M;(function(r){r[r.NotSet=-1]="NotSet",r[r.None=0]="None",r[r.Italic=1]="Italic",r[r.Bold=2]="Bold",r[r.Underline=4]="Underline"})(M||(M={}));var K;(function(r){function e(m){return m.toString(2).padStart(32,"0")}r.toBinaryStr=e;function t(m){const h=r.getLanguageId(m),d=r.getTokenType(m),_=r.getFontStyle(m),y=r.getForeground(m),v=r.getBackground(m);console.log({languageId:h,tokenType:d,fontStyle:_,foreground:y,background:v})}r.print=t;function n(m){return(m&255)>>>0}r.getLanguageId=n;function i(m){return(m&768)>>>8}r.getTokenType=i;function o(m){return(m&1024)!==0}r.containsBalancedBrackets=o;function s(m){return(m&30720)>>>11}r.getFontStyle=s;function l(m){return(m&16744448)>>>15}r.getForeground=l;function a(m){return(m&4278190080)>>>24}r.getBackground=a;function u(m,h,d,_,y,v,A){let f=r.getLanguageId(m),E=r.getTokenType(m),L=r.containsBalancedBrackets(m)?1:0,R=r.getFontStyle(m),P=r.getForeground(m),O=r.getBackground(m);return h!==0&&(f=h),d!==8&&(E=d),_!==null&&(L=_?1:0),y!==-1&&(R=y),v!==0&&(P=v),A!==0&&(O=A),(f<<0|E<<8|L<<10|R<<11|P<<15|O<<24)>>>0}r.set=u})(K||(K={}));function ce(r,e){const t=[],n=Kt(r);let i=n.next();for(;i!==null;){let a=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=n.next()}let u=s();if(t.push({matcher:u,priority:a}),i!==",")break;i=n.next()}return t;function o(){if(i==="-"){i=n.next();const a=o();return u=>!!a&&!a(u)}if(i==="("){i=n.next();const a=l();return i===")"&&(i=n.next()),a}if(Ue(i)){const a=[];do a.push(i),i=n.next();while(Ue(i));return u=>e(a,u)}return null}function s(){const a=[];let u=o();for(;u;)a.push(u),u=o();return m=>a.every(h=>h(m))}function l(){const a=[];let u=s();for(;u&&(a.push(u),i==="|"||i===",");){do i=n.next();while(i==="|"||i===",");u=s()}return m=>a.some(h=>h(m))}}function Ue(r){return!!r&&!!r.match(/[\w\.:]+/)}function Kt(r){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(r);return{next:()=>{if(!t)return null;const n=t[0];return t=e.exec(r),n}}}function ut(r){typeof r.dispose=="function"&&r.dispose()}function Yt(r){return xe(r)}function xe(r){return Array.isArray(r)?Xt(r):typeof r=="object"?Jt(r):r}function Xt(r){let e=[];for(let t=0,n=r.length;t{for(let n in t)r[n]=t[n]}),r}function mt(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?mt(r.substring(0,r.length-1)):r.substr(~e+1)}let ve=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class oe{static hasCaptures(e){return e===null?!1:(ve.lastIndex=0,ve.test(e))}static replaceCaptures(e,t,n){return e.replace(ve,(i,o,s,l)=>{let a=n[parseInt(o||s,10)];if(a){let u=t.substring(a.start,a.end);for(;u[0]===".";)u=u.substring(1);switch(l){case"downcase":return u.toLowerCase();case"upcase":return u.toUpperCase();default:return u}}else return i})}}function pt(r,e){return re?1:0}function ht(r,e){if(r===null&&e===null)return 0;if(!r)return-1;if(!e)return 1;let t=r.length,n=e.length;if(t===n){for(let i=0;i`);return}const o=t.lookup(e);r instanceof Z?ue({baseGrammar:o,selfGrammar:i},n):Te(r.ruleName,{baseGrammar:o,selfGrammar:i,repository:i.repository},n);const s=t.injections(r.scopeName);if(s)for(const l of s)n.add(new Z(l))}function Te(r,e,t){if(e.repository&&e.repository[r]){const n=e.repository[r];me([n],e,t)}}function ue(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&me(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&me(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function me(r,e,t){for(const n of r){if(t.visitedRule.has(n))continue;t.visitedRule.add(n);const i=n.repository?ct({},e.repository,n.repository):e.repository;Array.isArray(n.patterns)&&me(n.patterns,{...e,repository:i},t);const o=n.include;if(!o)continue;const s=_t(o);switch(s.kind){case 0:ue({...e,selfGrammar:e.baseGrammar},t);break;case 1:ue(e,t);break;case 2:Te(s.ruleName,{...e,repository:i},t);break;case 3:case 4:const l=s.scopeName===e.selfGrammar.scopeName?e.selfGrammar:s.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(l){const a={baseGrammar:e.baseGrammar,selfGrammar:l,repository:i};s.kind===4?Te(s.ruleName,a,t):ue(a,t)}else s.kind===4?t.add(new Qt(s.scopeName,s.ruleName)):t.add(new Z(s.scopeName));break}}}class nn{constructor(){p(this,"kind",0)}}class rn{constructor(){p(this,"kind",1)}}class on{constructor(e){p(this,"ruleName");p(this,"kind",2);this.ruleName=e}}class sn{constructor(e){p(this,"scopeName");p(this,"kind",3);this.scopeName=e}}class an{constructor(e,t){p(this,"scopeName");p(this,"ruleName");p(this,"kind",4);this.scopeName=e,this.ruleName=t}}function _t(r){if(r==="$base")return new nn;if(r==="$self")return new rn;const e=r.indexOf("#");if(e===-1)return new sn(r);if(e===0)return new on(r.substring(1));{const t=r.substring(0,e),n=r.substring(e+1);return new an(t,n)}}const ln=/\\(\d+)/,He=/\\(\d+)/g,un=-1,gt=-2;class re{constructor(e,t,n,i){p(this,"$location");p(this,"id");p(this,"_nameIsCapturing");p(this,"_name");p(this,"_contentNameIsCapturing");p(this,"_contentName");this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=oe.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=oe.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${mt(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:oe.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:oe.replaceCaptures(this._contentName,e,t)}}class cn extends re{constructor(t,n,i,o,s){super(t,n,i,o);p(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,i,o){throw new Error("Not supported!")}}class mn extends re{constructor(t,n,i,o,s){super(t,n,i,null);p(this,"_match");p(this,"captures");p(this,"_cachedCompiledPatterns");this._match=new $(o,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,i,o){return this._getCachedCompiledPatterns(t).compileAG(t,i,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ee,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class We extends re{constructor(t,n,i,o,s){super(t,n,i,o);p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const i of this.patterns)t.getRule(i).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,i,o){return this._getCachedCompiledPatterns(t).compileAG(t,i,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new ee,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Oe extends re{constructor(t,n,i,o,s,l,a,u,m,h){super(t,n,i,o);p(this,"_begin");p(this,"beginCaptures");p(this,"_end");p(this,"endHasBackReferences");p(this,"endCaptures");p(this,"applyEndPatternLast");p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");this._begin=new $(s,this.id),this.beginCaptures=l,this._end=new $(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=u,this.applyEndPatternLast=m||!1,this.patterns=h.patterns,this.hasMissingPatterns=h.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,i,o){return this._getCachedCompiledPatterns(t,n).compileAG(t,i,o)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ee;for(const i of this.patterns)t.getRule(i).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}}class pe extends re{constructor(t,n,i,o,s,l,a,u,m){super(t,n,i,o);p(this,"_begin");p(this,"beginCaptures");p(this,"whileCaptures");p(this,"_while");p(this,"whileHasBackReferences");p(this,"hasMissingPatterns");p(this,"patterns");p(this,"_cachedCompiledPatterns");p(this,"_cachedCompiledWhilePatterns");this._begin=new $(s,this.id),this.beginCaptures=l,this.whileCaptures=u,this._while=new $(a,gt),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=m.patterns,this.hasMissingPatterns=m.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,i,o){return this._getCachedCompiledPatterns(t).compileAG(t,i,o)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new ee;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,i,o){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,i,o)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new ee,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"￿"),this._cachedCompiledWhilePatterns}}class I{static createCaptureRule(e,t,n,i,o){return e.registerRule(s=>new cn(t,s,n,i,o))}static getCompiledRuleId(e,t,n){return e.id||t.registerRule(i=>{if(e.id=i,e.match)return new mn(e.$vscodeTextmateLocation,e.id,e.name,e.match,I._compileCaptures(e.captures,t,n));if(typeof e.begin>"u"){e.repository&&(n=ct({},n,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new We(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,I._compilePatterns(o,t,n))}return e.while?new pe(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,I._compileCaptures(e.beginCaptures||e.captures,t,n),e.while,I._compileCaptures(e.whileCaptures||e.captures,t,n),I._compilePatterns(e.patterns,t,n)):new Oe(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,I._compileCaptures(e.beginCaptures||e.captures,t,n),e.end,I._compileCaptures(e.endCaptures||e.captures,t,n),e.applyEndPatternLast,I._compilePatterns(e.patterns,t,n))}),e.id}static _compileCaptures(e,t,n){let i=[];if(e){let o=0;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>o&&(o=l)}for(let s=0;s<=o;s++)i[s]=null;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;e[s].patterns&&(a=I.getCompiledRuleId(e[s],t,n)),i[l]=I.createCaptureRule(t,e[s].$vscodeTextmateLocation,e[s].name,e[s].contentName,a)}}return i}static _compilePatterns(e,t,n){let i=[];if(e)for(let o=0,s=e.length;oe.substring(i.start,i.end));return He.lastIndex=0,this.source.replace(He,(i,o)=>dt(n[parseInt(o,10)]||""))}_buildAnchorCache(){let e=[],t=[],n=[],i=[],o,s,l,a;for(o=0,s=this.source.length;on.source);this._cached=new ze(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let i=this._items.map(o=>o.resolveAnchors(t,n));return new ze(e,i,this._items.map(o=>o.ruleId))}}class ze{constructor(e,t,n){p(this,"regExps");p(this,"rules");p(this,"scanner");this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;tthis._root.match(e)));this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(dn(e),t)}static createFromParsedTheme(e,t){return _n(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,i=this._cachedMatchRoot.get(t).find(o=>pn(e.parent,o.parentScopes));return i?new yt(i.fontStyle,i.foreground,i.background):null}}class U{constructor(e,t){p(this,"parent");p(this,"scopeName");this.parent=e,this.scopeName=t}static push(e,t){for(const n of t)e=new U(e,n);return e}static from(...e){let t=null;for(let n=0;n1&&(A=y.slice(0,y.length-1),A.reverse()),t[n++]=new fn(v,A,i,a,u,m)}}return t}class fn{constructor(e,t,n,i,o,s){p(this,"scope");p(this,"parentScopes");p(this,"index");p(this,"fontStyle");p(this,"foreground");p(this,"background");this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=i,this.foreground=o,this.background=s}}function _n(r,e){r.sort((a,u)=>{let m=pt(a.scope,u.scope);return m!==0||(m=ht(a.parentScopes,u.parentScopes),m!==0)?m:a.index-u.index});let t=0,n="#000000",i="#ffffff";for(;r.length>=1&&r[0].scope==="";){let a=r.shift();a.fontStyle!==-1&&(t=a.fontStyle),a.foreground!==null&&(n=a.foreground),a.background!==null&&(i=a.background)}let o=new gn(e),s=new yt(t,o.getId(n),o.getId(i)),l=new Q(new te(0,null,-1,0,0),[]);for(let a=0,u=r.length;ae?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),i!==0&&(this.background=i)}}class Q{constructor(e,t=[],n={}){p(this,"_mainRule");p(this,"_children");p(this,"_rulesWithParentScopes");this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}static _sortBySpecificity(e){return e.length===1||e.sort(this._cmpBySpecificity),e}static _cmpBySpecificity(e,t){if(e.scopeDepth===t.scopeDepth){const n=e.parentScopes,i=t.parentScopes;let o=n===null?0:n.length,s=i===null?0:i.length;if(o===s)for(let l=0;l{const t=this._scopeToLanguage(e),n=this._toStandardTokenType(e);return new Re(t,n)}));this._defaultAttributes=new Re(e,8),this._embeddedLanguagesMatcher=new yn(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?W._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(W.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};p(W,"_NULL_SCOPE_METADATA",new Re(0,0)),p(W,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let Ie=W;class yn{constructor(e){p(this,"values");p(this,"scopesRegExp");if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,i])=>dt(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}}class qe{constructor(e,t){p(this,"stack");p(this,"stoppedEarly");this.stack=e,this.stoppedEarly=t}}function Et(r,e,t,n,i,o,s,l){const a=e.content.length;let u=!1,m=-1;if(s){const _=En(r,e,t,n,i,o);i=_.stack,n=_.linePos,t=_.isFirstLine,m=_.anchorPosition}const h=Date.now();for(;!u;){if(l!==0&&Date.now()-h>l)return new qe(i,!0);d()}return new qe(i,!1);function d(){const _=vn(r,e,t,n,i,m);if(!_){o.produce(i,a),u=!0;return}const y=_.captureIndices,v=_.matchedRuleId,A=y&&y.length>0?y[0].end>n:!1;if(v===un){const f=i.getRule(r);o.produce(i,y[0].start),i=i.withContentNameScopesList(i.nameScopesList),J(r,e,t,i,o,f.endCaptures,y),o.produce(i,y[0].end);const E=i;if(i=i.parent,m=E.getAnchorPos(),!A&&E.getEnterPos()===n){i=E,o.produce(i,a),u=!0;return}}else{const f=r.getRule(v);o.produce(i,y[0].start);const E=i,L=f.getName(e.content,y),R=i.contentNameScopesList.pushAttributed(L,r);if(i=i.push(v,n,m,y[0].end===a,null,R,R),f instanceof Oe){const P=f;J(r,e,t,i,o,P.beginCaptures,y),o.produce(i,y[0].end),m=y[0].end;const O=P.getContentName(e.content,y),j=R.pushAttributed(O,r);if(i=i.withContentNameScopesList(j),P.endHasBackReferences&&(i=i.withEndRule(P.getEndWithResolvedBackReferences(e.content,y))),!A&&E.hasSameRuleAs(i)){i=i.pop(),o.produce(i,a),u=!0;return}}else if(f instanceof pe){const P=f;J(r,e,t,i,o,P.beginCaptures,y),o.produce(i,y[0].end),m=y[0].end;const O=P.getContentName(e.content,y),j=R.pushAttributed(O,r);if(i=i.withContentNameScopesList(j),P.whileHasBackReferences&&(i=i.withEndRule(P.getWhileWithResolvedBackReferences(e.content,y))),!A&&E.hasSameRuleAs(i)){i=i.pop(),o.produce(i,a),u=!0;return}}else if(J(r,e,t,i,o,f.captures,y),o.produce(i,y[0].end),i=i.pop(),!A){i=i.safePop(),o.produce(i,a),u=!0;return}}y[0].end>n&&(n=y[0].end,t=!1)}}function En(r,e,t,n,i,o){let s=i.beginRuleCapturedEOL?0:-1;const l=[];for(let a=i;a;a=a.pop()){const u=a.getRule(r);u instanceof pe&&l.push({rule:u,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:u,findOptions:m}=bn(a.rule,r,a.stack.endRule,t,n===s),h=u.findNextMatchSync(e,n,m);if(h){if(h.ruleId!==gt){i=a.stack.pop();break}h.captureIndices&&h.captureIndices.length&&(o.produce(a.stack,h.captureIndices[0].start),J(r,e,t,a.stack,o,a.rule.whileCaptures,h.captureIndices),o.produce(a.stack,h.captureIndices[0].end),s=h.captureIndices[0].end,h.captureIndices[0].end>n&&(n=h.captureIndices[0].end,t=!1))}else{i=a.stack.pop();break}}return{stack:i,linePos:n,anchorPosition:s,isFirstLine:t}}function vn(r,e,t,n,i,o){const s=Rn(r,e,t,n,i,o),l=r.getInjections();if(l.length===0)return s;const a=An(l,r,e,t,n,i,o);if(!a)return s;if(!s)return a;const u=s.captureIndices[0].start,m=a.captureIndices[0].start;return m=l)&&(l=L,a=E.captureIndices,u=E.ruleId,m=y.priority,l===i))break}return a?{priorityMatch:m===-1,captureIndices:a,matchedRuleId:u}:null}function vt(r,e,t,n,i){return{ruleScanner:r.compileAG(e,t,n,i),findOptions:0}}function bn(r,e,t,n,i){return{ruleScanner:r.compileWhileAG(e,t,n,i),findOptions:0}}function J(r,e,t,n,i,o,s){if(o.length===0)return;const l=e.content,a=Math.min(o.length,s.length),u=[],m=s[0].end;for(let h=0;hm)break;for(;u.length>0&&u[u.length-1].endPos<=_.start;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?i.produceFromScopes(u[u.length-1].scopes,_.start):i.produce(n,_.start),d.retokenizeCapturedWithRuleId){const v=d.getName(l,s),A=n.contentNameScopesList.pushAttributed(v,r),f=d.getContentName(l,s),E=A.pushAttributed(f,r),L=n.push(d.retokenizeCapturedWithRuleId,_.start,-1,!1,null,A,E),R=r.createOnigString(l.substring(0,_.end));Et(r,R,t&&_.start===0,_.start,L,i,!1,0),ut(R);continue}const y=d.getName(l,s);if(y!==null){const A=(u.length>0?u[u.length-1].scopes:n.contentNameScopesList).pushAttributed(y,r);u.push(new Pn(A,_.end))}}for(;u.length>0;)i.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}class Pn{constructor(e,t){p(this,"scopes");p(this,"endPos");this.scopes=e,this.endPos=t}}function Ln(r,e,t,n,i,o,s,l){return new Tn(r,e,t,n,i,o,s,l)}function Ke(r,e,t,n,i){const o=ce(e,he),s=I.getCompiledRuleId(t,n,i.repository);for(const l of o)r.push({debugSelector:e,matcher:l.matcher,ruleId:s,grammar:i,priority:l.priority})}function he(r,e){if(e.length{for(let i=t;it&&r.substr(0,t)===e&&r[t]==="."}class Tn{constructor(e,t,n,i,o,s,l,a){p(this,"_rootScopeName");p(this,"balancedBracketSelectors");p(this,"_onigLib");p(this,"_rootId");p(this,"_lastRuleId");p(this,"_ruleId2desc");p(this,"_includedGrammars");p(this,"_grammarRepository");p(this,"_grammar");p(this,"_injections");p(this,"_basicScopeAttributesProvider");p(this,"_tokenTypeMatchers");if(this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new Ie(n,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=Ye(t,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const u of Object.keys(o)){const m=ce(u,he);for(const h of m)this._tokenTypeMatchers.push({matcher:h.matcher,type:o[u]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},t=[],n=this._rootScopeName,i=e.lookup(n);if(i){const o=i.injections;if(o)for(let l in o)Ke(t,l,o[l],this,i);const s=this._grammarRepository.injections(n);s&&s.forEach(l=>{const a=this.getExternalGrammar(l);if(a){const u=a.injectionSelector;u&&Ke(t,u,a,this,a)}})}return t.sort((o,s)=>o.priority-s.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=Ye(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const i=this._tokenize(e,t,!1,n);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(e,t,n=0){const i=this._tokenize(e,t,!0,n);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(e,t,n,i){this._rootId===-1&&(this._rootId=I.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!t||t===ne.NULL){o=!0;const m=this._basicScopeAttributesProvider.getDefaultAttributes(),h=this.themeProvider.getDefaults(),d=K.set(0,m.languageId,m.tokenType,null,h.fontStyle,h.foregroundId,h.backgroundId),_=this.getRule(this._rootId).getName(null,null);let y;_?y=D.createRootAndLookUpScopeName(_,d,this):y=D.createRoot("unknown",d),t=new ne(null,this._rootId,-1,-1,!1,null,y,y)}else o=!1,t.reset();e=e+` `;const s=this.createOnigString(e),l=s.content.length,a=new Cn(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),u=Et(this,s,o,0,t,a,!0,i);return ut(s),{lineLength:l,lineTokens:a,ruleStack:u.stack,stoppedEarly:u.stoppedEarly}}}function Ye(r,e){return r=Yt(r),r.repository=r.repository||{},r.repository.$self={$vscodeTextmateLocation:r.$vscodeTextmateLocation,patterns:r.patterns,name:r.scopeName},r.repository.$base=e||r.repository.$self,r}class D{constructor(e,t,n){p(this,"parent");p(this,"scopePath");p(this,"tokenAttributes");this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(e,t){let n=e,i=(e==null?void 0:e.scopePath)??null;for(const o of t)i=U.push(i,o.scopeNames),n=new D(n,i,o.encodedTokenAttributes);return n}static createRoot(e,t){return new D(null,new U(null,e),t)}static createRootAndLookUpScopeName(e,t,n){const i=n.getMetadataForScope(e),o=new U(null,e),s=n.themeProvider.themeMatch(o),l=D.mergeAttributes(t,i,s);return new D(null,o,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return D.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,n){let i=-1,o=0,s=0;return n!==null&&(i=n.fontStyle,o=n.foregroundId,s=n.backgroundId),K.set(e,t.languageId,t.tokenType,null,i,o,s)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return D._pushAttributed(this,e,t);const n=e.split(/ /g);let i=this;for(const o of n)i=D._pushAttributed(i,o,t);return i}static _pushAttributed(e,t,n){const i=n.getMetadataForScope(t),o=e.scopePath.push(t),s=n.themeProvider.themeMatch(o),l=D.mergeAttributes(e.tokenAttributes,i,s);return new D(e,o,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var i;const t=[];let n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(((i=n.parent)==null?void 0:i.scopePath)??null)}),n=n.parent;return n===e?t.reverse():void 0}}const B=class B{constructor(e,t,n,i,o,s,l,a){p(this,"parent");p(this,"ruleId");p(this,"beginRuleCapturedEOL");p(this,"endRule");p(this,"nameScopesList");p(this,"contentNameScopesList");p(this,"_stackElementBrand");p(this,"_enterPos");p(this,"_anchorPos");p(this,"depth");this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=o,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=i}equals(e){return e===null?!1:B._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?D.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){B._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,n,i,o,s,l){return new B(this,e,t,n,i,o,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var n,i;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(i=this.contentNameScopesList)==null?void 0:i.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new B(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,n;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined(((e=this.parent)==null?void 0:e.nameScopesList)??null))??[],contentNameScopesList:((n=this.contentNameScopesList)==null?void 0:n.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(e,t){const n=D.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new B(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,n,D.fromExtension(n,t.contentNameScopesList))}};p(B,"NULL",new B(null,0,0,0,!1,null,null,null));let ne=B;class On{constructor(e,t){p(this,"balancedBracketScopes");p(this,"unbalancedBracketScopes");p(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):ce(n,he).map(i=>i.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>ce(n,he).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}}class Cn{constructor(e,t,n,i){p(this,"balancedBracketSelectors");p(this,"_emitBinaryTokens");p(this,"_lineText");p(this,"_tokens");p(this,"_binaryTokens");p(this,"_lastTokenEndIndex");p(this,"_tokenTypeOverrides");this.balancedBracketSelectors=i,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var i;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let o=(e==null?void 0:e.tokenAttributes)??0,s=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(e==null?void 0:e.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(l)&&(o=K.set(o,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(o=K.set(o,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=t;return}const n=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let i=0,o=this._binaryTokens.length;i0;)await Promise.all(s.Q.map(l=>this._loadSingleGrammar(l.scopeName))),s.processQueue();return this._grammarForScopeName(e,t,n,i,o)}async _loadSingleGrammar(e){return this._ensureGrammarCache.has(e)||this._ensureGrammarCache.set(e,this._doLoadSingleGrammar(e)),this._ensureGrammarCache.get(e)}async _doLoadSingleGrammar(e){const t=await this._options.loadGrammar(e);if(t){const n=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}async addGrammar(e,t=[],n=0,i=null){return this._syncRegistry.addGrammar(e,t),await this._grammarForScopeName(e.scopeName,n,i)}_grammarForScopeName(e,t=0,n=null,i=null,o=null){return this._syncRegistry.grammarForScopeName(e,t,n,i,o)}};const kn=ne.NULL,k={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class G{static toBinaryStr(e){let t=e.toString(2);for(;t.length<32;)t=`0${t}`;return t}static getLanguageId(e){return(e&k.LANGUAGEID_MASK)>>>k.LANGUAGEID_OFFSET}static getTokenType(e){return(e&k.TOKEN_TYPE_MASK)>>>k.TOKEN_TYPE_OFFSET}static getFontStyle(e){return(e&k.FONT_STYLE_MASK)>>>k.FONT_STYLE_OFFSET}static getForeground(e){return(e&k.FOREGROUND_MASK)>>>k.FOREGROUND_OFFSET}static getBackground(e){return(e&k.BACKGROUND_MASK)>>>k.BACKGROUND_OFFSET}static containsBalancedBrackets(e){return(e&k.BALANCED_BRACKETS_MASK)!==0}static set(e,t,n,i,o,s){let l=G.getLanguageId(e),a=G.getTokenType(e),u=G.getFontStyle(e),m=G.getForeground(e),h=G.getBackground(e);const d=G.containsBalancedBrackets(e)?1:0;return t!==0&&(l=t),n!==0&&(a=n===8?0:n),i!==M.NotSet&&(u=i),o!==0&&(m=o),s!==0&&(h=s),(l<>>0}}const Dn=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ie{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}ie.prototype.property={};ie.prototype.normal={};ie.prototype.space=null;function Rt(r,e){const t={},n={};let i=-1;for(;++i4&&t.slice(0,4)==="data"&&Bn.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(Je,Un);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!Je.test(o)){let s=o.replace(Gn,Fn);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}i=Ve}return new i(n,e)}function Fn(r){return"-"+r.toLowerCase()}function Un(r){return r.charAt(1).toUpperCase()}const $n=Rt([Pt,bt,Tt,Ot,Vn],"html"),Ct=Rt([Pt,bt,Tt,Ot,Mn],"svg"),Qe={}.hasOwnProperty;function Hn(r,e){const t=e||{};function n(i,...o){let s=n.invalid;const l=n.handlers;if(i&&Qe.call(i,r)){const a=String(i[r]);s=Qe.call(l,a)?l[a]:n.unknown}if(s)return s.call(this,i,...o)}return n.handlers=t.handlers||{},n.invalid=t.invalid,n.unknown=t.unknown,n}function Wn(r,e){if(r=r.replace(e.subset?zn(e.subset):/["&'<>`]/g,n),e.subset||e.escapeOnly)return r;return r.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,t).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function t(i,o,s){return e.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,s.charCodeAt(o+2),e)}function n(i,o,s){return e.format(i.charCodeAt(0),s.charCodeAt(o+1),e)}}function zn(r){const e=[];let t=-1;for(;++t",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:"€"},Xn=["cent","copy","divide","gt","lt","not","para","times"],It={}.hasOwnProperty,De={};let se;for(se in be)It.call(be,se)&&(De[be[se]]=se);function Jn(r,e,t,n){const i=String.fromCharCode(r);if(It.call(De,i)){const o=De[i],s="&"+o;return t&&Yn.includes(o)&&!Xn.includes(o)&&(!n||e&&e!==61&&/[^\da-z]/i.test(String.fromCharCode(e)))?s:s+";"}return""}function Qn(r,e,t){let n=qn(r,e,t.omitOptionalSemicolons),i;if((t.useNamedReferences||t.useShortestReferences)&&(i=Jn(r,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!i)&&t.useShortestReferences){const o=Kn(r,e,t.omitOptionalSemicolons);o.length"]}))+">":"|--!>|";function i(o){return q(o,Object.assign({},n.settings.characterReferences,{subset:["<",">"]}))}}function er(r,e,t,n){return""}function Ze(r,e){const t=String(r);if(typeof e!="string")throw new TypeError("Expected character");let n=0,i=t.indexOf(e);for(;i!==-1;)n++,i=t.indexOf(e,i+e.length);return n}function tr(r,e){const t=e||{};return(r[r.length-1]===""?[...r,""]:r).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function nr(r){return r.join(" ").trim()}const rr=/[ \t\n\f\r]/g;function Me(r){return typeof r=="object"?r.type==="text"?et(r.value):!1:et(r)}function et(r){return r.replace(rr,"")===""}const C=kt(1),wt=kt(-1),ir=[];function kt(r){return e;function e(t,n,i){const o=t?t.children:ir;let s=(n||0)+r,l=o[s];if(!i)for(;l&&Me(l);)s+=r,l=o[s];return l}}const or={}.hasOwnProperty;function Dt(r){return e;function e(t,n,i){return or.call(r,t.tagName)&&r[t.tagName](t,n,i)}}const Be=Dt({body:ar,caption:Pe,colgroup:Pe,dd:mr,dt:cr,head:Pe,html:sr,li:ur,optgroup:pr,option:hr,p:lr,rp:tt,rt:tt,tbody:fr,td:nt,tfoot:_r,th:nt,thead:dr,tr:gr});function Pe(r,e,t){const n=C(t,e,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&Me(n.value.charAt(0)))}function sr(r,e,t){const n=C(t,e);return!n||n.type!=="comment"}function ar(r,e,t){const n=C(t,e);return!n||n.type!=="comment"}function lr(r,e,t){const n=C(t,e);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function ur(r,e,t){const n=C(t,e);return!n||n.type==="element"&&n.tagName==="li"}function cr(r,e,t){const n=C(t,e);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function mr(r,e,t){const n=C(t,e);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function tt(r,e,t){const n=C(t,e);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function pr(r,e,t){const n=C(t,e);return!n||n.type==="element"&&n.tagName==="optgroup"}function hr(r,e,t){const n=C(t,e);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function dr(r,e,t){const n=C(t,e);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function fr(r,e,t){const n=C(t,e);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function _r(r,e,t){return!C(t,e)}function gr(r,e,t){const n=C(t,e);return!n||n.type==="element"&&n.tagName==="tr"}function nt(r,e,t){const n=C(t,e);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const yr=Dt({body:Rr,colgroup:Ar,head:vr,html:Er,tbody:br});function Er(r){const e=C(r,-1);return!e||e.type!=="comment"}function vr(r){const e=r.children,t=[];let n=-1;for(;++n0}function Rr(r){const e=C(r,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Me(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function Ar(r,e,t){const n=wt(t,e),i=C(r,-1,!0);return t&&n&&n.type==="element"&&n.tagName==="colgroup"&&Be(n,t.children.indexOf(n),t)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function br(r,e,t){const n=wt(t,e),i=C(r,-1);return t&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&Be(n,t.children.indexOf(n),t)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const ae={name:[[` \f\r &/=>`.split(""),` diff --git a/_nuxt/index.zxozhBNM.js b/_nuxt/index.-1WZlMFP.js similarity index 51% rename from _nuxt/index.zxozhBNM.js rename to _nuxt/index.-1WZlMFP.js index ed907a79..35453385 100644 --- a/_nuxt/index.zxozhBNM.js +++ b/_nuxt/index.-1WZlMFP.js @@ -1 +1 @@ -import{d as e}from"./entry.n8fVlM9F.js";const o=e({name:"OgImage",async setup(n,{attrs:t}){return()=>null}});export{o as default}; +import{d as e}from"./entry.YSgWRBMm.js";const o=e({name:"OgImage",async setup(n,{attrs:t}){return()=>null}});export{o as default}; diff --git a/_nuxt/index.kY4KOPT6.js b/_nuxt/index.3HHY23m7.js similarity index 99% rename from _nuxt/index.kY4KOPT6.js rename to _nuxt/index.3HHY23m7.js index 52275b43..eef338fd 100644 --- a/_nuxt/index.kY4KOPT6.js +++ b/_nuxt/index.3HHY23m7.js @@ -1,4 +1,4 @@ -import{h as su,f as Xr,n as Sn,s as da,a as qa,_ as ou}from"./MDCRenderer.o5m2R7Hl.js";import{aQ as sa,_ as is,ai as Nn,d as Ht,G as mt,aR as cu,aJ as ss,aM as os,N as uu,aa as le,b as Z,a9 as wt,n as se,aA as V,f as ue,ag as Ya,ah as ot,c as ne,g as Be,w as nt,e as Bt,ab as qe,aS as cs,j as kt,t as Re,F as Ft,a8 as Ot,af as us,aT as lu,aU as fu,r as Ca,aV as hu,aW as du,aX as pu,aY as mu,aZ as _u,a_ as ya,ak as gu,a$ as yu,b0 as ku,b1 as bu,aC as wu,a4 as ls,p as Eu,i as Tu,l as Au,aL as Cu,ao as xu,s as Du}from"./entry.n8fVlM9F.js";import{g as Kr}from"./_commonjsHelpers.5-cIlDoe.js";import{n as Fn}from"./node.kQagOfUD.js";import{_ as zu}from"./Card.oqOBlRID.js";function On(e){if(e)throw e}var xa=Object.prototype.hasOwnProperty,fs=Object.prototype.toString,Ln=Object.defineProperty,Rn=Object.getOwnPropertyDescriptor,vn=function(t){return typeof Array.isArray=="function"?Array.isArray(t):fs.call(t)==="[object Array]"},Bn=function(t){if(!t||fs.call(t)!=="[object Object]")return!1;var a=xa.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&xa.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!a&&!r)return!1;var n;for(n in t);return typeof n>"u"||xa.call(t,n)},Pn=function(t,a){Ln&&a.name==="__proto__"?Ln(t,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0}):t[a.name]=a.newValue},Mn=function(t,a){if(a==="__proto__")if(xa.call(t,a)){if(Rn)return Rn(t,a).value}else return;return t[a]},Iu=function e(){var t,a,r,n,i,s,o=arguments[0],u=1,l=arguments.length,p=!1;for(typeof o=="boolean"&&(p=o,o=arguments[1]||{},u=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});us.length;let u;o&&s.push(n);try{u=e.apply(this,s)}catch(l){const p=l;if(o&&a)throw p;return n(p)}o||(u instanceof Promise?u.then(i,n):u instanceof Error?n(u):i(u))}function n(s,...o){a||(a=!0,t(s,...o))}function i(s){n(null,s)}}function Zt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Hn(e.position):"start"in e||"end"in e?Hn(e):"line"in e||"column"in e?Dr(e):""}function Dr(e){return Un(e&&e.line)+":"+Un(e&&e.column)}function Hn(e){return Dr(e&&e.start)+"-"+Dr(e&&e.end)}function Un(e){return e&&typeof e=="number"?e:1}class xe extends Error{constructor(t,a,r){super(),typeof a=="string"&&(r=a,a=void 0);let n="",i={},s=!1;if(a&&("line"in a&&"column"in a?i={place:a}:"start"in a&&"end"in a?i={place:a}:"type"in a?i={ancestors:[a],place:a.position}:i={...a}),typeof t=="string"?n=t:!i.cause&&t&&(s=!0,n=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?i.ruleId=r:(i.source=r.slice(0,u),i.ruleId=r.slice(u+1))}if(!i.place&&i.ancestors&&i.ancestors){const u=i.ancestors[i.ancestors.length-1];u&&(i.place=u.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=o?o.line:void 0,this.name=Zt(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}xe.prototype.file="";xe.prototype.name="";xe.prototype.reason="";xe.prototype.message="";xe.prototype.stack="";xe.prototype.column=void 0;xe.prototype.line=void 0;xe.prototype.ancestors=void 0;xe.prototype.cause=void 0;xe.prototype.fatal=void 0;xe.prototype.place=void 0;xe.prototype.ruleId=void 0;xe.prototype.source=void 0;const He={basename:Fu,dirname:Ou,extname:Lu,join:Ru,sep:"/"};function Fu(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');pa(e);let a=0,r=-1,n=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;n--;)if(e.codePointAt(n)===47){if(i){a=n+1;break}}else r<0&&(i=!0,r=n+1);return r<0?"":e.slice(a,r)}if(t===e)return"";let s=-1,o=t.length-1;for(;n--;)if(e.codePointAt(n)===47){if(i){a=n+1;break}}else s<0&&(i=!0,s=n+1),o>-1&&(e.codePointAt(n)===t.codePointAt(o--)?o<0&&(r=n):(o=-1,r=s));return a===r?r=s:r<0&&(r=e.length),e.slice(a,r)}function Ou(e){if(pa(e),e.length===0)return".";let t=-1,a=e.length,r;for(;--a;)if(e.codePointAt(a)===47){if(r){t=a;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Lu(e){pa(e);let t=e.length,a=-1,r=0,n=-1,i=0,s;for(;t--;){const o=e.codePointAt(t);if(o===47){if(s){r=t+1;break}continue}a<0&&(s=!0,a=t+1),o===46?n<0?n=t:i!==1&&(i=1):n>-1&&(i=-1)}return n<0||a<0||i===0||i===1&&n===a-1&&n===r+1?"":e.slice(n,a)}function Ru(...e){let t=-1,a;for(;++t0&&e.codePointAt(e.length-1)===47&&(a+="/"),t?"/"+a:a}function Bu(e,t){let a="",r=0,n=-1,i=0,s=-1,o,u;for(;++s<=e.length;){if(s2){if(u=a.lastIndexOf("/"),u!==a.length-1){u<0?(a="",r=0):(a=a.slice(0,u),r=a.length-1-a.lastIndexOf("/")),n=s,i=0;continue}}else if(a.length>0){a="",r=0,n=s,i=0;continue}}t&&(a=a.length>0?a+"/..":"..",r=2)}else a.length>0?a+="/"+e.slice(n+1,s):a=e.slice(n+1,s),r=s-n-1;n=s,i=0}else o===46&&i>-1?i++:i=-1}return a}function pa(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Pu={cwd:Mu};function Mu(){return"/"}function zr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Hu(e){if(typeof e=="string")e=new URL(e);else if(!zr(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 Uu(e)}function Uu(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 a=-1;for(;++a0){let[m,...y]=p;const b=r[f][1];xr(b)&&xr(m)&&(m=nr(!0,b,m)),r[f]=[l,m,...y]}}}}const Vu=new Jr().freeze();function cr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function ur(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function lr(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 qn(e){if(!xr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Yn(e,t,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ka(e){return Wu(e)?e:new ju(e)}function Wu(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Gu(e){return typeof e=="string"||Qu(e)}function Qu(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Xu={};function Zr(e,t){const a=t||Xu,r=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,n=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return hs(e,r,n)}function hs(e,t,a){if(Ku(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return $n(e.children,t,a)}return Array.isArray(e)?$n(e,t,a):""}function $n(e,t,a){const r=[];let n=-1;for(;++nn?0:n+t:t=t>n?n:t,a=a>0?a:0,r.length<1e4)s=Array.from(r),s.unshift(t,a),e.splice(...s);else for(a&&e.splice(t,a);i0?(Ie(e,e.length,0,t),e):t}const Wn={}.hasOwnProperty;function ds(e){const t={};let a=-1;for(;++a13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function Pe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const el=ut(new RegExp("\\p{P}","u")),_e=ut(/[A-Za-z]/),pe=ut(/[\dA-Za-z]/),tl=ut(/[#-'*+\--9=?A-Z^-~]/);function Sa(e){return e!==null&&(e<32||e===127)}const Ir=ut(/\d/),al=ut(/[\dA-Fa-f]/),ms=ut(/[!-/:-@[-`{-~]/);function Y(e){return e!==null&&e<-2}function ae(e){return e!==null&&(e<0||e===32)}function X(e){return e===-2||e===-1||e===32}function $a(e){return ms(e)||el(e)}const Et=ut(/\s/);function ut(e){return t;function t(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function lt(e){const t=[];let a=-1,r=0,n=0;for(;++a55295&&i<57344){const o=e.charCodeAt(a+1);i<56320&&o>56319&&o<57344?(s=String.fromCharCode(i,o),n=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,a),encodeURIComponent(s)),r=a+n+1,s=""),n&&(a+=n,n=0)}return t.join("")+e.slice(r)}function G(e,t,a,r){const n=r?r-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(u){return X(u)?(e.enter(a),o(u)):t(u)}function o(u){return X(u)&&i++s))return;const I=t.events.length;let j=I,$,x;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){if($){x=t.events[j][1].end;break}$=!0}for(A(r),d=I;dO;){const N=a[H];t.containerState=N[1],N[0].exit.call(t,e)}a.length=O}function S(){n.write([null]),i=void 0,n=void 0,t.containerState._closeFlow=void 0}}function ol(e,t,a){return G(e,e.attempt(this.parser.constructs.document,t,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Na(e){if(e===null||ae(e)||Et(e))return 1;if($a(e))return 2}function Va(e,t,a){const r=[];let n=-1;for(;++n1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const h=Object.assign({},e[r][1].end),f=Object.assign({},e[a][1].start);Qn(h,-u),Qn(f,u),s={type:u>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[r][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[a][1].start),end:f},i={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[a][1].start)},n={type:u>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},s.start),e[a][1].start=Object.assign({},o.end),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Se(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=Se(l,[["enter",n,t],["enter",s,t],["exit",s,t],["enter",i,t]]),l=Se(l,Va(t.parser.constructs.insideSpan.null,e.slice(r+1,a),t)),l=Se(l,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",n,t]]),e[a][1].end.offset-e[a][1].start.offset?(p=2,l=Se(l,[["enter",e[a][1],t],["exit",e[a][1],t]])):p=0,Ie(e,r-1,a-r+3,l),a=r+l.length-p-2;break}}for(a=-1;++a0&&X(d)?G(e,S,"linePrefix",i+1)(d):S(d)}function S(d){return d===null||Y(d)?e.check(Xn,b,H)(d):(e.enter("codeFlowValue"),O(d))}function O(d){return d===null||Y(d)?(e.exit("codeFlowValue"),S(d)):(e.consume(d),O)}function H(d){return e.exit("codeFenced"),t(d)}function N(d,I,j){let $=0;return x;function x(B){return d.enter("lineEnding"),d.consume(B),d.exit("lineEnding"),z}function z(B){return d.enter("codeFencedFence"),X(B)?G(d,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):P(B)}function P(B){return B===o?(d.enter("codeFencedFenceSequence"),Q(B)):j(B)}function Q(B){return B===o?($++,d.consume(B),Q):$>=s?(d.exit("codeFencedFenceSequence"),X(B)?G(d,te,"whitespace")(B):te(B)):j(B)}function te(B){return B===null||Y(B)?(d.exit("codeFencedFence"),I(B)):j(B)}}}function kl(e,t,a){const r=this;return n;function n(s){return s===null?a(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return r.parser.lazy[r.now().line]?a(s):t(s)}}const fr={name:"codeIndented",tokenize:wl},bl={tokenize:El,partial:!0};function wl(e,t,a){const r=this;return n;function n(l){return e.enter("codeIndented"),G(e,i,"linePrefix",5)(l)}function i(l){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?s(l):a(l)}function s(l){return l===null?u(l):Y(l)?e.attempt(bl,s,u)(l):(e.enter("codeFlowValue"),o(l))}function o(l){return l===null||Y(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),o)}function u(l){return e.exit("codeIndented"),t(l)}}function El(e,t,a){const r=this;return n;function n(s){return r.parser.lazy[r.now().line]?a(s):Y(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n):G(e,i,"linePrefix",5)(s)}function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):Y(s)?n(s):a(s)}}const Tl={name:"codeText",tokenize:xl,resolve:Al,previous:Cl};function Al(e){let t=e.length-4,a=3,r,n;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=a;++r=4?t(s):e.interrupt(r.parser.constructs.flow,a,t)(s)}}function bs(e,t,a,r,n,i,s,o,u){const l=u||Number.POSITIVE_INFINITY;let p=0;return h;function h(A){return A===60?(e.enter(r),e.enter(n),e.enter(i),e.consume(A),e.exit(i),f):A===null||A===32||A===41||Sa(A)?a(A):(e.enter(r),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),b(A))}function f(A){return A===62?(e.enter(i),e.consume(A),e.exit(i),e.exit(n),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(A))}function m(A){return A===62?(e.exit("chunkString"),e.exit(o),f(A)):A===null||A===60||Y(A)?a(A):(e.consume(A),A===92?y:m)}function y(A){return A===60||A===62||A===92?(e.consume(A),m):m(A)}function b(A){return!p&&(A===null||A===41||ae(A))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(r),t(A)):p999||m===null||m===91||m===93&&!u||m===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?a(m):m===93?(e.exit(i),e.enter(n),e.consume(m),e.exit(n),e.exit(r),t):Y(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===null||m===91||m===93||Y(m)||o++>999?(e.exit("chunkString"),p(m)):(e.consume(m),u||(u=!X(m)),m===92?f:h)}function f(m){return m===91||m===92||m===93?(e.consume(m),o++,h):h(m)}}function Es(e,t,a,r,n,i){let s;return o;function o(f){return f===34||f===39||f===40?(e.enter(r),e.enter(n),e.consume(f),e.exit(n),s=f===40?41:f,u):a(f)}function u(f){return f===s?(e.enter(n),e.consume(f),e.exit(n),e.exit(r),t):(e.enter(i),l(f))}function l(f){return f===s?(e.exit(i),u(s)):f===null?a(f):Y(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),G(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(f))}function p(f){return f===s||f===null||Y(f)?(e.exit("chunkString"),l(f)):(e.consume(f),f===92?h:p)}function h(f){return f===s||f===92?(e.consume(f),p):p(f)}}function Ue(e,t){let a;return r;function r(n){return Y(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),a=!0,r):X(n)?G(e,r,a?"linePrefix":"lineSuffix")(n):t(n)}}const Ol={name:"definition",tokenize:Rl},Ll={tokenize:vl,partial:!0};function Rl(e,t,a){const r=this;let n;return i;function i(m){return e.enter("definition"),s(m)}function s(m){return ws.call(r,e,o,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return n=Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),u):a(m)}function u(m){return ae(m)?Ue(e,l)(m):l(m)}function l(m){return bs(e,p,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function p(m){return e.attempt(Ll,h,h)(m)}function h(m){return X(m)?G(e,f,"whitespace")(m):f(m)}function f(m){return m===null||Y(m)?(e.exit("definition"),r.parser.defined.push(n),t(m)):a(m)}}function vl(e,t,a){return r;function r(o){return ae(o)?Ue(e,n)(o):a(o)}function n(o){return Es(e,i,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return X(o)?G(e,s,"whitespace")(o):s(o)}function s(o){return o===null||Y(o)?t(o):a(o)}}const Bl={name:"hardBreakEscape",tokenize:Pl};function Pl(e,t,a){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),n}function n(i){return Y(i)?(e.exit("hardBreakEscape"),t(i)):a(i)}}const Ml={name:"headingAtx",tokenize:Ul,resolve:Hl};function Hl(e,t){let a=e.length-2,r=3,n,i;return e[r][1].type==="whitespace"&&(r+=2),a-2>r&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(r===a-1||a-4>r&&e[a-2][1].type==="whitespace")&&(a-=r+1===a?2:4),a>r&&(n={type:"atxHeadingText",start:e[r][1].start,end:e[a][1].end},i={type:"chunkText",start:e[r][1].start,end:e[a][1].end,contentType:"text"},Ie(e,r,a-r+1,[["enter",n,t],["enter",i,t],["exit",i,t],["exit",n,t]])),e}function Ul(e,t,a){let r=0;return n;function n(p){return e.enter("atxHeading"),i(p)}function i(p){return e.enter("atxHeadingSequence"),s(p)}function s(p){return p===35&&r++<6?(e.consume(p),s):p===null||ae(p)?(e.exit("atxHeadingSequence"),o(p)):a(p)}function o(p){return p===35?(e.enter("atxHeadingSequence"),u(p)):p===null||Y(p)?(e.exit("atxHeading"),t(p)):X(p)?G(e,o,"whitespace")(p):(e.enter("atxHeadingText"),l(p))}function u(p){return p===35?(e.consume(p),u):(e.exit("atxHeadingSequence"),o(p))}function l(p){return p===null||p===35||ae(p)?(e.exit("atxHeadingText"),o(p)):(e.consume(p),l)}}const jl=["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"],Kn=["pre","script","style","textarea"],ql={name:"htmlFlow",tokenize:Wl,resolveTo:Vl,concrete:!0},Yl={tokenize:Ql,partial:!0},$l={tokenize:Gl,partial:!0};function Vl(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 Wl(e,t,a){const r=this;let n,i,s,o,u;return l;function l(E){return p(E)}function p(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),h}function h(E){return E===33?(e.consume(E),f):E===47?(e.consume(E),i=!0,b):E===63?(e.consume(E),n=3,r.interrupt?t:w):_e(E)?(e.consume(E),s=String.fromCharCode(E),D):a(E)}function f(E){return E===45?(e.consume(E),n=2,m):E===91?(e.consume(E),n=5,o=0,y):_e(E)?(e.consume(E),n=4,r.interrupt?t:w):a(E)}function m(E){return E===45?(e.consume(E),r.interrupt?t:w):a(E)}function y(E){const Fe="CDATA[";return E===Fe.charCodeAt(o++)?(e.consume(E),o===Fe.length?r.interrupt?t:P:y):a(E)}function b(E){return _e(E)?(e.consume(E),s=String.fromCharCode(E),D):a(E)}function D(E){if(E===null||E===47||E===62||ae(E)){const Fe=E===47,ft=s.toLowerCase();return!Fe&&!i&&Kn.includes(ft)?(n=1,r.interrupt?t(E):P(E)):jl.includes(s.toLowerCase())?(n=6,Fe?(e.consume(E),A):r.interrupt?t(E):P(E)):(n=7,r.interrupt&&!r.parser.lazy[r.now().line]?a(E):i?S(E):O(E))}return E===45||pe(E)?(e.consume(E),s+=String.fromCharCode(E),D):a(E)}function A(E){return E===62?(e.consume(E),r.interrupt?t:P):a(E)}function S(E){return X(E)?(e.consume(E),S):x(E)}function O(E){return E===47?(e.consume(E),x):E===58||E===95||_e(E)?(e.consume(E),H):X(E)?(e.consume(E),O):x(E)}function H(E){return E===45||E===46||E===58||E===95||pe(E)?(e.consume(E),H):N(E)}function N(E){return E===61?(e.consume(E),d):X(E)?(e.consume(E),N):O(E)}function d(E){return E===null||E===60||E===61||E===62||E===96?a(E):E===34||E===39?(e.consume(E),u=E,I):X(E)?(e.consume(E),d):j(E)}function I(E){return E===u?(e.consume(E),u=null,$):E===null||Y(E)?a(E):(e.consume(E),I)}function j(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||ae(E)?N(E):(e.consume(E),j)}function $(E){return E===47||E===62||X(E)?O(E):a(E)}function x(E){return E===62?(e.consume(E),z):a(E)}function z(E){return E===null||Y(E)?P(E):X(E)?(e.consume(E),z):a(E)}function P(E){return E===45&&n===2?(e.consume(E),q):E===60&&n===1?(e.consume(E),T):E===62&&n===4?(e.consume(E),Ne):E===63&&n===3?(e.consume(E),w):E===93&&n===5?(e.consume(E),ie):Y(E)&&(n===6||n===7)?(e.exit("htmlFlowData"),e.check(Yl,Ve,Q)(E)):E===null||Y(E)?(e.exit("htmlFlowData"),Q(E)):(e.consume(E),P)}function Q(E){return e.check($l,te,Ve)(E)}function te(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),B}function B(E){return E===null||Y(E)?Q(E):(e.enter("htmlFlowData"),P(E))}function q(E){return E===45?(e.consume(E),w):P(E)}function T(E){return E===47?(e.consume(E),s="",K):P(E)}function K(E){if(E===62){const Fe=s.toLowerCase();return Kn.includes(Fe)?(e.consume(E),Ne):P(E)}return _e(E)&&s.length<8?(e.consume(E),s+=String.fromCharCode(E),K):P(E)}function ie(E){return E===93?(e.consume(E),w):P(E)}function w(E){return E===62?(e.consume(E),Ne):E===45&&n===2?(e.consume(E),w):P(E)}function Ne(E){return E===null||Y(E)?(e.exit("htmlFlowData"),Ve(E)):(e.consume(E),Ne)}function Ve(E){return e.exit("htmlFlow"),t(E)}}function Gl(e,t,a){const r=this;return n;function n(s){return Y(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):a(s)}function i(s){return r.parser.lazy[r.now().line]?a(s):t(s)}}function Ql(e,t,a){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(ma,t,a)}}const Xl={name:"htmlText",tokenize:Kl};function Kl(e,t,a){const r=this;let n,i,s;return o;function o(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),u}function u(w){return w===33?(e.consume(w),l):w===47?(e.consume(w),N):w===63?(e.consume(w),O):_e(w)?(e.consume(w),j):a(w)}function l(w){return w===45?(e.consume(w),p):w===91?(e.consume(w),i=0,y):_e(w)?(e.consume(w),S):a(w)}function p(w){return w===45?(e.consume(w),m):a(w)}function h(w){return w===null?a(w):w===45?(e.consume(w),f):Y(w)?(s=h,T(w)):(e.consume(w),h)}function f(w){return w===45?(e.consume(w),m):h(w)}function m(w){return w===62?q(w):w===45?f(w):h(w)}function y(w){const Ne="CDATA[";return w===Ne.charCodeAt(i++)?(e.consume(w),i===Ne.length?b:y):a(w)}function b(w){return w===null?a(w):w===93?(e.consume(w),D):Y(w)?(s=b,T(w)):(e.consume(w),b)}function D(w){return w===93?(e.consume(w),A):b(w)}function A(w){return w===62?q(w):w===93?(e.consume(w),A):b(w)}function S(w){return w===null||w===62?q(w):Y(w)?(s=S,T(w)):(e.consume(w),S)}function O(w){return w===null?a(w):w===63?(e.consume(w),H):Y(w)?(s=O,T(w)):(e.consume(w),O)}function H(w){return w===62?q(w):O(w)}function N(w){return _e(w)?(e.consume(w),d):a(w)}function d(w){return w===45||pe(w)?(e.consume(w),d):I(w)}function I(w){return Y(w)?(s=I,T(w)):X(w)?(e.consume(w),I):q(w)}function j(w){return w===45||pe(w)?(e.consume(w),j):w===47||w===62||ae(w)?$(w):a(w)}function $(w){return w===47?(e.consume(w),q):w===58||w===95||_e(w)?(e.consume(w),x):Y(w)?(s=$,T(w)):X(w)?(e.consume(w),$):q(w)}function x(w){return w===45||w===46||w===58||w===95||pe(w)?(e.consume(w),x):z(w)}function z(w){return w===61?(e.consume(w),P):Y(w)?(s=z,T(w)):X(w)?(e.consume(w),z):$(w)}function P(w){return w===null||w===60||w===61||w===62||w===96?a(w):w===34||w===39?(e.consume(w),n=w,Q):Y(w)?(s=P,T(w)):X(w)?(e.consume(w),P):(e.consume(w),te)}function Q(w){return w===n?(e.consume(w),n=void 0,B):w===null?a(w):Y(w)?(s=Q,T(w)):(e.consume(w),Q)}function te(w){return w===null||w===34||w===39||w===60||w===61||w===96?a(w):w===47||w===62||ae(w)?$(w):(e.consume(w),te)}function B(w){return w===47||w===62||ae(w)?$(w):a(w)}function q(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):a(w)}function T(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),K}function K(w){return X(w)?G(e,ie,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):ie(w)}function ie(w){return e.enter("htmlTextData"),s(w)}}const en={name:"labelEnd",tokenize:rf,resolveTo:af,resolveAll:tf},Jl={tokenize:nf},Zl={tokenize:sf},ef={tokenize:of};function tf(e){let t=-1;for(;++t=3&&(l===null||Y(l))?(e.exit("thematicBreak"),t(l)):a(l)}function u(l){return l===n?(e.consume(l),r++,u):(e.exit("thematicBreakSequence"),X(l)?G(e,o,"whitespace")(l):o(l))}}const Ae={name:"list",tokenize:_f,continuation:{tokenize:gf},exit:kf},pf={tokenize:bf,partial:!0},mf={tokenize:yf,partial:!0};function _f(e,t,a){const r=this,n=r.events[r.events.length-1];let i=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,s=0;return o;function o(m){const y=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Ir(m)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Da,a,l)(m):l(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(m)}return a(m)}function u(m){return Ir(m)&&++s<10?(e.consume(m),u):(!r.interrupt||s<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),l(m)):a(m)}function l(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(ma,r.interrupt?a:p,e.attempt(pf,f,h))}function p(m){return r.containerState.initialBlankLine=!0,i++,f(m)}function h(m){return X(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),f):a(m)}function f(m){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function gf(e,t,a){const r=this;return r.containerState._closeFlow=void 0,e.check(ma,n,i);function n(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,G(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!X(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(mf,t,s)(o))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,G(e,e.attempt(Ae,t,a),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function yf(e,t,a){const r=this;return G(e,n,"listItemIndent",r.containerState.size+1);function n(i){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(i):a(i)}}function kf(e){e.exit(this.containerState.type)}function bf(e,t,a){const r=this;return G(e,n,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(i){const s=r.events[r.events.length-1];return!X(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):a(i)}}const Jn={name:"setextUnderline",tokenize:Ef,resolveTo:wf};function wf(e,t){let a=e.length,r,n,i;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){r=a;break}e[a][1].type==="paragraph"&&(n=a)}else e[a][1].type==="content"&&e.splice(a,1),!i&&e[a][1].type==="definition"&&(i=a);const s={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[n][1].type="setextHeadingText",i?(e.splice(n,0,["enter",s,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=s,e.push(["exit",s,t]),e}function Ef(e,t,a){const r=this;let n;return i;function i(l){let p=r.events.length,h;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){h=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),n=l,s(l)):a(l)}function s(l){return e.enter("setextHeadingLineSequence"),o(l)}function o(l){return l===n?(e.consume(l),o):(e.exit("setextHeadingLineSequence"),X(l)?G(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||Y(l)?(e.exit("setextHeadingLine"),t(l)):a(l)}}const Tf={tokenize:Af};function Af(e){const t=this,a=e.attempt(ma,r,e.attempt(this.parser.constructs.flowInitial,n,G(e,e.attempt(this.parser.constructs.flow,n,e.attempt(zl,n)),"linePrefix")));return a;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,a}function n(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,a}}const Cf={resolveAll:As()},xf=Ts("string"),Df=Ts("text");function Ts(e){return{tokenize:t,resolveAll:As(e==="text"?zf:void 0)};function t(a){const r=this,n=this.parser.constructs[e],i=a.attempt(n,s,o);return s;function s(p){return l(p)?i(p):o(p)}function o(p){if(p===null){a.consume(p);return}return a.enter("data"),a.consume(p),u}function u(p){return l(p)?(a.exit("data"),i(p)):(a.consume(p),u)}function l(p){if(p===null)return!0;const h=n[p];let f=-1;if(h)for(;++f-1){const o=s[0];typeof o=="string"?s[0]=o.slice(r):s.shift()}i>0&&s.push(e[n].slice(0,i))}return s}function Nf(e,t){let a=-1;const r=[];let n;for(;++a"u"||xa.call(t,n)},Pn=function(t,a){Ln&&a.name==="__proto__"?Ln(t,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0}):t[a.name]=a.newValue},Mn=function(t,a){if(a==="__proto__")if(xa.call(t,a)){if(Rn)return Rn(t,a).value}else return;return t[a]},Iu=function e(){var t,a,r,n,i,s,o=arguments[0],u=1,l=arguments.length,p=!1;for(typeof o=="boolean"&&(p=o,o=arguments[1]||{},u=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});us.length;let u;o&&s.push(n);try{u=e.apply(this,s)}catch(l){const p=l;if(o&&a)throw p;return n(p)}o||(u instanceof Promise?u.then(i,n):u instanceof Error?n(u):i(u))}function n(s,...o){a||(a=!0,t(s,...o))}function i(s){n(null,s)}}function Zt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Hn(e.position):"start"in e||"end"in e?Hn(e):"line"in e||"column"in e?Dr(e):""}function Dr(e){return Un(e&&e.line)+":"+Un(e&&e.column)}function Hn(e){return Dr(e&&e.start)+"-"+Dr(e&&e.end)}function Un(e){return e&&typeof e=="number"?e:1}class xe extends Error{constructor(t,a,r){super(),typeof a=="string"&&(r=a,a=void 0);let n="",i={},s=!1;if(a&&("line"in a&&"column"in a?i={place:a}:"start"in a&&"end"in a?i={place:a}:"type"in a?i={ancestors:[a],place:a.position}:i={...a}),typeof t=="string"?n=t:!i.cause&&t&&(s=!0,n=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?i.ruleId=r:(i.source=r.slice(0,u),i.ruleId=r.slice(u+1))}if(!i.place&&i.ancestors&&i.ancestors){const u=i.ancestors[i.ancestors.length-1];u&&(i.place=u.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=o?o.line:void 0,this.name=Zt(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}xe.prototype.file="";xe.prototype.name="";xe.prototype.reason="";xe.prototype.message="";xe.prototype.stack="";xe.prototype.column=void 0;xe.prototype.line=void 0;xe.prototype.ancestors=void 0;xe.prototype.cause=void 0;xe.prototype.fatal=void 0;xe.prototype.place=void 0;xe.prototype.ruleId=void 0;xe.prototype.source=void 0;const He={basename:Fu,dirname:Ou,extname:Lu,join:Ru,sep:"/"};function Fu(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');pa(e);let a=0,r=-1,n=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;n--;)if(e.codePointAt(n)===47){if(i){a=n+1;break}}else r<0&&(i=!0,r=n+1);return r<0?"":e.slice(a,r)}if(t===e)return"";let s=-1,o=t.length-1;for(;n--;)if(e.codePointAt(n)===47){if(i){a=n+1;break}}else s<0&&(i=!0,s=n+1),o>-1&&(e.codePointAt(n)===t.codePointAt(o--)?o<0&&(r=n):(o=-1,r=s));return a===r?r=s:r<0&&(r=e.length),e.slice(a,r)}function Ou(e){if(pa(e),e.length===0)return".";let t=-1,a=e.length,r;for(;--a;)if(e.codePointAt(a)===47){if(r){t=a;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Lu(e){pa(e);let t=e.length,a=-1,r=0,n=-1,i=0,s;for(;t--;){const o=e.codePointAt(t);if(o===47){if(s){r=t+1;break}continue}a<0&&(s=!0,a=t+1),o===46?n<0?n=t:i!==1&&(i=1):n>-1&&(i=-1)}return n<0||a<0||i===0||i===1&&n===a-1&&n===r+1?"":e.slice(n,a)}function Ru(...e){let t=-1,a;for(;++t0&&e.codePointAt(e.length-1)===47&&(a+="/"),t?"/"+a:a}function Bu(e,t){let a="",r=0,n=-1,i=0,s=-1,o,u;for(;++s<=e.length;){if(s2){if(u=a.lastIndexOf("/"),u!==a.length-1){u<0?(a="",r=0):(a=a.slice(0,u),r=a.length-1-a.lastIndexOf("/")),n=s,i=0;continue}}else if(a.length>0){a="",r=0,n=s,i=0;continue}}t&&(a=a.length>0?a+"/..":"..",r=2)}else a.length>0?a+="/"+e.slice(n+1,s):a=e.slice(n+1,s),r=s-n-1;n=s,i=0}else o===46&&i>-1?i++:i=-1}return a}function pa(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Pu={cwd:Mu};function Mu(){return"/"}function zr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Hu(e){if(typeof e=="string")e=new URL(e);else if(!zr(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 Uu(e)}function Uu(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 a=-1;for(;++a0){let[m,...y]=p;const b=r[f][1];xr(b)&&xr(m)&&(m=nr(!0,b,m)),r[f]=[l,m,...y]}}}}const Vu=new Jr().freeze();function cr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function ur(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function lr(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 qn(e){if(!xr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Yn(e,t,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ka(e){return Wu(e)?e:new ju(e)}function Wu(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Gu(e){return typeof e=="string"||Qu(e)}function Qu(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Xu={};function Zr(e,t){const a=t||Xu,r=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,n=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return hs(e,r,n)}function hs(e,t,a){if(Ku(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return $n(e.children,t,a)}return Array.isArray(e)?$n(e,t,a):""}function $n(e,t,a){const r=[];let n=-1;for(;++nn?0:n+t:t=t>n?n:t,a=a>0?a:0,r.length<1e4)s=Array.from(r),s.unshift(t,a),e.splice(...s);else for(a&&e.splice(t,a);i0?(Ie(e,e.length,0,t),e):t}const Wn={}.hasOwnProperty;function ds(e){const t={};let a=-1;for(;++a13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function Pe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const el=ut(new RegExp("\\p{P}","u")),_e=ut(/[A-Za-z]/),pe=ut(/[\dA-Za-z]/),tl=ut(/[#-'*+\--9=?A-Z^-~]/);function Sa(e){return e!==null&&(e<32||e===127)}const Ir=ut(/\d/),al=ut(/[\dA-Fa-f]/),ms=ut(/[!-/:-@[-`{-~]/);function Y(e){return e!==null&&e<-2}function ae(e){return e!==null&&(e<0||e===32)}function X(e){return e===-2||e===-1||e===32}function $a(e){return ms(e)||el(e)}const Et=ut(/\s/);function ut(e){return t;function t(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function lt(e){const t=[];let a=-1,r=0,n=0;for(;++a55295&&i<57344){const o=e.charCodeAt(a+1);i<56320&&o>56319&&o<57344?(s=String.fromCharCode(i,o),n=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,a),encodeURIComponent(s)),r=a+n+1,s=""),n&&(a+=n,n=0)}return t.join("")+e.slice(r)}function G(e,t,a,r){const n=r?r-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(u){return X(u)?(e.enter(a),o(u)):t(u)}function o(u){return X(u)&&i++s))return;const I=t.events.length;let j=I,$,x;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){if($){x=t.events[j][1].end;break}$=!0}for(A(r),d=I;dO;){const N=a[H];t.containerState=N[1],N[0].exit.call(t,e)}a.length=O}function S(){n.write([null]),i=void 0,n=void 0,t.containerState._closeFlow=void 0}}function ol(e,t,a){return G(e,e.attempt(this.parser.constructs.document,t,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Na(e){if(e===null||ae(e)||Et(e))return 1;if($a(e))return 2}function Va(e,t,a){const r=[];let n=-1;for(;++n1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const h=Object.assign({},e[r][1].end),f=Object.assign({},e[a][1].start);Qn(h,-u),Qn(f,u),s={type:u>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[r][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[a][1].start),end:f},i={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[a][1].start)},n={type:u>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},s.start),e[a][1].start=Object.assign({},o.end),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=Se(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=Se(l,[["enter",n,t],["enter",s,t],["exit",s,t],["enter",i,t]]),l=Se(l,Va(t.parser.constructs.insideSpan.null,e.slice(r+1,a),t)),l=Se(l,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",n,t]]),e[a][1].end.offset-e[a][1].start.offset?(p=2,l=Se(l,[["enter",e[a][1],t],["exit",e[a][1],t]])):p=0,Ie(e,r-1,a-r+3,l),a=r+l.length-p-2;break}}for(a=-1;++a0&&X(d)?G(e,S,"linePrefix",i+1)(d):S(d)}function S(d){return d===null||Y(d)?e.check(Xn,b,H)(d):(e.enter("codeFlowValue"),O(d))}function O(d){return d===null||Y(d)?(e.exit("codeFlowValue"),S(d)):(e.consume(d),O)}function H(d){return e.exit("codeFenced"),t(d)}function N(d,I,j){let $=0;return x;function x(B){return d.enter("lineEnding"),d.consume(B),d.exit("lineEnding"),z}function z(B){return d.enter("codeFencedFence"),X(B)?G(d,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):P(B)}function P(B){return B===o?(d.enter("codeFencedFenceSequence"),Q(B)):j(B)}function Q(B){return B===o?($++,d.consume(B),Q):$>=s?(d.exit("codeFencedFenceSequence"),X(B)?G(d,te,"whitespace")(B):te(B)):j(B)}function te(B){return B===null||Y(B)?(d.exit("codeFencedFence"),I(B)):j(B)}}}function kl(e,t,a){const r=this;return n;function n(s){return s===null?a(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return r.parser.lazy[r.now().line]?a(s):t(s)}}const fr={name:"codeIndented",tokenize:wl},bl={tokenize:El,partial:!0};function wl(e,t,a){const r=this;return n;function n(l){return e.enter("codeIndented"),G(e,i,"linePrefix",5)(l)}function i(l){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?s(l):a(l)}function s(l){return l===null?u(l):Y(l)?e.attempt(bl,s,u)(l):(e.enter("codeFlowValue"),o(l))}function o(l){return l===null||Y(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),o)}function u(l){return e.exit("codeIndented"),t(l)}}function El(e,t,a){const r=this;return n;function n(s){return r.parser.lazy[r.now().line]?a(s):Y(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n):G(e,i,"linePrefix",5)(s)}function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):Y(s)?n(s):a(s)}}const Tl={name:"codeText",tokenize:xl,resolve:Al,previous:Cl};function Al(e){let t=e.length-4,a=3,r,n;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=a;++r=4?t(s):e.interrupt(r.parser.constructs.flow,a,t)(s)}}function bs(e,t,a,r,n,i,s,o,u){const l=u||Number.POSITIVE_INFINITY;let p=0;return h;function h(A){return A===60?(e.enter(r),e.enter(n),e.enter(i),e.consume(A),e.exit(i),f):A===null||A===32||A===41||Sa(A)?a(A):(e.enter(r),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),b(A))}function f(A){return A===62?(e.enter(i),e.consume(A),e.exit(i),e.exit(n),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(A))}function m(A){return A===62?(e.exit("chunkString"),e.exit(o),f(A)):A===null||A===60||Y(A)?a(A):(e.consume(A),A===92?y:m)}function y(A){return A===60||A===62||A===92?(e.consume(A),m):m(A)}function b(A){return!p&&(A===null||A===41||ae(A))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(r),t(A)):p999||m===null||m===91||m===93&&!u||m===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?a(m):m===93?(e.exit(i),e.enter(n),e.consume(m),e.exit(n),e.exit(r),t):Y(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===null||m===91||m===93||Y(m)||o++>999?(e.exit("chunkString"),p(m)):(e.consume(m),u||(u=!X(m)),m===92?f:h)}function f(m){return m===91||m===92||m===93?(e.consume(m),o++,h):h(m)}}function Es(e,t,a,r,n,i){let s;return o;function o(f){return f===34||f===39||f===40?(e.enter(r),e.enter(n),e.consume(f),e.exit(n),s=f===40?41:f,u):a(f)}function u(f){return f===s?(e.enter(n),e.consume(f),e.exit(n),e.exit(r),t):(e.enter(i),l(f))}function l(f){return f===s?(e.exit(i),u(s)):f===null?a(f):Y(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),G(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(f))}function p(f){return f===s||f===null||Y(f)?(e.exit("chunkString"),l(f)):(e.consume(f),f===92?h:p)}function h(f){return f===s||f===92?(e.consume(f),p):p(f)}}function Ue(e,t){let a;return r;function r(n){return Y(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),a=!0,r):X(n)?G(e,r,a?"linePrefix":"lineSuffix")(n):t(n)}}const Ol={name:"definition",tokenize:Rl},Ll={tokenize:vl,partial:!0};function Rl(e,t,a){const r=this;let n;return i;function i(m){return e.enter("definition"),s(m)}function s(m){return ws.call(r,e,o,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return n=Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),u):a(m)}function u(m){return ae(m)?Ue(e,l)(m):l(m)}function l(m){return bs(e,p,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function p(m){return e.attempt(Ll,h,h)(m)}function h(m){return X(m)?G(e,f,"whitespace")(m):f(m)}function f(m){return m===null||Y(m)?(e.exit("definition"),r.parser.defined.push(n),t(m)):a(m)}}function vl(e,t,a){return r;function r(o){return ae(o)?Ue(e,n)(o):a(o)}function n(o){return Es(e,i,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return X(o)?G(e,s,"whitespace")(o):s(o)}function s(o){return o===null||Y(o)?t(o):a(o)}}const Bl={name:"hardBreakEscape",tokenize:Pl};function Pl(e,t,a){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),n}function n(i){return Y(i)?(e.exit("hardBreakEscape"),t(i)):a(i)}}const Ml={name:"headingAtx",tokenize:Ul,resolve:Hl};function Hl(e,t){let a=e.length-2,r=3,n,i;return e[r][1].type==="whitespace"&&(r+=2),a-2>r&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(r===a-1||a-4>r&&e[a-2][1].type==="whitespace")&&(a-=r+1===a?2:4),a>r&&(n={type:"atxHeadingText",start:e[r][1].start,end:e[a][1].end},i={type:"chunkText",start:e[r][1].start,end:e[a][1].end,contentType:"text"},Ie(e,r,a-r+1,[["enter",n,t],["enter",i,t],["exit",i,t],["exit",n,t]])),e}function Ul(e,t,a){let r=0;return n;function n(p){return e.enter("atxHeading"),i(p)}function i(p){return e.enter("atxHeadingSequence"),s(p)}function s(p){return p===35&&r++<6?(e.consume(p),s):p===null||ae(p)?(e.exit("atxHeadingSequence"),o(p)):a(p)}function o(p){return p===35?(e.enter("atxHeadingSequence"),u(p)):p===null||Y(p)?(e.exit("atxHeading"),t(p)):X(p)?G(e,o,"whitespace")(p):(e.enter("atxHeadingText"),l(p))}function u(p){return p===35?(e.consume(p),u):(e.exit("atxHeadingSequence"),o(p))}function l(p){return p===null||p===35||ae(p)?(e.exit("atxHeadingText"),o(p)):(e.consume(p),l)}}const jl=["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"],Kn=["pre","script","style","textarea"],ql={name:"htmlFlow",tokenize:Wl,resolveTo:Vl,concrete:!0},Yl={tokenize:Ql,partial:!0},$l={tokenize:Gl,partial:!0};function Vl(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 Wl(e,t,a){const r=this;let n,i,s,o,u;return l;function l(E){return p(E)}function p(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),h}function h(E){return E===33?(e.consume(E),f):E===47?(e.consume(E),i=!0,b):E===63?(e.consume(E),n=3,r.interrupt?t:w):_e(E)?(e.consume(E),s=String.fromCharCode(E),D):a(E)}function f(E){return E===45?(e.consume(E),n=2,m):E===91?(e.consume(E),n=5,o=0,y):_e(E)?(e.consume(E),n=4,r.interrupt?t:w):a(E)}function m(E){return E===45?(e.consume(E),r.interrupt?t:w):a(E)}function y(E){const Fe="CDATA[";return E===Fe.charCodeAt(o++)?(e.consume(E),o===Fe.length?r.interrupt?t:P:y):a(E)}function b(E){return _e(E)?(e.consume(E),s=String.fromCharCode(E),D):a(E)}function D(E){if(E===null||E===47||E===62||ae(E)){const Fe=E===47,ft=s.toLowerCase();return!Fe&&!i&&Kn.includes(ft)?(n=1,r.interrupt?t(E):P(E)):jl.includes(s.toLowerCase())?(n=6,Fe?(e.consume(E),A):r.interrupt?t(E):P(E)):(n=7,r.interrupt&&!r.parser.lazy[r.now().line]?a(E):i?S(E):O(E))}return E===45||pe(E)?(e.consume(E),s+=String.fromCharCode(E),D):a(E)}function A(E){return E===62?(e.consume(E),r.interrupt?t:P):a(E)}function S(E){return X(E)?(e.consume(E),S):x(E)}function O(E){return E===47?(e.consume(E),x):E===58||E===95||_e(E)?(e.consume(E),H):X(E)?(e.consume(E),O):x(E)}function H(E){return E===45||E===46||E===58||E===95||pe(E)?(e.consume(E),H):N(E)}function N(E){return E===61?(e.consume(E),d):X(E)?(e.consume(E),N):O(E)}function d(E){return E===null||E===60||E===61||E===62||E===96?a(E):E===34||E===39?(e.consume(E),u=E,I):X(E)?(e.consume(E),d):j(E)}function I(E){return E===u?(e.consume(E),u=null,$):E===null||Y(E)?a(E):(e.consume(E),I)}function j(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||ae(E)?N(E):(e.consume(E),j)}function $(E){return E===47||E===62||X(E)?O(E):a(E)}function x(E){return E===62?(e.consume(E),z):a(E)}function z(E){return E===null||Y(E)?P(E):X(E)?(e.consume(E),z):a(E)}function P(E){return E===45&&n===2?(e.consume(E),q):E===60&&n===1?(e.consume(E),T):E===62&&n===4?(e.consume(E),Ne):E===63&&n===3?(e.consume(E),w):E===93&&n===5?(e.consume(E),ie):Y(E)&&(n===6||n===7)?(e.exit("htmlFlowData"),e.check(Yl,Ve,Q)(E)):E===null||Y(E)?(e.exit("htmlFlowData"),Q(E)):(e.consume(E),P)}function Q(E){return e.check($l,te,Ve)(E)}function te(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),B}function B(E){return E===null||Y(E)?Q(E):(e.enter("htmlFlowData"),P(E))}function q(E){return E===45?(e.consume(E),w):P(E)}function T(E){return E===47?(e.consume(E),s="",K):P(E)}function K(E){if(E===62){const Fe=s.toLowerCase();return Kn.includes(Fe)?(e.consume(E),Ne):P(E)}return _e(E)&&s.length<8?(e.consume(E),s+=String.fromCharCode(E),K):P(E)}function ie(E){return E===93?(e.consume(E),w):P(E)}function w(E){return E===62?(e.consume(E),Ne):E===45&&n===2?(e.consume(E),w):P(E)}function Ne(E){return E===null||Y(E)?(e.exit("htmlFlowData"),Ve(E)):(e.consume(E),Ne)}function Ve(E){return e.exit("htmlFlow"),t(E)}}function Gl(e,t,a){const r=this;return n;function n(s){return Y(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):a(s)}function i(s){return r.parser.lazy[r.now().line]?a(s):t(s)}}function Ql(e,t,a){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(ma,t,a)}}const Xl={name:"htmlText",tokenize:Kl};function Kl(e,t,a){const r=this;let n,i,s;return o;function o(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),u}function u(w){return w===33?(e.consume(w),l):w===47?(e.consume(w),N):w===63?(e.consume(w),O):_e(w)?(e.consume(w),j):a(w)}function l(w){return w===45?(e.consume(w),p):w===91?(e.consume(w),i=0,y):_e(w)?(e.consume(w),S):a(w)}function p(w){return w===45?(e.consume(w),m):a(w)}function h(w){return w===null?a(w):w===45?(e.consume(w),f):Y(w)?(s=h,T(w)):(e.consume(w),h)}function f(w){return w===45?(e.consume(w),m):h(w)}function m(w){return w===62?q(w):w===45?f(w):h(w)}function y(w){const Ne="CDATA[";return w===Ne.charCodeAt(i++)?(e.consume(w),i===Ne.length?b:y):a(w)}function b(w){return w===null?a(w):w===93?(e.consume(w),D):Y(w)?(s=b,T(w)):(e.consume(w),b)}function D(w){return w===93?(e.consume(w),A):b(w)}function A(w){return w===62?q(w):w===93?(e.consume(w),A):b(w)}function S(w){return w===null||w===62?q(w):Y(w)?(s=S,T(w)):(e.consume(w),S)}function O(w){return w===null?a(w):w===63?(e.consume(w),H):Y(w)?(s=O,T(w)):(e.consume(w),O)}function H(w){return w===62?q(w):O(w)}function N(w){return _e(w)?(e.consume(w),d):a(w)}function d(w){return w===45||pe(w)?(e.consume(w),d):I(w)}function I(w){return Y(w)?(s=I,T(w)):X(w)?(e.consume(w),I):q(w)}function j(w){return w===45||pe(w)?(e.consume(w),j):w===47||w===62||ae(w)?$(w):a(w)}function $(w){return w===47?(e.consume(w),q):w===58||w===95||_e(w)?(e.consume(w),x):Y(w)?(s=$,T(w)):X(w)?(e.consume(w),$):q(w)}function x(w){return w===45||w===46||w===58||w===95||pe(w)?(e.consume(w),x):z(w)}function z(w){return w===61?(e.consume(w),P):Y(w)?(s=z,T(w)):X(w)?(e.consume(w),z):$(w)}function P(w){return w===null||w===60||w===61||w===62||w===96?a(w):w===34||w===39?(e.consume(w),n=w,Q):Y(w)?(s=P,T(w)):X(w)?(e.consume(w),P):(e.consume(w),te)}function Q(w){return w===n?(e.consume(w),n=void 0,B):w===null?a(w):Y(w)?(s=Q,T(w)):(e.consume(w),Q)}function te(w){return w===null||w===34||w===39||w===60||w===61||w===96?a(w):w===47||w===62||ae(w)?$(w):(e.consume(w),te)}function B(w){return w===47||w===62||ae(w)?$(w):a(w)}function q(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):a(w)}function T(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),K}function K(w){return X(w)?G(e,ie,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):ie(w)}function ie(w){return e.enter("htmlTextData"),s(w)}}const en={name:"labelEnd",tokenize:rf,resolveTo:af,resolveAll:tf},Jl={tokenize:nf},Zl={tokenize:sf},ef={tokenize:of};function tf(e){let t=-1;for(;++t=3&&(l===null||Y(l))?(e.exit("thematicBreak"),t(l)):a(l)}function u(l){return l===n?(e.consume(l),r++,u):(e.exit("thematicBreakSequence"),X(l)?G(e,o,"whitespace")(l):o(l))}}const Ae={name:"list",tokenize:_f,continuation:{tokenize:gf},exit:kf},pf={tokenize:bf,partial:!0},mf={tokenize:yf,partial:!0};function _f(e,t,a){const r=this,n=r.events[r.events.length-1];let i=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,s=0;return o;function o(m){const y=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Ir(m)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Da,a,l)(m):l(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(m)}return a(m)}function u(m){return Ir(m)&&++s<10?(e.consume(m),u):(!r.interrupt||s<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),l(m)):a(m)}function l(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(ma,r.interrupt?a:p,e.attempt(pf,f,h))}function p(m){return r.containerState.initialBlankLine=!0,i++,f(m)}function h(m){return X(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),f):a(m)}function f(m){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function gf(e,t,a){const r=this;return r.containerState._closeFlow=void 0,e.check(ma,n,i);function n(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,G(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!X(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(mf,t,s)(o))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,G(e,e.attempt(Ae,t,a),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function yf(e,t,a){const r=this;return G(e,n,"listItemIndent",r.containerState.size+1);function n(i){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(i):a(i)}}function kf(e){e.exit(this.containerState.type)}function bf(e,t,a){const r=this;return G(e,n,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(i){const s=r.events[r.events.length-1];return!X(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):a(i)}}const Jn={name:"setextUnderline",tokenize:Ef,resolveTo:wf};function wf(e,t){let a=e.length,r,n,i;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){r=a;break}e[a][1].type==="paragraph"&&(n=a)}else e[a][1].type==="content"&&e.splice(a,1),!i&&e[a][1].type==="definition"&&(i=a);const s={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[n][1].type="setextHeadingText",i?(e.splice(n,0,["enter",s,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=s,e.push(["exit",s,t]),e}function Ef(e,t,a){const r=this;let n;return i;function i(l){let p=r.events.length,h;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){h=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),n=l,s(l)):a(l)}function s(l){return e.enter("setextHeadingLineSequence"),o(l)}function o(l){return l===n?(e.consume(l),o):(e.exit("setextHeadingLineSequence"),X(l)?G(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||Y(l)?(e.exit("setextHeadingLine"),t(l)):a(l)}}const Tf={tokenize:Af};function Af(e){const t=this,a=e.attempt(ma,r,e.attempt(this.parser.constructs.flowInitial,n,G(e,e.attempt(this.parser.constructs.flow,n,e.attempt(zl,n)),"linePrefix")));return a;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,a}function n(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,a}}const Cf={resolveAll:As()},xf=Ts("string"),Df=Ts("text");function Ts(e){return{tokenize:t,resolveAll:As(e==="text"?zf:void 0)};function t(a){const r=this,n=this.parser.constructs[e],i=a.attempt(n,s,o);return s;function s(p){return l(p)?i(p):o(p)}function o(p){if(p===null){a.consume(p);return}return a.enter("data"),a.consume(p),u}function u(p){return l(p)?(a.exit("data"),i(p)):(a.consume(p),u)}function l(p){if(p===null)return!0;const h=n[p];let f=-1;if(h)for(;++f-1){const o=s[0];typeof o=="string"?s[0]=o.slice(r):s.shift()}i>0&&s.push(e[n].slice(0,i))}return s}function Nf(e,t){let a=-1;const r=[];let n;for(;++a0){const Oe=J.tokenStack[J.tokenStack.length-1];(Oe[1]||ei).call(J,void 0,Oe[0])}for(U.position={start:tt(R.length>0?R[0][1].start:{line:1,column:1,offset:0}),end:tt(R.length>0?R[R.length-2][1].end:{line:1,column:1,offset:0})},oe=-1;++oetypeof s.checked=="boolean")&&(a.className=["contains-task-list"]);const i={type:"element",tagName:t.ordered?"ol":"ul",properties:a,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function _g(e,t){if(t.children&&t.children[0]&&t.children[0].type==="html"){const r=sa($o(t.children[0].value)||"div");if(!su.includes(r))return e.all(t)}const a={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function gg(e,t){const a={...t.attributes,src:lt(t.url)};t.alt!==null&&t.alt!==void 0&&(a.alt=t.alt),t.title!==null&&t.title!==void 0&&(a.title=t.title);const r={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,r),e.applyData(t,r)}function yg(e,t){const a={type:"element",tagName:"strong",properties:t.attributes||{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function kg(e,t){var s,o;const a=((s=t.attributes)==null?void 0:s.language)||((o=t.attributes)==null?void 0:o.lang),r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:t.attributes||{},children:[r]},i=(n.properties.class||"").split(" ");return delete n.properties.class,a&&(n.properties.language=a,delete n.properties.lang,i.push("language-"+a)),n.properties.className=i.join(" "),e.patch(t,n),e.applyData(t,n)}function bg(e,t){var r;const a={type:"element",tagName:t.name,properties:{...t.attributes,...(r=t.data)==null?void 0:r.hProperties},children:e.all(t)};return e.patch(t,a),a.attributes=t.attributes,a.fmAttributes=t.fmAttributes,a}const wg={emphasis:og,code:hg,link:pg,paragraph:_g,html:dg,list:mg,image:gg,strong:yg,inlineCode:kg,containerComponent:bg};var Ur={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const a=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function r(d){return a.includes(d)}const n=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement",...a];function i(d){return n.includes(d)}const s=["null","undefined","string","number","bigint","boolean","symbol"];function o(d){return s.includes(d)}function u(d){return I=>typeof I===d}const{toString:l}=Object.prototype,p=d=>{const I=l.call(d).slice(8,-1);if(/HTML\w+Element/.test(I)&&f.domElement(d))return"HTMLElement";if(i(I))return I},h=d=>I=>p(I)===d;function f(d){if(d===null)return"null";switch(typeof d){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol"}if(f.observable(d))return"Observable";if(f.array(d))return"Array";if(f.buffer(d))return"Buffer";const I=p(d);if(I)return I;if(d instanceof String||d instanceof Boolean||d instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}f.undefined=u("undefined"),f.string=u("string");const m=u("number");f.number=d=>m(d)&&!f.nan(d),f.bigint=u("bigint"),f.function_=u("function"),f.null_=d=>d===null,f.class_=d=>f.function_(d)&&d.toString().startsWith("class "),f.boolean=d=>d===!0||d===!1,f.symbol=u("symbol"),f.numericString=d=>f.string(d)&&!f.emptyStringOrWhitespace(d)&&!Number.isNaN(Number(d)),f.array=(d,I)=>Array.isArray(d)?f.function_(I)?d.every(I):!0:!1,f.buffer=d=>{var I,j,$,x;return(x=($=(j=(I=d)===null||I===void 0?void 0:I.constructor)===null||j===void 0?void 0:j.isBuffer)===null||$===void 0?void 0:$.call(j,d))!==null&&x!==void 0?x:!1},f.blob=d=>h("Blob")(d),f.nullOrUndefined=d=>f.null_(d)||f.undefined(d),f.object=d=>!f.null_(d)&&(typeof d=="object"||f.function_(d)),f.iterable=d=>{var I;return f.function_((I=d)===null||I===void 0?void 0:I[Symbol.iterator])},f.asyncIterable=d=>{var I;return f.function_((I=d)===null||I===void 0?void 0:I[Symbol.asyncIterator])},f.generator=d=>{var I,j;return f.iterable(d)&&f.function_((I=d)===null||I===void 0?void 0:I.next)&&f.function_((j=d)===null||j===void 0?void 0:j.throw)},f.asyncGenerator=d=>f.asyncIterable(d)&&f.function_(d.next)&&f.function_(d.throw),f.nativePromise=d=>h("Promise")(d);const y=d=>{var I,j;return f.function_((I=d)===null||I===void 0?void 0:I.then)&&f.function_((j=d)===null||j===void 0?void 0:j.catch)};f.promise=d=>f.nativePromise(d)||y(d),f.generatorFunction=h("GeneratorFunction"),f.asyncGeneratorFunction=d=>p(d)==="AsyncGeneratorFunction",f.asyncFunction=d=>p(d)==="AsyncFunction",f.boundFunction=d=>f.function_(d)&&!d.hasOwnProperty("prototype"),f.regExp=h("RegExp"),f.date=h("Date"),f.error=h("Error"),f.map=d=>h("Map")(d),f.set=d=>h("Set")(d),f.weakMap=d=>h("WeakMap")(d),f.weakSet=d=>h("WeakSet")(d),f.int8Array=h("Int8Array"),f.uint8Array=h("Uint8Array"),f.uint8ClampedArray=h("Uint8ClampedArray"),f.int16Array=h("Int16Array"),f.uint16Array=h("Uint16Array"),f.int32Array=h("Int32Array"),f.uint32Array=h("Uint32Array"),f.float32Array=h("Float32Array"),f.float64Array=h("Float64Array"),f.bigInt64Array=h("BigInt64Array"),f.bigUint64Array=h("BigUint64Array"),f.arrayBuffer=h("ArrayBuffer"),f.sharedArrayBuffer=h("SharedArrayBuffer"),f.dataView=h("DataView"),f.enumCase=(d,I)=>Object.values(I).includes(d),f.directInstanceOf=(d,I)=>Object.getPrototypeOf(d)===I.prototype,f.urlInstance=d=>h("URL")(d),f.urlString=d=>{if(!f.string(d))return!1;try{return new URL(d),!0}catch{return!1}},f.truthy=d=>!!d,f.falsy=d=>!d,f.nan=d=>Number.isNaN(d),f.primitive=d=>f.null_(d)||o(typeof d),f.integer=d=>Number.isInteger(d),f.safeInteger=d=>Number.isSafeInteger(d),f.plainObject=d=>{if(l.call(d)!=="[object Object]")return!1;const I=Object.getPrototypeOf(d);return I===null||I===Object.getPrototypeOf({})},f.typedArray=d=>r(p(d));const b=d=>f.safeInteger(d)&&d>=0;f.arrayLike=d=>!f.nullOrUndefined(d)&&!f.function_(d)&&b(d.length),f.inRange=(d,I)=>{if(f.number(I))return d>=Math.min(0,I)&&d<=Math.max(I,0);if(f.array(I)&&I.length===2)return d>=Math.min(...I)&&d<=Math.max(...I);throw new TypeError(`Invalid range: ${JSON.stringify(I)}`)};const D=1,A=["innerHTML","ownerDocument","style","attributes","nodeValue"];f.domElement=d=>f.object(d)&&d.nodeType===D&&f.string(d.nodeName)&&!f.plainObject(d)&&A.every(I=>I in d),f.observable=d=>{var I,j,$,x;return d?d===((j=(I=d)[Symbol.observable])===null||j===void 0?void 0:j.call(I))||d===((x=($=d)["@@observable"])===null||x===void 0?void 0:x.call($)):!1},f.nodeStream=d=>f.object(d)&&f.function_(d.pipe)&&!f.observable(d),f.infinite=d=>d===1/0||d===-1/0;const S=d=>I=>f.integer(I)&&Math.abs(I%2)===d;f.evenInteger=S(0),f.oddInteger=S(1),f.emptyArray=d=>f.array(d)&&d.length===0,f.nonEmptyArray=d=>f.array(d)&&d.length>0,f.emptyString=d=>f.string(d)&&d.length===0;const O=d=>f.string(d)&&!/\S/.test(d);f.emptyStringOrWhitespace=d=>f.emptyString(d)||O(d),f.nonEmptyString=d=>f.string(d)&&d.length>0,f.nonEmptyStringAndNotWhitespace=d=>f.string(d)&&!f.emptyStringOrWhitespace(d),f.emptyObject=d=>f.object(d)&&!f.map(d)&&!f.set(d)&&Object.keys(d).length===0,f.nonEmptyObject=d=>f.object(d)&&!f.map(d)&&!f.set(d)&&Object.keys(d).length>0,f.emptySet=d=>f.set(d)&&d.size===0,f.nonEmptySet=d=>f.set(d)&&d.size>0,f.emptyMap=d=>f.map(d)&&d.size===0,f.nonEmptyMap=d=>f.map(d)&&d.size>0,f.propertyKey=d=>f.any([f.string,f.number,f.symbol],d),f.formData=d=>h("FormData")(d),f.urlSearchParams=d=>h("URLSearchParams")(d);const H=(d,I,j)=>{if(!f.function_(I))throw new TypeError(`Invalid predicate: ${JSON.stringify(I)}`);if(j.length===0)throw new TypeError("Invalid number of values");return d.call(j,I)};f.any=(d,...I)=>(f.array(d)?d:[d]).some($=>H(Array.prototype.some,$,I)),f.all=(d,...I)=>H(Array.prototype.every,d,I);const N=(d,I,j,$={})=>{if(!d){const{multipleValues:x}=$,z=x?`received values of types ${[...new Set(j.map(P=>`\`${f(P)}\``))].join(", ")}`:`received value of type \`${f(j)}\``;throw new TypeError(`Expected value which is \`${I}\`, ${z}.`)}};t.assert={undefined:d=>N(f.undefined(d),"undefined",d),string:d=>N(f.string(d),"string",d),number:d=>N(f.number(d),"number",d),bigint:d=>N(f.bigint(d),"bigint",d),function_:d=>N(f.function_(d),"Function",d),null_:d=>N(f.null_(d),"null",d),class_:d=>N(f.class_(d),"Class",d),boolean:d=>N(f.boolean(d),"boolean",d),symbol:d=>N(f.symbol(d),"symbol",d),numericString:d=>N(f.numericString(d),"string with a number",d),array:(d,I)=>{N(f.array(d),"Array",d),I&&d.forEach(I)},buffer:d=>N(f.buffer(d),"Buffer",d),blob:d=>N(f.blob(d),"Blob",d),nullOrUndefined:d=>N(f.nullOrUndefined(d),"null or undefined",d),object:d=>N(f.object(d),"Object",d),iterable:d=>N(f.iterable(d),"Iterable",d),asyncIterable:d=>N(f.asyncIterable(d),"AsyncIterable",d),generator:d=>N(f.generator(d),"Generator",d),asyncGenerator:d=>N(f.asyncGenerator(d),"AsyncGenerator",d),nativePromise:d=>N(f.nativePromise(d),"native Promise",d),promise:d=>N(f.promise(d),"Promise",d),generatorFunction:d=>N(f.generatorFunction(d),"GeneratorFunction",d),asyncGeneratorFunction:d=>N(f.asyncGeneratorFunction(d),"AsyncGeneratorFunction",d),asyncFunction:d=>N(f.asyncFunction(d),"AsyncFunction",d),boundFunction:d=>N(f.boundFunction(d),"Function",d),regExp:d=>N(f.regExp(d),"RegExp",d),date:d=>N(f.date(d),"Date",d),error:d=>N(f.error(d),"Error",d),map:d=>N(f.map(d),"Map",d),set:d=>N(f.set(d),"Set",d),weakMap:d=>N(f.weakMap(d),"WeakMap",d),weakSet:d=>N(f.weakSet(d),"WeakSet",d),int8Array:d=>N(f.int8Array(d),"Int8Array",d),uint8Array:d=>N(f.uint8Array(d),"Uint8Array",d),uint8ClampedArray:d=>N(f.uint8ClampedArray(d),"Uint8ClampedArray",d),int16Array:d=>N(f.int16Array(d),"Int16Array",d),uint16Array:d=>N(f.uint16Array(d),"Uint16Array",d),int32Array:d=>N(f.int32Array(d),"Int32Array",d),uint32Array:d=>N(f.uint32Array(d),"Uint32Array",d),float32Array:d=>N(f.float32Array(d),"Float32Array",d),float64Array:d=>N(f.float64Array(d),"Float64Array",d),bigInt64Array:d=>N(f.bigInt64Array(d),"BigInt64Array",d),bigUint64Array:d=>N(f.bigUint64Array(d),"BigUint64Array",d),arrayBuffer:d=>N(f.arrayBuffer(d),"ArrayBuffer",d),sharedArrayBuffer:d=>N(f.sharedArrayBuffer(d),"SharedArrayBuffer",d),dataView:d=>N(f.dataView(d),"DataView",d),enumCase:(d,I)=>N(f.enumCase(d,I),"EnumCase",d),urlInstance:d=>N(f.urlInstance(d),"URL",d),urlString:d=>N(f.urlString(d),"string with a URL",d),truthy:d=>N(f.truthy(d),"truthy",d),falsy:d=>N(f.falsy(d),"falsy",d),nan:d=>N(f.nan(d),"NaN",d),primitive:d=>N(f.primitive(d),"primitive",d),integer:d=>N(f.integer(d),"integer",d),safeInteger:d=>N(f.safeInteger(d),"integer",d),plainObject:d=>N(f.plainObject(d),"plain object",d),typedArray:d=>N(f.typedArray(d),"TypedArray",d),arrayLike:d=>N(f.arrayLike(d),"array-like",d),domElement:d=>N(f.domElement(d),"HTMLElement",d),observable:d=>N(f.observable(d),"Observable",d),nodeStream:d=>N(f.nodeStream(d),"Node.js Stream",d),infinite:d=>N(f.infinite(d),"infinite number",d),emptyArray:d=>N(f.emptyArray(d),"empty array",d),nonEmptyArray:d=>N(f.nonEmptyArray(d),"non-empty array",d),emptyString:d=>N(f.emptyString(d),"empty string",d),emptyStringOrWhitespace:d=>N(f.emptyStringOrWhitespace(d),"empty string or whitespace",d),nonEmptyString:d=>N(f.nonEmptyString(d),"non-empty string",d),nonEmptyStringAndNotWhitespace:d=>N(f.nonEmptyStringAndNotWhitespace(d),"non-empty string and not whitespace",d),emptyObject:d=>N(f.emptyObject(d),"empty object",d),nonEmptyObject:d=>N(f.nonEmptyObject(d),"non-empty object",d),emptySet:d=>N(f.emptySet(d),"empty set",d),nonEmptySet:d=>N(f.nonEmptySet(d),"non-empty set",d),emptyMap:d=>N(f.emptyMap(d),"empty map",d),nonEmptyMap:d=>N(f.nonEmptyMap(d),"non-empty map",d),propertyKey:d=>N(f.propertyKey(d),"PropertyKey",d),formData:d=>N(f.formData(d),"FormData",d),urlSearchParams:d=>N(f.urlSearchParams(d),"URLSearchParams",d),evenInteger:d=>N(f.evenInteger(d),"even integer",d),oddInteger:d=>N(f.oddInteger(d),"odd integer",d),directInstanceOf:(d,I)=>N(f.directInstanceOf(d,I),"T",d),inRange:(d,I)=>N(f.inRange(d,I),"in range",d),any:(d,...I)=>N(f.any(d,...I),"predicate returns truthy for any value",I,{multipleValues:!0}),all:(d,...I)=>N(f.all(d,...I),"predicate returns truthy for all values",I,{multipleValues:!0})},Object.defineProperties(f,{class:{value:f.class_},function:{value:f.function_},null:{value:f.null_}}),Object.defineProperties(t.assert,{class:{value:t.assert.class_},function:{value:t.assert.function_},null:{value:t.assert.null_}}),t.default=f,e.exports=f,e.exports.default=f,e.exports.assert=t.assert})(Ur,Ur.exports);var Eg=Ur.exports;const Tg={keywords:["face","smile","happy","joy",":D","grin"],char:"😀",fitzpatrick_scale:!1,category:"people"},Ag={keywords:["face","grimace","teeth"],char:"😬",fitzpatrick_scale:!1,category:"people"},Cg={keywords:["face","happy","smile","joy","kawaii"],char:"😁",fitzpatrick_scale:!1,category:"people"},xg={keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"😂",fitzpatrick_scale:!1,category:"people"},Dg={keywords:["face","rolling","floor","laughing","lol","haha"],char:"🤣",fitzpatrick_scale:!1,category:"people"},zg={keywords:["face","celebration","woohoo"],char:"🥳",fitzpatrick_scale:!1,category:"people"},Ig={keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"😃",fitzpatrick_scale:!1,category:"people"},Sg={keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"😄",fitzpatrick_scale:!1,category:"people"},Ng={keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"😅",fitzpatrick_scale:!1,category:"people"},Fg={keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"😆",fitzpatrick_scale:!1,category:"people"},Og={keywords:["face","angel","heaven","halo"],char:"😇",fitzpatrick_scale:!1,category:"people"},Lg={keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"😉",fitzpatrick_scale:!1,category:"people"},Rg={keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"😊",fitzpatrick_scale:!1,category:"people"},vg={keywords:["face","smile"],char:"🙂",fitzpatrick_scale:!1,category:"people"},Bg={keywords:["face","flipped","silly","smile"],char:"🙃",fitzpatrick_scale:!1,category:"people"},Pg={keywords:["face","blush","massage","happiness"],char:"☺️",fitzpatrick_scale:!1,category:"people"},Mg={keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"😋",fitzpatrick_scale:!1,category:"people"},Hg={keywords:["face","relaxed","phew","massage","happiness"],char:"😌",fitzpatrick_scale:!1,category:"people"},Ug={keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"😍",fitzpatrick_scale:!1,category:"people"},jg={keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"🥰",fitzpatrick_scale:!1,category:"people"},qg={keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😘",fitzpatrick_scale:!1,category:"people"},Yg={keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"😗",fitzpatrick_scale:!1,category:"people"},$g={keywords:["face","affection","valentines","infatuation","kiss"],char:"😙",fitzpatrick_scale:!1,category:"people"},Vg={keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😚",fitzpatrick_scale:!1,category:"people"},Wg={keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"😜",fitzpatrick_scale:!1,category:"people"},Gg={keywords:["face","goofy","crazy"],char:"🤪",fitzpatrick_scale:!1,category:"people"},Qg={keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"🤨",fitzpatrick_scale:!1,category:"people"},Xg={keywords:["face","stuffy","wealthy"],char:"🧐",fitzpatrick_scale:!1,category:"people"},Kg={keywords:["face","prank","playful","mischievous","smile","tongue"],char:"😝",fitzpatrick_scale:!1,category:"people"},Jg={keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"😛",fitzpatrick_scale:!1,category:"people"},Zg={keywords:["face","rich","dollar","money"],char:"🤑",fitzpatrick_scale:!1,category:"people"},e0={keywords:["face","nerdy","geek","dork"],char:"🤓",fitzpatrick_scale:!1,category:"people"},t0={keywords:["face","cool","smile","summer","beach","sunglass"],char:"😎",fitzpatrick_scale:!1,category:"people"},a0={keywords:["face","smile","starry","eyes","grinning"],char:"🤩",fitzpatrick_scale:!1,category:"people"},r0={keywords:["face"],char:"🤡",fitzpatrick_scale:!1,category:"people"},n0={keywords:["face","cowgirl","hat"],char:"🤠",fitzpatrick_scale:!1,category:"people"},i0={keywords:["face","smile","hug"],char:"🤗",fitzpatrick_scale:!1,category:"people"},s0={keywords:["face","smile","mean","prank","smug","sarcasm"],char:"😏",fitzpatrick_scale:!1,category:"people"},o0={keywords:["face","hellokitty"],char:"😶",fitzpatrick_scale:!1,category:"people"},c0={keywords:["indifference","meh",":|","neutral"],char:"😐",fitzpatrick_scale:!1,category:"people"},u0={keywords:["face","indifferent","-_-","meh","deadpan"],char:"😑",fitzpatrick_scale:!1,category:"people"},l0={keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"😒",fitzpatrick_scale:!1,category:"people"},f0={keywords:["face","eyeroll","frustrated"],char:"🙄",fitzpatrick_scale:!1,category:"people"},h0={keywords:["face","hmmm","think","consider"],char:"🤔",fitzpatrick_scale:!1,category:"people"},d0={keywords:["face","lie","pinocchio"],char:"🤥",fitzpatrick_scale:!1,category:"people"},p0={keywords:["face","whoops","shock","surprise"],char:"🤭",fitzpatrick_scale:!1,category:"people"},m0={keywords:["face","quiet","shhh"],char:"🤫",fitzpatrick_scale:!1,category:"people"},_0={keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"🤬",fitzpatrick_scale:!1,category:"people"},g0={keywords:["face","shocked","mind","blown"],char:"🤯",fitzpatrick_scale:!1,category:"people"},y0={keywords:["face","blush","shy","flattered"],char:"😳",fitzpatrick_scale:!1,category:"people"},k0={keywords:["face","sad","upset","depressed",":("],char:"😞",fitzpatrick_scale:!1,category:"people"},b0={keywords:["face","concern","nervous",":("],char:"😟",fitzpatrick_scale:!1,category:"people"},w0={keywords:["mad","face","annoyed","frustrated"],char:"😠",fitzpatrick_scale:!1,category:"people"},E0={keywords:["angry","mad","hate","despise"],char:"😡",fitzpatrick_scale:!1,category:"people"},T0={keywords:["face","sad","depressed","upset"],char:"😔",fitzpatrick_scale:!1,category:"people"},A0={keywords:["face","indifference","huh","weird","hmmm",":/"],char:"😕",fitzpatrick_scale:!1,category:"people"},C0={keywords:["face","frowning","disappointed","sad","upset"],char:"🙁",fitzpatrick_scale:!1,category:"people"},x0={keywords:["face","sad","upset","frown"],char:"☹",fitzpatrick_scale:!1,category:"people"},D0={keywords:["face","sick","no","upset","oops"],char:"😣",fitzpatrick_scale:!1,category:"people"},z0={keywords:["face","confused","sick","unwell","oops",":S"],char:"😖",fitzpatrick_scale:!1,category:"people"},I0={keywords:["sick","whine","upset","frustrated"],char:"😫",fitzpatrick_scale:!1,category:"people"},S0={keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"😩",fitzpatrick_scale:!1,category:"people"},N0={keywords:["face","begging","mercy"],char:"🥺",fitzpatrick_scale:!1,category:"people"},F0={keywords:["face","gas","phew","proud","pride"],char:"😤",fitzpatrick_scale:!1,category:"people"},O0={keywords:["face","surprise","impressed","wow","whoa",":O"],char:"😮",fitzpatrick_scale:!1,category:"people"},L0={keywords:["face","munch","scared","omg"],char:"😱",fitzpatrick_scale:!1,category:"people"},R0={keywords:["face","scared","terrified","nervous","oops","huh"],char:"😨",fitzpatrick_scale:!1,category:"people"},v0={keywords:["face","nervous","sweat"],char:"😰",fitzpatrick_scale:!1,category:"people"},B0={keywords:["face","woo","shh"],char:"😯",fitzpatrick_scale:!1,category:"people"},P0={keywords:["face","aw","what"],char:"😦",fitzpatrick_scale:!1,category:"people"},M0={keywords:["face","stunned","nervous"],char:"😧",fitzpatrick_scale:!1,category:"people"},H0={keywords:["face","tears","sad","depressed","upset",":'("],char:"😢",fitzpatrick_scale:!1,category:"people"},U0={keywords:["face","phew","sweat","nervous"],char:"😥",fitzpatrick_scale:!1,category:"people"},j0={keywords:["face"],char:"🤤",fitzpatrick_scale:!1,category:"people"},q0={keywords:["face","tired","rest","nap"],char:"😪",fitzpatrick_scale:!1,category:"people"},Y0={keywords:["face","hot","sad","tired","exercise"],char:"😓",fitzpatrick_scale:!1,category:"people"},$0={keywords:["face","feverish","heat","red","sweating"],char:"🥵",fitzpatrick_scale:!1,category:"people"},V0={keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"🥶",fitzpatrick_scale:!1,category:"people"},W0={keywords:["face","cry","tears","sad","upset","depressed"],char:"😭",fitzpatrick_scale:!1,category:"people"},G0={keywords:["spent","unconscious","xox","dizzy"],char:"😵",fitzpatrick_scale:!1,category:"people"},Q0={keywords:["face","xox","surprised","poisoned"],char:"😲",fitzpatrick_scale:!1,category:"people"},X0={keywords:["face","sealed","zipper","secret"],char:"🤐",fitzpatrick_scale:!1,category:"people"},K0={keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"🤢",fitzpatrick_scale:!1,category:"people"},J0={keywords:["face","gesundheit","sneeze","sick","allergy"],char:"🤧",fitzpatrick_scale:!1,category:"people"},Z0={keywords:["face","sick"],char:"🤮",fitzpatrick_scale:!1,category:"people"},ey={keywords:["face","sick","ill","disease"],char:"😷",fitzpatrick_scale:!1,category:"people"},ty={keywords:["sick","temperature","thermometer","cold","fever"],char:"🤒",fitzpatrick_scale:!1,category:"people"},ay={keywords:["injured","clumsy","bandage","hurt"],char:"🤕",fitzpatrick_scale:!1,category:"people"},ry={keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"🥴",fitzpatrick_scale:!1,category:"people"},ny={keywords:["face","tired","sleepy","night","zzz"],char:"😴",fitzpatrick_scale:!1,category:"people"},iy={keywords:["sleepy","tired","dream"],char:"💤",fitzpatrick_scale:!1,category:"people"},sy={keywords:["hankey","shitface","fail","turd","shit"],char:"💩",fitzpatrick_scale:!1,category:"people"},oy={keywords:["devil","horns"],char:"😈",fitzpatrick_scale:!1,category:"people"},cy={keywords:["devil","angry","horns"],char:"👿",fitzpatrick_scale:!1,category:"people"},uy={keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"👹",fitzpatrick_scale:!1,category:"people"},ly={keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"👺",fitzpatrick_scale:!1,category:"people"},fy={keywords:["dead","skeleton","creepy","death"],char:"💀",fitzpatrick_scale:!1,category:"people"},hy={keywords:["halloween","spooky","scary"],char:"👻",fitzpatrick_scale:!1,category:"people"},dy={keywords:["UFO","paul","weird","outer_space"],char:"👽",fitzpatrick_scale:!1,category:"people"},py={keywords:["computer","machine","bot"],char:"🤖",fitzpatrick_scale:!1,category:"people"},my={keywords:["animal","cats","happy","smile"],char:"😺",fitzpatrick_scale:!1,category:"people"},_y={keywords:["animal","cats","smile"],char:"😸",fitzpatrick_scale:!1,category:"people"},gy={keywords:["animal","cats","haha","happy","tears"],char:"😹",fitzpatrick_scale:!1,category:"people"},yy={keywords:["animal","love","like","affection","cats","valentines","heart"],char:"😻",fitzpatrick_scale:!1,category:"people"},ky={keywords:["animal","cats","smirk"],char:"😼",fitzpatrick_scale:!1,category:"people"},by={keywords:["animal","cats","kiss"],char:"😽",fitzpatrick_scale:!1,category:"people"},wy={keywords:["animal","cats","munch","scared","scream"],char:"🙀",fitzpatrick_scale:!1,category:"people"},Ey={keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"😿",fitzpatrick_scale:!1,category:"people"},Ty={keywords:["animal","cats"],char:"😾",fitzpatrick_scale:!1,category:"people"},Ay={keywords:["hands","gesture","cupped","prayer"],char:"🤲",fitzpatrick_scale:!0,category:"people"},Cy={keywords:["gesture","hooray","yea","celebration","hands"],char:"🙌",fitzpatrick_scale:!0,category:"people"},xy={keywords:["hands","praise","applause","congrats","yay"],char:"👏",fitzpatrick_scale:!0,category:"people"},Dy={keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"👋",fitzpatrick_scale:!0,category:"people"},zy={keywords:["hands","gesture"],char:"🤙",fitzpatrick_scale:!0,category:"people"},Iy={keywords:["angry","violence","fist","hit","attack","hand"],char:"👊",fitzpatrick_scale:!0,category:"people"},Sy={keywords:["fingers","hand","grasp"],char:"✊",fitzpatrick_scale:!0,category:"people"},Ny={keywords:["hand","fistbump"],char:"🤛",fitzpatrick_scale:!0,category:"people"},Fy={keywords:["hand","fistbump"],char:"🤜",fitzpatrick_scale:!0,category:"people"},Oy={keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"✌",fitzpatrick_scale:!0,category:"people"},Ly={keywords:["fingers","limbs","perfect","ok","okay"],char:"👌",fitzpatrick_scale:!0,category:"people"},Ry={keywords:["fingers","stop","highfive","palm","ban"],char:"✋",fitzpatrick_scale:!0,category:"people"},vy={keywords:["fingers","raised","backhand"],char:"🤚",fitzpatrick_scale:!0,category:"people"},By={keywords:["fingers","butterfly","hands","open"],char:"👐",fitzpatrick_scale:!0,category:"people"},Py={keywords:["arm","flex","hand","summer","strong","biceps"],char:"💪",fitzpatrick_scale:!0,category:"people"},My={keywords:["please","hope","wish","namaste","highfive"],char:"🙏",fitzpatrick_scale:!0,category:"people"},Hy={keywords:["kick","stomp"],char:"🦶",fitzpatrick_scale:!0,category:"people"},Uy={keywords:["kick","limb"],char:"🦵",fitzpatrick_scale:!0,category:"people"},jy={keywords:["agreement","shake"],char:"🤝",fitzpatrick_scale:!1,category:"people"},qy={keywords:["hand","fingers","direction","up"],char:"☝",fitzpatrick_scale:!0,category:"people"},Yy={keywords:["fingers","hand","direction","up"],char:"👆",fitzpatrick_scale:!0,category:"people"},$y={keywords:["fingers","hand","direction","down"],char:"👇",fitzpatrick_scale:!0,category:"people"},Vy={keywords:["direction","fingers","hand","left"],char:"👈",fitzpatrick_scale:!0,category:"people"},Wy={keywords:["fingers","hand","direction","right"],char:"👉",fitzpatrick_scale:!0,category:"people"},Gy={keywords:["hand","fingers","rude","middle","flipping"],char:"🖕",fitzpatrick_scale:!0,category:"people"},Qy={keywords:["hand","fingers","palm"],char:"🖐",fitzpatrick_scale:!0,category:"people"},Xy={keywords:["hand","fingers","gesture"],char:"🤟",fitzpatrick_scale:!0,category:"people"},Ky={keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"🤘",fitzpatrick_scale:!0,category:"people"},Jy={keywords:["good","lucky"],char:"🤞",fitzpatrick_scale:!0,category:"people"},Zy={keywords:["hand","fingers","spock","star trek"],char:"🖖",fitzpatrick_scale:!0,category:"people"},ek={keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"✍",fitzpatrick_scale:!0,category:"people"},tk={keywords:["camera","phone"],char:"🤳",fitzpatrick_scale:!0,category:"people"},ak={keywords:["beauty","manicure","finger","fashion","nail"],char:"💅",fitzpatrick_scale:!0,category:"people"},rk={keywords:["mouth","kiss"],char:"👄",fitzpatrick_scale:!1,category:"people"},nk={keywords:["teeth","dentist"],char:"🦷",fitzpatrick_scale:!1,category:"people"},ik={keywords:["mouth","playful"],char:"👅",fitzpatrick_scale:!1,category:"people"},sk={keywords:["face","hear","sound","listen"],char:"👂",fitzpatrick_scale:!0,category:"people"},ok={keywords:["smell","sniff"],char:"👃",fitzpatrick_scale:!0,category:"people"},ck={keywords:["face","look","see","watch","stare"],char:"👁",fitzpatrick_scale:!1,category:"people"},uk={keywords:["look","watch","stalk","peek","see"],char:"👀",fitzpatrick_scale:!1,category:"people"},lk={keywords:["smart","intelligent"],char:"🧠",fitzpatrick_scale:!1,category:"people"},fk={keywords:["user","person","human"],char:"👤",fitzpatrick_scale:!1,category:"people"},hk={keywords:["user","person","human","group","team"],char:"👥",fitzpatrick_scale:!1,category:"people"},dk={keywords:["user","person","human","sing","say","talk"],char:"🗣",fitzpatrick_scale:!1,category:"people"},pk={keywords:["child","boy","girl","toddler"],char:"👶",fitzpatrick_scale:!0,category:"people"},mk={keywords:["gender-neutral","young"],char:"🧒",fitzpatrick_scale:!0,category:"people"},_k={keywords:["man","male","guy","teenager"],char:"👦",fitzpatrick_scale:!0,category:"people"},gk={keywords:["female","woman","teenager"],char:"👧",fitzpatrick_scale:!0,category:"people"},yk={keywords:["gender-neutral","person"],char:"🧑",fitzpatrick_scale:!0,category:"people"},kk={keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"👨",fitzpatrick_scale:!0,category:"people"},bk={keywords:["female","girls","lady"],char:"👩",fitzpatrick_scale:!0,category:"people"},wk={keywords:["woman","female","girl","blonde","person"],char:"👱‍♀️",fitzpatrick_scale:!0,category:"people"},Ek={keywords:["man","male","boy","blonde","guy","person"],char:"👱",fitzpatrick_scale:!0,category:"people"},Tk={keywords:["person","bewhiskered"],char:"🧔",fitzpatrick_scale:!0,category:"people"},Ak={keywords:["human","elder","senior","gender-neutral"],char:"🧓",fitzpatrick_scale:!0,category:"people"},Ck={keywords:["human","male","men","old","elder","senior"],char:"👴",fitzpatrick_scale:!0,category:"people"},xk={keywords:["human","female","women","lady","old","elder","senior"],char:"👵",fitzpatrick_scale:!0,category:"people"},Dk={keywords:["male","boy","chinese"],char:"👲",fitzpatrick_scale:!0,category:"people"},zk={keywords:["female","hijab","mantilla","tichel"],char:"🧕",fitzpatrick_scale:!0,category:"people"},Ik={keywords:["female","indian","hinduism","arabs","woman"],char:"👳‍♀️",fitzpatrick_scale:!0,category:"people"},Sk={keywords:["male","indian","hinduism","arabs"],char:"👳",fitzpatrick_scale:!0,category:"people"},Nk={keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"👮‍♀️",fitzpatrick_scale:!0,category:"people"},Fk={keywords:["man","police","law","legal","enforcement","arrest","911"],char:"👮",fitzpatrick_scale:!0,category:"people"},Ok={keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"👷‍♀️",fitzpatrick_scale:!0,category:"people"},Lk={keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"👷",fitzpatrick_scale:!0,category:"people"},Rk={keywords:["uk","gb","british","female","royal","woman"],char:"💂‍♀️",fitzpatrick_scale:!0,category:"people"},vk={keywords:["uk","gb","british","male","guy","royal"],char:"💂",fitzpatrick_scale:!0,category:"people"},Bk={keywords:["human","spy","detective","female","woman"],char:"🕵️‍♀️",fitzpatrick_scale:!0,category:"people"},Pk={keywords:["human","spy","detective"],char:"🕵",fitzpatrick_scale:!0,category:"people"},Mk={keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"👩‍⚕️",fitzpatrick_scale:!0,category:"people"},Hk={keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"👨‍⚕️",fitzpatrick_scale:!0,category:"people"},Uk={keywords:["rancher","gardener","woman","human"],char:"👩‍🌾",fitzpatrick_scale:!0,category:"people"},jk={keywords:["rancher","gardener","man","human"],char:"👨‍🌾",fitzpatrick_scale:!0,category:"people"},qk={keywords:["chef","woman","human"],char:"👩‍🍳",fitzpatrick_scale:!0,category:"people"},Yk={keywords:["chef","man","human"],char:"👨‍🍳",fitzpatrick_scale:!0,category:"people"},$k={keywords:["graduate","woman","human"],char:"👩‍🎓",fitzpatrick_scale:!0,category:"people"},Vk={keywords:["graduate","man","human"],char:"👨‍🎓",fitzpatrick_scale:!0,category:"people"},Wk={keywords:["rockstar","entertainer","woman","human"],char:"👩‍🎤",fitzpatrick_scale:!0,category:"people"},Gk={keywords:["rockstar","entertainer","man","human"],char:"👨‍🎤",fitzpatrick_scale:!0,category:"people"},Qk={keywords:["instructor","professor","woman","human"],char:"👩‍🏫",fitzpatrick_scale:!0,category:"people"},Xk={keywords:["instructor","professor","man","human"],char:"👨‍🏫",fitzpatrick_scale:!0,category:"people"},Kk={keywords:["assembly","industrial","woman","human"],char:"👩‍🏭",fitzpatrick_scale:!0,category:"people"},Jk={keywords:["assembly","industrial","man","human"],char:"👨‍🏭",fitzpatrick_scale:!0,category:"people"},Zk={keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"👩‍💻",fitzpatrick_scale:!0,category:"people"},eb={keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"👨‍💻",fitzpatrick_scale:!0,category:"people"},tb={keywords:["business","manager","woman","human"],char:"👩‍💼",fitzpatrick_scale:!0,category:"people"},ab={keywords:["business","manager","man","human"],char:"👨‍💼",fitzpatrick_scale:!0,category:"people"},rb={keywords:["plumber","woman","human","wrench"],char:"👩‍🔧",fitzpatrick_scale:!0,category:"people"},nb={keywords:["plumber","man","human","wrench"],char:"👨‍🔧",fitzpatrick_scale:!0,category:"people"},ib={keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"👩‍🔬",fitzpatrick_scale:!0,category:"people"},sb={keywords:["biologist","chemist","engineer","physicist","man","human"],char:"👨‍🔬",fitzpatrick_scale:!0,category:"people"},ob={keywords:["painter","woman","human"],char:"👩‍🎨",fitzpatrick_scale:!0,category:"people"},cb={keywords:["painter","man","human"],char:"👨‍🎨",fitzpatrick_scale:!0,category:"people"},ub={keywords:["fireman","woman","human"],char:"👩‍🚒",fitzpatrick_scale:!0,category:"people"},lb={keywords:["fireman","man","human"],char:"👨‍🚒",fitzpatrick_scale:!0,category:"people"},fb={keywords:["aviator","plane","woman","human"],char:"👩‍✈️",fitzpatrick_scale:!0,category:"people"},hb={keywords:["aviator","plane","man","human"],char:"👨‍✈️",fitzpatrick_scale:!0,category:"people"},db={keywords:["space","rocket","woman","human"],char:"👩‍🚀",fitzpatrick_scale:!0,category:"people"},pb={keywords:["space","rocket","man","human"],char:"👨‍🚀",fitzpatrick_scale:!0,category:"people"},mb={keywords:["justice","court","woman","human"],char:"👩‍⚖️",fitzpatrick_scale:!0,category:"people"},_b={keywords:["justice","court","man","human"],char:"👨‍⚖️",fitzpatrick_scale:!0,category:"people"},gb={keywords:["woman","female","good","heroine","superpowers"],char:"🦸‍♀️",fitzpatrick_scale:!0,category:"people"},yb={keywords:["man","male","good","hero","superpowers"],char:"🦸‍♂️",fitzpatrick_scale:!0,category:"people"},kb={keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"🦹‍♀️",fitzpatrick_scale:!0,category:"people"},bb={keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"🦹‍♂️",fitzpatrick_scale:!0,category:"people"},wb={keywords:["woman","female","xmas","mother christmas"],char:"🤶",fitzpatrick_scale:!0,category:"people"},Eb={keywords:["festival","man","male","xmas","father christmas"],char:"🎅",fitzpatrick_scale:!0,category:"people"},Tb={keywords:["woman","female","mage","witch"],char:"🧙‍♀️",fitzpatrick_scale:!0,category:"people"},Ab={keywords:["man","male","mage","sorcerer"],char:"🧙‍♂️",fitzpatrick_scale:!0,category:"people"},Cb={keywords:["woman","female"],char:"🧝‍♀️",fitzpatrick_scale:!0,category:"people"},xb={keywords:["man","male"],char:"🧝‍♂️",fitzpatrick_scale:!0,category:"people"},Db={keywords:["woman","female"],char:"🧛‍♀️",fitzpatrick_scale:!0,category:"people"},zb={keywords:["man","male","dracula"],char:"🧛‍♂️",fitzpatrick_scale:!0,category:"people"},Ib={keywords:["woman","female","undead","walking dead"],char:"🧟‍♀️",fitzpatrick_scale:!1,category:"people"},Sb={keywords:["man","male","dracula","undead","walking dead"],char:"🧟‍♂️",fitzpatrick_scale:!1,category:"people"},Nb={keywords:["woman","female"],char:"🧞‍♀️",fitzpatrick_scale:!1,category:"people"},Fb={keywords:["man","male"],char:"🧞‍♂️",fitzpatrick_scale:!1,category:"people"},Ob={keywords:["woman","female","merwoman","ariel"],char:"🧜‍♀️",fitzpatrick_scale:!0,category:"people"},Lb={keywords:["man","male","triton"],char:"🧜‍♂️",fitzpatrick_scale:!0,category:"people"},Rb={keywords:["woman","female"],char:"🧚‍♀️",fitzpatrick_scale:!0,category:"people"},vb={keywords:["man","male"],char:"🧚‍♂️",fitzpatrick_scale:!0,category:"people"},Bb={keywords:["heaven","wings","halo"],char:"👼",fitzpatrick_scale:!0,category:"people"},Pb={keywords:["baby"],char:"🤰",fitzpatrick_scale:!0,category:"people"},Mb={keywords:["nursing","baby"],char:"🤱",fitzpatrick_scale:!0,category:"people"},Hb={keywords:["girl","woman","female","blond","crown","royal","queen"],char:"👸",fitzpatrick_scale:!0,category:"people"},Ub={keywords:["boy","man","male","crown","royal","king"],char:"🤴",fitzpatrick_scale:!0,category:"people"},jb={keywords:["couple","marriage","wedding","woman","bride"],char:"👰",fitzpatrick_scale:!0,category:"people"},qb={keywords:["couple","marriage","wedding","groom"],char:"🤵",fitzpatrick_scale:!0,category:"people"},Yb={keywords:["woman","walking","exercise","race","running","female"],char:"🏃‍♀️",fitzpatrick_scale:!0,category:"people"},$b={keywords:["man","walking","exercise","race","running"],char:"🏃",fitzpatrick_scale:!0,category:"people"},Vb={keywords:["human","feet","steps","woman","female"],char:"🚶‍♀️",fitzpatrick_scale:!0,category:"people"},Wb={keywords:["human","feet","steps"],char:"🚶",fitzpatrick_scale:!0,category:"people"},Gb={keywords:["female","girl","woman","fun"],char:"💃",fitzpatrick_scale:!0,category:"people"},Qb={keywords:["male","boy","fun","dancer"],char:"🕺",fitzpatrick_scale:!0,category:"people"},Xb={keywords:["female","bunny","women","girls"],char:"👯",fitzpatrick_scale:!1,category:"people"},Kb={keywords:["male","bunny","men","boys"],char:"👯‍♂️",fitzpatrick_scale:!1,category:"people"},Jb={keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"👫",fitzpatrick_scale:!1,category:"people"},Zb={keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"👬",fitzpatrick_scale:!1,category:"people"},e1={keywords:["pair","friendship","couple","love","like","female","people","human"],char:"👭",fitzpatrick_scale:!1,category:"people"},t1={keywords:["woman","female","girl"],char:"🙇‍♀️",fitzpatrick_scale:!0,category:"people"},a1={keywords:["man","male","boy"],char:"🙇",fitzpatrick_scale:!0,category:"people"},r1={keywords:["man","male","boy","disbelief"],char:"🤦‍♂️",fitzpatrick_scale:!0,category:"people"},n1={keywords:["woman","female","girl","disbelief"],char:"🤦‍♀️",fitzpatrick_scale:!0,category:"people"},i1={keywords:["woman","female","girl","confused","indifferent","doubt"],char:"🤷",fitzpatrick_scale:!0,category:"people"},s1={keywords:["man","male","boy","confused","indifferent","doubt"],char:"🤷‍♂️",fitzpatrick_scale:!0,category:"people"},o1={keywords:["female","girl","woman","human","information"],char:"💁",fitzpatrick_scale:!0,category:"people"},c1={keywords:["male","boy","man","human","information"],char:"💁‍♂️",fitzpatrick_scale:!0,category:"people"},u1={keywords:["female","girl","woman","nope"],char:"🙅",fitzpatrick_scale:!0,category:"people"},l1={keywords:["male","boy","man","nope"],char:"🙅‍♂️",fitzpatrick_scale:!0,category:"people"},f1={keywords:["women","girl","female","pink","human","woman"],char:"🙆",fitzpatrick_scale:!0,category:"people"},h1={keywords:["men","boy","male","blue","human","man"],char:"🙆‍♂️",fitzpatrick_scale:!0,category:"people"},d1={keywords:["female","girl","woman"],char:"🙋",fitzpatrick_scale:!0,category:"people"},p1={keywords:["male","boy","man"],char:"🙋‍♂️",fitzpatrick_scale:!0,category:"people"},m1={keywords:["female","girl","woman"],char:"🙎",fitzpatrick_scale:!0,category:"people"},_1={keywords:["male","boy","man"],char:"🙎‍♂️",fitzpatrick_scale:!0,category:"people"},g1={keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"🙍",fitzpatrick_scale:!0,category:"people"},y1={keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"🙍‍♂️",fitzpatrick_scale:!0,category:"people"},k1={keywords:["female","girl","woman"],char:"💇",fitzpatrick_scale:!0,category:"people"},b1={keywords:["male","boy","man"],char:"💇‍♂️",fitzpatrick_scale:!0,category:"people"},w1={keywords:["female","girl","woman","head"],char:"💆",fitzpatrick_scale:!0,category:"people"},E1={keywords:["male","boy","man","head"],char:"💆‍♂️",fitzpatrick_scale:!0,category:"people"},T1={keywords:["female","woman","spa","steamroom","sauna"],char:"🧖‍♀️",fitzpatrick_scale:!0,category:"people"},A1={keywords:["male","man","spa","steamroom","sauna"],char:"🧖‍♂️",fitzpatrick_scale:!0,category:"people"},C1={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"💑",fitzpatrick_scale:!1,category:"people"},x1={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👩‍❤️‍👩",fitzpatrick_scale:!1,category:"people"},D1={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👨‍❤️‍👨",fitzpatrick_scale:!1,category:"people"},z1={keywords:["pair","valentines","love","like","dating","marriage"],char:"💏",fitzpatrick_scale:!1,category:"people"},I1={keywords:["pair","valentines","love","like","dating","marriage"],char:"👩‍❤️‍💋‍👩",fitzpatrick_scale:!1,category:"people"},S1={keywords:["pair","valentines","love","like","dating","marriage"],char:"👨‍❤️‍💋‍👨",fitzpatrick_scale:!1,category:"people"},N1={keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"👪",fitzpatrick_scale:!1,category:"people"},F1={keywords:["home","parents","people","human","child"],char:"👨‍👩‍👧",fitzpatrick_scale:!1,category:"people"},O1={keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},L1={keywords:["home","parents","people","human","children"],char:"👨‍👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},R1={keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},v1={keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦",fitzpatrick_scale:!1,category:"people"},B1={keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧",fitzpatrick_scale:!1,category:"people"},P1={keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},M1={keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},H1={keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},U1={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦",fitzpatrick_scale:!1,category:"people"},j1={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧",fitzpatrick_scale:!1,category:"people"},q1={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},Y1={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},$1={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},V1={keywords:["home","parent","people","human","child"],char:"👩‍👦",fitzpatrick_scale:!1,category:"people"},W1={keywords:["home","parent","people","human","child"],char:"👩‍👧",fitzpatrick_scale:!1,category:"people"},G1={keywords:["home","parent","people","human","children"],char:"👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},Q1={keywords:["home","parent","people","human","children"],char:"👩‍👦‍👦",fitzpatrick_scale:!1,category:"people"},X1={keywords:["home","parent","people","human","children"],char:"👩‍👧‍👧",fitzpatrick_scale:!1,category:"people"},K1={keywords:["home","parent","people","human","child"],char:"👨‍👦",fitzpatrick_scale:!1,category:"people"},J1={keywords:["home","parent","people","human","child"],char:"👨‍👧",fitzpatrick_scale:!1,category:"people"},Z1={keywords:["home","parent","people","human","children"],char:"👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},ew={keywords:["home","parent","people","human","children"],char:"👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},tw={keywords:["home","parent","people","human","children"],char:"👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},aw={keywords:["ball","crochet","knit"],char:"🧶",fitzpatrick_scale:!1,category:"people"},rw={keywords:["needle","sewing","spool","string"],char:"🧵",fitzpatrick_scale:!1,category:"people"},nw={keywords:["jacket"],char:"🧥",fitzpatrick_scale:!1,category:"people"},iw={keywords:["doctor","experiment","scientist","chemist"],char:"🥼",fitzpatrick_scale:!1,category:"people"},sw={keywords:["fashion","shopping_bags","female"],char:"👚",fitzpatrick_scale:!1,category:"people"},ow={keywords:["fashion","cloth","casual","shirt","tee"],char:"👕",fitzpatrick_scale:!1,category:"people"},cw={keywords:["fashion","shopping"],char:"👖",fitzpatrick_scale:!1,category:"people"},uw={keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"👔",fitzpatrick_scale:!1,category:"people"},lw={keywords:["clothes","fashion","shopping"],char:"👗",fitzpatrick_scale:!1,category:"people"},fw={keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"👙",fitzpatrick_scale:!1,category:"people"},hw={keywords:["dress","fashion","women","female","japanese"],char:"👘",fitzpatrick_scale:!1,category:"people"},dw={keywords:["female","girl","fashion","woman"],char:"💄",fitzpatrick_scale:!1,category:"people"},pw={keywords:["face","lips","love","like","affection","valentines"],char:"💋",fitzpatrick_scale:!1,category:"people"},mw={keywords:["feet","tracking","walking","beach"],char:"👣",fitzpatrick_scale:!1,category:"people"},_w={keywords:["ballet","slip-on","slipper"],char:"🥿",fitzpatrick_scale:!1,category:"people"},gw={keywords:["fashion","shoes","female","pumps","stiletto"],char:"👠",fitzpatrick_scale:!1,category:"people"},yw={keywords:["shoes","fashion","flip flops"],char:"👡",fitzpatrick_scale:!1,category:"people"},kw={keywords:["shoes","fashion"],char:"👢",fitzpatrick_scale:!1,category:"people"},bw={keywords:["fashion","male"],char:"👞",fitzpatrick_scale:!1,category:"people"},ww={keywords:["shoes","sports","sneakers"],char:"👟",fitzpatrick_scale:!1,category:"people"},Ew={keywords:["backpacking","camping","hiking"],char:"🥾",fitzpatrick_scale:!1,category:"people"},Tw={keywords:["stockings","clothes"],char:"🧦",fitzpatrick_scale:!1,category:"people"},Aw={keywords:["hands","winter","clothes"],char:"🧤",fitzpatrick_scale:!1,category:"people"},Cw={keywords:["neck","winter","clothes"],char:"🧣",fitzpatrick_scale:!1,category:"people"},xw={keywords:["fashion","accessories","female","lady","spring"],char:"👒",fitzpatrick_scale:!1,category:"people"},Dw={keywords:["magic","gentleman","classy","circus"],char:"🎩",fitzpatrick_scale:!1,category:"people"},zw={keywords:["cap","baseball"],char:"🧢",fitzpatrick_scale:!1,category:"people"},Iw={keywords:["construction","build"],char:"⛑",fitzpatrick_scale:!1,category:"people"},Sw={keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"🎓",fitzpatrick_scale:!1,category:"people"},Nw={keywords:["king","kod","leader","royalty","lord"],char:"👑",fitzpatrick_scale:!1,category:"people"},Fw={keywords:["student","education","bag","backpack"],char:"🎒",fitzpatrick_scale:!1,category:"people"},Ow={keywords:["packing","travel"],char:"🧳",fitzpatrick_scale:!1,category:"people"},Lw={keywords:["bag","accessories","shopping"],char:"👝",fitzpatrick_scale:!1,category:"people"},Rw={keywords:["fashion","accessories","money","sales","shopping"],char:"👛",fitzpatrick_scale:!1,category:"people"},vw={keywords:["fashion","accessory","accessories","shopping"],char:"👜",fitzpatrick_scale:!1,category:"people"},Bw={keywords:["business","documents","work","law","legal","job","career"],char:"💼",fitzpatrick_scale:!1,category:"people"},Pw={keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"👓",fitzpatrick_scale:!1,category:"people"},Mw={keywords:["face","cool","accessories"],char:"🕶",fitzpatrick_scale:!1,category:"people"},Hw={keywords:["eyes","protection","safety"],char:"🥽",fitzpatrick_scale:!1,category:"people"},Uw={keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"💍",fitzpatrick_scale:!1,category:"people"},jw={keywords:["weather","rain","drizzle"],char:"🌂",fitzpatrick_scale:!1,category:"people"},qw={keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"🐶",fitzpatrick_scale:!1,category:"animals_and_nature"},Yw={keywords:["animal","meow","nature","pet","kitten"],char:"🐱",fitzpatrick_scale:!1,category:"animals_and_nature"},$w={keywords:["animal","nature","cheese_wedge","rodent"],char:"🐭",fitzpatrick_scale:!1,category:"animals_and_nature"},Vw={keywords:["animal","nature"],char:"🐹",fitzpatrick_scale:!1,category:"animals_and_nature"},Ww={keywords:["animal","nature","pet","spring","magic","bunny"],char:"🐰",fitzpatrick_scale:!1,category:"animals_and_nature"},Gw={keywords:["animal","nature","face"],char:"🦊",fitzpatrick_scale:!1,category:"animals_and_nature"},Qw={keywords:["animal","nature","wild"],char:"🐻",fitzpatrick_scale:!1,category:"animals_and_nature"},Xw={keywords:["animal","nature","panda"],char:"🐼",fitzpatrick_scale:!1,category:"animals_and_nature"},Kw={keywords:["animal","nature"],char:"🐨",fitzpatrick_scale:!1,category:"animals_and_nature"},Jw={keywords:["animal","cat","danger","wild","nature","roar"],char:"🐯",fitzpatrick_scale:!1,category:"animals_and_nature"},Zw={keywords:["animal","nature"],char:"🦁",fitzpatrick_scale:!1,category:"animals_and_nature"},eE={keywords:["beef","ox","animal","nature","moo","milk"],char:"🐮",fitzpatrick_scale:!1,category:"animals_and_nature"},tE={keywords:["animal","oink","nature"],char:"🐷",fitzpatrick_scale:!1,category:"animals_and_nature"},aE={keywords:["animal","oink"],char:"🐽",fitzpatrick_scale:!1,category:"animals_and_nature"},rE={keywords:["animal","nature","croak","toad"],char:"🐸",fitzpatrick_scale:!1,category:"animals_and_nature"},nE={keywords:["animal","nature","ocean","sea"],char:"🦑",fitzpatrick_scale:!1,category:"animals_and_nature"},iE={keywords:["animal","creature","ocean","sea","nature","beach"],char:"🐙",fitzpatrick_scale:!1,category:"animals_and_nature"},sE={keywords:["animal","ocean","nature","seafood"],char:"🦐",fitzpatrick_scale:!1,category:"animals_and_nature"},oE={keywords:["animal","nature","circus"],char:"🐵",fitzpatrick_scale:!1,category:"animals_and_nature"},cE={keywords:["animal","nature","circus"],char:"🦍",fitzpatrick_scale:!1,category:"animals_and_nature"},uE={keywords:["monkey","animal","nature","haha"],char:"🙈",fitzpatrick_scale:!1,category:"animals_and_nature"},lE={keywords:["animal","monkey","nature"],char:"🙉",fitzpatrick_scale:!1,category:"animals_and_nature"},fE={keywords:["monkey","animal","nature","omg"],char:"🙊",fitzpatrick_scale:!1,category:"animals_and_nature"},hE={keywords:["animal","nature","banana","circus"],char:"🐒",fitzpatrick_scale:!1,category:"animals_and_nature"},dE={keywords:["animal","cluck","nature","bird"],char:"🐔",fitzpatrick_scale:!1,category:"animals_and_nature"},pE={keywords:["animal","nature"],char:"🐧",fitzpatrick_scale:!1,category:"animals_and_nature"},mE={keywords:["animal","nature","fly","tweet","spring"],char:"🐦",fitzpatrick_scale:!1,category:"animals_and_nature"},_E={keywords:["animal","chicken","bird"],char:"🐤",fitzpatrick_scale:!1,category:"animals_and_nature"},gE={keywords:["animal","chicken","egg","born","baby","bird"],char:"🐣",fitzpatrick_scale:!1,category:"animals_and_nature"},yE={keywords:["animal","chicken","baby","bird"],char:"🐥",fitzpatrick_scale:!1,category:"animals_and_nature"},kE={keywords:["animal","nature","bird","mallard"],char:"🦆",fitzpatrick_scale:!1,category:"animals_and_nature"},bE={keywords:["animal","nature","bird"],char:"🦅",fitzpatrick_scale:!1,category:"animals_and_nature"},wE={keywords:["animal","nature","bird","hoot"],char:"🦉",fitzpatrick_scale:!1,category:"animals_and_nature"},EE={keywords:["animal","nature","blind","vampire"],char:"🦇",fitzpatrick_scale:!1,category:"animals_and_nature"},TE={keywords:["animal","nature","wild"],char:"🐺",fitzpatrick_scale:!1,category:"animals_and_nature"},AE={keywords:["animal","nature"],char:"🐗",fitzpatrick_scale:!1,category:"animals_and_nature"},CE={keywords:["animal","brown","nature"],char:"🐴",fitzpatrick_scale:!1,category:"animals_and_nature"},xE={keywords:["animal","nature","mystical"],char:"🦄",fitzpatrick_scale:!1,category:"animals_and_nature"},DE={keywords:["animal","insect","nature","bug","spring","honey"],char:"🐝",fitzpatrick_scale:!1,category:"animals_and_nature"},zE={keywords:["animal","insect","nature","worm"],char:"🐛",fitzpatrick_scale:!1,category:"animals_and_nature"},IE={keywords:["animal","insect","nature","caterpillar"],char:"🦋",fitzpatrick_scale:!1,category:"animals_and_nature"},SE={keywords:["slow","animal","shell"],char:"🐌",fitzpatrick_scale:!1,category:"animals_and_nature"},NE={keywords:["animal","insect","nature","ladybug"],char:"🐞",fitzpatrick_scale:!1,category:"animals_and_nature"},FE={keywords:["animal","insect","nature","bug"],char:"🐜",fitzpatrick_scale:!1,category:"animals_and_nature"},OE={keywords:["animal","cricket","chirp"],char:"🦗",fitzpatrick_scale:!1,category:"animals_and_nature"},LE={keywords:["animal","arachnid"],char:"🕷",fitzpatrick_scale:!1,category:"animals_and_nature"},RE={keywords:["animal","arachnid"],char:"🦂",fitzpatrick_scale:!1,category:"animals_and_nature"},vE={keywords:["animal","crustacean"],char:"🦀",fitzpatrick_scale:!1,category:"animals_and_nature"},BE={keywords:["animal","evil","nature","hiss","python"],char:"🐍",fitzpatrick_scale:!1,category:"animals_and_nature"},PE={keywords:["animal","nature","reptile"],char:"🦎",fitzpatrick_scale:!1,category:"animals_and_nature"},ME={keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"🦕",fitzpatrick_scale:!1,category:"animals_and_nature"},HE={keywords:["animal","slow","nature","tortoise"],char:"🐢",fitzpatrick_scale:!1,category:"animals_and_nature"},UE={keywords:["animal","swim","ocean","beach","nemo"],char:"🐠",fitzpatrick_scale:!1,category:"animals_and_nature"},jE={keywords:["animal","food","nature"],char:"🐟",fitzpatrick_scale:!1,category:"animals_and_nature"},qE={keywords:["animal","nature","food","sea","ocean"],char:"🐡",fitzpatrick_scale:!1,category:"animals_and_nature"},YE={keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"🐬",fitzpatrick_scale:!1,category:"animals_and_nature"},$E={keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"🦈",fitzpatrick_scale:!1,category:"animals_and_nature"},VE={keywords:["animal","nature","sea","ocean"],char:"🐳",fitzpatrick_scale:!1,category:"animals_and_nature"},WE={keywords:["animal","nature","sea","ocean"],char:"🐋",fitzpatrick_scale:!1,category:"animals_and_nature"},GE={keywords:["animal","nature","reptile","lizard","alligator"],char:"🐊",fitzpatrick_scale:!1,category:"animals_and_nature"},QE={keywords:["animal","nature"],char:"🐆",fitzpatrick_scale:!1,category:"animals_and_nature"},XE={keywords:["animal","nature","stripes","safari"],char:"🦓",fitzpatrick_scale:!1,category:"animals_and_nature"},KE={keywords:["animal","nature","roar"],char:"🐅",fitzpatrick_scale:!1,category:"animals_and_nature"},JE={keywords:["animal","nature","ox","cow"],char:"🐃",fitzpatrick_scale:!1,category:"animals_and_nature"},ZE={keywords:["animal","cow","beef"],char:"🐂",fitzpatrick_scale:!1,category:"animals_and_nature"},eT={keywords:["beef","ox","animal","nature","moo","milk"],char:"🐄",fitzpatrick_scale:!1,category:"animals_and_nature"},tT={keywords:["animal","nature","horns","venison"],char:"🦌",fitzpatrick_scale:!1,category:"animals_and_nature"},aT={keywords:["animal","hot","desert","hump"],char:"🐪",fitzpatrick_scale:!1,category:"animals_and_nature"},rT={keywords:["animal","nature","hot","desert","hump"],char:"🐫",fitzpatrick_scale:!1,category:"animals_and_nature"},nT={keywords:["animal","nature","spots","safari"],char:"🦒",fitzpatrick_scale:!1,category:"animals_and_nature"},iT={keywords:["animal","nature","nose","th","circus"],char:"🐘",fitzpatrick_scale:!1,category:"animals_and_nature"},sT={keywords:["animal","nature","horn"],char:"🦏",fitzpatrick_scale:!1,category:"animals_and_nature"},oT={keywords:["animal","nature"],char:"🐐",fitzpatrick_scale:!1,category:"animals_and_nature"},cT={keywords:["animal","sheep","nature"],char:"🐏",fitzpatrick_scale:!1,category:"animals_and_nature"},uT={keywords:["animal","nature","wool","shipit"],char:"🐑",fitzpatrick_scale:!1,category:"animals_and_nature"},lT={keywords:["animal","gamble","luck"],char:"🐎",fitzpatrick_scale:!1,category:"animals_and_nature"},fT={keywords:["animal","nature"],char:"🐖",fitzpatrick_scale:!1,category:"animals_and_nature"},hT={keywords:["animal","mouse","rodent"],char:"🐀",fitzpatrick_scale:!1,category:"animals_and_nature"},dT={keywords:["animal","nature","rodent"],char:"🐁",fitzpatrick_scale:!1,category:"animals_and_nature"},pT={keywords:["animal","nature","chicken"],char:"🐓",fitzpatrick_scale:!1,category:"animals_and_nature"},mT={keywords:["animal","bird"],char:"🦃",fitzpatrick_scale:!1,category:"animals_and_nature"},_T={keywords:["animal","bird"],char:"🕊",fitzpatrick_scale:!1,category:"animals_and_nature"},gT={keywords:["animal","nature","friend","doge","pet","faithful"],char:"🐕",fitzpatrick_scale:!1,category:"animals_and_nature"},yT={keywords:["dog","animal","101","nature","pet"],char:"🐩",fitzpatrick_scale:!1,category:"animals_and_nature"},kT={keywords:["animal","meow","pet","cats"],char:"🐈",fitzpatrick_scale:!1,category:"animals_and_nature"},bT={keywords:["animal","nature","pet","magic","spring"],char:"🐇",fitzpatrick_scale:!1,category:"animals_and_nature"},wT={keywords:["animal","nature","rodent","squirrel"],char:"🐿",fitzpatrick_scale:!1,category:"animals_and_nature"},ET={keywords:["animal","nature","spiny"],char:"🦔",fitzpatrick_scale:!1,category:"animals_and_nature"},TT={keywords:["animal","nature"],char:"🦝",fitzpatrick_scale:!1,category:"animals_and_nature"},AT={keywords:["animal","nature","alpaca"],char:"🦙",fitzpatrick_scale:!1,category:"animals_and_nature"},CT={keywords:["animal","nature"],char:"🦛",fitzpatrick_scale:!1,category:"animals_and_nature"},xT={keywords:["animal","nature","australia","joey","hop","marsupial"],char:"🦘",fitzpatrick_scale:!1,category:"animals_and_nature"},DT={keywords:["animal","nature","honey"],char:"🦡",fitzpatrick_scale:!1,category:"animals_and_nature"},zT={keywords:["animal","nature","bird"],char:"🦢",fitzpatrick_scale:!1,category:"animals_and_nature"},IT={keywords:["animal","nature","peahen","bird"],char:"🦚",fitzpatrick_scale:!1,category:"animals_and_nature"},ST={keywords:["animal","nature","bird","pirate","talk"],char:"🦜",fitzpatrick_scale:!1,category:"animals_and_nature"},NT={keywords:["animal","nature","bisque","claws","seafood"],char:"🦞",fitzpatrick_scale:!1,category:"animals_and_nature"},FT={keywords:["animal","nature","insect","malaria"],char:"🦟",fitzpatrick_scale:!1,category:"animals_and_nature"},OT={keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"🐾",fitzpatrick_scale:!1,category:"animals_and_nature"},LT={keywords:["animal","myth","nature","chinese","green"],char:"🐉",fitzpatrick_scale:!1,category:"animals_and_nature"},RT={keywords:["animal","myth","nature","chinese","green"],char:"🐲",fitzpatrick_scale:!1,category:"animals_and_nature"},vT={keywords:["vegetable","plant","nature"],char:"🌵",fitzpatrick_scale:!1,category:"animals_and_nature"},BT={keywords:["festival","vacation","december","xmas","celebration"],char:"🎄",fitzpatrick_scale:!1,category:"animals_and_nature"},PT={keywords:["plant","nature"],char:"🌲",fitzpatrick_scale:!1,category:"animals_and_nature"},MT={keywords:["plant","nature"],char:"🌳",fitzpatrick_scale:!1,category:"animals_and_nature"},HT={keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"🌴",fitzpatrick_scale:!1,category:"animals_and_nature"},UT={keywords:["plant","nature","grass","lawn","spring"],char:"🌱",fitzpatrick_scale:!1,category:"animals_and_nature"},jT={keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"🌿",fitzpatrick_scale:!1,category:"animals_and_nature"},qT={keywords:["vegetable","plant","nature","irish","clover"],char:"☘",fitzpatrick_scale:!1,category:"animals_and_nature"},YT={keywords:["vegetable","plant","nature","lucky","irish"],char:"🍀",fitzpatrick_scale:!1,category:"animals_and_nature"},$T={keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"🎍",fitzpatrick_scale:!1,category:"animals_and_nature"},VT={keywords:["plant","nature","branch","summer"],char:"🎋",fitzpatrick_scale:!1,category:"animals_and_nature"},WT={keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"🍃",fitzpatrick_scale:!1,category:"animals_and_nature"},GT={keywords:["nature","plant","vegetable","leaves"],char:"🍂",fitzpatrick_scale:!1,category:"animals_and_nature"},QT={keywords:["nature","plant","vegetable","ca","fall"],char:"🍁",fitzpatrick_scale:!1,category:"animals_and_nature"},XT={keywords:["nature","plant"],char:"🌾",fitzpatrick_scale:!1,category:"animals_and_nature"},KT={keywords:["plant","vegetable","flowers","beach"],char:"🌺",fitzpatrick_scale:!1,category:"animals_and_nature"},JT={keywords:["nature","plant","fall"],char:"🌻",fitzpatrick_scale:!1,category:"animals_and_nature"},ZT={keywords:["flowers","valentines","love","spring"],char:"🌹",fitzpatrick_scale:!1,category:"animals_and_nature"},eA={keywords:["plant","nature","flower"],char:"🥀",fitzpatrick_scale:!1,category:"animals_and_nature"},tA={keywords:["flowers","plant","nature","summer","spring"],char:"🌷",fitzpatrick_scale:!1,category:"animals_and_nature"},aA={keywords:["nature","flowers","yellow"],char:"🌼",fitzpatrick_scale:!1,category:"animals_and_nature"},rA={keywords:["nature","plant","spring","flower"],char:"🌸",fitzpatrick_scale:!1,category:"animals_and_nature"},nA={keywords:["flowers","nature","spring"],char:"💐",fitzpatrick_scale:!1,category:"animals_and_nature"},iA={keywords:["plant","vegetable"],char:"🍄",fitzpatrick_scale:!1,category:"animals_and_nature"},sA={keywords:["food","squirrel"],char:"🌰",fitzpatrick_scale:!1,category:"animals_and_nature"},oA={keywords:["halloween","light","pumpkin","creepy","fall"],char:"🎃",fitzpatrick_scale:!1,category:"animals_and_nature"},cA={keywords:["nature","sea","beach"],char:"🐚",fitzpatrick_scale:!1,category:"animals_and_nature"},uA={keywords:["animal","insect","arachnid","silk"],char:"🕸",fitzpatrick_scale:!1,category:"animals_and_nature"},lA={keywords:["globe","world","USA","international"],char:"🌎",fitzpatrick_scale:!1,category:"animals_and_nature"},fA={keywords:["globe","world","international"],char:"🌍",fitzpatrick_scale:!1,category:"animals_and_nature"},hA={keywords:["globe","world","east","international"],char:"🌏",fitzpatrick_scale:!1,category:"animals_and_nature"},dA={keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"🌕",fitzpatrick_scale:!1,category:"animals_and_nature"},pA={keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"🌖",fitzpatrick_scale:!1,category:"animals_and_nature"},mA={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌗",fitzpatrick_scale:!1,category:"animals_and_nature"},_A={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌘",fitzpatrick_scale:!1,category:"animals_and_nature"},gA={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌑",fitzpatrick_scale:!1,category:"animals_and_nature"},yA={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌒",fitzpatrick_scale:!1,category:"animals_and_nature"},kA={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌓",fitzpatrick_scale:!1,category:"animals_and_nature"},bA={keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"🌔",fitzpatrick_scale:!1,category:"animals_and_nature"},wA={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌚",fitzpatrick_scale:!1,category:"animals_and_nature"},EA={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌝",fitzpatrick_scale:!1,category:"animals_and_nature"},TA={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌛",fitzpatrick_scale:!1,category:"animals_and_nature"},AA={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌜",fitzpatrick_scale:!1,category:"animals_and_nature"},CA={keywords:["nature","morning","sky"],char:"🌞",fitzpatrick_scale:!1,category:"animals_and_nature"},xA={keywords:["night","sleep","sky","evening","magic"],char:"🌙",fitzpatrick_scale:!1,category:"animals_and_nature"},DA={keywords:["night","yellow"],char:"⭐",fitzpatrick_scale:!1,category:"animals_and_nature"},zA={keywords:["night","sparkle","awesome","good","magic"],char:"🌟",fitzpatrick_scale:!1,category:"animals_and_nature"},IA={keywords:["star","sparkle","shoot","magic"],char:"💫",fitzpatrick_scale:!1,category:"animals_and_nature"},SA={keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"✨",fitzpatrick_scale:!1,category:"animals_and_nature"},NA={keywords:["space"],char:"☄",fitzpatrick_scale:!1,category:"animals_and_nature"},FA={keywords:["weather","nature","brightness","summer","beach","spring"],char:"☀️",fitzpatrick_scale:!1,category:"animals_and_nature"},OA={keywords:["weather"],char:"🌤",fitzpatrick_scale:!1,category:"animals_and_nature"},LA={keywords:["weather","nature","cloudy","morning","fall","spring"],char:"⛅",fitzpatrick_scale:!1,category:"animals_and_nature"},RA={keywords:["weather"],char:"🌥",fitzpatrick_scale:!1,category:"animals_and_nature"},vA={keywords:["weather"],char:"🌦",fitzpatrick_scale:!1,category:"animals_and_nature"},BA={keywords:["weather","sky"],char:"☁️",fitzpatrick_scale:!1,category:"animals_and_nature"},PA={keywords:["weather"],char:"🌧",fitzpatrick_scale:!1,category:"animals_and_nature"},MA={keywords:["weather","lightning"],char:"⛈",fitzpatrick_scale:!1,category:"animals_and_nature"},HA={keywords:["weather","thunder"],char:"🌩",fitzpatrick_scale:!1,category:"animals_and_nature"},UA={keywords:["thunder","weather","lightning bolt","fast"],char:"⚡",fitzpatrick_scale:!1,category:"animals_and_nature"},jA={keywords:["hot","cook","flame"],char:"🔥",fitzpatrick_scale:!1,category:"animals_and_nature"},qA={keywords:["bomb","explode","explosion","collision","blown"],char:"💥",fitzpatrick_scale:!1,category:"animals_and_nature"},YA={keywords:["winter","season","cold","weather","christmas","xmas"],char:"❄️",fitzpatrick_scale:!1,category:"animals_and_nature"},$A={keywords:["weather"],char:"🌨",fitzpatrick_scale:!1,category:"animals_and_nature"},VA={keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"⛄",fitzpatrick_scale:!1,category:"animals_and_nature"},WA={keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"☃",fitzpatrick_scale:!1,category:"animals_and_nature"},GA={keywords:["gust","air"],char:"🌬",fitzpatrick_scale:!1,category:"animals_and_nature"},QA={keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"💨",fitzpatrick_scale:!1,category:"animals_and_nature"},XA={keywords:["weather","cyclone","twister"],char:"🌪",fitzpatrick_scale:!1,category:"animals_and_nature"},KA={keywords:["weather"],char:"🌫",fitzpatrick_scale:!1,category:"animals_and_nature"},JA={keywords:["weather","spring"],char:"☂",fitzpatrick_scale:!1,category:"animals_and_nature"},ZA={keywords:["rainy","weather","spring"],char:"☔",fitzpatrick_scale:!1,category:"animals_and_nature"},e2={keywords:["water","drip","faucet","spring"],char:"💧",fitzpatrick_scale:!1,category:"animals_and_nature"},t2={keywords:["water","drip","oops"],char:"💦",fitzpatrick_scale:!1,category:"animals_and_nature"},a2={keywords:["sea","water","wave","nature","tsunami","disaster"],char:"🌊",fitzpatrick_scale:!1,category:"animals_and_nature"},r2={keywords:["fruit","nature"],char:"🍏",fitzpatrick_scale:!1,category:"food_and_drink"},n2={keywords:["fruit","mac","school"],char:"🍎",fitzpatrick_scale:!1,category:"food_and_drink"},i2={keywords:["fruit","nature","food"],char:"🍐",fitzpatrick_scale:!1,category:"food_and_drink"},s2={keywords:["food","fruit","nature","orange"],char:"🍊",fitzpatrick_scale:!1,category:"food_and_drink"},o2={keywords:["fruit","nature"],char:"🍋",fitzpatrick_scale:!1,category:"food_and_drink"},c2={keywords:["fruit","food","monkey"],char:"🍌",fitzpatrick_scale:!1,category:"food_and_drink"},u2={keywords:["fruit","food","picnic","summer"],char:"🍉",fitzpatrick_scale:!1,category:"food_and_drink"},l2={keywords:["fruit","food","wine"],char:"🍇",fitzpatrick_scale:!1,category:"food_and_drink"},f2={keywords:["fruit","food","nature"],char:"🍓",fitzpatrick_scale:!1,category:"food_and_drink"},h2={keywords:["fruit","nature","food"],char:"🍈",fitzpatrick_scale:!1,category:"food_and_drink"},d2={keywords:["food","fruit"],char:"🍒",fitzpatrick_scale:!1,category:"food_and_drink"},p2={keywords:["fruit","nature","food"],char:"🍑",fitzpatrick_scale:!1,category:"food_and_drink"},m2={keywords:["fruit","nature","food"],char:"🍍",fitzpatrick_scale:!1,category:"food_and_drink"},_2={keywords:["fruit","nature","food","palm"],char:"🥥",fitzpatrick_scale:!1,category:"food_and_drink"},g2={keywords:["fruit","food"],char:"🥝",fitzpatrick_scale:!1,category:"food_and_drink"},y2={keywords:["fruit","food","tropical"],char:"🥭",fitzpatrick_scale:!1,category:"food_and_drink"},k2={keywords:["fruit","food"],char:"🥑",fitzpatrick_scale:!1,category:"food_and_drink"},b2={keywords:["fruit","food","vegetable"],char:"🥦",fitzpatrick_scale:!1,category:"food_and_drink"},w2={keywords:["fruit","vegetable","nature","food"],char:"🍅",fitzpatrick_scale:!1,category:"food_and_drink"},E2={keywords:["vegetable","nature","food","aubergine"],char:"🍆",fitzpatrick_scale:!1,category:"food_and_drink"},T2={keywords:["fruit","food","pickle"],char:"🥒",fitzpatrick_scale:!1,category:"food_and_drink"},A2={keywords:["vegetable","food","orange"],char:"🥕",fitzpatrick_scale:!1,category:"food_and_drink"},C2={keywords:["food","spicy","chilli","chili"],char:"🌶",fitzpatrick_scale:!1,category:"food_and_drink"},x2={keywords:["food","tuber","vegatable","starch"],char:"🥔",fitzpatrick_scale:!1,category:"food_and_drink"},D2={keywords:["food","vegetable","plant"],char:"🌽",fitzpatrick_scale:!1,category:"food_and_drink"},z2={keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"🥬",fitzpatrick_scale:!1,category:"food_and_drink"},I2={keywords:["food","nature"],char:"🍠",fitzpatrick_scale:!1,category:"food_and_drink"},S2={keywords:["food","nut"],char:"🥜",fitzpatrick_scale:!1,category:"food_and_drink"},N2={keywords:["bees","sweet","kitchen"],char:"🍯",fitzpatrick_scale:!1,category:"food_and_drink"},F2={keywords:["food","bread","french"],char:"🥐",fitzpatrick_scale:!1,category:"food_and_drink"},O2={keywords:["food","wheat","breakfast","toast"],char:"🍞",fitzpatrick_scale:!1,category:"food_and_drink"},L2={keywords:["food","bread","french"],char:"🥖",fitzpatrick_scale:!1,category:"food_and_drink"},R2={keywords:["food","bread","bakery","schmear"],char:"🥯",fitzpatrick_scale:!1,category:"food_and_drink"},v2={keywords:["food","bread","twisted"],char:"🥨",fitzpatrick_scale:!1,category:"food_and_drink"},B2={keywords:["food","chadder"],char:"🧀",fitzpatrick_scale:!1,category:"food_and_drink"},P2={keywords:["food","chicken","breakfast"],char:"🥚",fitzpatrick_scale:!1,category:"food_and_drink"},M2={keywords:["food","breakfast","pork","pig","meat"],char:"🥓",fitzpatrick_scale:!1,category:"food_and_drink"},H2={keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"🥩",fitzpatrick_scale:!1,category:"food_and_drink"},U2={keywords:["food","breakfast","flapjacks","hotcakes"],char:"🥞",fitzpatrick_scale:!1,category:"food_and_drink"},j2={keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"🍗",fitzpatrick_scale:!1,category:"food_and_drink"},q2={keywords:["good","food","drumstick"],char:"🍖",fitzpatrick_scale:!1,category:"food_and_drink"},Y2={keywords:["skeleton"],char:"🦴",fitzpatrick_scale:!1,category:"food_and_drink"},$2={keywords:["food","animal","appetizer","summer"],char:"🍤",fitzpatrick_scale:!1,category:"food_and_drink"},V2={keywords:["food","breakfast","kitchen","egg"],char:"🍳",fitzpatrick_scale:!1,category:"food_and_drink"},W2={keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"🍔",fitzpatrick_scale:!1,category:"food_and_drink"},G2={keywords:["chips","snack","fast food"],char:"🍟",fitzpatrick_scale:!1,category:"food_and_drink"},Q2={keywords:["food","flatbread","stuffed","gyro"],char:"🥙",fitzpatrick_scale:!1,category:"food_and_drink"},X2={keywords:["food","frankfurter"],char:"🌭",fitzpatrick_scale:!1,category:"food_and_drink"},K2={keywords:["food","party"],char:"🍕",fitzpatrick_scale:!1,category:"food_and_drink"},J2={keywords:["food","lunch","bread"],char:"🥪",fitzpatrick_scale:!1,category:"food_and_drink"},Z2={keywords:["food","soup"],char:"🥫",fitzpatrick_scale:!1,category:"food_and_drink"},eC={keywords:["food","italian","noodle"],char:"🍝",fitzpatrick_scale:!1,category:"food_and_drink"},tC={keywords:["food","mexican"],char:"🌮",fitzpatrick_scale:!1,category:"food_and_drink"},aC={keywords:["food","mexican"],char:"🌯",fitzpatrick_scale:!1,category:"food_and_drink"},rC={keywords:["food","healthy","lettuce"],char:"🥗",fitzpatrick_scale:!1,category:"food_and_drink"},nC={keywords:["food","cooking","casserole","paella"],char:"🥘",fitzpatrick_scale:!1,category:"food_and_drink"},iC={keywords:["food","japanese","noodle","chopsticks"],char:"🍜",fitzpatrick_scale:!1,category:"food_and_drink"},sC={keywords:["food","meat","soup"],char:"🍲",fitzpatrick_scale:!1,category:"food_and_drink"},oC={keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"🍥",fitzpatrick_scale:!1,category:"food_and_drink"},cC={keywords:["food","prophecy"],char:"🥠",fitzpatrick_scale:!1,category:"food_and_drink"},uC={keywords:["food","fish","japanese","rice"],char:"🍣",fitzpatrick_scale:!1,category:"food_and_drink"},lC={keywords:["food","japanese","box"],char:"🍱",fitzpatrick_scale:!1,category:"food_and_drink"},fC={keywords:["food","spicy","hot","indian"],char:"🍛",fitzpatrick_scale:!1,category:"food_and_drink"},hC={keywords:["food","japanese"],char:"🍙",fitzpatrick_scale:!1,category:"food_and_drink"},dC={keywords:["food","china","asian"],char:"🍚",fitzpatrick_scale:!1,category:"food_and_drink"},pC={keywords:["food","japanese"],char:"🍘",fitzpatrick_scale:!1,category:"food_and_drink"},mC={keywords:["food","japanese"],char:"🍢",fitzpatrick_scale:!1,category:"food_and_drink"},_C={keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"🍡",fitzpatrick_scale:!1,category:"food_and_drink"},gC={keywords:["hot","dessert","summer"],char:"🍧",fitzpatrick_scale:!1,category:"food_and_drink"},yC={keywords:["food","hot","dessert"],char:"🍨",fitzpatrick_scale:!1,category:"food_and_drink"},kC={keywords:["food","hot","dessert","summer"],char:"🍦",fitzpatrick_scale:!1,category:"food_and_drink"},bC={keywords:["food","dessert","pastry"],char:"🥧",fitzpatrick_scale:!1,category:"food_and_drink"},wC={keywords:["food","dessert"],char:"🍰",fitzpatrick_scale:!1,category:"food_and_drink"},EC={keywords:["food","dessert","bakery","sweet"],char:"🧁",fitzpatrick_scale:!1,category:"food_and_drink"},TC={keywords:["food","autumn"],char:"🥮",fitzpatrick_scale:!1,category:"food_and_drink"},AC={keywords:["food","dessert","cake"],char:"🎂",fitzpatrick_scale:!1,category:"food_and_drink"},CC={keywords:["dessert","food"],char:"🍮",fitzpatrick_scale:!1,category:"food_and_drink"},xC={keywords:["snack","dessert","sweet","lolly"],char:"🍬",fitzpatrick_scale:!1,category:"food_and_drink"},DC={keywords:["food","snack","candy","sweet"],char:"🍭",fitzpatrick_scale:!1,category:"food_and_drink"},zC={keywords:["food","snack","dessert","sweet"],char:"🍫",fitzpatrick_scale:!1,category:"food_and_drink"},IC={keywords:["food","movie theater","films","snack"],char:"🍿",fitzpatrick_scale:!1,category:"food_and_drink"},SC={keywords:["food","empanada","pierogi","potsticker"],char:"🥟",fitzpatrick_scale:!1,category:"food_and_drink"},NC={keywords:["food","dessert","snack","sweet","donut"],char:"🍩",fitzpatrick_scale:!1,category:"food_and_drink"},FC={keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"🍪",fitzpatrick_scale:!1,category:"food_and_drink"},OC={keywords:["beverage","drink","cow"],char:"🥛",fitzpatrick_scale:!1,category:"food_and_drink"},LC={keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍺",fitzpatrick_scale:!1,category:"food_and_drink"},RC={keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍻",fitzpatrick_scale:!1,category:"food_and_drink"},vC={keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"🥂",fitzpatrick_scale:!1,category:"food_and_drink"},BC={keywords:["drink","beverage","drunk","alcohol","booze"],char:"🍷",fitzpatrick_scale:!1,category:"food_and_drink"},PC={keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"🥃",fitzpatrick_scale:!1,category:"food_and_drink"},MC={keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"🍸",fitzpatrick_scale:!1,category:"food_and_drink"},HC={keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"🍹",fitzpatrick_scale:!1,category:"food_and_drink"},UC={keywords:["drink","wine","bottle","celebration"],char:"🍾",fitzpatrick_scale:!1,category:"food_and_drink"},jC={keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"🍶",fitzpatrick_scale:!1,category:"food_and_drink"},qC={keywords:["drink","bowl","breakfast","green","british"],char:"🍵",fitzpatrick_scale:!1,category:"food_and_drink"},YC={keywords:["drink","soda"],char:"🥤",fitzpatrick_scale:!1,category:"food_and_drink"},$C={keywords:["beverage","caffeine","latte","espresso"],char:"☕",fitzpatrick_scale:!1,category:"food_and_drink"},VC={keywords:["food","container","milk"],char:"🍼",fitzpatrick_scale:!1,category:"food_and_drink"},WC={keywords:["condiment","shaker"],char:"🧂",fitzpatrick_scale:!1,category:"food_and_drink"},GC={keywords:["cutlery","kitchen","tableware"],char:"🥄",fitzpatrick_scale:!1,category:"food_and_drink"},QC={keywords:["cutlery","kitchen"],char:"🍴",fitzpatrick_scale:!1,category:"food_and_drink"},XC={keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"🍽",fitzpatrick_scale:!1,category:"food_and_drink"},KC={keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"🥣",fitzpatrick_scale:!1,category:"food_and_drink"},JC={keywords:["food","leftovers"],char:"🥡",fitzpatrick_scale:!1,category:"food_and_drink"},ZC={keywords:["food"],char:"🥢",fitzpatrick_scale:!1,category:"food_and_drink"},e3={keywords:["sports","football"],char:"⚽",fitzpatrick_scale:!1,category:"activity"},t3={keywords:["sports","balls","NBA"],char:"🏀",fitzpatrick_scale:!1,category:"activity"},a3={keywords:["sports","balls","NFL"],char:"🏈",fitzpatrick_scale:!1,category:"activity"},r3={keywords:["sports","balls"],char:"⚾",fitzpatrick_scale:!1,category:"activity"},n3={keywords:["sports","balls"],char:"🥎",fitzpatrick_scale:!1,category:"activity"},i3={keywords:["sports","balls","green"],char:"🎾",fitzpatrick_scale:!1,category:"activity"},s3={keywords:["sports","balls"],char:"🏐",fitzpatrick_scale:!1,category:"activity"},o3={keywords:["sports","team"],char:"🏉",fitzpatrick_scale:!1,category:"activity"},c3={keywords:["sports","frisbee","ultimate"],char:"🥏",fitzpatrick_scale:!1,category:"activity"},u3={keywords:["sports","business","flag","hole","summer"],char:"⛳",fitzpatrick_scale:!1,category:"activity"},l3={keywords:["sports","business","woman","female"],char:"🏌️‍♀️",fitzpatrick_scale:!1,category:"activity"},f3={keywords:["sports","business"],char:"🏌",fitzpatrick_scale:!0,category:"activity"},h3={keywords:["sports","pingpong"],char:"🏓",fitzpatrick_scale:!1,category:"activity"},d3={keywords:["sports"],char:"🏸",fitzpatrick_scale:!1,category:"activity"},p3={keywords:["sports"],char:"🥅",fitzpatrick_scale:!1,category:"activity"},m3={keywords:["sports"],char:"🏒",fitzpatrick_scale:!1,category:"activity"},_3={keywords:["sports"],char:"🏑",fitzpatrick_scale:!1,category:"activity"},g3={keywords:["sports","ball","stick"],char:"🥍",fitzpatrick_scale:!1,category:"activity"},y3={keywords:["sports"],char:"🏏",fitzpatrick_scale:!1,category:"activity"},k3={keywords:["sports","winter","cold","snow"],char:"🎿",fitzpatrick_scale:!1,category:"activity"},b3={keywords:["sports","winter","snow"],char:"⛷",fitzpatrick_scale:!1,category:"activity"},w3={keywords:["sports","winter"],char:"🏂",fitzpatrick_scale:!0,category:"activity"},E3={keywords:["sports","fencing","sword"],char:"🤺",fitzpatrick_scale:!1,category:"activity"},T3={keywords:["sports","wrestlers"],char:"🤼‍♀️",fitzpatrick_scale:!1,category:"activity"},A3={keywords:["sports","wrestlers"],char:"🤼‍♂️",fitzpatrick_scale:!1,category:"activity"},C3={keywords:["gymnastics"],char:"🤸‍♀️",fitzpatrick_scale:!0,category:"activity"},x3={keywords:["gymnastics"],char:"🤸‍♂️",fitzpatrick_scale:!0,category:"activity"},D3={keywords:["sports"],char:"🤾‍♀️",fitzpatrick_scale:!0,category:"activity"},z3={keywords:["sports"],char:"🤾‍♂️",fitzpatrick_scale:!0,category:"activity"},I3={keywords:["sports"],char:"⛸",fitzpatrick_scale:!1,category:"activity"},S3={keywords:["sports"],char:"🥌",fitzpatrick_scale:!1,category:"activity"},N3={keywords:["board"],char:"🛹",fitzpatrick_scale:!1,category:"activity"},F3={keywords:["sleigh","luge","toboggan"],char:"🛷",fitzpatrick_scale:!1,category:"activity"},O3={keywords:["sports"],char:"🏹",fitzpatrick_scale:!1,category:"activity"},L3={keywords:["food","hobby","summer"],char:"🎣",fitzpatrick_scale:!1,category:"activity"},R3={keywords:["sports","fighting"],char:"🥊",fitzpatrick_scale:!1,category:"activity"},v3={keywords:["judo","karate","taekwondo"],char:"🥋",fitzpatrick_scale:!1,category:"activity"},B3={keywords:["sports","hobby","water","ship","woman","female"],char:"🚣‍♀️",fitzpatrick_scale:!0,category:"activity"},P3={keywords:["sports","hobby","water","ship"],char:"🚣",fitzpatrick_scale:!0,category:"activity"},M3={keywords:["sports","hobby","woman","female","rock"],char:"🧗‍♀️",fitzpatrick_scale:!0,category:"activity"},H3={keywords:["sports","hobby","man","male","rock"],char:"🧗‍♂️",fitzpatrick_scale:!0,category:"activity"},U3={keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"🏊‍♀️",fitzpatrick_scale:!0,category:"activity"},j3={keywords:["sports","exercise","human","athlete","water","summer"],char:"🏊",fitzpatrick_scale:!0,category:"activity"},q3={keywords:["sports","pool"],char:"🤽‍♀️",fitzpatrick_scale:!0,category:"activity"},Y3={keywords:["sports","pool"],char:"🤽‍♂️",fitzpatrick_scale:!0,category:"activity"},$3={keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♀️",fitzpatrick_scale:!0,category:"activity"},V3={keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♂️",fitzpatrick_scale:!0,category:"activity"},W3={keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"🏄‍♀️",fitzpatrick_scale:!0,category:"activity"},G3={keywords:["sports","ocean","sea","summer","beach"],char:"🏄",fitzpatrick_scale:!0,category:"activity"},Q3={keywords:["clean","shower","bathroom"],char:"🛀",fitzpatrick_scale:!0,category:"activity"},X3={keywords:["sports","human","woman","female"],char:"⛹️‍♀️",fitzpatrick_scale:!0,category:"activity"},K3={keywords:["sports","human"],char:"⛹",fitzpatrick_scale:!0,category:"activity"},J3={keywords:["sports","training","exercise","woman","female"],char:"🏋️‍♀️",fitzpatrick_scale:!0,category:"activity"},Z3={keywords:["sports","training","exercise"],char:"🏋",fitzpatrick_scale:!0,category:"activity"},ex={keywords:["sports","bike","exercise","hipster","woman","female"],char:"🚴‍♀️",fitzpatrick_scale:!0,category:"activity"},tx={keywords:["sports","bike","exercise","hipster"],char:"🚴",fitzpatrick_scale:!0,category:"activity"},ax={keywords:["transportation","sports","human","race","bike","woman","female"],char:"🚵‍♀️",fitzpatrick_scale:!0,category:"activity"},rx={keywords:["transportation","sports","human","race","bike"],char:"🚵",fitzpatrick_scale:!0,category:"activity"},nx={keywords:["animal","betting","competition","gambling","luck"],char:"🏇",fitzpatrick_scale:!0,category:"activity"},ix={keywords:["suit","business","levitate","hover","jump"],char:"🕴",fitzpatrick_scale:!0,category:"activity"},sx={keywords:["win","award","contest","place","ftw","ceremony"],char:"🏆",fitzpatrick_scale:!1,category:"activity"},ox={keywords:["play","pageant"],char:"🎽",fitzpatrick_scale:!1,category:"activity"},cx={keywords:["award","winning"],char:"🏅",fitzpatrick_scale:!1,category:"activity"},ux={keywords:["award","winning","army"],char:"🎖",fitzpatrick_scale:!1,category:"activity"},lx={keywords:["sports","cause","support","awareness"],char:"🎗",fitzpatrick_scale:!1,category:"activity"},fx={keywords:["flower","decoration","military"],char:"🏵",fitzpatrick_scale:!1,category:"activity"},hx={keywords:["event","concert","pass"],char:"🎫",fitzpatrick_scale:!1,category:"activity"},dx={keywords:["sports","concert","entrance"],char:"🎟",fitzpatrick_scale:!1,category:"activity"},px={keywords:["acting","theater","drama"],char:"🎭",fitzpatrick_scale:!1,category:"activity"},mx={keywords:["design","paint","draw","colors"],char:"🎨",fitzpatrick_scale:!1,category:"activity"},_x={keywords:["festival","carnival","party"],char:"🎪",fitzpatrick_scale:!1,category:"activity"},gx={keywords:["juggle","balance","skill","multitask"],char:"🤹‍♀️",fitzpatrick_scale:!0,category:"activity"},yx={keywords:["juggle","balance","skill","multitask"],char:"🤹‍♂️",fitzpatrick_scale:!0,category:"activity"},kx={keywords:["sound","music","PA","sing","talkshow"],char:"🎤",fitzpatrick_scale:!1,category:"activity"},bx={keywords:["music","score","gadgets"],char:"🎧",fitzpatrick_scale:!1,category:"activity"},wx={keywords:["treble","clef","compose"],char:"🎼",fitzpatrick_scale:!1,category:"activity"},Ex={keywords:["piano","instrument","compose"],char:"🎹",fitzpatrick_scale:!1,category:"activity"},Tx={keywords:["music","instrument","drumsticks","snare"],char:"🥁",fitzpatrick_scale:!1,category:"activity"},Ax={keywords:["music","instrument","jazz","blues"],char:"🎷",fitzpatrick_scale:!1,category:"activity"},Cx={keywords:["music","brass"],char:"🎺",fitzpatrick_scale:!1,category:"activity"},xx={keywords:["music","instrument"],char:"🎸",fitzpatrick_scale:!1,category:"activity"},Dx={keywords:["music","instrument","orchestra","symphony"],char:"🎻",fitzpatrick_scale:!1,category:"activity"},zx={keywords:["movie","film","record"],char:"🎬",fitzpatrick_scale:!1,category:"activity"},Ix={keywords:["play","console","PS4","controller"],char:"🎮",fitzpatrick_scale:!1,category:"activity"},Sx={keywords:["game","arcade","play"],char:"👾",fitzpatrick_scale:!1,category:"activity"},Nx={keywords:["game","play","bar","target","bullseye"],char:"🎯",fitzpatrick_scale:!1,category:"activity"},Fx={keywords:["dice","random","tabletop","play","luck"],char:"🎲",fitzpatrick_scale:!1,category:"activity"},Ox={keywords:["expendable"],char:"♟",fitzpatrick_scale:!1,category:"activity"},Lx={keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"🎰",fitzpatrick_scale:!1,category:"activity"},Rx={keywords:["interlocking","puzzle","piece"],char:"🧩",fitzpatrick_scale:!1,category:"activity"},vx={keywords:["sports","fun","play"],char:"🎳",fitzpatrick_scale:!1,category:"activity"},Bx={keywords:["red","transportation","vehicle"],char:"🚗",fitzpatrick_scale:!1,category:"travel_and_places"},Px={keywords:["uber","vehicle","cars","transportation"],char:"🚕",fitzpatrick_scale:!1,category:"travel_and_places"},Mx={keywords:["transportation","vehicle"],char:"🚙",fitzpatrick_scale:!1,category:"travel_and_places"},Hx={keywords:["car","vehicle","transportation"],char:"🚌",fitzpatrick_scale:!1,category:"travel_and_places"},Ux={keywords:["bart","transportation","vehicle"],char:"🚎",fitzpatrick_scale:!1,category:"travel_and_places"},jx={keywords:["sports","race","fast","formula","f1"],char:"🏎",fitzpatrick_scale:!1,category:"travel_and_places"},qx={keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"🚓",fitzpatrick_scale:!1,category:"travel_and_places"},Yx={keywords:["health","911","hospital"],char:"🚑",fitzpatrick_scale:!1,category:"travel_and_places"},$x={keywords:["transportation","cars","vehicle"],char:"🚒",fitzpatrick_scale:!1,category:"travel_and_places"},Vx={keywords:["vehicle","car","transportation"],char:"🚐",fitzpatrick_scale:!1,category:"travel_and_places"},Wx={keywords:["cars","transportation"],char:"🚚",fitzpatrick_scale:!1,category:"travel_and_places"},Gx={keywords:["vehicle","cars","transportation","express"],char:"🚛",fitzpatrick_scale:!1,category:"travel_and_places"},Qx={keywords:["vehicle","car","farming","agriculture"],char:"🚜",fitzpatrick_scale:!1,category:"travel_and_places"},Xx={keywords:["vehicle","kick","razor"],char:"🛴",fitzpatrick_scale:!1,category:"travel_and_places"},Kx={keywords:["race","sports","fast"],char:"🏍",fitzpatrick_scale:!1,category:"travel_and_places"},Jx={keywords:["sports","bicycle","exercise","hipster"],char:"🚲",fitzpatrick_scale:!1,category:"travel_and_places"},Zx={keywords:["vehicle","vespa","sasha"],char:"🛵",fitzpatrick_scale:!1,category:"travel_and_places"},eD={keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"🚨",fitzpatrick_scale:!1,category:"travel_and_places"},tD={keywords:["vehicle","law","legal","enforcement","911"],char:"🚔",fitzpatrick_scale:!1,category:"travel_and_places"},aD={keywords:["vehicle","transportation"],char:"🚍",fitzpatrick_scale:!1,category:"travel_and_places"},rD={keywords:["car","vehicle","transportation"],char:"🚘",fitzpatrick_scale:!1,category:"travel_and_places"},nD={keywords:["vehicle","cars","uber"],char:"🚖",fitzpatrick_scale:!1,category:"travel_and_places"},iD={keywords:["transportation","vehicle","ski"],char:"🚡",fitzpatrick_scale:!1,category:"travel_and_places"},sD={keywords:["transportation","vehicle","ski"],char:"🚠",fitzpatrick_scale:!1,category:"travel_and_places"},oD={keywords:["vehicle","transportation"],char:"🚟",fitzpatrick_scale:!1,category:"travel_and_places"},cD={keywords:["transportation","vehicle"],char:"🚃",fitzpatrick_scale:!1,category:"travel_and_places"},uD={keywords:["transportation","vehicle","carriage","public","travel"],char:"🚋",fitzpatrick_scale:!1,category:"travel_and_places"},lD={keywords:["transportation","vehicle"],char:"🚝",fitzpatrick_scale:!1,category:"travel_and_places"},fD={keywords:["transportation","vehicle"],char:"🚄",fitzpatrick_scale:!1,category:"travel_and_places"},hD={keywords:["transportation","vehicle","speed","fast","public","travel"],char:"🚅",fitzpatrick_scale:!1,category:"travel_and_places"},dD={keywords:["transportation","vehicle"],char:"🚈",fitzpatrick_scale:!1,category:"travel_and_places"},pD={keywords:["transportation","vehicle"],char:"🚞",fitzpatrick_scale:!1,category:"travel_and_places"},mD={keywords:["transportation","vehicle","train"],char:"🚂",fitzpatrick_scale:!1,category:"travel_and_places"},_D={keywords:["transportation","vehicle"],char:"🚆",fitzpatrick_scale:!1,category:"travel_and_places"},gD={keywords:["transportation","blue-square","mrt","underground","tube"],char:"🚇",fitzpatrick_scale:!1,category:"travel_and_places"},yD={keywords:["transportation","vehicle"],char:"🚊",fitzpatrick_scale:!1,category:"travel_and_places"},kD={keywords:["transportation","vehicle","public"],char:"🚉",fitzpatrick_scale:!1,category:"travel_and_places"},bD={keywords:["transportation","vehicle","ufo"],char:"🛸",fitzpatrick_scale:!1,category:"travel_and_places"},wD={keywords:["transportation","vehicle","fly"],char:"🚁",fitzpatrick_scale:!1,category:"travel_and_places"},ED={keywords:["flight","transportation","fly","vehicle"],char:"🛩",fitzpatrick_scale:!1,category:"travel_and_places"},TD={keywords:["vehicle","transportation","flight","fly"],char:"✈️",fitzpatrick_scale:!1,category:"travel_and_places"},AD={keywords:["airport","flight","landing"],char:"🛫",fitzpatrick_scale:!1,category:"travel_and_places"},CD={keywords:["airport","flight","boarding"],char:"🛬",fitzpatrick_scale:!1,category:"travel_and_places"},xD={keywords:["ship","summer","transportation","water","sailing"],char:"⛵",fitzpatrick_scale:!1,category:"travel_and_places"},DD={keywords:["ship"],char:"🛥",fitzpatrick_scale:!1,category:"travel_and_places"},zD={keywords:["ship","transportation","vehicle","summer"],char:"🚤",fitzpatrick_scale:!1,category:"travel_and_places"},ID={keywords:["boat","ship","yacht"],char:"⛴",fitzpatrick_scale:!1,category:"travel_and_places"},SD={keywords:["yacht","cruise","ferry"],char:"🛳",fitzpatrick_scale:!1,category:"travel_and_places"},ND={keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"🚀",fitzpatrick_scale:!1,category:"travel_and_places"},FD={keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"🛰",fitzpatrick_scale:!1,category:"travel_and_places"},OD={keywords:["sit","airplane","transport","bus","flight","fly"],char:"💺",fitzpatrick_scale:!1,category:"travel_and_places"},LD={keywords:["boat","paddle","water","ship"],char:"🛶",fitzpatrick_scale:!1,category:"travel_and_places"},RD={keywords:["ship","ferry","sea","boat"],char:"⚓",fitzpatrick_scale:!1,category:"travel_and_places"},vD={keywords:["wip","progress","caution","warning"],char:"🚧",fitzpatrick_scale:!1,category:"travel_and_places"},BD={keywords:["gas station","petroleum"],char:"⛽",fitzpatrick_scale:!1,category:"travel_and_places"},PD={keywords:["transportation","wait"],char:"🚏",fitzpatrick_scale:!1,category:"travel_and_places"},MD={keywords:["transportation","driving"],char:"🚦",fitzpatrick_scale:!1,category:"travel_and_places"},HD={keywords:["transportation","signal"],char:"🚥",fitzpatrick_scale:!1,category:"travel_and_places"},UD={keywords:["contest","finishline","race","gokart"],char:"🏁",fitzpatrick_scale:!1,category:"travel_and_places"},jD={keywords:["transportation","titanic","deploy"],char:"🚢",fitzpatrick_scale:!1,category:"travel_and_places"},qD={keywords:["photo","carnival","londoneye"],char:"🎡",fitzpatrick_scale:!1,category:"travel_and_places"},YD={keywords:["carnival","playground","photo","fun"],char:"🎢",fitzpatrick_scale:!1,category:"travel_and_places"},$D={keywords:["photo","carnival"],char:"🎠",fitzpatrick_scale:!1,category:"travel_and_places"},VD={keywords:["wip","working","progress"],char:"🏗",fitzpatrick_scale:!1,category:"travel_and_places"},WD={keywords:["photo","mountain"],char:"🌁",fitzpatrick_scale:!1,category:"travel_and_places"},GD={keywords:["photo","japanese"],char:"🗼",fitzpatrick_scale:!1,category:"travel_and_places"},QD={keywords:["building","industry","pollution","smoke"],char:"🏭",fitzpatrick_scale:!1,category:"travel_and_places"},XD={keywords:["photo","summer","water","fresh"],char:"⛲",fitzpatrick_scale:!1,category:"travel_and_places"},KD={keywords:["photo","japan","asia","tsukimi"],char:"🎑",fitzpatrick_scale:!1,category:"travel_and_places"},JD={keywords:["photo","nature","environment"],char:"⛰",fitzpatrick_scale:!1,category:"travel_and_places"},ZD={keywords:["photo","nature","environment","winter","cold"],char:"🏔",fitzpatrick_scale:!1,category:"travel_and_places"},e6={keywords:["photo","mountain","nature","japanese"],char:"🗻",fitzpatrick_scale:!1,category:"travel_and_places"},t6={keywords:["photo","nature","disaster"],char:"🌋",fitzpatrick_scale:!1,category:"travel_and_places"},a6={keywords:["nation","country","japanese","asia"],char:"🗾",fitzpatrick_scale:!1,category:"travel_and_places"},r6={keywords:["photo","outdoors","tent"],char:"🏕",fitzpatrick_scale:!1,category:"travel_and_places"},n6={keywords:["photo","camping","outdoors"],char:"⛺",fitzpatrick_scale:!1,category:"travel_and_places"},i6={keywords:["photo","environment","nature"],char:"🏞",fitzpatrick_scale:!1,category:"travel_and_places"},s6={keywords:["road","cupertino","interstate","highway"],char:"🛣",fitzpatrick_scale:!1,category:"travel_and_places"},o6={keywords:["train","transportation"],char:"🛤",fitzpatrick_scale:!1,category:"travel_and_places"},c6={keywords:["morning","view","vacation","photo"],char:"🌅",fitzpatrick_scale:!1,category:"travel_and_places"},u6={keywords:["view","vacation","photo"],char:"🌄",fitzpatrick_scale:!1,category:"travel_and_places"},l6={keywords:["photo","warm","saharah"],char:"🏜",fitzpatrick_scale:!1,category:"travel_and_places"},f6={keywords:["weather","summer","sunny","sand","mojito"],char:"🏖",fitzpatrick_scale:!1,category:"travel_and_places"},h6={keywords:["photo","tropical","mojito"],char:"🏝",fitzpatrick_scale:!1,category:"travel_and_places"},d6={keywords:["photo","good morning","dawn"],char:"🌇",fitzpatrick_scale:!1,category:"travel_and_places"},p6={keywords:["photo","evening","sky","buildings"],char:"🌆",fitzpatrick_scale:!1,category:"travel_and_places"},m6={keywords:["photo","night life","urban"],char:"🏙",fitzpatrick_scale:!1,category:"travel_and_places"},_6={keywords:["evening","city","downtown"],char:"🌃",fitzpatrick_scale:!1,category:"travel_and_places"},g6={keywords:["photo","sanfrancisco"],char:"🌉",fitzpatrick_scale:!1,category:"travel_and_places"},y6={keywords:["photo","space","stars"],char:"🌌",fitzpatrick_scale:!1,category:"travel_and_places"},k6={keywords:["night","photo"],char:"🌠",fitzpatrick_scale:!1,category:"travel_and_places"},b6={keywords:["stars","night","shine"],char:"🎇",fitzpatrick_scale:!1,category:"travel_and_places"},w6={keywords:["photo","festival","carnival","congratulations"],char:"🎆",fitzpatrick_scale:!1,category:"travel_and_places"},E6={keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"🌈",fitzpatrick_scale:!1,category:"travel_and_places"},T6={keywords:["buildings","photo"],char:"🏘",fitzpatrick_scale:!1,category:"travel_and_places"},A6={keywords:["building","royalty","history"],char:"🏰",fitzpatrick_scale:!1,category:"travel_and_places"},C6={keywords:["photo","building"],char:"🏯",fitzpatrick_scale:!1,category:"travel_and_places"},x6={keywords:["photo","place","sports","concert","venue"],char:"🏟",fitzpatrick_scale:!1,category:"travel_and_places"},D6={keywords:["american","newyork"],char:"🗽",fitzpatrick_scale:!1,category:"travel_and_places"},z6={keywords:["building","home"],char:"🏠",fitzpatrick_scale:!1,category:"travel_and_places"},I6={keywords:["home","plant","nature"],char:"🏡",fitzpatrick_scale:!1,category:"travel_and_places"},S6={keywords:["abandon","evict","broken","building"],char:"🏚",fitzpatrick_scale:!1,category:"travel_and_places"},N6={keywords:["building","bureau","work"],char:"🏢",fitzpatrick_scale:!1,category:"travel_and_places"},F6={keywords:["building","shopping","mall"],char:"🏬",fitzpatrick_scale:!1,category:"travel_and_places"},O6={keywords:["building","envelope","communication"],char:"🏣",fitzpatrick_scale:!1,category:"travel_and_places"},L6={keywords:["building","email"],char:"🏤",fitzpatrick_scale:!1,category:"travel_and_places"},R6={keywords:["building","health","surgery","doctor"],char:"🏥",fitzpatrick_scale:!1,category:"travel_and_places"},v6={keywords:["building","money","sales","cash","business","enterprise"],char:"🏦",fitzpatrick_scale:!1,category:"travel_and_places"},B6={keywords:["building","accomodation","checkin"],char:"🏨",fitzpatrick_scale:!1,category:"travel_and_places"},P6={keywords:["building","shopping","groceries"],char:"🏪",fitzpatrick_scale:!1,category:"travel_and_places"},M6={keywords:["building","student","education","learn","teach"],char:"🏫",fitzpatrick_scale:!1,category:"travel_and_places"},H6={keywords:["like","affection","dating"],char:"🏩",fitzpatrick_scale:!1,category:"travel_and_places"},U6={keywords:["love","like","affection","couple","marriage","bride","groom"],char:"💒",fitzpatrick_scale:!1,category:"travel_and_places"},j6={keywords:["art","culture","history"],char:"🏛",fitzpatrick_scale:!1,category:"travel_and_places"},q6={keywords:["building","religion","christ"],char:"⛪",fitzpatrick_scale:!1,category:"travel_and_places"},Y6={keywords:["islam","worship","minaret"],char:"🕌",fitzpatrick_scale:!1,category:"travel_and_places"},$6={keywords:["judaism","worship","temple","jewish"],char:"🕍",fitzpatrick_scale:!1,category:"travel_and_places"},V6={keywords:["mecca","mosque","islam"],char:"🕋",fitzpatrick_scale:!1,category:"travel_and_places"},W6={keywords:["temple","japan","kyoto"],char:"⛩",fitzpatrick_scale:!1,category:"travel_and_places"},G6={keywords:["time","accessories"],char:"⌚",fitzpatrick_scale:!1,category:"objects"},Q6={keywords:["technology","apple","gadgets","dial"],char:"📱",fitzpatrick_scale:!1,category:"objects"},X6={keywords:["iphone","incoming"],char:"📲",fitzpatrick_scale:!1,category:"objects"},K6={keywords:["technology","laptop","screen","display","monitor"],char:"💻",fitzpatrick_scale:!1,category:"objects"},J6={keywords:["technology","computer","type","input","text"],char:"⌨",fitzpatrick_scale:!1,category:"objects"},Z6={keywords:["technology","computing","screen"],char:"🖥",fitzpatrick_scale:!1,category:"objects"},ez={keywords:["paper","ink"],char:"🖨",fitzpatrick_scale:!1,category:"objects"},tz={keywords:["click"],char:"🖱",fitzpatrick_scale:!1,category:"objects"},az={keywords:["technology","trackpad"],char:"🖲",fitzpatrick_scale:!1,category:"objects"},rz={keywords:["game","play"],char:"🕹",fitzpatrick_scale:!1,category:"objects"},nz={keywords:["tool"],char:"🗜",fitzpatrick_scale:!1,category:"objects"},iz={keywords:["technology","record","data","disk","90s"],char:"💽",fitzpatrick_scale:!1,category:"objects"},sz={keywords:["oldschool","technology","save","90s","80s"],char:"💾",fitzpatrick_scale:!1,category:"objects"},oz={keywords:["technology","dvd","disk","disc","90s"],char:"💿",fitzpatrick_scale:!1,category:"objects"},cz={keywords:["cd","disk","disc"],char:"📀",fitzpatrick_scale:!1,category:"objects"},uz={keywords:["record","video","oldschool","90s","80s"],char:"📼",fitzpatrick_scale:!1,category:"objects"},lz={keywords:["gadgets","photography"],char:"📷",fitzpatrick_scale:!1,category:"objects"},fz={keywords:["photography","gadgets"],char:"📸",fitzpatrick_scale:!1,category:"objects"},hz={keywords:["film","record"],char:"📹",fitzpatrick_scale:!1,category:"objects"},dz={keywords:["film","record"],char:"🎥",fitzpatrick_scale:!1,category:"objects"},pz={keywords:["video","tape","record","movie"],char:"📽",fitzpatrick_scale:!1,category:"objects"},mz={keywords:["movie"],char:"🎞",fitzpatrick_scale:!1,category:"objects"},_z={keywords:["technology","communication","dial"],char:"📞",fitzpatrick_scale:!1,category:"objects"},gz={keywords:["technology","communication","dial","telephone"],char:"☎️",fitzpatrick_scale:!1,category:"objects"},yz={keywords:["bbcall","oldschool","90s"],char:"📟",fitzpatrick_scale:!1,category:"objects"},kz={keywords:["communication","technology"],char:"📠",fitzpatrick_scale:!1,category:"objects"},bz={keywords:["technology","program","oldschool","show","television"],char:"📺",fitzpatrick_scale:!1,category:"objects"},wz={keywords:["communication","music","podcast","program"],char:"📻",fitzpatrick_scale:!1,category:"objects"},Ez={keywords:["sing","recording","artist","talkshow"],char:"🎙",fitzpatrick_scale:!1,category:"objects"},Tz={keywords:["scale"],char:"🎚",fitzpatrick_scale:!1,category:"objects"},Az={keywords:["dial"],char:"🎛",fitzpatrick_scale:!1,category:"objects"},Cz={keywords:["magnetic","navigation","orienteering"],char:"🧭",fitzpatrick_scale:!1,category:"objects"},xz={keywords:["time","deadline"],char:"⏱",fitzpatrick_scale:!1,category:"objects"},Dz={keywords:["alarm"],char:"⏲",fitzpatrick_scale:!1,category:"objects"},zz={keywords:["time","wake"],char:"⏰",fitzpatrick_scale:!1,category:"objects"},Iz={keywords:["time"],char:"🕰",fitzpatrick_scale:!1,category:"objects"},Sz={keywords:["oldschool","time","countdown"],char:"⏳",fitzpatrick_scale:!1,category:"objects"},Nz={keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"⌛",fitzpatrick_scale:!1,category:"objects"},Fz={keywords:["communication","future","radio","space"],char:"📡",fitzpatrick_scale:!1,category:"objects"},Oz={keywords:["power","energy","sustain"],char:"🔋",fitzpatrick_scale:!1,category:"objects"},Lz={keywords:["charger","power"],char:"🔌",fitzpatrick_scale:!1,category:"objects"},Rz={keywords:["light","electricity","idea"],char:"💡",fitzpatrick_scale:!1,category:"objects"},vz={keywords:["dark","camping","sight","night"],char:"🔦",fitzpatrick_scale:!1,category:"objects"},Bz={keywords:["fire","wax"],char:"🕯",fitzpatrick_scale:!1,category:"objects"},Pz={keywords:["quench"],char:"🧯",fitzpatrick_scale:!1,category:"objects"},Mz={keywords:["bin","trash","rubbish","garbage","toss"],char:"🗑",fitzpatrick_scale:!1,category:"objects"},Hz={keywords:["barrell"],char:"🛢",fitzpatrick_scale:!1,category:"objects"},Uz={keywords:["dollar","bills","payment","sale"],char:"💸",fitzpatrick_scale:!1,category:"objects"},jz={keywords:["money","sales","bill","currency"],char:"💵",fitzpatrick_scale:!1,category:"objects"},qz={keywords:["money","sales","japanese","dollar","currency"],char:"💴",fitzpatrick_scale:!1,category:"objects"},Yz={keywords:["money","sales","dollar","currency"],char:"💶",fitzpatrick_scale:!1,category:"objects"},$z={keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"💷",fitzpatrick_scale:!1,category:"objects"},Vz={keywords:["dollar","payment","coins","sale"],char:"💰",fitzpatrick_scale:!1,category:"objects"},Wz={keywords:["money","sales","dollar","bill","payment","shopping"],char:"💳",fitzpatrick_scale:!1,category:"objects"},Gz={keywords:["blue","ruby","diamond","jewelry"],char:"💎",fitzpatrick_scale:!1,category:"objects"},Qz={keywords:["law","fairness","weight"],char:"⚖",fitzpatrick_scale:!1,category:"objects"},Xz={keywords:["tools","diy","fix","maintainer","mechanic"],char:"🧰",fitzpatrick_scale:!1,category:"objects"},Kz={keywords:["tools","diy","ikea","fix","maintainer"],char:"🔧",fitzpatrick_scale:!1,category:"objects"},Jz={keywords:["tools","build","create"],char:"🔨",fitzpatrick_scale:!1,category:"objects"},Zz={keywords:["tools","build","create"],char:"⚒",fitzpatrick_scale:!1,category:"objects"},eI={keywords:["tools","build","create"],char:"🛠",fitzpatrick_scale:!1,category:"objects"},tI={keywords:["tools","dig"],char:"⛏",fitzpatrick_scale:!1,category:"objects"},aI={keywords:["handy","tools","fix"],char:"🔩",fitzpatrick_scale:!1,category:"objects"},rI={keywords:["cog"],char:"⚙",fitzpatrick_scale:!1,category:"objects"},nI={keywords:["bricks"],char:"🧱",fitzpatrick_scale:!1,category:"objects"},iI={keywords:["lock","arrest"],char:"⛓",fitzpatrick_scale:!1,category:"objects"},sI={keywords:["attraction","magnetic"],char:"🧲",fitzpatrick_scale:!1,category:"objects"},oI={keywords:["violence","weapon","pistol","revolver"],char:"🔫",fitzpatrick_scale:!1,category:"objects"},cI={keywords:["boom","explode","explosion","terrorism"],char:"💣",fitzpatrick_scale:!1,category:"objects"},uI={keywords:["dynamite","boom","explode","explosion","explosive"],char:"🧨",fitzpatrick_scale:!1,category:"objects"},lI={keywords:["knife","blade","cutlery","kitchen","weapon"],char:"🔪",fitzpatrick_scale:!1,category:"objects"},fI={keywords:["weapon"],char:"🗡",fitzpatrick_scale:!1,category:"objects"},hI={keywords:["weapon"],char:"⚔",fitzpatrick_scale:!1,category:"objects"},dI={keywords:["protection","security"],char:"🛡",fitzpatrick_scale:!1,category:"objects"},pI={keywords:["kills","tobacco","cigarette","joint","smoke"],char:"🚬",fitzpatrick_scale:!1,category:"objects"},mI={keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"☠",fitzpatrick_scale:!1,category:"objects"},_I={keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"⚰",fitzpatrick_scale:!1,category:"objects"},gI={keywords:["dead","die","death","rip","ashes"],char:"⚱",fitzpatrick_scale:!1,category:"objects"},yI={keywords:["vase","jar"],char:"🏺",fitzpatrick_scale:!1,category:"objects"},kI={keywords:["disco","party","magic","circus","fortune_teller"],char:"🔮",fitzpatrick_scale:!1,category:"objects"},bI={keywords:["dhikr","religious"],char:"📿",fitzpatrick_scale:!1,category:"objects"},wI={keywords:["bead","charm"],char:"🧿",fitzpatrick_scale:!1,category:"objects"},EI={keywords:["hair","salon","style"],char:"💈",fitzpatrick_scale:!1,category:"objects"},TI={keywords:["distilling","science","experiment","chemistry"],char:"⚗",fitzpatrick_scale:!1,category:"objects"},AI={keywords:["stars","space","zoom","science","astronomy"],char:"🔭",fitzpatrick_scale:!1,category:"objects"},CI={keywords:["laboratory","experiment","zoomin","science","study"],char:"🔬",fitzpatrick_scale:!1,category:"objects"},xI={keywords:["embarrassing"],char:"🕳",fitzpatrick_scale:!1,category:"objects"},DI={keywords:["health","medicine","doctor","pharmacy","drug"],char:"💊",fitzpatrick_scale:!1,category:"objects"},zI={keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"💉",fitzpatrick_scale:!1,category:"objects"},II={keywords:["biologist","genetics","life"],char:"🧬",fitzpatrick_scale:!1,category:"objects"},SI={keywords:["amoeba","bacteria","germs"],char:"🦠",fitzpatrick_scale:!1,category:"objects"},NI={keywords:["bacteria","biology","culture","lab"],char:"🧫",fitzpatrick_scale:!1,category:"objects"},FI={keywords:["chemistry","experiment","lab","science"],char:"🧪",fitzpatrick_scale:!1,category:"objects"},OI={keywords:["weather","temperature","hot","cold"],char:"🌡",fitzpatrick_scale:!1,category:"objects"},LI={keywords:["cleaning","sweeping","witch"],char:"🧹",fitzpatrick_scale:!1,category:"objects"},RI={keywords:["laundry"],char:"🧺",fitzpatrick_scale:!1,category:"objects"},vI={keywords:["roll"],char:"🧻",fitzpatrick_scale:!1,category:"objects"},BI={keywords:["sale","tag"],char:"🏷",fitzpatrick_scale:!1,category:"objects"},PI={keywords:["favorite","label","save"],char:"🔖",fitzpatrick_scale:!1,category:"objects"},MI={keywords:["restroom","wc","washroom","bathroom","potty"],char:"🚽",fitzpatrick_scale:!1,category:"objects"},HI={keywords:["clean","water","bathroom"],char:"🚿",fitzpatrick_scale:!1,category:"objects"},UI={keywords:["clean","shower","bathroom"],char:"🛁",fitzpatrick_scale:!1,category:"objects"},jI={keywords:["bar","bathing","cleaning","lather"],char:"🧼",fitzpatrick_scale:!1,category:"objects"},qI={keywords:["absorbing","cleaning","porous"],char:"🧽",fitzpatrick_scale:!1,category:"objects"},YI={keywords:["moisturizer","sunscreen"],char:"🧴",fitzpatrick_scale:!1,category:"objects"},$I={keywords:["lock","door","password"],char:"🔑",fitzpatrick_scale:!1,category:"objects"},VI={keywords:["lock","door","password"],char:"🗝",fitzpatrick_scale:!1,category:"objects"},WI={keywords:["read","chill"],char:"🛋",fitzpatrick_scale:!1,category:"objects"},GI={keywords:["bed","rest"],char:"🛌",fitzpatrick_scale:!0,category:"objects"},QI={keywords:["sleep","rest"],char:"🛏",fitzpatrick_scale:!1,category:"objects"},XI={keywords:["house","entry","exit"],char:"🚪",fitzpatrick_scale:!1,category:"objects"},KI={keywords:["service"],char:"🛎",fitzpatrick_scale:!1,category:"objects"},JI={keywords:["plush","stuffed"],char:"🧸",fitzpatrick_scale:!1,category:"objects"},ZI={keywords:["photography"],char:"🖼",fitzpatrick_scale:!1,category:"objects"},eS={keywords:["location","direction"],char:"🗺",fitzpatrick_scale:!1,category:"objects"},tS={keywords:["weather","summer"],char:"⛱",fitzpatrick_scale:!1,category:"objects"},aS={keywords:["rock","easter island","moai"],char:"🗿",fitzpatrick_scale:!1,category:"objects"},rS={keywords:["mall","buy","purchase"],char:"🛍",fitzpatrick_scale:!1,category:"objects"},nS={keywords:["trolley"],char:"🛒",fitzpatrick_scale:!1,category:"objects"},iS={keywords:["party","celebration","birthday","circus"],char:"🎈",fitzpatrick_scale:!1,category:"objects"},sS={keywords:["fish","japanese","koinobori","carp","banner"],char:"🎏",fitzpatrick_scale:!1,category:"objects"},oS={keywords:["decoration","pink","girl","bowtie"],char:"🎀",fitzpatrick_scale:!1,category:"objects"},cS={keywords:["present","birthday","christmas","xmas"],char:"🎁",fitzpatrick_scale:!1,category:"objects"},uS={keywords:["festival","party","birthday","circus"],char:"🎊",fitzpatrick_scale:!1,category:"objects"},lS={keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"🎉",fitzpatrick_scale:!1,category:"objects"},fS={keywords:["japanese","toy","kimono"],char:"🎎",fitzpatrick_scale:!1,category:"objects"},hS={keywords:["nature","ding","spring","bell"],char:"🎐",fitzpatrick_scale:!1,category:"objects"},dS={keywords:["japanese","nation","country","border"],char:"🎌",fitzpatrick_scale:!1,category:"objects"},pS={keywords:["light","paper","halloween","spooky"],char:"🏮",fitzpatrick_scale:!1,category:"objects"},mS={keywords:["gift"],char:"🧧",fitzpatrick_scale:!1,category:"objects"},_S={keywords:["letter","postal","inbox","communication"],char:"✉️",fitzpatrick_scale:!1,category:"objects"},gS={keywords:["email","communication"],char:"📩",fitzpatrick_scale:!1,category:"objects"},yS={keywords:["email","inbox"],char:"📨",fitzpatrick_scale:!1,category:"objects"},kS={keywords:["email","like","affection","envelope","valentines"],char:"💌",fitzpatrick_scale:!1,category:"objects"},bS={keywords:["email","letter","envelope"],char:"📮",fitzpatrick_scale:!1,category:"objects"},wS={keywords:["email","communication","inbox"],char:"📪",fitzpatrick_scale:!1,category:"objects"},ES={keywords:["email","inbox","communication"],char:"📫",fitzpatrick_scale:!1,category:"objects"},TS={keywords:["email","inbox","communication"],char:"📬",fitzpatrick_scale:!1,category:"objects"},AS={keywords:["email","inbox"],char:"📭",fitzpatrick_scale:!1,category:"objects"},CS={keywords:["instrument","music"],char:"📯",fitzpatrick_scale:!1,category:"objects"},xS={keywords:["email","documents"],char:"📥",fitzpatrick_scale:!1,category:"objects"},DS={keywords:["inbox","email"],char:"📤",fitzpatrick_scale:!1,category:"objects"},zS={keywords:["documents","ancient","history","paper"],char:"📜",fitzpatrick_scale:!1,category:"objects"},IS={keywords:["documents","office","paper"],char:"📃",fitzpatrick_scale:!1,category:"objects"},SS={keywords:["favorite","save","order","tidy"],char:"📑",fitzpatrick_scale:!1,category:"objects"},NS={keywords:["accounting","expenses"],char:"🧾",fitzpatrick_scale:!1,category:"objects"},FS={keywords:["graph","presentation","stats"],char:"📊",fitzpatrick_scale:!1,category:"objects"},OS={keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"📈",fitzpatrick_scale:!1,category:"objects"},LS={keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"📉",fitzpatrick_scale:!1,category:"objects"},RS={keywords:["documents","office","paper","information"],char:"📄",fitzpatrick_scale:!1,category:"objects"},vS={keywords:["calendar","schedule"],char:"📅",fitzpatrick_scale:!1,category:"objects"},BS={keywords:["schedule","date","planning"],char:"📆",fitzpatrick_scale:!1,category:"objects"},PS={keywords:["date","schedule","planning"],char:"🗓",fitzpatrick_scale:!1,category:"objects"},MS={keywords:["business","stationery"],char:"📇",fitzpatrick_scale:!1,category:"objects"},HS={keywords:["business","stationery"],char:"🗃",fitzpatrick_scale:!1,category:"objects"},US={keywords:["election","vote"],char:"🗳",fitzpatrick_scale:!1,category:"objects"},jS={keywords:["filing","organizing"],char:"🗄",fitzpatrick_scale:!1,category:"objects"},qS={keywords:["stationery","documents"],char:"📋",fitzpatrick_scale:!1,category:"objects"},YS={keywords:["memo","stationery"],char:"🗒",fitzpatrick_scale:!1,category:"objects"},$S={keywords:["documents","business","office"],char:"📁",fitzpatrick_scale:!1,category:"objects"},VS={keywords:["documents","load"],char:"📂",fitzpatrick_scale:!1,category:"objects"},WS={keywords:["organizing","business","stationery"],char:"🗂",fitzpatrick_scale:!1,category:"objects"},GS={keywords:["press","headline"],char:"🗞",fitzpatrick_scale:!1,category:"objects"},QS={keywords:["press","headline"],char:"📰",fitzpatrick_scale:!1,category:"objects"},XS={keywords:["stationery","record","notes","paper","study"],char:"📓",fitzpatrick_scale:!1,category:"objects"},KS={keywords:["read","library","knowledge","textbook","learn"],char:"📕",fitzpatrick_scale:!1,category:"objects"},JS={keywords:["read","library","knowledge","study"],char:"📗",fitzpatrick_scale:!1,category:"objects"},ZS={keywords:["read","library","knowledge","learn","study"],char:"📘",fitzpatrick_scale:!1,category:"objects"},eN={keywords:["read","library","knowledge","textbook","study"],char:"📙",fitzpatrick_scale:!1,category:"objects"},tN={keywords:["classroom","notes","record","paper","study"],char:"📔",fitzpatrick_scale:!1,category:"objects"},aN={keywords:["notes","paper"],char:"📒",fitzpatrick_scale:!1,category:"objects"},rN={keywords:["literature","library","study"],char:"📚",fitzpatrick_scale:!1,category:"objects"},nN={keywords:["book","read","library","knowledge","literature","learn","study"],char:"📖",fitzpatrick_scale:!1,category:"objects"},iN={keywords:["diaper"],char:"🧷",fitzpatrick_scale:!1,category:"objects"},sN={keywords:["rings","url"],char:"🔗",fitzpatrick_scale:!1,category:"objects"},oN={keywords:["documents","stationery"],char:"📎",fitzpatrick_scale:!1,category:"objects"},cN={keywords:["documents","stationery"],char:"🖇",fitzpatrick_scale:!1,category:"objects"},uN={keywords:["stationery","cut"],char:"✂️",fitzpatrick_scale:!1,category:"objects"},lN={keywords:["stationery","math","architect","sketch"],char:"📐",fitzpatrick_scale:!1,category:"objects"},fN={keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"📏",fitzpatrick_scale:!1,category:"objects"},hN={keywords:["calculation"],char:"🧮",fitzpatrick_scale:!1,category:"objects"},dN={keywords:["stationery","mark","here"],char:"📌",fitzpatrick_scale:!1,category:"objects"},pN={keywords:["stationery","location","map","here"],char:"📍",fitzpatrick_scale:!1,category:"objects"},mN={keywords:["mark","milestone","place"],char:"🚩",fitzpatrick_scale:!1,category:"objects"},_N={keywords:["losing","loser","lost","surrender","give up","fail"],char:"🏳",fitzpatrick_scale:!1,category:"objects"},gN={keywords:["pirate"],char:"🏴",fitzpatrick_scale:!1,category:"objects"},yN={keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"🏳️‍🌈",fitzpatrick_scale:!1,category:"objects"},kN={keywords:["security","privacy"],char:"🔐",fitzpatrick_scale:!1,category:"objects"},bN={keywords:["security","password","padlock"],char:"🔒",fitzpatrick_scale:!1,category:"objects"},wN={keywords:["privacy","security"],char:"🔓",fitzpatrick_scale:!1,category:"objects"},EN={keywords:["security","secret"],char:"🔏",fitzpatrick_scale:!1,category:"objects"},TN={keywords:["stationery","writing","write"],char:"🖊",fitzpatrick_scale:!1,category:"objects"},AN={keywords:["stationery","writing","write"],char:"🖋",fitzpatrick_scale:!1,category:"objects"},CN={keywords:["pen","stationery","writing","write"],char:"✒️",fitzpatrick_scale:!1,category:"objects"},xN={keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"📝",fitzpatrick_scale:!1,category:"objects"},DN={keywords:["stationery","write","paper","writing","school","study"],char:"✏️",fitzpatrick_scale:!1,category:"objects"},zN={keywords:["drawing","creativity"],char:"🖍",fitzpatrick_scale:!1,category:"objects"},IN={keywords:["drawing","creativity","art"],char:"🖌",fitzpatrick_scale:!1,category:"objects"},SN={keywords:["search","zoom","find","detective"],char:"🔍",fitzpatrick_scale:!1,category:"objects"},NN={keywords:["search","zoom","find","detective"],char:"🔎",fitzpatrick_scale:!1,category:"objects"},FN={keywords:["love","like","valentines"],char:"❤️",fitzpatrick_scale:!1,category:"symbols"},ON={keywords:["love","like","affection","valentines"],char:"🧡",fitzpatrick_scale:!1,category:"symbols"},LN={keywords:["love","like","affection","valentines"],char:"💛",fitzpatrick_scale:!1,category:"symbols"},RN={keywords:["love","like","affection","valentines"],char:"💚",fitzpatrick_scale:!1,category:"symbols"},vN={keywords:["love","like","affection","valentines"],char:"💙",fitzpatrick_scale:!1,category:"symbols"},BN={keywords:["love","like","affection","valentines"],char:"💜",fitzpatrick_scale:!1,category:"symbols"},PN={keywords:["evil"],char:"🖤",fitzpatrick_scale:!1,category:"symbols"},MN={keywords:["sad","sorry","break","heart","heartbreak"],char:"💔",fitzpatrick_scale:!1,category:"symbols"},HN={keywords:["decoration","love"],char:"❣",fitzpatrick_scale:!1,category:"symbols"},UN={keywords:["love","like","affection","valentines","heart"],char:"💕",fitzpatrick_scale:!1,category:"symbols"},jN={keywords:["love","like","affection","valentines"],char:"💞",fitzpatrick_scale:!1,category:"symbols"},qN={keywords:["love","like","affection","valentines","pink","heart"],char:"💓",fitzpatrick_scale:!1,category:"symbols"},YN={keywords:["like","love","affection","valentines","pink"],char:"💗",fitzpatrick_scale:!1,category:"symbols"},$N={keywords:["love","like","affection","valentines"],char:"💖",fitzpatrick_scale:!1,category:"symbols"},VN={keywords:["love","like","heart","affection","valentines"],char:"💘",fitzpatrick_scale:!1,category:"symbols"},WN={keywords:["love","valentines"],char:"💝",fitzpatrick_scale:!1,category:"symbols"},GN={keywords:["purple-square","love","like"],char:"💟",fitzpatrick_scale:!1,category:"symbols"},QN={keywords:["hippie"],char:"☮",fitzpatrick_scale:!1,category:"symbols"},XN={keywords:["christianity"],char:"✝",fitzpatrick_scale:!1,category:"symbols"},KN={keywords:["islam"],char:"☪",fitzpatrick_scale:!1,category:"symbols"},JN={keywords:["hinduism","buddhism","sikhism","jainism"],char:"🕉",fitzpatrick_scale:!1,category:"symbols"},ZN={keywords:["hinduism","buddhism","sikhism","jainism"],char:"☸",fitzpatrick_scale:!1,category:"symbols"},e4={keywords:["judaism"],char:"✡",fitzpatrick_scale:!1,category:"symbols"},t4={keywords:["purple-square","religion","jewish","hexagram"],char:"🔯",fitzpatrick_scale:!1,category:"symbols"},a4={keywords:["hanukkah","candles","jewish"],char:"🕎",fitzpatrick_scale:!1,category:"symbols"},r4={keywords:["balance"],char:"☯",fitzpatrick_scale:!1,category:"symbols"},n4={keywords:["suppedaneum","religion"],char:"☦",fitzpatrick_scale:!1,category:"symbols"},i4={keywords:["religion","church","temple","prayer"],char:"🛐",fitzpatrick_scale:!1,category:"symbols"},s4={keywords:["sign","purple-square","constellation","astrology"],char:"⛎",fitzpatrick_scale:!1,category:"symbols"},o4={keywords:["sign","purple-square","zodiac","astrology"],char:"♈",fitzpatrick_scale:!1,category:"symbols"},c4={keywords:["purple-square","sign","zodiac","astrology"],char:"♉",fitzpatrick_scale:!1,category:"symbols"},u4={keywords:["sign","zodiac","purple-square","astrology"],char:"♊",fitzpatrick_scale:!1,category:"symbols"},l4={keywords:["sign","zodiac","purple-square","astrology"],char:"♋",fitzpatrick_scale:!1,category:"symbols"},f4={keywords:["sign","purple-square","zodiac","astrology"],char:"♌",fitzpatrick_scale:!1,category:"symbols"},h4={keywords:["sign","zodiac","purple-square","astrology"],char:"♍",fitzpatrick_scale:!1,category:"symbols"},d4={keywords:["sign","purple-square","zodiac","astrology"],char:"♎",fitzpatrick_scale:!1,category:"symbols"},p4={keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"♏",fitzpatrick_scale:!1,category:"symbols"},m4={keywords:["sign","zodiac","purple-square","astrology"],char:"♐",fitzpatrick_scale:!1,category:"symbols"},_4={keywords:["sign","zodiac","purple-square","astrology"],char:"♑",fitzpatrick_scale:!1,category:"symbols"},g4={keywords:["sign","purple-square","zodiac","astrology"],char:"♒",fitzpatrick_scale:!1,category:"symbols"},y4={keywords:["purple-square","sign","zodiac","astrology"],char:"♓",fitzpatrick_scale:!1,category:"symbols"},k4={keywords:["purple-square","words"],char:"🆔",fitzpatrick_scale:!1,category:"symbols"},b4={keywords:["science","physics","chemistry"],char:"⚛",fitzpatrick_scale:!1,category:"symbols"},w4={keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"🈳",fitzpatrick_scale:!1,category:"symbols"},E4={keywords:["cut","divide","chinese","kanji","pink-square"],char:"🈹",fitzpatrick_scale:!1,category:"symbols"},T4={keywords:["nuclear","danger"],char:"☢",fitzpatrick_scale:!1,category:"symbols"},A4={keywords:["danger"],char:"☣",fitzpatrick_scale:!1,category:"symbols"},C4={keywords:["mute","orange-square","silence","quiet"],char:"📴",fitzpatrick_scale:!1,category:"symbols"},x4={keywords:["orange-square","phone"],char:"📳",fitzpatrick_scale:!1,category:"symbols"},D4={keywords:["orange-square","chinese","have","kanji"],char:"🈶",fitzpatrick_scale:!1,category:"symbols"},z4={keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"🈚",fitzpatrick_scale:!1,category:"symbols"},I4={keywords:["chinese","japanese","kanji","orange-square"],char:"🈸",fitzpatrick_scale:!1,category:"symbols"},S4={keywords:["japanese","opening hours","orange-square"],char:"🈺",fitzpatrick_scale:!1,category:"symbols"},N4={keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"🈷️",fitzpatrick_scale:!1,category:"symbols"},F4={keywords:["orange-square","shape","polygon"],char:"✴️",fitzpatrick_scale:!1,category:"symbols"},O4={keywords:["words","orange-square"],char:"🆚",fitzpatrick_scale:!1,category:"symbols"},L4={keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"🉑",fitzpatrick_scale:!1,category:"symbols"},R4={keywords:["japanese","spring"],char:"💮",fitzpatrick_scale:!1,category:"symbols"},v4={keywords:["chinese","kanji","obtain","get","circle"],char:"🉐",fitzpatrick_scale:!1,category:"symbols"},B4={keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"㊙️",fitzpatrick_scale:!1,category:"symbols"},P4={keywords:["chinese","kanji","japanese","red-circle"],char:"㊗️",fitzpatrick_scale:!1,category:"symbols"},M4={keywords:["japanese","chinese","join","kanji","red-square"],char:"🈴",fitzpatrick_scale:!1,category:"symbols"},H4={keywords:["full","chinese","japanese","red-square","kanji"],char:"🈵",fitzpatrick_scale:!1,category:"symbols"},U4={keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"🈲",fitzpatrick_scale:!1,category:"symbols"},j4={keywords:["red-square","alphabet","letter"],char:"🅰️",fitzpatrick_scale:!1,category:"symbols"},q4={keywords:["red-square","alphabet","letter"],char:"🅱️",fitzpatrick_scale:!1,category:"symbols"},Y4={keywords:["red-square","alphabet"],char:"🆎",fitzpatrick_scale:!1,category:"symbols"},$4={keywords:["alphabet","words","red-square"],char:"🆑",fitzpatrick_scale:!1,category:"symbols"},V4={keywords:["alphabet","red-square","letter"],char:"🅾️",fitzpatrick_scale:!1,category:"symbols"},W4={keywords:["help","red-square","words","emergency","911"],char:"🆘",fitzpatrick_scale:!1,category:"symbols"},G4={keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"⛔",fitzpatrick_scale:!1,category:"symbols"},Q4={keywords:["fire","forbid"],char:"📛",fitzpatrick_scale:!1,category:"symbols"},X4={keywords:["forbid","stop","limit","denied","disallow","circle"],char:"🚫",fitzpatrick_scale:!1,category:"symbols"},K4={keywords:["no","delete","remove","cancel","red"],char:"❌",fitzpatrick_scale:!1,category:"symbols"},J4={keywords:["circle","round"],char:"⭕",fitzpatrick_scale:!1,category:"symbols"},Z4={keywords:["stop"],char:"🛑",fitzpatrick_scale:!1,category:"symbols"},eF={keywords:["angry","mad"],char:"💢",fitzpatrick_scale:!1,category:"symbols"},tF={keywords:["bath","warm","relax"],char:"♨️",fitzpatrick_scale:!1,category:"symbols"},aF={keywords:["rules","crossing","walking","circle"],char:"🚷",fitzpatrick_scale:!1,category:"symbols"},rF={keywords:["trash","bin","garbage","circle"],char:"🚯",fitzpatrick_scale:!1,category:"symbols"},nF={keywords:["cyclist","prohibited","circle"],char:"🚳",fitzpatrick_scale:!1,category:"symbols"},iF={keywords:["18","drink","pub","night","minor","circle"],char:"🔞",fitzpatrick_scale:!1,category:"symbols"},sF={keywords:["iphone","mute","circle"],char:"📵",fitzpatrick_scale:!1,category:"symbols"},oF={keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"❗",fitzpatrick_scale:!1,category:"symbols"},cF={keywords:["surprise","punctuation","gray","wow","warning"],char:"❕",fitzpatrick_scale:!1,category:"symbols"},uF={keywords:["doubt","confused"],char:"❓",fitzpatrick_scale:!1,category:"symbols"},lF={keywords:["doubts","gray","huh","confused"],char:"❔",fitzpatrick_scale:!1,category:"symbols"},fF={keywords:["exclamation","surprise"],char:"‼️",fitzpatrick_scale:!1,category:"symbols"},hF={keywords:["wat","punctuation","surprise"],char:"⁉️",fitzpatrick_scale:!1,category:"symbols"},dF={keywords:["sun","afternoon","warm","summer"],char:"🔅",fitzpatrick_scale:!1,category:"symbols"},pF={keywords:["sun","light"],char:"🔆",fitzpatrick_scale:!1,category:"symbols"},mF={keywords:["weapon","spear"],char:"🔱",fitzpatrick_scale:!1,category:"symbols"},_F={keywords:["decorative","scout"],char:"⚜",fitzpatrick_scale:!1,category:"symbols"},gF={keywords:["graph","presentation","stats","business","economics","bad"],char:"〽️",fitzpatrick_scale:!1,category:"symbols"},yF={keywords:["exclamation","wip","alert","error","problem","issue"],char:"⚠️",fitzpatrick_scale:!1,category:"symbols"},kF={keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"🚸",fitzpatrick_scale:!1,category:"symbols"},bF={keywords:["badge","shield"],char:"🔰",fitzpatrick_scale:!1,category:"symbols"},wF={keywords:["arrow","environment","garbage","trash"],char:"♻️",fitzpatrick_scale:!1,category:"symbols"},EF={keywords:["chinese","point","green-square","kanji"],char:"🈯",fitzpatrick_scale:!1,category:"symbols"},TF={keywords:["green-square","graph","presentation","stats"],char:"💹",fitzpatrick_scale:!1,category:"symbols"},AF={keywords:["stars","green-square","awesome","good","fireworks"],char:"❇️",fitzpatrick_scale:!1,category:"symbols"},CF={keywords:["star","sparkle","green-square"],char:"✳️",fitzpatrick_scale:!1,category:"symbols"},xF={keywords:["x","green-square","no","deny"],char:"❎",fitzpatrick_scale:!1,category:"symbols"},DF={keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"✅",fitzpatrick_scale:!1,category:"symbols"},zF={keywords:["jewel","blue","gem","crystal","fancy"],char:"💠",fitzpatrick_scale:!1,category:"symbols"},IF={keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"🌀",fitzpatrick_scale:!1,category:"symbols"},SF={keywords:["tape","cassette"],char:"➿",fitzpatrick_scale:!1,category:"symbols"},NF={keywords:["earth","international","world","internet","interweb","i18n"],char:"🌐",fitzpatrick_scale:!1,category:"symbols"},FF={keywords:["alphabet","blue-circle","letter"],char:"Ⓜ️",fitzpatrick_scale:!1,category:"symbols"},OF={keywords:["money","sales","cash","blue-square","payment","bank"],char:"🏧",fitzpatrick_scale:!1,category:"symbols"},LF={keywords:["japanese","blue-square","katakana"],char:"🈂️",fitzpatrick_scale:!1,category:"symbols"},RF={keywords:["custom","blue-square"],char:"🛂",fitzpatrick_scale:!1,category:"symbols"},vF={keywords:["passport","border","blue-square"],char:"🛃",fitzpatrick_scale:!1,category:"symbols"},BF={keywords:["blue-square","airport","transport"],char:"🛄",fitzpatrick_scale:!1,category:"symbols"},PF={keywords:["blue-square","travel"],char:"🛅",fitzpatrick_scale:!1,category:"symbols"},MF={keywords:["blue-square","disabled","a11y","accessibility"],char:"♿",fitzpatrick_scale:!1,category:"symbols"},HF={keywords:["cigarette","blue-square","smell","smoke"],char:"🚭",fitzpatrick_scale:!1,category:"symbols"},UF={keywords:["toilet","restroom","blue-square"],char:"🚾",fitzpatrick_scale:!1,category:"symbols"},jF={keywords:["cars","blue-square","alphabet","letter"],char:"🅿️",fitzpatrick_scale:!1,category:"symbols"},qF={keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"🚰",fitzpatrick_scale:!1,category:"symbols"},YF={keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"🚹",fitzpatrick_scale:!1,category:"symbols"},$F={keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"🚺",fitzpatrick_scale:!1,category:"symbols"},VF={keywords:["orange-square","child"],char:"🚼",fitzpatrick_scale:!1,category:"symbols"},WF={keywords:["blue-square","toilet","refresh","wc","gender"],char:"🚻",fitzpatrick_scale:!1,category:"symbols"},GF={keywords:["blue-square","sign","human","info"],char:"🚮",fitzpatrick_scale:!1,category:"symbols"},QF={keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"🎦",fitzpatrick_scale:!1,category:"symbols"},XF={keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"📶",fitzpatrick_scale:!1,category:"symbols"},KF={keywords:["blue-square","here","katakana","japanese","destination"],char:"🈁",fitzpatrick_scale:!1,category:"symbols"},JF={keywords:["blue-square","words","shape","icon"],char:"🆖",fitzpatrick_scale:!1,category:"symbols"},ZF={keywords:["good","agree","yes","blue-square"],char:"🆗",fitzpatrick_scale:!1,category:"symbols"},eO={keywords:["blue-square","above","high"],char:"🆙",fitzpatrick_scale:!1,category:"symbols"},tO={keywords:["words","blue-square"],char:"🆒",fitzpatrick_scale:!1,category:"symbols"},aO={keywords:["blue-square","words"],char:"🆓",fitzpatrick_scale:!1,category:"symbols"},rO={keywords:["0","numbers","blue-square","null"],char:"0️⃣",fitzpatrick_scale:!1,category:"symbols"},nO={keywords:["blue-square","numbers","1"],char:"1️⃣",fitzpatrick_scale:!1,category:"symbols"},iO={keywords:["numbers","2","prime","blue-square"],char:"2️⃣",fitzpatrick_scale:!1,category:"symbols"},sO={keywords:["3","numbers","prime","blue-square"],char:"3️⃣",fitzpatrick_scale:!1,category:"symbols"},oO={keywords:["4","numbers","blue-square"],char:"4️⃣",fitzpatrick_scale:!1,category:"symbols"},cO={keywords:["5","numbers","blue-square","prime"],char:"5️⃣",fitzpatrick_scale:!1,category:"symbols"},uO={keywords:["6","numbers","blue-square"],char:"6️⃣",fitzpatrick_scale:!1,category:"symbols"},lO={keywords:["7","numbers","blue-square","prime"],char:"7️⃣",fitzpatrick_scale:!1,category:"symbols"},fO={keywords:["8","blue-square","numbers"],char:"8️⃣",fitzpatrick_scale:!1,category:"symbols"},hO={keywords:["blue-square","numbers","9"],char:"9️⃣",fitzpatrick_scale:!1,category:"symbols"},dO={keywords:["numbers","10","blue-square"],char:"🔟",fitzpatrick_scale:!1,category:"symbols"},pO={keywords:["star","keycap"],char:"*⃣",fitzpatrick_scale:!1,category:"symbols"},mO={keywords:["blue-square"],char:"⏏️",fitzpatrick_scale:!1,category:"symbols"},_O={keywords:["blue-square","right","direction","play"],char:"▶️",fitzpatrick_scale:!1,category:"symbols"},gO={keywords:["pause","blue-square"],char:"⏸",fitzpatrick_scale:!1,category:"symbols"},yO={keywords:["forward","next","blue-square"],char:"⏭",fitzpatrick_scale:!1,category:"symbols"},kO={keywords:["blue-square"],char:"⏹",fitzpatrick_scale:!1,category:"symbols"},bO={keywords:["blue-square"],char:"⏺",fitzpatrick_scale:!1,category:"symbols"},wO={keywords:["blue-square","play","pause"],char:"⏯",fitzpatrick_scale:!1,category:"symbols"},EO={keywords:["backward"],char:"⏮",fitzpatrick_scale:!1,category:"symbols"},TO={keywords:["blue-square","play","speed","continue"],char:"⏩",fitzpatrick_scale:!1,category:"symbols"},AO={keywords:["play","blue-square"],char:"⏪",fitzpatrick_scale:!1,category:"symbols"},CO={keywords:["blue-square","shuffle","music","random"],char:"🔀",fitzpatrick_scale:!1,category:"symbols"},xO={keywords:["loop","record"],char:"🔁",fitzpatrick_scale:!1,category:"symbols"},DO={keywords:["blue-square","loop"],char:"🔂",fitzpatrick_scale:!1,category:"symbols"},zO={keywords:["blue-square","left","direction"],char:"◀️",fitzpatrick_scale:!1,category:"symbols"},IO={keywords:["blue-square","triangle","direction","point","forward","top"],char:"🔼",fitzpatrick_scale:!1,category:"symbols"},SO={keywords:["blue-square","direction","bottom"],char:"🔽",fitzpatrick_scale:!1,category:"symbols"},NO={keywords:["blue-square","direction","top"],char:"⏫",fitzpatrick_scale:!1,category:"symbols"},FO={keywords:["blue-square","direction","bottom"],char:"⏬",fitzpatrick_scale:!1,category:"symbols"},OO={keywords:["blue-square","next"],char:"➡️",fitzpatrick_scale:!1,category:"symbols"},LO={keywords:["blue-square","previous","back"],char:"⬅️",fitzpatrick_scale:!1,category:"symbols"},RO={keywords:["blue-square","continue","top","direction"],char:"⬆️",fitzpatrick_scale:!1,category:"symbols"},vO={keywords:["blue-square","direction","bottom"],char:"⬇️",fitzpatrick_scale:!1,category:"symbols"},BO={keywords:["blue-square","point","direction","diagonal","northeast"],char:"↗️",fitzpatrick_scale:!1,category:"symbols"},PO={keywords:["blue-square","direction","diagonal","southeast"],char:"↘️",fitzpatrick_scale:!1,category:"symbols"},MO={keywords:["blue-square","direction","diagonal","southwest"],char:"↙️",fitzpatrick_scale:!1,category:"symbols"},HO={keywords:["blue-square","point","direction","diagonal","northwest"],char:"↖️",fitzpatrick_scale:!1,category:"symbols"},UO={keywords:["blue-square","direction","way","vertical"],char:"↕️",fitzpatrick_scale:!1,category:"symbols"},jO={keywords:["shape","direction","horizontal","sideways"],char:"↔️",fitzpatrick_scale:!1,category:"symbols"},qO={keywords:["blue-square","sync","cycle"],char:"🔄",fitzpatrick_scale:!1,category:"symbols"},YO={keywords:["blue-square","return","rotate","direction"],char:"↪️",fitzpatrick_scale:!1,category:"symbols"},$O={keywords:["back","return","blue-square","undo","enter"],char:"↩️",fitzpatrick_scale:!1,category:"symbols"},VO={keywords:["blue-square","direction","top"],char:"⤴️",fitzpatrick_scale:!1,category:"symbols"},WO={keywords:["blue-square","direction","bottom"],char:"⤵️",fitzpatrick_scale:!1,category:"symbols"},GO={keywords:["symbol","blue-square","twitter"],char:"#️⃣",fitzpatrick_scale:!1,category:"symbols"},QO={keywords:["blue-square","alphabet","letter"],char:"ℹ️",fitzpatrick_scale:!1,category:"symbols"},XO={keywords:["blue-square","alphabet"],char:"🔤",fitzpatrick_scale:!1,category:"symbols"},KO={keywords:["blue-square","alphabet"],char:"🔡",fitzpatrick_scale:!1,category:"symbols"},JO={keywords:["alphabet","words","blue-square"],char:"🔠",fitzpatrick_scale:!1,category:"symbols"},ZO={keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"🔣",fitzpatrick_scale:!1,category:"symbols"},eL={keywords:["score","tone","sound"],char:"🎵",fitzpatrick_scale:!1,category:"symbols"},tL={keywords:["music","score"],char:"🎶",fitzpatrick_scale:!1,category:"symbols"},aL={keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"〰️",fitzpatrick_scale:!1,category:"symbols"},rL={keywords:["scribble","draw","shape","squiggle"],char:"➰",fitzpatrick_scale:!1,category:"symbols"},nL={keywords:["ok","nike","answer","yes","tick"],char:"✔️",fitzpatrick_scale:!1,category:"symbols"},iL={keywords:["sync","cycle","round","repeat"],char:"🔃",fitzpatrick_scale:!1,category:"symbols"},sL={keywords:["math","calculation","addition","more","increase"],char:"➕",fitzpatrick_scale:!1,category:"symbols"},oL={keywords:["math","calculation","subtract","less"],char:"➖",fitzpatrick_scale:!1,category:"symbols"},cL={keywords:["divide","math","calculation"],char:"➗",fitzpatrick_scale:!1,category:"symbols"},uL={keywords:["math","calculation"],char:"✖️",fitzpatrick_scale:!1,category:"symbols"},lL={keywords:["forever"],char:"♾",fitzpatrick_scale:!1,category:"symbols"},fL={keywords:["money","sales","payment","currency","buck"],char:"💲",fitzpatrick_scale:!1,category:"symbols"},hL={keywords:["money","sales","dollar","travel"],char:"💱",fitzpatrick_scale:!1,category:"symbols"},dL={keywords:["ip","license","circle","law","legal"],char:"©️",fitzpatrick_scale:!1,category:"symbols"},pL={keywords:["alphabet","circle"],char:"®️",fitzpatrick_scale:!1,category:"symbols"},mL={keywords:["trademark","brand","law","legal"],char:"™️",fitzpatrick_scale:!1,category:"symbols"},_L={keywords:["words","arrow"],char:"🔚",fitzpatrick_scale:!1,category:"symbols"},gL={keywords:["arrow","words","return"],char:"🔙",fitzpatrick_scale:!1,category:"symbols"},yL={keywords:["arrow","words"],char:"🔛",fitzpatrick_scale:!1,category:"symbols"},kL={keywords:["words","blue-square"],char:"🔝",fitzpatrick_scale:!1,category:"symbols"},bL={keywords:["arrow","words"],char:"🔜",fitzpatrick_scale:!1,category:"symbols"},wL={keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"☑️",fitzpatrick_scale:!1,category:"symbols"},EL={keywords:["input","old","music","circle"],char:"🔘",fitzpatrick_scale:!1,category:"symbols"},TL={keywords:["shape","round"],char:"⚪",fitzpatrick_scale:!1,category:"symbols"},AL={keywords:["shape","button","round"],char:"⚫",fitzpatrick_scale:!1,category:"symbols"},CL={keywords:["shape","error","danger"],char:"🔴",fitzpatrick_scale:!1,category:"symbols"},xL={keywords:["shape","icon","button"],char:"🔵",fitzpatrick_scale:!1,category:"symbols"},DL={keywords:["shape","jewel","gem"],char:"🔸",fitzpatrick_scale:!1,category:"symbols"},zL={keywords:["shape","jewel","gem"],char:"🔹",fitzpatrick_scale:!1,category:"symbols"},IL={keywords:["shape","jewel","gem"],char:"🔶",fitzpatrick_scale:!1,category:"symbols"},SL={keywords:["shape","jewel","gem"],char:"🔷",fitzpatrick_scale:!1,category:"symbols"},NL={keywords:["shape","direction","up","top"],char:"🔺",fitzpatrick_scale:!1,category:"symbols"},FL={keywords:["shape","icon"],char:"▪️",fitzpatrick_scale:!1,category:"symbols"},OL={keywords:["shape","icon"],char:"▫️",fitzpatrick_scale:!1,category:"symbols"},LL={keywords:["shape","icon","button"],char:"⬛",fitzpatrick_scale:!1,category:"symbols"},RL={keywords:["shape","icon","stone","button"],char:"⬜",fitzpatrick_scale:!1,category:"symbols"},vL={keywords:["shape","direction","bottom"],char:"🔻",fitzpatrick_scale:!1,category:"symbols"},BL={keywords:["shape","button","icon"],char:"◼️",fitzpatrick_scale:!1,category:"symbols"},PL={keywords:["shape","stone","icon"],char:"◻️",fitzpatrick_scale:!1,category:"symbols"},ML={keywords:["icon","shape","button"],char:"◾",fitzpatrick_scale:!1,category:"symbols"},HL={keywords:["shape","stone","icon","button"],char:"◽",fitzpatrick_scale:!1,category:"symbols"},UL={keywords:["shape","input","frame"],char:"🔲",fitzpatrick_scale:!1,category:"symbols"},jL={keywords:["shape","input"],char:"🔳",fitzpatrick_scale:!1,category:"symbols"},qL={keywords:["sound","volume","silence","broadcast"],char:"🔈",fitzpatrick_scale:!1,category:"symbols"},YL={keywords:["volume","speaker","broadcast"],char:"🔉",fitzpatrick_scale:!1,category:"symbols"},$L={keywords:["volume","noise","noisy","speaker","broadcast"],char:"🔊",fitzpatrick_scale:!1,category:"symbols"},VL={keywords:["sound","volume","silence","quiet"],char:"🔇",fitzpatrick_scale:!1,category:"symbols"},WL={keywords:["sound","speaker","volume"],char:"📣",fitzpatrick_scale:!1,category:"symbols"},GL={keywords:["volume","sound"],char:"📢",fitzpatrick_scale:!1,category:"symbols"},QL={keywords:["sound","notification","christmas","xmas","chime"],char:"🔔",fitzpatrick_scale:!1,category:"symbols"},XL={keywords:["sound","volume","mute","quiet","silent"],char:"🔕",fitzpatrick_scale:!1,category:"symbols"},KL={keywords:["poker","cards","game","play","magic"],char:"🃏",fitzpatrick_scale:!1,category:"symbols"},JL={keywords:["game","play","chinese","kanji"],char:"🀄",fitzpatrick_scale:!1,category:"symbols"},ZL={keywords:["poker","cards","suits","magic"],char:"♠️",fitzpatrick_scale:!1,category:"symbols"},e8={keywords:["poker","cards","magic","suits"],char:"♣️",fitzpatrick_scale:!1,category:"symbols"},t8={keywords:["poker","cards","magic","suits"],char:"♥️",fitzpatrick_scale:!1,category:"symbols"},a8={keywords:["poker","cards","magic","suits"],char:"♦️",fitzpatrick_scale:!1,category:"symbols"},r8={keywords:["game","sunset","red"],char:"🎴",fitzpatrick_scale:!1,category:"symbols"},n8={keywords:["bubble","cloud","speech","thinking","dream"],char:"💭",fitzpatrick_scale:!1,category:"symbols"},i8={keywords:["caption","speech","thinking","mad"],char:"🗯",fitzpatrick_scale:!1,category:"symbols"},s8={keywords:["bubble","words","message","talk","chatting"],char:"💬",fitzpatrick_scale:!1,category:"symbols"},o8={keywords:["words","message","talk","chatting"],char:"🗨",fitzpatrick_scale:!1,category:"symbols"},c8={keywords:["time","late","early","schedule"],char:"🕐",fitzpatrick_scale:!1,category:"symbols"},u8={keywords:["time","late","early","schedule"],char:"🕑",fitzpatrick_scale:!1,category:"symbols"},l8={keywords:["time","late","early","schedule"],char:"🕒",fitzpatrick_scale:!1,category:"symbols"},f8={keywords:["time","late","early","schedule"],char:"🕓",fitzpatrick_scale:!1,category:"symbols"},h8={keywords:["time","late","early","schedule"],char:"🕔",fitzpatrick_scale:!1,category:"symbols"},d8={keywords:["time","late","early","schedule","dawn","dusk"],char:"🕕",fitzpatrick_scale:!1,category:"symbols"},p8={keywords:["time","late","early","schedule"],char:"🕖",fitzpatrick_scale:!1,category:"symbols"},m8={keywords:["time","late","early","schedule"],char:"🕗",fitzpatrick_scale:!1,category:"symbols"},_8={keywords:["time","late","early","schedule"],char:"🕘",fitzpatrick_scale:!1,category:"symbols"},g8={keywords:["time","late","early","schedule"],char:"🕙",fitzpatrick_scale:!1,category:"symbols"},y8={keywords:["time","late","early","schedule"],char:"🕚",fitzpatrick_scale:!1,category:"symbols"},k8={keywords:["time","noon","midnight","midday","late","early","schedule"],char:"🕛",fitzpatrick_scale:!1,category:"symbols"},b8={keywords:["time","late","early","schedule"],char:"🕜",fitzpatrick_scale:!1,category:"symbols"},w8={keywords:["time","late","early","schedule"],char:"🕝",fitzpatrick_scale:!1,category:"symbols"},E8={keywords:["time","late","early","schedule"],char:"🕞",fitzpatrick_scale:!1,category:"symbols"},T8={keywords:["time","late","early","schedule"],char:"🕟",fitzpatrick_scale:!1,category:"symbols"},A8={keywords:["time","late","early","schedule"],char:"🕠",fitzpatrick_scale:!1,category:"symbols"},C8={keywords:["time","late","early","schedule"],char:"🕡",fitzpatrick_scale:!1,category:"symbols"},x8={keywords:["time","late","early","schedule"],char:"🕢",fitzpatrick_scale:!1,category:"symbols"},D8={keywords:["time","late","early","schedule"],char:"🕣",fitzpatrick_scale:!1,category:"symbols"},z8={keywords:["time","late","early","schedule"],char:"🕤",fitzpatrick_scale:!1,category:"symbols"},I8={keywords:["time","late","early","schedule"],char:"🕥",fitzpatrick_scale:!1,category:"symbols"},S8={keywords:["time","late","early","schedule"],char:"🕦",fitzpatrick_scale:!1,category:"symbols"},N8={keywords:["time","late","early","schedule"],char:"🕧",fitzpatrick_scale:!1,category:"symbols"},F8={keywords:["af","flag","nation","country","banner"],char:"🇦🇫",fitzpatrick_scale:!1,category:"flags"},O8={keywords:["Åland","islands","flag","nation","country","banner"],char:"🇦🇽",fitzpatrick_scale:!1,category:"flags"},L8={keywords:["al","flag","nation","country","banner"],char:"🇦🇱",fitzpatrick_scale:!1,category:"flags"},R8={keywords:["dz","flag","nation","country","banner"],char:"🇩🇿",fitzpatrick_scale:!1,category:"flags"},v8={keywords:["american","ws","flag","nation","country","banner"],char:"🇦🇸",fitzpatrick_scale:!1,category:"flags"},B8={keywords:["ad","flag","nation","country","banner"],char:"🇦🇩",fitzpatrick_scale:!1,category:"flags"},P8={keywords:["ao","flag","nation","country","banner"],char:"🇦🇴",fitzpatrick_scale:!1,category:"flags"},M8={keywords:["ai","flag","nation","country","banner"],char:"🇦🇮",fitzpatrick_scale:!1,category:"flags"},H8={keywords:["aq","flag","nation","country","banner"],char:"🇦🇶",fitzpatrick_scale:!1,category:"flags"},U8={keywords:["antigua","barbuda","flag","nation","country","banner"],char:"🇦🇬",fitzpatrick_scale:!1,category:"flags"},j8={keywords:["ar","flag","nation","country","banner"],char:"🇦🇷",fitzpatrick_scale:!1,category:"flags"},q8={keywords:["am","flag","nation","country","banner"],char:"🇦🇲",fitzpatrick_scale:!1,category:"flags"},Y8={keywords:["aw","flag","nation","country","banner"],char:"🇦🇼",fitzpatrick_scale:!1,category:"flags"},$8={keywords:["au","flag","nation","country","banner"],char:"🇦🇺",fitzpatrick_scale:!1,category:"flags"},V8={keywords:["at","flag","nation","country","banner"],char:"🇦🇹",fitzpatrick_scale:!1,category:"flags"},W8={keywords:["az","flag","nation","country","banner"],char:"🇦🇿",fitzpatrick_scale:!1,category:"flags"},G8={keywords:["bs","flag","nation","country","banner"],char:"🇧🇸",fitzpatrick_scale:!1,category:"flags"},Q8={keywords:["bh","flag","nation","country","banner"],char:"🇧🇭",fitzpatrick_scale:!1,category:"flags"},X8={keywords:["bd","flag","nation","country","banner"],char:"🇧🇩",fitzpatrick_scale:!1,category:"flags"},K8={keywords:["bb","flag","nation","country","banner"],char:"🇧🇧",fitzpatrick_scale:!1,category:"flags"},J8={keywords:["by","flag","nation","country","banner"],char:"🇧🇾",fitzpatrick_scale:!1,category:"flags"},Z8={keywords:["be","flag","nation","country","banner"],char:"🇧🇪",fitzpatrick_scale:!1,category:"flags"},eR={keywords:["bz","flag","nation","country","banner"],char:"🇧🇿",fitzpatrick_scale:!1,category:"flags"},tR={keywords:["bj","flag","nation","country","banner"],char:"🇧🇯",fitzpatrick_scale:!1,category:"flags"},aR={keywords:["bm","flag","nation","country","banner"],char:"🇧🇲",fitzpatrick_scale:!1,category:"flags"},rR={keywords:["bt","flag","nation","country","banner"],char:"🇧🇹",fitzpatrick_scale:!1,category:"flags"},nR={keywords:["bo","flag","nation","country","banner"],char:"🇧🇴",fitzpatrick_scale:!1,category:"flags"},iR={keywords:["bonaire","flag","nation","country","banner"],char:"🇧🇶",fitzpatrick_scale:!1,category:"flags"},sR={keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"🇧🇦",fitzpatrick_scale:!1,category:"flags"},oR={keywords:["bw","flag","nation","country","banner"],char:"🇧🇼",fitzpatrick_scale:!1,category:"flags"},cR={keywords:["br","flag","nation","country","banner"],char:"🇧🇷",fitzpatrick_scale:!1,category:"flags"},uR={keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"🇮🇴",fitzpatrick_scale:!1,category:"flags"},lR={keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"🇻🇬",fitzpatrick_scale:!1,category:"flags"},fR={keywords:["bn","darussalam","flag","nation","country","banner"],char:"🇧🇳",fitzpatrick_scale:!1,category:"flags"},hR={keywords:["bg","flag","nation","country","banner"],char:"🇧🇬",fitzpatrick_scale:!1,category:"flags"},dR={keywords:["burkina","faso","flag","nation","country","banner"],char:"🇧🇫",fitzpatrick_scale:!1,category:"flags"},pR={keywords:["bi","flag","nation","country","banner"],char:"🇧🇮",fitzpatrick_scale:!1,category:"flags"},mR={keywords:["cabo","verde","flag","nation","country","banner"],char:"🇨🇻",fitzpatrick_scale:!1,category:"flags"},_R={keywords:["kh","flag","nation","country","banner"],char:"🇰🇭",fitzpatrick_scale:!1,category:"flags"},gR={keywords:["cm","flag","nation","country","banner"],char:"🇨🇲",fitzpatrick_scale:!1,category:"flags"},yR={keywords:["ca","flag","nation","country","banner"],char:"🇨🇦",fitzpatrick_scale:!1,category:"flags"},kR={keywords:["canary","islands","flag","nation","country","banner"],char:"🇮🇨",fitzpatrick_scale:!1,category:"flags"},bR={keywords:["cayman","islands","flag","nation","country","banner"],char:"🇰🇾",fitzpatrick_scale:!1,category:"flags"},wR={keywords:["central","african","republic","flag","nation","country","banner"],char:"🇨🇫",fitzpatrick_scale:!1,category:"flags"},ER={keywords:["td","flag","nation","country","banner"],char:"🇹🇩",fitzpatrick_scale:!1,category:"flags"},TR={keywords:["flag","nation","country","banner"],char:"🇨🇱",fitzpatrick_scale:!1,category:"flags"},AR={keywords:["china","chinese","prc","flag","country","nation","banner"],char:"🇨🇳",fitzpatrick_scale:!1,category:"flags"},CR={keywords:["christmas","island","flag","nation","country","banner"],char:"🇨🇽",fitzpatrick_scale:!1,category:"flags"},xR={keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"🇨🇨",fitzpatrick_scale:!1,category:"flags"},DR={keywords:["co","flag","nation","country","banner"],char:"🇨🇴",fitzpatrick_scale:!1,category:"flags"},zR={keywords:["km","flag","nation","country","banner"],char:"🇰🇲",fitzpatrick_scale:!1,category:"flags"},IR={keywords:["congo","flag","nation","country","banner"],char:"🇨🇬",fitzpatrick_scale:!1,category:"flags"},SR={keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"🇨🇩",fitzpatrick_scale:!1,category:"flags"},NR={keywords:["cook","islands","flag","nation","country","banner"],char:"🇨🇰",fitzpatrick_scale:!1,category:"flags"},FR={keywords:["costa","rica","flag","nation","country","banner"],char:"🇨🇷",fitzpatrick_scale:!1,category:"flags"},OR={keywords:["hr","flag","nation","country","banner"],char:"🇭🇷",fitzpatrick_scale:!1,category:"flags"},LR={keywords:["cu","flag","nation","country","banner"],char:"🇨🇺",fitzpatrick_scale:!1,category:"flags"},RR={keywords:["curaçao","flag","nation","country","banner"],char:"🇨🇼",fitzpatrick_scale:!1,category:"flags"},vR={keywords:["cy","flag","nation","country","banner"],char:"🇨🇾",fitzpatrick_scale:!1,category:"flags"},BR={keywords:["cz","flag","nation","country","banner"],char:"🇨🇿",fitzpatrick_scale:!1,category:"flags"},PR={keywords:["dk","flag","nation","country","banner"],char:"🇩🇰",fitzpatrick_scale:!1,category:"flags"},MR={keywords:["dj","flag","nation","country","banner"],char:"🇩🇯",fitzpatrick_scale:!1,category:"flags"},HR={keywords:["dm","flag","nation","country","banner"],char:"🇩🇲",fitzpatrick_scale:!1,category:"flags"},UR={keywords:["dominican","republic","flag","nation","country","banner"],char:"🇩🇴",fitzpatrick_scale:!1,category:"flags"},jR={keywords:["ec","flag","nation","country","banner"],char:"🇪🇨",fitzpatrick_scale:!1,category:"flags"},qR={keywords:["eg","flag","nation","country","banner"],char:"🇪🇬",fitzpatrick_scale:!1,category:"flags"},YR={keywords:["el","salvador","flag","nation","country","banner"],char:"🇸🇻",fitzpatrick_scale:!1,category:"flags"},$R={keywords:["equatorial","gn","flag","nation","country","banner"],char:"🇬🇶",fitzpatrick_scale:!1,category:"flags"},VR={keywords:["er","flag","nation","country","banner"],char:"🇪🇷",fitzpatrick_scale:!1,category:"flags"},WR={keywords:["ee","flag","nation","country","banner"],char:"🇪🇪",fitzpatrick_scale:!1,category:"flags"},GR={keywords:["et","flag","nation","country","banner"],char:"🇪🇹",fitzpatrick_scale:!1,category:"flags"},QR={keywords:["european","union","flag","banner"],char:"🇪🇺",fitzpatrick_scale:!1,category:"flags"},XR={keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"🇫🇰",fitzpatrick_scale:!1,category:"flags"},KR={keywords:["faroe","islands","flag","nation","country","banner"],char:"🇫🇴",fitzpatrick_scale:!1,category:"flags"},JR={keywords:["fj","flag","nation","country","banner"],char:"🇫🇯",fitzpatrick_scale:!1,category:"flags"},ZR={keywords:["fi","flag","nation","country","banner"],char:"🇫🇮",fitzpatrick_scale:!1,category:"flags"},e5={keywords:["banner","flag","nation","france","french","country"],char:"🇫🇷",fitzpatrick_scale:!1,category:"flags"},t5={keywords:["french","guiana","flag","nation","country","banner"],char:"🇬🇫",fitzpatrick_scale:!1,category:"flags"},a5={keywords:["french","polynesia","flag","nation","country","banner"],char:"🇵🇫",fitzpatrick_scale:!1,category:"flags"},r5={keywords:["french","southern","territories","flag","nation","country","banner"],char:"🇹🇫",fitzpatrick_scale:!1,category:"flags"},n5={keywords:["ga","flag","nation","country","banner"],char:"🇬🇦",fitzpatrick_scale:!1,category:"flags"},i5={keywords:["gm","flag","nation","country","banner"],char:"🇬🇲",fitzpatrick_scale:!1,category:"flags"},s5={keywords:["ge","flag","nation","country","banner"],char:"🇬🇪",fitzpatrick_scale:!1,category:"flags"},o5={keywords:["german","nation","flag","country","banner"],char:"🇩🇪",fitzpatrick_scale:!1,category:"flags"},c5={keywords:["gh","flag","nation","country","banner"],char:"🇬🇭",fitzpatrick_scale:!1,category:"flags"},u5={keywords:["gi","flag","nation","country","banner"],char:"🇬🇮",fitzpatrick_scale:!1,category:"flags"},l5={keywords:["gr","flag","nation","country","banner"],char:"🇬🇷",fitzpatrick_scale:!1,category:"flags"},f5={keywords:["gl","flag","nation","country","banner"],char:"🇬🇱",fitzpatrick_scale:!1,category:"flags"},h5={keywords:["gd","flag","nation","country","banner"],char:"🇬🇩",fitzpatrick_scale:!1,category:"flags"},d5={keywords:["gp","flag","nation","country","banner"],char:"🇬🇵",fitzpatrick_scale:!1,category:"flags"},p5={keywords:["gu","flag","nation","country","banner"],char:"🇬🇺",fitzpatrick_scale:!1,category:"flags"},m5={keywords:["gt","flag","nation","country","banner"],char:"🇬🇹",fitzpatrick_scale:!1,category:"flags"},_5={keywords:["gg","flag","nation","country","banner"],char:"🇬🇬",fitzpatrick_scale:!1,category:"flags"},g5={keywords:["gn","flag","nation","country","banner"],char:"🇬🇳",fitzpatrick_scale:!1,category:"flags"},y5={keywords:["gw","bissau","flag","nation","country","banner"],char:"🇬🇼",fitzpatrick_scale:!1,category:"flags"},k5={keywords:["gy","flag","nation","country","banner"],char:"🇬🇾",fitzpatrick_scale:!1,category:"flags"},b5={keywords:["ht","flag","nation","country","banner"],char:"🇭🇹",fitzpatrick_scale:!1,category:"flags"},w5={keywords:["hn","flag","nation","country","banner"],char:"🇭🇳",fitzpatrick_scale:!1,category:"flags"},E5={keywords:["hong","kong","flag","nation","country","banner"],char:"🇭🇰",fitzpatrick_scale:!1,category:"flags"},T5={keywords:["hu","flag","nation","country","banner"],char:"🇭🇺",fitzpatrick_scale:!1,category:"flags"},A5={keywords:["is","flag","nation","country","banner"],char:"🇮🇸",fitzpatrick_scale:!1,category:"flags"},C5={keywords:["in","flag","nation","country","banner"],char:"🇮🇳",fitzpatrick_scale:!1,category:"flags"},x5={keywords:["flag","nation","country","banner"],char:"🇮🇩",fitzpatrick_scale:!1,category:"flags"},D5={keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"🇮🇷",fitzpatrick_scale:!1,category:"flags"},z5={keywords:["iq","flag","nation","country","banner"],char:"🇮🇶",fitzpatrick_scale:!1,category:"flags"},I5={keywords:["ie","flag","nation","country","banner"],char:"🇮🇪",fitzpatrick_scale:!1,category:"flags"},S5={keywords:["isle","man","flag","nation","country","banner"],char:"🇮🇲",fitzpatrick_scale:!1,category:"flags"},N5={keywords:["il","flag","nation","country","banner"],char:"🇮🇱",fitzpatrick_scale:!1,category:"flags"},F5={keywords:["italy","flag","nation","country","banner"],char:"🇮🇹",fitzpatrick_scale:!1,category:"flags"},O5={keywords:["ivory","coast","flag","nation","country","banner"],char:"🇨🇮",fitzpatrick_scale:!1,category:"flags"},L5={keywords:["jm","flag","nation","country","banner"],char:"🇯🇲",fitzpatrick_scale:!1,category:"flags"},R5={keywords:["japanese","nation","flag","country","banner"],char:"🇯🇵",fitzpatrick_scale:!1,category:"flags"},v5={keywords:["je","flag","nation","country","banner"],char:"🇯🇪",fitzpatrick_scale:!1,category:"flags"},B5={keywords:["jo","flag","nation","country","banner"],char:"🇯🇴",fitzpatrick_scale:!1,category:"flags"},P5={keywords:["kz","flag","nation","country","banner"],char:"🇰🇿",fitzpatrick_scale:!1,category:"flags"},M5={keywords:["ke","flag","nation","country","banner"],char:"🇰🇪",fitzpatrick_scale:!1,category:"flags"},H5={keywords:["ki","flag","nation","country","banner"],char:"🇰🇮",fitzpatrick_scale:!1,category:"flags"},U5={keywords:["xk","flag","nation","country","banner"],char:"🇽🇰",fitzpatrick_scale:!1,category:"flags"},j5={keywords:["kw","flag","nation","country","banner"],char:"🇰🇼",fitzpatrick_scale:!1,category:"flags"},q5={keywords:["kg","flag","nation","country","banner"],char:"🇰🇬",fitzpatrick_scale:!1,category:"flags"},Y5={keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"🇱🇦",fitzpatrick_scale:!1,category:"flags"},$5={keywords:["lv","flag","nation","country","banner"],char:"🇱🇻",fitzpatrick_scale:!1,category:"flags"},V5={keywords:["lb","flag","nation","country","banner"],char:"🇱🇧",fitzpatrick_scale:!1,category:"flags"},W5={keywords:["ls","flag","nation","country","banner"],char:"🇱🇸",fitzpatrick_scale:!1,category:"flags"},G5={keywords:["lr","flag","nation","country","banner"],char:"🇱🇷",fitzpatrick_scale:!1,category:"flags"},Q5={keywords:["ly","flag","nation","country","banner"],char:"🇱🇾",fitzpatrick_scale:!1,category:"flags"},X5={keywords:["li","flag","nation","country","banner"],char:"🇱🇮",fitzpatrick_scale:!1,category:"flags"},K5={keywords:["lt","flag","nation","country","banner"],char:"🇱🇹",fitzpatrick_scale:!1,category:"flags"},J5={keywords:["lu","flag","nation","country","banner"],char:"🇱🇺",fitzpatrick_scale:!1,category:"flags"},Z5={keywords:["macao","flag","nation","country","banner"],char:"🇲🇴",fitzpatrick_scale:!1,category:"flags"},e9={keywords:["macedonia,","flag","nation","country","banner"],char:"🇲🇰",fitzpatrick_scale:!1,category:"flags"},t9={keywords:["mg","flag","nation","country","banner"],char:"🇲🇬",fitzpatrick_scale:!1,category:"flags"},a9={keywords:["mw","flag","nation","country","banner"],char:"🇲🇼",fitzpatrick_scale:!1,category:"flags"},r9={keywords:["my","flag","nation","country","banner"],char:"🇲🇾",fitzpatrick_scale:!1,category:"flags"},n9={keywords:["mv","flag","nation","country","banner"],char:"🇲🇻",fitzpatrick_scale:!1,category:"flags"},i9={keywords:["ml","flag","nation","country","banner"],char:"🇲🇱",fitzpatrick_scale:!1,category:"flags"},s9={keywords:["mt","flag","nation","country","banner"],char:"🇲🇹",fitzpatrick_scale:!1,category:"flags"},o9={keywords:["marshall","islands","flag","nation","country","banner"],char:"🇲🇭",fitzpatrick_scale:!1,category:"flags"},c9={keywords:["mq","flag","nation","country","banner"],char:"🇲🇶",fitzpatrick_scale:!1,category:"flags"},u9={keywords:["mr","flag","nation","country","banner"],char:"🇲🇷",fitzpatrick_scale:!1,category:"flags"},l9={keywords:["mu","flag","nation","country","banner"],char:"🇲🇺",fitzpatrick_scale:!1,category:"flags"},f9={keywords:["yt","flag","nation","country","banner"],char:"🇾🇹",fitzpatrick_scale:!1,category:"flags"},h9={keywords:["mx","flag","nation","country","banner"],char:"🇲🇽",fitzpatrick_scale:!1,category:"flags"},d9={keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"🇫🇲",fitzpatrick_scale:!1,category:"flags"},p9={keywords:["moldova,","republic","flag","nation","country","banner"],char:"🇲🇩",fitzpatrick_scale:!1,category:"flags"},m9={keywords:["mc","flag","nation","country","banner"],char:"🇲🇨",fitzpatrick_scale:!1,category:"flags"},_9={keywords:["mn","flag","nation","country","banner"],char:"🇲🇳",fitzpatrick_scale:!1,category:"flags"},g9={keywords:["me","flag","nation","country","banner"],char:"🇲🇪",fitzpatrick_scale:!1,category:"flags"},y9={keywords:["ms","flag","nation","country","banner"],char:"🇲🇸",fitzpatrick_scale:!1,category:"flags"},k9={keywords:["ma","flag","nation","country","banner"],char:"🇲🇦",fitzpatrick_scale:!1,category:"flags"},b9={keywords:["mz","flag","nation","country","banner"],char:"🇲🇿",fitzpatrick_scale:!1,category:"flags"},w9={keywords:["mm","flag","nation","country","banner"],char:"🇲🇲",fitzpatrick_scale:!1,category:"flags"},E9={keywords:["na","flag","nation","country","banner"],char:"🇳🇦",fitzpatrick_scale:!1,category:"flags"},T9={keywords:["nr","flag","nation","country","banner"],char:"🇳🇷",fitzpatrick_scale:!1,category:"flags"},A9={keywords:["np","flag","nation","country","banner"],char:"🇳🇵",fitzpatrick_scale:!1,category:"flags"},C9={keywords:["nl","flag","nation","country","banner"],char:"🇳🇱",fitzpatrick_scale:!1,category:"flags"},x9={keywords:["new","caledonia","flag","nation","country","banner"],char:"🇳🇨",fitzpatrick_scale:!1,category:"flags"},D9={keywords:["new","zealand","flag","nation","country","banner"],char:"🇳🇿",fitzpatrick_scale:!1,category:"flags"},z9={keywords:["ni","flag","nation","country","banner"],char:"🇳🇮",fitzpatrick_scale:!1,category:"flags"},I9={keywords:["ne","flag","nation","country","banner"],char:"🇳🇪",fitzpatrick_scale:!1,category:"flags"},S9={keywords:["flag","nation","country","banner"],char:"🇳🇬",fitzpatrick_scale:!1,category:"flags"},N9={keywords:["nu","flag","nation","country","banner"],char:"🇳🇺",fitzpatrick_scale:!1,category:"flags"},F9={keywords:["norfolk","island","flag","nation","country","banner"],char:"🇳🇫",fitzpatrick_scale:!1,category:"flags"},O9={keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"🇲🇵",fitzpatrick_scale:!1,category:"flags"},L9={keywords:["north","korea","nation","flag","country","banner"],char:"🇰🇵",fitzpatrick_scale:!1,category:"flags"},R9={keywords:["no","flag","nation","country","banner"],char:"🇳🇴",fitzpatrick_scale:!1,category:"flags"},v9={keywords:["om_symbol","flag","nation","country","banner"],char:"🇴🇲",fitzpatrick_scale:!1,category:"flags"},B9={keywords:["pk","flag","nation","country","banner"],char:"🇵🇰",fitzpatrick_scale:!1,category:"flags"},P9={keywords:["pw","flag","nation","country","banner"],char:"🇵🇼",fitzpatrick_scale:!1,category:"flags"},M9={keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"🇵🇸",fitzpatrick_scale:!1,category:"flags"},H9={keywords:["pa","flag","nation","country","banner"],char:"🇵🇦",fitzpatrick_scale:!1,category:"flags"},U9={keywords:["papua","new","guinea","flag","nation","country","banner"],char:"🇵🇬",fitzpatrick_scale:!1,category:"flags"},j9={keywords:["py","flag","nation","country","banner"],char:"🇵🇾",fitzpatrick_scale:!1,category:"flags"},q9={keywords:["pe","flag","nation","country","banner"],char:"🇵🇪",fitzpatrick_scale:!1,category:"flags"},Y9={keywords:["ph","flag","nation","country","banner"],char:"🇵🇭",fitzpatrick_scale:!1,category:"flags"},$9={keywords:["pitcairn","flag","nation","country","banner"],char:"🇵🇳",fitzpatrick_scale:!1,category:"flags"},V9={keywords:["pl","flag","nation","country","banner"],char:"🇵🇱",fitzpatrick_scale:!1,category:"flags"},W9={keywords:["pt","flag","nation","country","banner"],char:"🇵🇹",fitzpatrick_scale:!1,category:"flags"},G9={keywords:["puerto","rico","flag","nation","country","banner"],char:"🇵🇷",fitzpatrick_scale:!1,category:"flags"},Q9={keywords:["qa","flag","nation","country","banner"],char:"🇶🇦",fitzpatrick_scale:!1,category:"flags"},X9={keywords:["réunion","flag","nation","country","banner"],char:"🇷🇪",fitzpatrick_scale:!1,category:"flags"},K9={keywords:["ro","flag","nation","country","banner"],char:"🇷🇴",fitzpatrick_scale:!1,category:"flags"},J9={keywords:["russian","federation","flag","nation","country","banner"],char:"🇷🇺",fitzpatrick_scale:!1,category:"flags"},Z9={keywords:["rw","flag","nation","country","banner"],char:"🇷🇼",fitzpatrick_scale:!1,category:"flags"},ev={keywords:["saint","barthélemy","flag","nation","country","banner"],char:"🇧🇱",fitzpatrick_scale:!1,category:"flags"},tv={keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"🇸🇭",fitzpatrick_scale:!1,category:"flags"},av={keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"🇰🇳",fitzpatrick_scale:!1,category:"flags"},rv={keywords:["saint","lucia","flag","nation","country","banner"],char:"🇱🇨",fitzpatrick_scale:!1,category:"flags"},nv={keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"🇵🇲",fitzpatrick_scale:!1,category:"flags"},iv={keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"🇻🇨",fitzpatrick_scale:!1,category:"flags"},sv={keywords:["ws","flag","nation","country","banner"],char:"🇼🇸",fitzpatrick_scale:!1,category:"flags"},ov={keywords:["san","marino","flag","nation","country","banner"],char:"🇸🇲",fitzpatrick_scale:!1,category:"flags"},cv={keywords:["sao","tome","principe","flag","nation","country","banner"],char:"🇸🇹",fitzpatrick_scale:!1,category:"flags"},uv={keywords:["flag","nation","country","banner"],char:"🇸🇦",fitzpatrick_scale:!1,category:"flags"},lv={keywords:["sn","flag","nation","country","banner"],char:"🇸🇳",fitzpatrick_scale:!1,category:"flags"},fv={keywords:["rs","flag","nation","country","banner"],char:"🇷🇸",fitzpatrick_scale:!1,category:"flags"},hv={keywords:["sc","flag","nation","country","banner"],char:"🇸🇨",fitzpatrick_scale:!1,category:"flags"},dv={keywords:["sierra","leone","flag","nation","country","banner"],char:"🇸🇱",fitzpatrick_scale:!1,category:"flags"},pv={keywords:["sg","flag","nation","country","banner"],char:"🇸🇬",fitzpatrick_scale:!1,category:"flags"},mv={keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"🇸🇽",fitzpatrick_scale:!1,category:"flags"},_v={keywords:["sk","flag","nation","country","banner"],char:"🇸🇰",fitzpatrick_scale:!1,category:"flags"},gv={keywords:["si","flag","nation","country","banner"],char:"🇸🇮",fitzpatrick_scale:!1,category:"flags"},yv={keywords:["solomon","islands","flag","nation","country","banner"],char:"🇸🇧",fitzpatrick_scale:!1,category:"flags"},kv={keywords:["so","flag","nation","country","banner"],char:"🇸🇴",fitzpatrick_scale:!1,category:"flags"},bv={keywords:["south","africa","flag","nation","country","banner"],char:"🇿🇦",fitzpatrick_scale:!1,category:"flags"},wv={keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"🇬🇸",fitzpatrick_scale:!1,category:"flags"},Ev={keywords:["south","korea","nation","flag","country","banner"],char:"🇰🇷",fitzpatrick_scale:!1,category:"flags"},Tv={keywords:["south","sd","flag","nation","country","banner"],char:"🇸🇸",fitzpatrick_scale:!1,category:"flags"},Av={keywords:["spain","flag","nation","country","banner"],char:"🇪🇸",fitzpatrick_scale:!1,category:"flags"},Cv={keywords:["sri","lanka","flag","nation","country","banner"],char:"🇱🇰",fitzpatrick_scale:!1,category:"flags"},xv={keywords:["sd","flag","nation","country","banner"],char:"🇸🇩",fitzpatrick_scale:!1,category:"flags"},Dv={keywords:["sr","flag","nation","country","banner"],char:"🇸🇷",fitzpatrick_scale:!1,category:"flags"},zv={keywords:["sz","flag","nation","country","banner"],char:"🇸🇿",fitzpatrick_scale:!1,category:"flags"},Iv={keywords:["se","flag","nation","country","banner"],char:"🇸🇪",fitzpatrick_scale:!1,category:"flags"},Sv={keywords:["ch","flag","nation","country","banner"],char:"🇨🇭",fitzpatrick_scale:!1,category:"flags"},Nv={keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"🇸🇾",fitzpatrick_scale:!1,category:"flags"},Fv={keywords:["tw","flag","nation","country","banner"],char:"🇹🇼",fitzpatrick_scale:!1,category:"flags"},Ov={keywords:["tj","flag","nation","country","banner"],char:"🇹🇯",fitzpatrick_scale:!1,category:"flags"},Lv={keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"🇹🇿",fitzpatrick_scale:!1,category:"flags"},Rv={keywords:["th","flag","nation","country","banner"],char:"🇹🇭",fitzpatrick_scale:!1,category:"flags"},vv={keywords:["timor","leste","flag","nation","country","banner"],char:"🇹🇱",fitzpatrick_scale:!1,category:"flags"},Bv={keywords:["tg","flag","nation","country","banner"],char:"🇹🇬",fitzpatrick_scale:!1,category:"flags"},Pv={keywords:["tk","flag","nation","country","banner"],char:"🇹🇰",fitzpatrick_scale:!1,category:"flags"},Mv={keywords:["to","flag","nation","country","banner"],char:"🇹🇴",fitzpatrick_scale:!1,category:"flags"},Hv={keywords:["trinidad","tobago","flag","nation","country","banner"],char:"🇹🇹",fitzpatrick_scale:!1,category:"flags"},Uv={keywords:["tn","flag","nation","country","banner"],char:"🇹🇳",fitzpatrick_scale:!1,category:"flags"},jv={keywords:["turkey","flag","nation","country","banner"],char:"🇹🇷",fitzpatrick_scale:!1,category:"flags"},qv={keywords:["flag","nation","country","banner"],char:"🇹🇲",fitzpatrick_scale:!1,category:"flags"},Yv={keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"🇹🇨",fitzpatrick_scale:!1,category:"flags"},$v={keywords:["flag","nation","country","banner"],char:"🇹🇻",fitzpatrick_scale:!1,category:"flags"},Vv={keywords:["ug","flag","nation","country","banner"],char:"🇺🇬",fitzpatrick_scale:!1,category:"flags"},Wv={keywords:["ua","flag","nation","country","banner"],char:"🇺🇦",fitzpatrick_scale:!1,category:"flags"},Gv={keywords:["united","arab","emirates","flag","nation","country","banner"],char:"🇦🇪",fitzpatrick_scale:!1,category:"flags"},Qv={keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"🇬🇧",fitzpatrick_scale:!1,category:"flags"},Xv={keywords:["flag","english"],char:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",fitzpatrick_scale:!1,category:"flags"},Kv={keywords:["flag","scottish"],char:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",fitzpatrick_scale:!1,category:"flags"},Jv={keywords:["flag","welsh"],char:"🏴󠁧󠁢󠁷󠁬󠁳󠁿",fitzpatrick_scale:!1,category:"flags"},Zv={keywords:["united","states","america","flag","nation","country","banner"],char:"🇺🇸",fitzpatrick_scale:!1,category:"flags"},eB={keywords:["virgin","islands","us","flag","nation","country","banner"],char:"🇻🇮",fitzpatrick_scale:!1,category:"flags"},tB={keywords:["uy","flag","nation","country","banner"],char:"🇺🇾",fitzpatrick_scale:!1,category:"flags"},aB={keywords:["uz","flag","nation","country","banner"],char:"🇺🇿",fitzpatrick_scale:!1,category:"flags"},rB={keywords:["vu","flag","nation","country","banner"],char:"🇻🇺",fitzpatrick_scale:!1,category:"flags"},nB={keywords:["vatican","city","flag","nation","country","banner"],char:"🇻🇦",fitzpatrick_scale:!1,category:"flags"},iB={keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"🇻🇪",fitzpatrick_scale:!1,category:"flags"},sB={keywords:["viet","nam","flag","nation","country","banner"],char:"🇻🇳",fitzpatrick_scale:!1,category:"flags"},oB={keywords:["wallis","futuna","flag","nation","country","banner"],char:"🇼🇫",fitzpatrick_scale:!1,category:"flags"},cB={keywords:["western","sahara","flag","nation","country","banner"],char:"🇪🇭",fitzpatrick_scale:!1,category:"flags"},uB={keywords:["ye","flag","nation","country","banner"],char:"🇾🇪",fitzpatrick_scale:!1,category:"flags"},lB={keywords:["zm","flag","nation","country","banner"],char:"🇿🇲",fitzpatrick_scale:!1,category:"flags"},fB={keywords:["zw","flag","nation","country","banner"],char:"🇿🇼",fitzpatrick_scale:!1,category:"flags"},hB={keywords:["un","flag","banner"],char:"🇺🇳",fitzpatrick_scale:!1,category:"flags"},dB={keywords:["skull","crossbones","flag","banner"],char:"🏴‍☠️",fitzpatrick_scale:!1,category:"flags"},pB={100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"💯",fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"🔢",fitzpatrick_scale:!1,category:"symbols"},grinning:Tg,grimacing:Ag,grin:Cg,joy:xg,rofl:Dg,partying:zg,smiley:Ig,smile:Sg,sweat_smile:Ng,laughing:Fg,innocent:Og,wink:Lg,blush:Rg,slightly_smiling_face:vg,upside_down_face:Bg,relaxed:Pg,yum:Mg,relieved:Hg,heart_eyes:Ug,smiling_face_with_three_hearts:jg,kissing_heart:qg,kissing:Yg,kissing_smiling_eyes:$g,kissing_closed_eyes:Vg,stuck_out_tongue_winking_eye:Wg,zany:Gg,raised_eyebrow:Qg,monocle:Xg,stuck_out_tongue_closed_eyes:Kg,stuck_out_tongue:Jg,money_mouth_face:Zg,nerd_face:e0,sunglasses:t0,star_struck:a0,clown_face:r0,cowboy_hat_face:n0,hugs:i0,smirk:s0,no_mouth:o0,neutral_face:c0,expressionless:u0,unamused:l0,roll_eyes:f0,thinking:h0,lying_face:d0,hand_over_mouth:p0,shushing:m0,symbols_over_mouth:_0,exploding_head:g0,flushed:y0,disappointed:k0,worried:b0,angry:w0,rage:E0,pensive:T0,confused:A0,slightly_frowning_face:C0,frowning_face:x0,persevere:D0,confounded:z0,tired_face:I0,weary:S0,pleading:N0,triumph:F0,open_mouth:O0,scream:L0,fearful:R0,cold_sweat:v0,hushed:B0,frowning:P0,anguished:M0,cry:H0,disappointed_relieved:U0,drooling_face:j0,sleepy:q0,sweat:Y0,hot:$0,cold:V0,sob:W0,dizzy_face:G0,astonished:Q0,zipper_mouth_face:X0,nauseated_face:K0,sneezing_face:J0,vomiting:Z0,mask:ey,face_with_thermometer:ty,face_with_head_bandage:ay,woozy:ry,sleeping:ny,zzz:iy,poop:sy,smiling_imp:oy,imp:cy,japanese_ogre:uy,japanese_goblin:ly,skull:fy,ghost:hy,alien:dy,robot:py,smiley_cat:my,smile_cat:_y,joy_cat:gy,heart_eyes_cat:yy,smirk_cat:ky,kissing_cat:by,scream_cat:wy,crying_cat_face:Ey,pouting_cat:Ty,palms_up:Ay,raised_hands:Cy,clap:xy,wave:Dy,call_me_hand:zy,"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"👍",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"👎",fitzpatrick_scale:!0,category:"people"},facepunch:Iy,fist:Sy,fist_left:Ny,fist_right:Fy,v:Oy,ok_hand:Ly,raised_hand:Ry,raised_back_of_hand:vy,open_hands:By,muscle:Py,pray:My,foot:Hy,leg:Uy,handshake:jy,point_up:qy,point_up_2:Yy,point_down:$y,point_left:Vy,point_right:Wy,fu:Gy,raised_hand_with_fingers_splayed:Qy,love_you:Xy,metal:Ky,crossed_fingers:Jy,vulcan_salute:Zy,writing_hand:ek,selfie:tk,nail_care:ak,lips:rk,tooth:nk,tongue:ik,ear:sk,nose:ok,eye:ck,eyes:uk,brain:lk,bust_in_silhouette:fk,busts_in_silhouette:hk,speaking_head:dk,baby:pk,child:mk,boy:_k,girl:gk,adult:yk,man:kk,woman:bk,blonde_woman:wk,blonde_man:Ek,bearded_person:Tk,older_adult:Ak,older_man:Ck,older_woman:xk,man_with_gua_pi_mao:Dk,woman_with_headscarf:zk,woman_with_turban:Ik,man_with_turban:Sk,policewoman:Nk,policeman:Fk,construction_worker_woman:Ok,construction_worker_man:Lk,guardswoman:Rk,guardsman:vk,female_detective:Bk,male_detective:Pk,woman_health_worker:Mk,man_health_worker:Hk,woman_farmer:Uk,man_farmer:jk,woman_cook:qk,man_cook:Yk,woman_student:$k,man_student:Vk,woman_singer:Wk,man_singer:Gk,woman_teacher:Qk,man_teacher:Xk,woman_factory_worker:Kk,man_factory_worker:Jk,woman_technologist:Zk,man_technologist:eb,woman_office_worker:tb,man_office_worker:ab,woman_mechanic:rb,man_mechanic:nb,woman_scientist:ib,man_scientist:sb,woman_artist:ob,man_artist:cb,woman_firefighter:ub,man_firefighter:lb,woman_pilot:fb,man_pilot:hb,woman_astronaut:db,man_astronaut:pb,woman_judge:mb,man_judge:_b,woman_superhero:gb,man_superhero:yb,woman_supervillain:kb,man_supervillain:bb,mrs_claus:wb,santa:Eb,sorceress:Tb,wizard:Ab,woman_elf:Cb,man_elf:xb,woman_vampire:Db,man_vampire:zb,woman_zombie:Ib,man_zombie:Sb,woman_genie:Nb,man_genie:Fb,mermaid:Ob,merman:Lb,woman_fairy:Rb,man_fairy:vb,angel:Bb,pregnant_woman:Pb,breastfeeding:Mb,princess:Hb,prince:Ub,bride_with_veil:jb,man_in_tuxedo:qb,running_woman:Yb,running_man:$b,walking_woman:Vb,walking_man:Wb,dancer:Gb,man_dancing:Qb,dancing_women:Xb,dancing_men:Kb,couple:Jb,two_men_holding_hands:Zb,two_women_holding_hands:e1,bowing_woman:t1,bowing_man:a1,man_facepalming:r1,woman_facepalming:n1,woman_shrugging:i1,man_shrugging:s1,tipping_hand_woman:o1,tipping_hand_man:c1,no_good_woman:u1,no_good_man:l1,ok_woman:f1,ok_man:h1,raising_hand_woman:d1,raising_hand_man:p1,pouting_woman:m1,pouting_man:_1,frowning_woman:g1,frowning_man:y1,haircut_woman:k1,haircut_man:b1,massage_woman:w1,massage_man:E1,woman_in_steamy_room:T1,man_in_steamy_room:A1,couple_with_heart_woman_man:C1,couple_with_heart_woman_woman:x1,couple_with_heart_man_man:D1,couplekiss_man_woman:z1,couplekiss_woman_woman:I1,couplekiss_man_man:S1,family_man_woman_boy:N1,family_man_woman_girl:F1,family_man_woman_girl_boy:O1,family_man_woman_boy_boy:L1,family_man_woman_girl_girl:R1,family_woman_woman_boy:v1,family_woman_woman_girl:B1,family_woman_woman_girl_boy:P1,family_woman_woman_boy_boy:M1,family_woman_woman_girl_girl:H1,family_man_man_boy:U1,family_man_man_girl:j1,family_man_man_girl_boy:q1,family_man_man_boy_boy:Y1,family_man_man_girl_girl:$1,family_woman_boy:V1,family_woman_girl:W1,family_woman_girl_boy:G1,family_woman_boy_boy:Q1,family_woman_girl_girl:X1,family_man_boy:K1,family_man_girl:J1,family_man_girl_boy:Z1,family_man_boy_boy:ew,family_man_girl_girl:tw,yarn:aw,thread:rw,coat:nw,labcoat:iw,womans_clothes:sw,tshirt:ow,jeans:cw,necktie:uw,dress:lw,bikini:fw,kimono:hw,lipstick:dw,kiss:pw,footprints:mw,flat_shoe:_w,high_heel:gw,sandal:yw,boot:kw,mans_shoe:bw,athletic_shoe:ww,hiking_boot:Ew,socks:Tw,gloves:Aw,scarf:Cw,womans_hat:xw,tophat:Dw,billed_hat:zw,rescue_worker_helmet:Iw,mortar_board:Sw,crown:Nw,school_satchel:Fw,luggage:Ow,pouch:Lw,purse:Rw,handbag:vw,briefcase:Bw,eyeglasses:Pw,dark_sunglasses:Mw,goggles:Hw,ring:Uw,closed_umbrella:jw,dog:qw,cat:Yw,mouse:$w,hamster:Vw,rabbit:Ww,fox_face:Gw,bear:Qw,panda_face:Xw,koala:Kw,tiger:Jw,lion:Zw,cow:eE,pig:tE,pig_nose:aE,frog:rE,squid:nE,octopus:iE,shrimp:sE,monkey_face:oE,gorilla:cE,see_no_evil:uE,hear_no_evil:lE,speak_no_evil:fE,monkey:hE,chicken:dE,penguin:pE,bird:mE,baby_chick:_E,hatching_chick:gE,hatched_chick:yE,duck:kE,eagle:bE,owl:wE,bat:EE,wolf:TE,boar:AE,horse:CE,unicorn:xE,honeybee:DE,bug:zE,butterfly:IE,snail:SE,beetle:NE,ant:FE,grasshopper:OE,spider:LE,scorpion:RE,crab:vE,snake:BE,lizard:PE,"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"🦖",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:ME,turtle:HE,tropical_fish:UE,fish:jE,blowfish:qE,dolphin:YE,shark:$E,whale:VE,whale2:WE,crocodile:GE,leopard:QE,zebra:XE,tiger2:KE,water_buffalo:JE,ox:ZE,cow2:eT,deer:tT,dromedary_camel:aT,camel:rT,giraffe:nT,elephant:iT,rhinoceros:sT,goat:oT,ram:cT,sheep:uT,racehorse:lT,pig2:fT,rat:hT,mouse2:dT,rooster:pT,turkey:mT,dove:_T,dog2:gT,poodle:yT,cat2:kT,rabbit2:bT,chipmunk:wT,hedgehog:ET,raccoon:TT,llama:AT,hippopotamus:CT,kangaroo:xT,badger:DT,swan:zT,peacock:IT,parrot:ST,lobster:NT,mosquito:FT,paw_prints:OT,dragon:LT,dragon_face:RT,cactus:vT,christmas_tree:BT,evergreen_tree:PT,deciduous_tree:MT,palm_tree:HT,seedling:UT,herb:jT,shamrock:qT,four_leaf_clover:YT,bamboo:$T,tanabata_tree:VT,leaves:WT,fallen_leaf:GT,maple_leaf:QT,ear_of_rice:XT,hibiscus:KT,sunflower:JT,rose:ZT,wilted_flower:eA,tulip:tA,blossom:aA,cherry_blossom:rA,bouquet:nA,mushroom:iA,chestnut:sA,jack_o_lantern:oA,shell:cA,spider_web:uA,earth_americas:lA,earth_africa:fA,earth_asia:hA,full_moon:dA,waning_gibbous_moon:pA,last_quarter_moon:mA,waning_crescent_moon:_A,new_moon:gA,waxing_crescent_moon:yA,first_quarter_moon:kA,waxing_gibbous_moon:bA,new_moon_with_face:wA,full_moon_with_face:EA,first_quarter_moon_with_face:TA,last_quarter_moon_with_face:AA,sun_with_face:CA,crescent_moon:xA,star:DA,star2:zA,dizzy:IA,sparkles:SA,comet:NA,sunny:FA,sun_behind_small_cloud:OA,partly_sunny:LA,sun_behind_large_cloud:RA,sun_behind_rain_cloud:vA,cloud:BA,cloud_with_rain:PA,cloud_with_lightning_and_rain:MA,cloud_with_lightning:HA,zap:UA,fire:jA,boom:qA,snowflake:YA,cloud_with_snow:$A,snowman:VA,snowman_with_snow:WA,wind_face:GA,dash:QA,tornado:XA,fog:KA,open_umbrella:JA,umbrella:ZA,droplet:e2,sweat_drops:t2,ocean:a2,green_apple:r2,apple:n2,pear:i2,tangerine:s2,lemon:o2,banana:c2,watermelon:u2,grapes:l2,strawberry:f2,melon:h2,cherries:d2,peach:p2,pineapple:m2,coconut:_2,kiwi_fruit:g2,mango:y2,avocado:k2,broccoli:b2,tomato:w2,eggplant:E2,cucumber:T2,carrot:A2,hot_pepper:C2,potato:x2,corn:D2,leafy_greens:z2,sweet_potato:I2,peanuts:S2,honey_pot:N2,croissant:F2,bread:O2,baguette_bread:L2,bagel:R2,pretzel:v2,cheese:B2,egg:P2,bacon:M2,steak:H2,pancakes:U2,poultry_leg:j2,meat_on_bone:q2,bone:Y2,fried_shrimp:$2,fried_egg:V2,hamburger:W2,fries:G2,stuffed_flatbread:Q2,hotdog:X2,pizza:K2,sandwich:J2,canned_food:Z2,spaghetti:eC,taco:tC,burrito:aC,green_salad:rC,shallow_pan_of_food:nC,ramen:iC,stew:sC,fish_cake:oC,fortune_cookie:cC,sushi:uC,bento:lC,curry:fC,rice_ball:hC,rice:dC,rice_cracker:pC,oden:mC,dango:_C,shaved_ice:gC,ice_cream:yC,icecream:kC,pie:bC,cake:wC,cupcake:EC,moon_cake:TC,birthday:AC,custard:CC,candy:xC,lollipop:DC,chocolate_bar:zC,popcorn:IC,dumpling:SC,doughnut:NC,cookie:FC,milk_glass:OC,beer:LC,beers:RC,clinking_glasses:vC,wine_glass:BC,tumbler_glass:PC,cocktail:MC,tropical_drink:HC,champagne:UC,sake:jC,tea:qC,cup_with_straw:YC,coffee:$C,baby_bottle:VC,salt:WC,spoon:GC,fork_and_knife:QC,plate_with_cutlery:XC,bowl_with_spoon:KC,takeout_box:JC,chopsticks:ZC,soccer:e3,basketball:t3,football:a3,baseball:r3,softball:n3,tennis:i3,volleyball:s3,rugby_football:o3,flying_disc:c3,"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"🎱",fitzpatrick_scale:!1,category:"activity"},golf:u3,golfing_woman:l3,golfing_man:f3,ping_pong:h3,badminton:d3,goal_net:p3,ice_hockey:m3,field_hockey:_3,lacrosse:g3,cricket:y3,ski:k3,skier:b3,snowboarder:w3,person_fencing:E3,women_wrestling:T3,men_wrestling:A3,woman_cartwheeling:C3,man_cartwheeling:x3,woman_playing_handball:D3,man_playing_handball:z3,ice_skate:I3,curling_stone:S3,skateboard:N3,sled:F3,bow_and_arrow:O3,fishing_pole_and_fish:L3,boxing_glove:R3,martial_arts_uniform:v3,rowing_woman:B3,rowing_man:P3,climbing_woman:M3,climbing_man:H3,swimming_woman:U3,swimming_man:j3,woman_playing_water_polo:q3,man_playing_water_polo:Y3,woman_in_lotus_position:$3,man_in_lotus_position:V3,surfing_woman:W3,surfing_man:G3,bath:Q3,basketball_woman:X3,basketball_man:K3,weight_lifting_woman:J3,weight_lifting_man:Z3,biking_woman:ex,biking_man:tx,mountain_biking_woman:ax,mountain_biking_man:rx,horse_racing:nx,business_suit_levitating:ix,trophy:sx,running_shirt_with_sash:ox,medal_sports:cx,medal_military:ux,"1st_place_medal":{keywords:["award","winning","first"],char:"🥇",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"🥈",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"🥉",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:lx,rosette:fx,ticket:hx,tickets:dx,performing_arts:px,art:mx,circus_tent:_x,woman_juggling:gx,man_juggling:yx,microphone:kx,headphones:bx,musical_score:wx,musical_keyboard:Ex,drum:Tx,saxophone:Ax,trumpet:Cx,guitar:xx,violin:Dx,clapper:zx,video_game:Ix,space_invader:Sx,dart:Nx,game_die:Fx,chess_pawn:Ox,slot_machine:Lx,jigsaw:Rx,bowling:vx,red_car:Bx,taxi:Px,blue_car:Mx,bus:Hx,trolleybus:Ux,racing_car:jx,police_car:qx,ambulance:Yx,fire_engine:$x,minibus:Vx,truck:Wx,articulated_lorry:Gx,tractor:Qx,kick_scooter:Xx,motorcycle:Kx,bike:Jx,motor_scooter:Zx,rotating_light:eD,oncoming_police_car:tD,oncoming_bus:aD,oncoming_automobile:rD,oncoming_taxi:nD,aerial_tramway:iD,mountain_cableway:sD,suspension_railway:oD,railway_car:cD,train:uD,monorail:lD,bullettrain_side:fD,bullettrain_front:hD,light_rail:dD,mountain_railway:pD,steam_locomotive:mD,train2:_D,metro:gD,tram:yD,station:kD,flying_saucer:bD,helicopter:wD,small_airplane:ED,airplane:TD,flight_departure:AD,flight_arrival:CD,sailboat:xD,motor_boat:DD,speedboat:zD,ferry:ID,passenger_ship:SD,rocket:ND,artificial_satellite:FD,seat:OD,canoe:LD,anchor:RD,construction:vD,fuelpump:BD,busstop:PD,vertical_traffic_light:MD,traffic_light:HD,checkered_flag:UD,ship:jD,ferris_wheel:qD,roller_coaster:YD,carousel_horse:$D,building_construction:VD,foggy:WD,tokyo_tower:GD,factory:QD,fountain:XD,rice_scene:KD,mountain:JD,mountain_snow:ZD,mount_fuji:e6,volcano:t6,japan:a6,camping:r6,tent:n6,national_park:i6,motorway:s6,railway_track:o6,sunrise:c6,sunrise_over_mountains:u6,desert:l6,beach_umbrella:f6,desert_island:h6,city_sunrise:d6,city_sunset:p6,cityscape:m6,night_with_stars:_6,bridge_at_night:g6,milky_way:y6,stars:k6,sparkler:b6,fireworks:w6,rainbow:E6,houses:T6,european_castle:A6,japanese_castle:C6,stadium:x6,statue_of_liberty:D6,house:z6,house_with_garden:I6,derelict_house:S6,office:N6,department_store:F6,post_office:O6,european_post_office:L6,hospital:R6,bank:v6,hotel:B6,convenience_store:P6,school:M6,love_hotel:H6,wedding:U6,classical_building:j6,church:q6,mosque:Y6,synagogue:$6,kaaba:V6,shinto_shrine:W6,watch:G6,iphone:Q6,calling:X6,computer:K6,keyboard:J6,desktop_computer:Z6,printer:ez,computer_mouse:tz,trackball:az,joystick:rz,clamp:nz,minidisc:iz,floppy_disk:sz,cd:oz,dvd:cz,vhs:uz,camera:lz,camera_flash:fz,video_camera:hz,movie_camera:dz,film_projector:pz,film_strip:mz,telephone_receiver:_z,phone:gz,pager:yz,fax:kz,tv:bz,radio:wz,studio_microphone:Ez,level_slider:Tz,control_knobs:Az,compass:Cz,stopwatch:xz,timer_clock:Dz,alarm_clock:zz,mantelpiece_clock:Iz,hourglass_flowing_sand:Sz,hourglass:Nz,satellite:Fz,battery:Oz,electric_plug:Lz,bulb:Rz,flashlight:vz,candle:Bz,fire_extinguisher:Pz,wastebasket:Mz,oil_drum:Hz,money_with_wings:Uz,dollar:jz,yen:qz,euro:Yz,pound:$z,moneybag:Vz,credit_card:Wz,gem:Gz,balance_scale:Qz,toolbox:Xz,wrench:Kz,hammer:Jz,hammer_and_pick:Zz,hammer_and_wrench:eI,pick:tI,nut_and_bolt:aI,gear:rI,brick:nI,chains:iI,magnet:sI,gun:oI,bomb:cI,firecracker:uI,hocho:lI,dagger:fI,crossed_swords:hI,shield:dI,smoking:pI,skull_and_crossbones:mI,coffin:_I,funeral_urn:gI,amphora:yI,crystal_ball:kI,prayer_beads:bI,nazar_amulet:wI,barber:EI,alembic:TI,telescope:AI,microscope:CI,hole:xI,pill:DI,syringe:zI,dna:II,microbe:SI,petri_dish:NI,test_tube:FI,thermometer:OI,broom:LI,basket:RI,toilet_paper:vI,label:BI,bookmark:PI,toilet:MI,shower:HI,bathtub:UI,soap:jI,sponge:qI,lotion_bottle:YI,key:$I,old_key:VI,couch_and_lamp:WI,sleeping_bed:GI,bed:QI,door:XI,bellhop_bell:KI,teddy_bear:JI,framed_picture:ZI,world_map:eS,parasol_on_ground:tS,moyai:aS,shopping:rS,shopping_cart:nS,balloon:iS,flags:sS,ribbon:oS,gift:cS,confetti_ball:uS,tada:lS,dolls:fS,wind_chime:hS,crossed_flags:dS,izakaya_lantern:pS,red_envelope:mS,email:_S,envelope_with_arrow:gS,incoming_envelope:yS,"e-mail":{keywords:["communication","inbox"],char:"📧",fitzpatrick_scale:!1,category:"objects"},love_letter:kS,postbox:bS,mailbox_closed:wS,mailbox:ES,mailbox_with_mail:TS,mailbox_with_no_mail:AS,package:{keywords:["mail","gift","cardboard","box","moving"],char:"📦",fitzpatrick_scale:!1,category:"objects"},postal_horn:CS,inbox_tray:xS,outbox_tray:DS,scroll:zS,page_with_curl:IS,bookmark_tabs:SS,receipt:NS,bar_chart:FS,chart_with_upwards_trend:OS,chart_with_downwards_trend:LS,page_facing_up:RS,date:vS,calendar:BS,spiral_calendar:PS,card_index:MS,card_file_box:HS,ballot_box:US,file_cabinet:jS,clipboard:qS,spiral_notepad:YS,file_folder:$S,open_file_folder:VS,card_index_dividers:WS,newspaper_roll:GS,newspaper:QS,notebook:XS,closed_book:KS,green_book:JS,blue_book:ZS,orange_book:eN,notebook_with_decorative_cover:tN,ledger:aN,books:rN,open_book:nN,safety_pin:iN,link:sN,paperclip:oN,paperclips:cN,scissors:uN,triangular_ruler:lN,straight_ruler:fN,abacus:hN,pushpin:dN,round_pushpin:pN,triangular_flag_on_post:mN,white_flag:_N,black_flag:gN,rainbow_flag:yN,closed_lock_with_key:kN,lock:bN,unlock:wN,lock_with_ink_pen:EN,pen:TN,fountain_pen:AN,black_nib:CN,memo:xN,pencil2:DN,crayon:zN,paintbrush:IN,mag:SN,mag_right:NN,heart:FN,orange_heart:ON,yellow_heart:LN,green_heart:RN,blue_heart:vN,purple_heart:BN,black_heart:PN,broken_heart:MN,heavy_heart_exclamation:HN,two_hearts:UN,revolving_hearts:jN,heartbeat:qN,heartpulse:YN,sparkling_heart:$N,cupid:VN,gift_heart:WN,heart_decoration:GN,peace_symbol:QN,latin_cross:XN,star_and_crescent:KN,om:JN,wheel_of_dharma:ZN,star_of_david:e4,six_pointed_star:t4,menorah:a4,yin_yang:r4,orthodox_cross:n4,place_of_worship:i4,ophiuchus:s4,aries:o4,taurus:c4,gemini:u4,cancer:l4,leo:f4,virgo:h4,libra:d4,scorpius:p4,sagittarius:m4,capricorn:_4,aquarius:g4,pisces:y4,id:k4,atom_symbol:b4,u7a7a:w4,u5272:E4,radioactive:T4,biohazard:A4,mobile_phone_off:C4,vibration_mode:x4,u6709:D4,u7121:z4,u7533:I4,u55b6:S4,u6708:N4,eight_pointed_black_star:F4,vs:O4,accept:L4,white_flower:R4,ideograph_advantage:v4,secret:B4,congratulations:P4,u5408:M4,u6e80:H4,u7981:U4,a:j4,b:q4,ab:Y4,cl:$4,o2:V4,sos:W4,no_entry:G4,name_badge:Q4,no_entry_sign:X4,x:K4,o:J4,stop_sign:Z4,anger:eF,hotsprings:tF,no_pedestrians:aF,do_not_litter:rF,no_bicycles:nF,"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"🚱",fitzpatrick_scale:!1,category:"symbols"},underage:iF,no_mobile_phones:sF,exclamation:oF,grey_exclamation:cF,question:uF,grey_question:lF,bangbang:fF,interrobang:hF,low_brightness:dF,high_brightness:pF,trident:mF,fleur_de_lis:_F,part_alternation_mark:gF,warning:yF,children_crossing:kF,beginner:bF,recycle:wF,u6307:EF,chart:TF,sparkle:AF,eight_spoked_asterisk:CF,negative_squared_cross_mark:xF,white_check_mark:DF,diamond_shape_with_a_dot_inside:zF,cyclone:IF,loop:SF,globe_with_meridians:NF,m:FF,atm:OF,sa:LF,passport_control:RF,customs:vF,baggage_claim:BF,left_luggage:PF,wheelchair:MF,no_smoking:HF,wc:UF,parking:jF,potable_water:qF,mens:YF,womens:$F,baby_symbol:VF,restroom:WF,put_litter_in_its_place:GF,cinema:QF,signal_strength:XF,koko:KF,ng:JF,ok:ZF,up:eO,cool:tO,new:{keywords:["blue-square","words","start"],char:"🆕",fitzpatrick_scale:!1,category:"symbols"},free:aO,zero:rO,one:nO,two:iO,three:sO,four:oO,five:cO,six:uO,seven:lO,eight:fO,nine:hO,keycap_ten:dO,asterisk:pO,eject_button:mO,arrow_forward:_O,pause_button:gO,next_track_button:yO,stop_button:kO,record_button:bO,play_or_pause_button:wO,previous_track_button:EO,fast_forward:TO,rewind:AO,twisted_rightwards_arrows:CO,repeat:xO,repeat_one:DO,arrow_backward:zO,arrow_up_small:IO,arrow_down_small:SO,arrow_double_up:NO,arrow_double_down:FO,arrow_right:OO,arrow_left:LO,arrow_up:RO,arrow_down:vO,arrow_upper_right:BO,arrow_lower_right:PO,arrow_lower_left:MO,arrow_upper_left:HO,arrow_up_down:UO,left_right_arrow:jO,arrows_counterclockwise:qO,arrow_right_hook:YO,leftwards_arrow_with_hook:$O,arrow_heading_up:VO,arrow_heading_down:WO,hash:GO,information_source:QO,abc:XO,abcd:KO,capital_abcd:JO,symbols:ZO,musical_note:eL,notes:tL,wavy_dash:aL,curly_loop:rL,heavy_check_mark:nL,arrows_clockwise:iL,heavy_plus_sign:sL,heavy_minus_sign:oL,heavy_division_sign:cL,heavy_multiplication_x:uL,infinity:lL,heavy_dollar_sign:fL,currency_exchange:hL,copyright:dL,registered:pL,tm:mL,end:_L,back:gL,on:yL,top:kL,soon:bL,ballot_box_with_check:wL,radio_button:EL,white_circle:TL,black_circle:AL,red_circle:CL,large_blue_circle:xL,small_orange_diamond:DL,small_blue_diamond:zL,large_orange_diamond:IL,large_blue_diamond:SL,small_red_triangle:NL,black_small_square:FL,white_small_square:OL,black_large_square:LL,white_large_square:RL,small_red_triangle_down:vL,black_medium_square:BL,white_medium_square:PL,black_medium_small_square:ML,white_medium_small_square:HL,black_square_button:UL,white_square_button:jL,speaker:qL,sound:YL,loud_sound:$L,mute:VL,mega:WL,loudspeaker:GL,bell:QL,no_bell:XL,black_joker:KL,mahjong:JL,spades:ZL,clubs:e8,hearts:t8,diamonds:a8,flower_playing_cards:r8,thought_balloon:n8,right_anger_bubble:i8,speech_balloon:s8,left_speech_bubble:o8,clock1:c8,clock2:u8,clock3:l8,clock4:f8,clock5:h8,clock6:d8,clock7:p8,clock8:m8,clock9:_8,clock10:g8,clock11:y8,clock12:k8,clock130:b8,clock230:w8,clock330:E8,clock430:T8,clock530:A8,clock630:C8,clock730:x8,clock830:D8,clock930:z8,clock1030:I8,clock1130:S8,clock1230:N8,afghanistan:F8,aland_islands:O8,albania:L8,algeria:R8,american_samoa:v8,andorra:B8,angola:P8,anguilla:M8,antarctica:H8,antigua_barbuda:U8,argentina:j8,armenia:q8,aruba:Y8,australia:$8,austria:V8,azerbaijan:W8,bahamas:G8,bahrain:Q8,bangladesh:X8,barbados:K8,belarus:J8,belgium:Z8,belize:eR,benin:tR,bermuda:aR,bhutan:rR,bolivia:nR,caribbean_netherlands:iR,bosnia_herzegovina:sR,botswana:oR,brazil:cR,british_indian_ocean_territory:uR,british_virgin_islands:lR,brunei:fR,bulgaria:hR,burkina_faso:dR,burundi:pR,cape_verde:mR,cambodia:_R,cameroon:gR,canada:yR,canary_islands:kR,cayman_islands:bR,central_african_republic:wR,chad:ER,chile:TR,cn:AR,christmas_island:CR,cocos_islands:xR,colombia:DR,comoros:zR,congo_brazzaville:IR,congo_kinshasa:SR,cook_islands:NR,costa_rica:FR,croatia:OR,cuba:LR,curacao:RR,cyprus:vR,czech_republic:BR,denmark:PR,djibouti:MR,dominica:HR,dominican_republic:UR,ecuador:jR,egypt:qR,el_salvador:YR,equatorial_guinea:$R,eritrea:VR,estonia:WR,ethiopia:GR,eu:QR,falkland_islands:XR,faroe_islands:KR,fiji:JR,finland:ZR,fr:e5,french_guiana:t5,french_polynesia:a5,french_southern_territories:r5,gabon:n5,gambia:i5,georgia:s5,de:o5,ghana:c5,gibraltar:u5,greece:l5,greenland:f5,grenada:h5,guadeloupe:d5,guam:p5,guatemala:m5,guernsey:_5,guinea:g5,guinea_bissau:y5,guyana:k5,haiti:b5,honduras:w5,hong_kong:E5,hungary:T5,iceland:A5,india:C5,indonesia:x5,iran:D5,iraq:z5,ireland:I5,isle_of_man:S5,israel:N5,it:F5,cote_divoire:O5,jamaica:L5,jp:R5,jersey:v5,jordan:B5,kazakhstan:P5,kenya:M5,kiribati:H5,kosovo:U5,kuwait:j5,kyrgyzstan:q5,laos:Y5,latvia:$5,lebanon:V5,lesotho:W5,liberia:G5,libya:Q5,liechtenstein:X5,lithuania:K5,luxembourg:J5,macau:Z5,macedonia:e9,madagascar:t9,malawi:a9,malaysia:r9,maldives:n9,mali:i9,malta:s9,marshall_islands:o9,martinique:c9,mauritania:u9,mauritius:l9,mayotte:f9,mexico:h9,micronesia:d9,moldova:p9,monaco:m9,mongolia:_9,montenegro:g9,montserrat:y9,morocco:k9,mozambique:b9,myanmar:w9,namibia:E9,nauru:T9,nepal:A9,netherlands:C9,new_caledonia:x9,new_zealand:D9,nicaragua:z9,niger:I9,nigeria:S9,niue:N9,norfolk_island:F9,northern_mariana_islands:O9,north_korea:L9,norway:R9,oman:v9,pakistan:B9,palau:P9,palestinian_territories:M9,panama:H9,papua_new_guinea:U9,paraguay:j9,peru:q9,philippines:Y9,pitcairn_islands:$9,poland:V9,portugal:W9,puerto_rico:G9,qatar:Q9,reunion:X9,romania:K9,ru:J9,rwanda:Z9,st_barthelemy:ev,st_helena:tv,st_kitts_nevis:av,st_lucia:rv,st_pierre_miquelon:nv,st_vincent_grenadines:iv,samoa:sv,san_marino:ov,sao_tome_principe:cv,saudi_arabia:uv,senegal:lv,serbia:fv,seychelles:hv,sierra_leone:dv,singapore:pv,sint_maarten:mv,slovakia:_v,slovenia:gv,solomon_islands:yv,somalia:kv,south_africa:bv,south_georgia_south_sandwich_islands:wv,kr:Ev,south_sudan:Tv,es:Av,sri_lanka:Cv,sudan:xv,suriname:Dv,swaziland:zv,sweden:Iv,switzerland:Sv,syria:Nv,taiwan:Fv,tajikistan:Ov,tanzania:Lv,thailand:Rv,timor_leste:vv,togo:Bv,tokelau:Pv,tonga:Mv,trinidad_tobago:Hv,tunisia:Uv,tr:jv,turkmenistan:qv,turks_caicos_islands:Yv,tuvalu:$v,uganda:Vv,ukraine:Wv,united_arab_emirates:Gv,uk:Qv,england:Xv,scotland:Kv,wales:Jv,us:Zv,us_virgin_islands:eB,uruguay:tB,uzbekistan:aB,vanuatu:rB,vatican_city:nB,venezuela:iB,vietnam:sB,wallis_futuna:oB,western_sahara:cB,yemen:uB,zambia:lB,zimbabwe:fB,united_nations:hB,pirate_flag:dB},mB=["grinning","smiley","smile","grin","laughing","sweat_smile","joy","rofl","relaxed","blush","innocent","slightly_smiling_face","upside_down_face","wink","relieved","heart_eyes","smiling_face_with_three_hearts","kissing_heart","kissing","kissing_smiling_eyes","kissing_closed_eyes","yum","stuck_out_tongue","stuck_out_tongue_closed_eyes","stuck_out_tongue_winking_eye","zany","raised_eyebrow","monocle","nerd_face","sunglasses","star_struck","partying","smirk","unamused","disappointed","pensive","worried","confused","slightly_frowning_face","frowning_face","persevere","confounded","tired_face","weary","pleading","cry","sob","triumph","angry","rage","symbols_over_mouth","exploding_head","flushed","hot","cold","scream","fearful","cold_sweat","disappointed_relieved","sweat","hugs","thinking","hand_over_mouth","shushing","lying_face","no_mouth","neutral_face","expressionless","grimacing","roll_eyes","hushed","frowning","anguished","open_mouth","astonished","sleeping","drooling_face","sleepy","dizzy_face","zipper_mouth_face","woozy","nauseated_face","vomiting","sneezing_face","mask","face_with_thermometer","face_with_head_bandage","money_mouth_face","cowboy_hat_face","smiling_imp","imp","japanese_ogre","japanese_goblin","clown_face","poop","ghost","skull","skull_and_crossbones","alien","space_invader","robot","jack_o_lantern","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","palms_up","open_hands","raised_hands","clap","handshake","+1","-1","facepunch","fist","fist_left","fist_right","crossed_fingers","v","love_you","metal","ok_hand","point_left","point_right","point_up","point_down","point_up_2","raised_hand","raised_back_of_hand","raised_hand_with_fingers_splayed","vulcan_salute","wave","call_me_hand","muscle","fu","writing_hand","pray","foot","leg","ring","lipstick","kiss","lips","tooth","tongue","ear","nose","footprints","eye","eyes","brain","speaking_head","bust_in_silhouette","busts_in_silhouette","baby","girl","child","boy","woman","adult","man","blonde_woman","blonde_man","bearded_person","older_woman","older_adult","older_man","man_with_gua_pi_mao","woman_with_headscarf","woman_with_turban","man_with_turban","policewoman","policeman","construction_worker_woman","construction_worker_man","guardswoman","guardsman","female_detective","male_detective","woman_health_worker","man_health_worker","woman_farmer","man_farmer","woman_cook","man_cook","woman_student","man_student","woman_singer","man_singer","woman_teacher","man_teacher","woman_factory_worker","man_factory_worker","woman_technologist","man_technologist","woman_office_worker","man_office_worker","woman_mechanic","man_mechanic","woman_scientist","man_scientist","woman_artist","man_artist","woman_firefighter","man_firefighter","woman_pilot","man_pilot","woman_astronaut","man_astronaut","woman_judge","man_judge","bride_with_veil","man_in_tuxedo","princess","prince","woman_superhero","man_superhero","woman_supervillain","man_supervillain","mrs_claus","santa","sorceress","wizard","woman_elf","man_elf","woman_vampire","man_vampire","woman_zombie","man_zombie","woman_genie","man_genie","mermaid","merman","woman_fairy","man_fairy","angel","pregnant_woman","breastfeeding","bowing_woman","bowing_man","tipping_hand_woman","tipping_hand_man","no_good_woman","no_good_man","ok_woman","ok_man","raising_hand_woman","raising_hand_man","woman_facepalming","man_facepalming","woman_shrugging","man_shrugging","pouting_woman","pouting_man","frowning_woman","frowning_man","haircut_woman","haircut_man","massage_woman","massage_man","woman_in_steamy_room","man_in_steamy_room","nail_care","selfie","dancer","man_dancing","dancing_women","dancing_men","business_suit_levitating","walking_woman","walking_man","running_woman","running_man","couple","two_women_holding_hands","two_men_holding_hands","couple_with_heart_woman_man","couple_with_heart_woman_woman","couple_with_heart_man_man","couplekiss_man_woman","couplekiss_woman_woman","couplekiss_man_man","family_man_woman_boy","family_man_woman_girl","family_man_woman_girl_boy","family_man_woman_boy_boy","family_man_woman_girl_girl","family_woman_woman_boy","family_woman_woman_girl","family_woman_woman_girl_boy","family_woman_woman_boy_boy","family_woman_woman_girl_girl","family_man_man_boy","family_man_man_girl","family_man_man_girl_boy","family_man_man_boy_boy","family_man_man_girl_girl","family_woman_boy","family_woman_girl","family_woman_girl_boy","family_woman_boy_boy","family_woman_girl_girl","family_man_boy","family_man_girl","family_man_girl_boy","family_man_boy_boy","family_man_girl_girl","yarn","thread","coat","labcoat","womans_clothes","tshirt","jeans","necktie","dress","bikini","kimono","flat_shoe","high_heel","sandal","boot","mans_shoe","athletic_shoe","hiking_boot","socks","gloves","scarf","tophat","billed_hat","womans_hat","mortar_board","rescue_worker_helmet","crown","pouch","purse","handbag","briefcase","school_satchel","luggage","eyeglasses","dark_sunglasses","goggles","closed_umbrella","dog","cat","mouse","hamster","rabbit","fox_face","bear","panda_face","koala","tiger","lion","cow","pig","pig_nose","frog","monkey_face","see_no_evil","hear_no_evil","speak_no_evil","monkey","chicken","penguin","bird","baby_chick","hatching_chick","hatched_chick","duck","eagle","owl","bat","wolf","boar","horse","unicorn","honeybee","bug","butterfly","snail","shell","beetle","ant","mosquito","grasshopper","spider","spider_web","scorpion","turtle","snake","lizard","t-rex","sauropod","octopus","squid","shrimp","lobster","crab","blowfish","tropical_fish","fish","dolphin","whale","whale2","shark","crocodile","tiger2","leopard","zebra","gorilla","elephant","hippopotamus","rhinoceros","dromedary_camel","giraffe","kangaroo","camel","water_buffalo","ox","cow2","racehorse","pig2","ram","sheep","llama","goat","deer","dog2","poodle","cat2","rooster","turkey","peacock","parrot","swan","dove","rabbit2","raccoon","badger","rat","mouse2","chipmunk","hedgehog","paw_prints","dragon","dragon_face","cactus","christmas_tree","evergreen_tree","deciduous_tree","palm_tree","seedling","herb","shamrock","four_leaf_clover","bamboo","tanabata_tree","leaves","fallen_leaf","maple_leaf","ear_of_rice","hibiscus","sunflower","rose","wilted_flower","tulip","blossom","cherry_blossom","bouquet","mushroom","earth_americas","earth_africa","earth_asia","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","new_moon_with_face","full_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","sun_with_face","crescent_moon","star","star2","dizzy","sparkles","comet","sunny","sun_behind_small_cloud","partly_sunny","sun_behind_large_cloud","sun_behind_rain_cloud","cloud","cloud_with_rain","cloud_with_lightning_and_rain","cloud_with_lightning","zap","fire","boom","snowflake","cloud_with_snow","snowman","snowman_with_snow","wind_face","dash","tornado","fog","open_umbrella","umbrella","droplet","sweat_drops","ocean","green_apple","apple","pear","tangerine","lemon","banana","watermelon","grapes","strawberry","melon","cherries","peach","mango","pineapple","coconut","kiwi_fruit","tomato","eggplant","avocado","broccoli","leafy_greens","cucumber","hot_pepper","corn","carrot","potato","sweet_potato","croissant","bagel","bread","baguette_bread","pretzel","cheese","egg","fried_egg","pancakes","bacon","steak","poultry_leg","meat_on_bone","bone","hotdog","hamburger","fries","pizza","sandwich","stuffed_flatbread","taco","burrito","green_salad","shallow_pan_of_food","canned_food","spaghetti","ramen","stew","curry","sushi","bento","fried_shrimp","rice_ball","rice","rice_cracker","fish_cake","fortune_cookie","moon_cake","oden","dango","shaved_ice","ice_cream","icecream","pie","cupcake","cake","birthday","custard","lollipop","candy","chocolate_bar","popcorn","doughnut","dumpling","cookie","chestnut","peanuts","honey_pot","milk_glass","baby_bottle","coffee","tea","cup_with_straw","sake","beer","beers","clinking_glasses","wine_glass","tumbler_glass","cocktail","tropical_drink","champagne","spoon","fork_and_knife","plate_with_cutlery","bowl_with_spoon","takeout_box","chopsticks","salt","soccer","basketball","football","baseball","softball","tennis","volleyball","rugby_football","flying_disc","8ball","golf","golfing_woman","golfing_man","ping_pong","badminton","goal_net","ice_hockey","field_hockey","lacrosse","cricket","ski","skier","snowboarder","person_fencing","women_wrestling","men_wrestling","woman_cartwheeling","man_cartwheeling","woman_playing_handball","man_playing_handball","ice_skate","curling_stone","skateboard","sled","bow_and_arrow","fishing_pole_and_fish","boxing_glove","martial_arts_uniform","rowing_woman","rowing_man","climbing_woman","climbing_man","swimming_woman","swimming_man","woman_playing_water_polo","man_playing_water_polo","woman_in_lotus_position","man_in_lotus_position","surfing_woman","surfing_man","basketball_woman","basketball_man","weight_lifting_woman","weight_lifting_man","biking_woman","biking_man","mountain_biking_woman","mountain_biking_man","horse_racing","trophy","running_shirt_with_sash","medal_sports","medal_military","1st_place_medal","2nd_place_medal","3rd_place_medal","reminder_ribbon","rosette","ticket","tickets","performing_arts","art","circus_tent","woman_juggling","man_juggling","microphone","headphones","musical_score","musical_keyboard","drum","saxophone","trumpet","guitar","violin","clapper","video_game","dart","game_die","chess_pawn","slot_machine","jigsaw","bowling","red_car","taxi","blue_car","bus","trolleybus","racing_car","police_car","ambulance","fire_engine","minibus","truck","articulated_lorry","tractor","kick_scooter","motorcycle","bike","motor_scooter","rotating_light","oncoming_police_car","oncoming_bus","oncoming_automobile","oncoming_taxi","aerial_tramway","mountain_cableway","suspension_railway","railway_car","train","monorail","bullettrain_side","bullettrain_front","light_rail","mountain_railway","steam_locomotive","train2","metro","tram","station","flying_saucer","helicopter","small_airplane","airplane","flight_departure","flight_arrival","sailboat","motor_boat","speedboat","ferry","passenger_ship","rocket","artificial_satellite","seat","canoe","anchor","construction","fuelpump","busstop","vertical_traffic_light","traffic_light","ship","ferris_wheel","roller_coaster","carousel_horse","building_construction","foggy","tokyo_tower","factory","fountain","rice_scene","mountain","mountain_snow","mount_fuji","volcano","japan","camping","tent","national_park","motorway","railway_track","sunrise","sunrise_over_mountains","desert","beach_umbrella","desert_island","city_sunrise","city_sunset","cityscape","night_with_stars","bridge_at_night","milky_way","stars","sparkler","fireworks","rainbow","houses","european_castle","japanese_castle","stadium","statue_of_liberty","house","house_with_garden","derelict_house","office","department_store","post_office","european_post_office","hospital","bank","hotel","convenience_store","school","love_hotel","wedding","classical_building","church","mosque","synagogue","kaaba","shinto_shrine","watch","iphone","calling","computer","keyboard","desktop_computer","printer","computer_mouse","trackball","joystick","clamp","minidisc","floppy_disk","cd","dvd","vhs","camera","camera_flash","video_camera","movie_camera","film_projector","film_strip","telephone_receiver","phone","pager","fax","tv","radio","studio_microphone","level_slider","control_knobs","compass","stopwatch","timer_clock","alarm_clock","mantelpiece_clock","hourglass_flowing_sand","hourglass","satellite","battery","electric_plug","bulb","flashlight","candle","fire_extinguisher","wastebasket","oil_drum","money_with_wings","dollar","yen","euro","pound","moneybag","credit_card","gem","balance_scale","toolbox","wrench","hammer","hammer_and_pick","hammer_and_wrench","pick","nut_and_bolt","gear","brick","chains","magnet","gun","bomb","firecracker","hocho","dagger","crossed_swords","shield","smoking","coffin","funeral_urn","amphora","crystal_ball","prayer_beads","nazar_amulet","barber","alembic","telescope","microscope","hole","pill","syringe","dna","microbe","petri_dish","test_tube","thermometer","broom","basket","toilet_paper","label","bookmark","toilet","shower","bathtub","bath","soap","sponge","lotion_bottle","key","old_key","couch_and_lamp","sleeping_bed","bed","door","bellhop_bell","teddy_bear","framed_picture","world_map","parasol_on_ground","moyai","shopping","shopping_cart","balloon","flags","ribbon","gift","confetti_ball","tada","dolls","wind_chime","crossed_flags","izakaya_lantern","red_envelope","email","envelope_with_arrow","incoming_envelope","e-mail","love_letter","postbox","mailbox_closed","mailbox","mailbox_with_mail","mailbox_with_no_mail","package","postal_horn","inbox_tray","outbox_tray","scroll","page_with_curl","bookmark_tabs","receipt","bar_chart","chart_with_upwards_trend","chart_with_downwards_trend","page_facing_up","date","calendar","spiral_calendar","card_index","card_file_box","ballot_box","file_cabinet","clipboard","spiral_notepad","file_folder","open_file_folder","card_index_dividers","newspaper_roll","newspaper","notebook","closed_book","green_book","blue_book","orange_book","notebook_with_decorative_cover","ledger","books","open_book","safety_pin","link","paperclip","paperclips","scissors","triangular_ruler","straight_ruler","abacus","pushpin","round_pushpin","closed_lock_with_key","lock","unlock","lock_with_ink_pen","pen","fountain_pen","black_nib","memo","pencil2","crayon","paintbrush","mag","mag_right","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","black_heart","broken_heart","heavy_heart_exclamation","two_hearts","revolving_hearts","heartbeat","heartpulse","sparkling_heart","cupid","gift_heart","heart_decoration","peace_symbol","latin_cross","star_and_crescent","om","wheel_of_dharma","star_of_david","six_pointed_star","menorah","yin_yang","orthodox_cross","place_of_worship","ophiuchus","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","id","atom_symbol","u7a7a","u5272","radioactive","biohazard","mobile_phone_off","vibration_mode","u6709","u7121","u7533","u55b6","u6708","eight_pointed_black_star","vs","accept","white_flower","ideograph_advantage","secret","congratulations","u5408","u6e80","u7981","a","b","ab","cl","o2","sos","no_entry","name_badge","no_entry_sign","x","o","stop_sign","anger","hotsprings","no_pedestrians","do_not_litter","no_bicycles","non-potable_water","underage","no_mobile_phones","exclamation","grey_exclamation","question","grey_question","bangbang","interrobang","100","low_brightness","high_brightness","trident","fleur_de_lis","part_alternation_mark","warning","children_crossing","beginner","recycle","u6307","chart","sparkle","eight_spoked_asterisk","negative_squared_cross_mark","white_check_mark","diamond_shape_with_a_dot_inside","cyclone","loop","globe_with_meridians","m","atm","zzz","sa","passport_control","customs","baggage_claim","left_luggage","wheelchair","no_smoking","wc","parking","potable_water","mens","womens","baby_symbol","restroom","put_litter_in_its_place","cinema","signal_strength","koko","ng","ok","up","cool","new","free","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","asterisk","1234","eject_button","arrow_forward","pause_button","next_track_button","stop_button","record_button","play_or_pause_button","previous_track_button","fast_forward","rewind","twisted_rightwards_arrows","repeat","repeat_one","arrow_backward","arrow_up_small","arrow_down_small","arrow_double_up","arrow_double_down","arrow_right","arrow_left","arrow_up","arrow_down","arrow_upper_right","arrow_lower_right","arrow_lower_left","arrow_upper_left","arrow_up_down","left_right_arrow","arrows_counterclockwise","arrow_right_hook","leftwards_arrow_with_hook","arrow_heading_up","arrow_heading_down","hash","information_source","abc","abcd","capital_abcd","symbols","musical_note","notes","wavy_dash","curly_loop","heavy_check_mark","arrows_clockwise","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_multiplication_x","infinity","heavy_dollar_sign","currency_exchange","copyright","registered","tm","end","back","on","top","soon","ballot_box_with_check","radio_button","white_circle","black_circle","red_circle","large_blue_circle","small_orange_diamond","small_blue_diamond","large_orange_diamond","large_blue_diamond","small_red_triangle","black_small_square","white_small_square","black_large_square","white_large_square","small_red_triangle_down","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_square_button","white_square_button","speaker","sound","loud_sound","mute","mega","loudspeaker","bell","no_bell","black_joker","mahjong","spades","clubs","hearts","diamonds","flower_playing_cards","thought_balloon","right_anger_bubble","speech_balloon","left_speech_bubble","clock1","clock2","clock3","clock4","clock5","clock6","clock7","clock8","clock9","clock10","clock11","clock12","clock130","clock230","clock330","clock430","clock530","clock630","clock730","clock830","clock930","clock1030","clock1130","clock1230","white_flag","black_flag","pirate_flag","checkered_flag","triangular_flag_on_post","rainbow_flag","united_nations","afghanistan","aland_islands","albania","algeria","american_samoa","andorra","angola","anguilla","antarctica","antigua_barbuda","argentina","armenia","aruba","australia","austria","azerbaijan","bahamas","bahrain","bangladesh","barbados","belarus","belgium","belize","benin","bermuda","bhutan","bolivia","caribbean_netherlands","bosnia_herzegovina","botswana","brazil","british_indian_ocean_territory","british_virgin_islands","brunei","bulgaria","burkina_faso","burundi","cape_verde","cambodia","cameroon","canada","canary_islands","cayman_islands","central_african_republic","chad","chile","cn","christmas_island","cocos_islands","colombia","comoros","congo_brazzaville","congo_kinshasa","cook_islands","costa_rica","croatia","cuba","curacao","cyprus","czech_republic","denmark","djibouti","dominica","dominican_republic","ecuador","egypt","el_salvador","equatorial_guinea","eritrea","estonia","ethiopia","eu","falkland_islands","faroe_islands","fiji","finland","fr","french_guiana","french_polynesia","french_southern_territories","gabon","gambia","georgia","de","ghana","gibraltar","greece","greenland","grenada","guadeloupe","guam","guatemala","guernsey","guinea","guinea_bissau","guyana","haiti","honduras","hong_kong","hungary","iceland","india","indonesia","iran","iraq","ireland","isle_of_man","israel","it","cote_divoire","jamaica","jp","jersey","jordan","kazakhstan","kenya","kiribati","kosovo","kuwait","kyrgyzstan","laos","latvia","lebanon","lesotho","liberia","libya","liechtenstein","lithuania","luxembourg","macau","macedonia","madagascar","malawi","malaysia","maldives","mali","malta","marshall_islands","martinique","mauritania","mauritius","mayotte","mexico","micronesia","moldova","monaco","mongolia","montenegro","montserrat","morocco","mozambique","myanmar","namibia","nauru","nepal","netherlands","new_caledonia","new_zealand","nicaragua","niger","nigeria","niue","norfolk_island","northern_mariana_islands","north_korea","norway","oman","pakistan","palau","palestinian_territories","panama","papua_new_guinea","paraguay","peru","philippines","pitcairn_islands","poland","portugal","puerto_rico","qatar","reunion","romania","ru","rwanda","st_barthelemy","st_helena","st_kitts_nevis","st_lucia","st_pierre_miquelon","st_vincent_grenadines","samoa","san_marino","sao_tome_principe","saudi_arabia","senegal","serbia","seychelles","sierra_leone","singapore","sint_maarten","slovakia","slovenia","solomon_islands","somalia","south_africa","south_georgia_south_sandwich_islands","kr","south_sudan","es","sri_lanka","sudan","suriname","swaziland","sweden","switzerland","syria","taiwan","tajikistan","tanzania","thailand","timor_leste","togo","tokelau","tonga","trinidad_tobago","tunisia","tr","turkmenistan","turks_caicos_islands","tuvalu","uganda","ukraine","united_arab_emirates","uk","england","scotland","wales","us","us_virgin_islands","uruguay","uzbekistan","vanuatu","vatican_city","venezuela","vietnam","wallis_futuna","western_sahara","yemen","zambia","zimbabwe"];var _B={lib:pB,ordered:mB,fitzpatrick_scale_modifiers:["🏻","🏼","🏽","🏾","🏿"]};const gB=Kr(_B);var yB=()=>{const e="\\ud800-\\udfff",s="\\u0300-\\u036f"+"\\ufe20-\\ufe2f"+"\\u20d0-\\u20ff"+"\\u1ab0-\\u1aff"+"\\u1dc0-\\u1dff",o="\\ufe0e\\ufe0f",u="\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83C\\uDF93",l=`[${e}]`,p=`[${s}]`,h="\\ud83c[\\udffb-\\udfff]",f=`(?:${p}|${h})`,m=`[^${e}]`,y="(?:\\uD83C[\\uDDE6-\\uDDFF]){2}",b="[\\ud800-\\udbff][\\udc00-\\udfff]",D="\\u200d",A="(?:\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40(?:\\udc65|\\udc73|\\udc77)\\udb40(?:\\udc6e|\\udc63|\\udc6c)\\udb40(?:\\udc67|\\udc74|\\udc73)\\udb40\\udc7f)",S=`[${u}]`,O=`${f}?`,H=`[${o}]?`,N=`(?:${D}(?:${[m,y,b].join("|")})${H+O})*`,d=H+O+N,j=`(?:${[`${m}${p}?`,p,y,b,l,S].join("|")})`;return new RegExp(`${A}|${h}(?=${h})|${j+d}`,"g")};const kB=Kr(yB);kB();var bB="️",wB=new RegExp(bB,"g");function EB(e){return e.replace(wB,"")}function TB(e){return/:.+:/.test(e)?e.slice(1,-1):e}var Vo=Object.entries(gB.lib).map(([e,{char:t}])=>[e,t]),AB=new Map(Vo);new Map(Vo.map(([e,t])=>[EB(t),e]));var CB=e=>(Eg.assert.string(e),AB.get(TB(e)));const Bi=[{name:"angry",emoji:"😠",tags:["mad","annoyed"],description:"angry face",emoticons:[">:(",">:[",">:-(",">:-[",">=(",">=[",">=-(",">=-["]},{name:"blush",emoji:"😊",tags:["proud"],description:"smiling face with smiling eyes",emoticons:[':")',':"]',':"D',':-")',':-"]',':-"D','=")','="]','="D','=-")','=-"]','=-"D']},{name:"broken_heart",emoji:"💔",tags:[],description:"broken heart",emoticons:["<\\3","0?{type:"text",value:d}:void 0),d===!1?f.lastIndex=H+1:(y!==H&&S.push({type:"text",value:l.value.slice(y,H)}),Array.isArray(d)?S.push(...d):d&&S.push(d),y=H+O[0].length,A=!0),!f.global)break;O=f.exec(l.value)}return A?(y038BOopPsSdDxXzZ]{2,5}/g,FB=/(?:_|-(?!1))/g,OB={padSpaceAfter:!1,emoticon:!1,accessible:!1};function LB(e){const t=Object.assign({},OB,e),a=!!t.padSpaceAfter,r=!!t.emoticon,n=!!t.accessible;function i(p,h){return{type:"text",meta:null,value:p,data:{hName:"span",hProperties:{role:"img",ariaLabel:h},hChildren:[{type:"text",value:p}]}}}function s(p){const h=Bi.find(A=>A.emoticons.includes(p)),f=Bi.find(A=>A.emoticons.includes(p.slice(0,-1))),m=h||f;if(!m)return!1;const y=!h&&f?p.slice(-1):"",b=a?" ":"",D=m.emoji+b+y;return n?i(D,m.name+" emoticon"):D}function o(p){let h=CB(p);if(typeof h>"u")return!1;if(a&&(h=h+" "),n){const f=p.slice(1,-1).replace(FB," ")+" emoji";return i(h,f)}return h}const u=[[SB,o]];r&&u.push([NB,s]);function l(p){Wo(p,u)}return l}function Pi(e,t){const a=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,n=a.indexOf(t);for(;n!==-1;)r++,n=a.indexOf(t,n+t.length);return r}const yr="phrasing",kr=["autolink","link","image","label"];function RB(){return{transforms:[jB],enter:{literalAutolink:BB,literalAutolinkEmail:br,literalAutolinkHttp:br,literalAutolinkWww:br},exit:{literalAutolink:UB,literalAutolinkEmail:HB,literalAutolinkHttp:PB,literalAutolinkWww:MB}}}function vB(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:yr,notInConstruct:kr},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:yr,notInConstruct:kr},{character:":",before:"[ps]",after:"\\/",inConstruct:yr,notInConstruct:kr}]}}function BB(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function br(e){this.config.enter.autolinkProtocol.call(this,e)}function PB(e){this.config.exit.autolinkProtocol.call(this,e)}function MB(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function HB(e){this.config.exit.autolinkEmail.call(this,e)}function UB(e){this.exit(e)}function jB(e){Wo(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,qB],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,YB]],{ignore:["link","linkReference"]})}function qB(e,t,a,r,n){let i="";if(!Go(n)||(/^w/i.test(t)&&(a=t+a,t="",i="http://"),!$B(a)))return!1;const s=VB(a+r);if(!s[0])return!1;const o={type:"link",title:null,url:i+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[o,{type:"text",value:s[1]}]:o}function YB(e,t,a,r){return!Go(r,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+a,children:[{type:"text",value:t+"@"+a}]}}function $B(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function VB(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let a=t[0],r=a.indexOf(")");const n=Pi(e,"(");let i=Pi(e,")");for(;r!==-1&&n>i;)e+=a.slice(0,r+1),a=a.slice(r+1),r=a.indexOf(")"),i++;return[e,a]}function Go(e,t){const a=e.input.charCodeAt(e.index-1);return(e.index===0||Et(a)||$a(a))&&(!t||a!==47)}Qo.peek=rP;function WB(){return{enter:{gfmFootnoteDefinition:QB,gfmFootnoteDefinitionLabelString:XB,gfmFootnoteCall:ZB,gfmFootnoteCallString:eP},exit:{gfmFootnoteDefinition:JB,gfmFootnoteDefinitionLabelString:KB,gfmFootnoteCall:aP,gfmFootnoteCallString:tP}}}function GB(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:nP,footnoteReference:Qo}}}function QB(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function XB(){this.buffer()}function KB(e){const t=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=t,a.identifier=Pe(this.sliceSerialize(e)).toLowerCase()}function JB(e){this.exit(e)}function ZB(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function eP(){this.buffer()}function tP(e){const t=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=t,a.identifier=Pe(this.sliceSerialize(e)).toLowerCase()}function aP(e){this.exit(e)}function Qo(e,t,a,r){const n=a.createTracker(r);let i=n.move("[^");const s=a.enter("footnoteReference"),o=a.enter("reference");return i+=n.move(a.safe(a.associationId(e),{...n.current(),before:i,after:"]"})),o(),s(),i+=n.move("]"),i}function rP(){return"["}function nP(e,t,a,r){const n=a.createTracker(r);let i=n.move("[^");const s=a.enter("footnoteDefinition"),o=a.enter("label");return i+=n.move(a.safe(a.associationId(e),{...n.current(),before:i,after:"]"})),o(),i+=n.move("]:"+(e.children&&e.children.length>0?" ":"")),n.shift(4),i+=n.move(a.indentLines(a.containerFlow(e,n.current()),iP)),s(),i}function iP(e,t,a){return t===0?e:(a?"":" ")+e}const sP=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Xo.peek=fP;function oP(){return{canContainEols:["delete"],enter:{strikethrough:uP},exit:{strikethrough:lP}}}function cP(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:sP}],handlers:{delete:Xo}}}function uP(e){this.enter({type:"delete",children:[]},e)}function lP(e){this.exit(e)}function Xo(e,t,a,r){const n=a.createTracker(r),i=a.enter("strikethrough");let s=n.move("~~");return s+=a.containerPhrasing(e,{...n.current(),before:s,after:"~"}),s+=n.move("~~"),i(),s}function fP(){return"~"}function hP(e,t={}){const a=(t.align||[]).concat(),r=t.stringLength||pP,n=[],i=[],s=[],o=[];let u=0,l=-1;for(;++lu&&(u=e[l].length);++Do[D])&&(o[D]=S)}y.push(A)}i[l]=y,s[l]=b}let p=-1;if(typeof a=="object"&&"length"in a)for(;++po[p]&&(o[p]=A),f[p]=A),h[p]=S}i.splice(1,0,h),s.splice(1,0,f),l=-1;const m=[];for(;++l0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const MP={tokenize:WP,partial:!0};function HP(){return{document:{91:{tokenize:YP,continuation:{tokenize:$P},exit:VP}},text:{91:{tokenize:qP},93:{add:"after",tokenize:UP,resolveTo:jP}}}}function UP(e,t,a){const r=this;let n=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;n--;){const u=r.events[n][1];if(u.type==="labelImage"){s=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return o;function o(u){if(!s||!s._balanced)return a(u);const l=Pe(r.sliceSerialize({start:s.end,end:r.now()}));return l.codePointAt(0)!==94||!i.includes(l.slice(1))?a(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function jP(e,t){let a=e.length;for(;a--;)if(e[a][1].type==="labelImage"&&e[a][0]==="enter"){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},n={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};n.end.column++,n.end.offset++,n.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},n.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[a+1],e[a+2],["enter",r,t],e[a+3],e[a+4],["enter",n,t],["exit",n,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(a,e.length-a+1,...o),e}function qP(e,t,a){const r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,s;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),u}function u(h){return h!==94?a(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(h){if(i>999||h===93&&!s||h===null||h===91||ae(h))return a(h);if(h===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return n.includes(Pe(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):a(h)}return ae(h)||(s=!0),i++,e.consume(h),h===92?p:l}function p(h){return h===91||h===92||h===93?(e.consume(h),i++,l):l(h)}}function YP(e,t,a){const r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,s=0,o;return u;function u(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):a(y)}function p(y){if(s>999||y===93&&!o||y===null||y===91||ae(y))return a(y);if(y===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return i=Pe(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return ae(y)||(o=!0),s++,e.consume(y),y===92?h:p}function h(y){return y===91||y===92||y===93?(e.consume(y),s++,p):p(y)}function f(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),n.includes(i)||n.push(i),G(e,m,"gfmFootnoteDefinitionWhitespace")):a(y)}function m(y){return t(y)}}function $P(e,t,a){return e.check(ma,t,e.attempt(MP,t,a))}function VP(e){e.exit("gfmFootnoteDefinition")}function WP(e,t,a){const r=this;return G(e,n,"gfmFootnoteDefinitionIndent",5);function n(i){const s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(i):a(i)}}function GP(e){let a=(e||{}).singleTilde;const r={tokenize:i,resolveAll:n};return a==null&&(a=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function n(s,o){let u=-1;for(;++u1?u(y):(s.consume(y),h++,m);if(h<2&&!a)return u(y);const D=s.exit("strikethroughSequenceTemporary"),A=Na(y);return D._open=!A||A===2&&!!b,D._close=!b||b===2&&!!A,o(y)}}}class QP{constructor(){this.map=[]}add(t,a,r){XP(this,t,a,r)}consume(t){if(this.map.sort(function(i,s){return i[0]-s[0]}),this.map.length===0)return;let a=this.map.length;const r=[];for(;a>0;)a-=1,r.push(t.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),t.length=this.map[a][0];r.push([...t]),t.length=0;let n=r.pop();for(;n;)t.push(...n),n=r.pop();this.map.length=0}}function XP(e,t,a,r){let n=0;if(!(a===0&&r.length===0)){for(;n-1;){const te=r.events[z][1].type;if(te==="lineEnding"||te==="linePrefix")z--;else break}const P=z>-1?r.events[z][1].type:null,Q=P==="tableHead"||P==="tableRow"?d:u;return Q===d&&r.parser.lazy[r.now().line]?a(x):Q(x)}function u(x){return e.enter("tableHead"),e.enter("tableRow"),l(x)}function l(x){return x===124||(s=!0,i+=1),p(x)}function p(x){return x===null?a(x):Y(x)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),m):a(x):X(x)?G(e,p,"whitespace")(x):(i+=1,s&&(s=!1,n+=1),x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),s=!0,p):(e.enter("data"),h(x)))}function h(x){return x===null||x===124||ae(x)?(e.exit("data"),p(x)):(e.consume(x),x===92?f:h)}function f(x){return x===92||x===124?(e.consume(x),h):h(x)}function m(x){return r.interrupt=!1,r.parser.lazy[r.now().line]?a(x):(e.enter("tableDelimiterRow"),s=!1,X(x)?G(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):y(x))}function y(x){return x===45||x===58?D(x):x===124?(s=!0,e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),b):N(x)}function b(x){return X(x)?G(e,D,"whitespace")(x):D(x)}function D(x){return x===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),A):x===45?(i+=1,A(x)):x===null||Y(x)?H(x):N(x)}function A(x){return x===45?(e.enter("tableDelimiterFiller"),S(x)):N(x)}function S(x){return x===45?(e.consume(x),S):x===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),O):(e.exit("tableDelimiterFiller"),O(x))}function O(x){return X(x)?G(e,H,"whitespace")(x):H(x)}function H(x){return x===124?y(x):x===null||Y(x)?!s||n!==i?N(x):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(x)):N(x)}function N(x){return a(x)}function d(x){return e.enter("tableRow"),I(x)}function I(x){return x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),I):x===null||Y(x)?(e.exit("tableRow"),t(x)):X(x)?G(e,I,"whitespace")(x):(e.enter("data"),j(x))}function j(x){return x===null||x===124||ae(x)?(e.exit("data"),I(x)):(e.consume(x),x===92?$:j)}function $(x){return x===92||x===124?(e.consume(x),j):j(x)}}function eM(e,t){let a=-1,r=!0,n=0,i=[0,0,0,0],s=[0,0,0,0],o=!1,u=0,l,p,h;const f=new QP;for(;++aa[2]+1){const y=a[2]+1,b=a[3]-a[2]-1;e.add(y,b,[])}}e.add(a[3]+1,0,[["exit",h,t]])}return n!==void 0&&(i.end=Object.assign({},St(t.events,n)),e.add(n,0,[["exit",i,t]]),i=void 0),i}function ji(e,t,a,r,n){const i=[],s=St(t.events,a);n&&(n.end=Object.assign({},s),i.push(["exit",n,t])),r.end=Object.assign({},s),i.push(["exit",r,t]),e.add(a+1,0,i)}function St(e,t){const a=e[t],r=a[0]==="enter"?"start":"end";return a[1][r]}const tM={tokenize:rM};function aM(){return{text:{91:tM}}}function rM(e,t,a){const r=this;return n;function n(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?a(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),i)}function i(u){return ae(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),s):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),s):a(u)}function s(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):a(u)}function o(u){return Y(u)?t(u):X(u)?e.check({tokenize:nM},t,a)(u):a(u)}}function nM(e,t,a){return G(e,r,"whitespace");function r(n){return n===null?a(n):t(n)}}function iM(e){return ds([SP(),HP(),GP(e),JP(),aM()])}const sM={};function oM(e){const t=this,a=e||sM,r=t.data(),n=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);n.push(iM(a)),i.push(xP()),s.push(DP(a))}const cM=function(e,t,a,r,n){const i=gn(t);if(a!=null&&(typeof a!="number"||a<0||a===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(r!=null&&(!r.type||!r.children))throw new Error("Expected valid `parent`");if(a==null!=(r==null))throw new Error("Expected both `index` and `parent`");return ic(e)?i.call(n,e,a,r):!1},gn=function(e){if(e==null)return fM;if(typeof e=="string")return lM(e);if(typeof e=="object")return uM(e);if(typeof e=="function")return yn(e);throw new Error("Expected function, string, or array as `test`")};function uM(e){const t=[];let a=-1;for(;++a0&&(i.properties.rel=[...f]),m&&(i.properties.target=m),p){const b=Gt(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:Qe(b),children:Qe(p)})}}}})}}function Gt(e,t){return typeof e=="function"?e(t):e}const qi={accept:"input",className:null,dropzone:null,htmlFor:"output",headers:["td","th"],itemProp:null,itemRef:null,itemType:null,ping:["a","area"],rel:["a","area","link"],sandbox:"iframe",sizes:"link"};function bM(){return function(e){const t=new Map,a=[];Xe(e,"element",function(i){let s;for(s in i.properties)if(Object.hasOwn(i.properties,s)){const o=i.properties[s];Object.hasOwn(qi,s)&&cM(i,qi[s])&&Array.isArray(o)&&r(s,o)}}),n();function r(i,s){let o=-1,u=t.get(i);for(u||(u=new Map,t.set(i,u));++o-1&&ii)return{line:s+1,column:i-(s>0?a[s-1]:0)+1,offset:i}}}function n(i){const s=i&&i.line,o=i&&i.column;if(typeof s=="number"&&typeof o=="number"&&!Number.isNaN(s)&&!Number.isNaN(o)&&s-1 in a){const u=(a[s-2]||0)+o-1||0;if(u>-1&&u=55296&&e<=57343}function QM(e){return e>=56320&&e<=57343}function XM(e,t){return(e-55296)*1024+9216+t}function dc(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function pc(e){return e>=64976&&e<=65007||GM.has(e)}var F;(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"})(F=F||(F={}));const KM=65536;class JM{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=KM,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:a,col:r,offset:n}=this;return{code:t,startLine:a,endLine:a,startCol:r,endCol:r,startOffset:n,endOffset:n}}_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 a=this.html.charCodeAt(this.pos+1);if(QM(a))return this.pos++,this._addGap(),XM(t,a)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,_.EOF;return this._err(F.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,a){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=a}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,a){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(a)return this.html.startsWith(t,this.pos);for(let r=0;r=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;const r=this.html.charCodeAt(a);return r===_.CARRIAGE_RETURN?_.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,_.EOF;let t=this.html.charCodeAt(this.pos);return t===_.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,_.LINE_FEED):t===_.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,hc(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===_.LINE_FEED||t===_.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){dc(t)?this._err(F.controlCharacterInInputStream):pc(t)&&this._err(F.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos=0;a--)if(e.attrs[a].name===t)return e.attrs[a].value;return null}const at=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))),ZM=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Tr;const e7=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]]),t7=(Tr=String.fromCodePoint)!==null&&Tr!==void 0?Tr: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 a7(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=e7.get(e))!==null&&t!==void 0?t:e}var ge;(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"})(ge||(ge={}));const r7=32;var je;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(je||(je={}));function Vr(e){return e>=ge.ZERO&&e<=ge.NINE}function n7(e){return e>=ge.UPPER_A&&e<=ge.UPPER_F||e>=ge.LOWER_A&&e<=ge.LOWER_F}function i7(e){return e>=ge.UPPER_A&&e<=ge.UPPER_Z||e>=ge.LOWER_A&&e<=ge.LOWER_Z||Vr(e)}function s7(e){return e===ge.EQUALS||i7(e)}var me;(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"})(me||(me={}));var gt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(gt||(gt={}));class o7{constructor(t,a,r){this.decodeTree=t,this.emitCodePoint=a,this.errors=r,this.state=me.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=gt.Strict}startEntity(t){this.decodeMode=t,this.state=me.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,a){switch(this.state){case me.EntityStart:return t.charCodeAt(a)===ge.NUM?(this.state=me.NumericStart,this.consumed+=1,this.stateNumericStart(t,a+1)):(this.state=me.NamedEntity,this.stateNamedEntity(t,a));case me.NumericStart:return this.stateNumericStart(t,a);case me.NumericDecimal:return this.stateNumericDecimal(t,a);case me.NumericHex:return this.stateNumericHex(t,a);case me.NamedEntity:return this.stateNamedEntity(t,a)}}stateNumericStart(t,a){return a>=t.length?-1:(t.charCodeAt(a)|r7)===ge.LOWER_X?(this.state=me.NumericHex,this.consumed+=1,this.stateNumericHex(t,a+1)):(this.state=me.NumericDecimal,this.stateNumericDecimal(t,a))}addToNumericResult(t,a,r,n){if(a!==r){const i=r-a;this.result=this.result*Math.pow(n,i)+parseInt(t.substr(a,i),n),this.consumed+=i}}stateNumericHex(t,a){const r=a;for(;a>14;for(;a>14,i!==0){if(s===ge.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==gt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:a,decodeTree:r}=this,n=(r[a]&je.VALUE_LENGTH)>>14;return this.emitNamedEntityData(a,n,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,a,r){const{decodeTree:n}=this;return this.emitCodePoint(a===1?n[t]&~je.VALUE_LENGTH:n[t+1],r),a===3&&this.emitCodePoint(n[t+2],r),r}end(){var t;switch(this.state){case me.NamedEntity:return this.result!==0&&(this.decodeMode!==gt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case me.NumericDecimal:return this.emitNumericEntity(0,2);case me.NumericHex:return this.emitNumericEntity(0,3);case me.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case me.EntityStart:return 0}}}function _c(e){let t="";const a=new o7(e,r=>t+=t7(r));return function(n,i){let s=0,o=0;for(;(o=n.indexOf("&",o))>=0;){t+=n.slice(s,o),a.startEntity(i);const l=a.write(n,o+1);if(l<0){s=o+a.end();break}s=o+l,o=l===0?s+1:s}const u=t+n.slice(s);return t="",u}}function gc(e,t,a,r){const n=(t&je.BRANCH_LENGTH)>>7,i=t&je.JUMP_TABLE;if(n===0)return i!==0&&r===i?a:-1;if(i){const u=r-i;return u<0||u>=n?-1:e[a+u]-1}let s=a,o=s+n-1;for(;s<=o;){const u=s+o>>>1,l=e[u];if(lr)o=u-1;else return e[u+n]}return-1}_c(at);_c(ZM);var L;(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/"})(L=L||(L={}));var st;(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"})(st=st||(st={}));var ze;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ze=ze||(ze={}));var C;(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"})(C=C||(C={}));var c;(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"})(c=c||(c={}));const c7=new Map([[C.A,c.A],[C.ADDRESS,c.ADDRESS],[C.ANNOTATION_XML,c.ANNOTATION_XML],[C.APPLET,c.APPLET],[C.AREA,c.AREA],[C.ARTICLE,c.ARTICLE],[C.ASIDE,c.ASIDE],[C.B,c.B],[C.BASE,c.BASE],[C.BASEFONT,c.BASEFONT],[C.BGSOUND,c.BGSOUND],[C.BIG,c.BIG],[C.BLOCKQUOTE,c.BLOCKQUOTE],[C.BODY,c.BODY],[C.BR,c.BR],[C.BUTTON,c.BUTTON],[C.CAPTION,c.CAPTION],[C.CENTER,c.CENTER],[C.CODE,c.CODE],[C.COL,c.COL],[C.COLGROUP,c.COLGROUP],[C.DD,c.DD],[C.DESC,c.DESC],[C.DETAILS,c.DETAILS],[C.DIALOG,c.DIALOG],[C.DIR,c.DIR],[C.DIV,c.DIV],[C.DL,c.DL],[C.DT,c.DT],[C.EM,c.EM],[C.EMBED,c.EMBED],[C.FIELDSET,c.FIELDSET],[C.FIGCAPTION,c.FIGCAPTION],[C.FIGURE,c.FIGURE],[C.FONT,c.FONT],[C.FOOTER,c.FOOTER],[C.FOREIGN_OBJECT,c.FOREIGN_OBJECT],[C.FORM,c.FORM],[C.FRAME,c.FRAME],[C.FRAMESET,c.FRAMESET],[C.H1,c.H1],[C.H2,c.H2],[C.H3,c.H3],[C.H4,c.H4],[C.H5,c.H5],[C.H6,c.H6],[C.HEAD,c.HEAD],[C.HEADER,c.HEADER],[C.HGROUP,c.HGROUP],[C.HR,c.HR],[C.HTML,c.HTML],[C.I,c.I],[C.IMG,c.IMG],[C.IMAGE,c.IMAGE],[C.INPUT,c.INPUT],[C.IFRAME,c.IFRAME],[C.KEYGEN,c.KEYGEN],[C.LABEL,c.LABEL],[C.LI,c.LI],[C.LINK,c.LINK],[C.LISTING,c.LISTING],[C.MAIN,c.MAIN],[C.MALIGNMARK,c.MALIGNMARK],[C.MARQUEE,c.MARQUEE],[C.MATH,c.MATH],[C.MENU,c.MENU],[C.META,c.META],[C.MGLYPH,c.MGLYPH],[C.MI,c.MI],[C.MO,c.MO],[C.MN,c.MN],[C.MS,c.MS],[C.MTEXT,c.MTEXT],[C.NAV,c.NAV],[C.NOBR,c.NOBR],[C.NOFRAMES,c.NOFRAMES],[C.NOEMBED,c.NOEMBED],[C.NOSCRIPT,c.NOSCRIPT],[C.OBJECT,c.OBJECT],[C.OL,c.OL],[C.OPTGROUP,c.OPTGROUP],[C.OPTION,c.OPTION],[C.P,c.P],[C.PARAM,c.PARAM],[C.PLAINTEXT,c.PLAINTEXT],[C.PRE,c.PRE],[C.RB,c.RB],[C.RP,c.RP],[C.RT,c.RT],[C.RTC,c.RTC],[C.RUBY,c.RUBY],[C.S,c.S],[C.SCRIPT,c.SCRIPT],[C.SECTION,c.SECTION],[C.SELECT,c.SELECT],[C.SOURCE,c.SOURCE],[C.SMALL,c.SMALL],[C.SPAN,c.SPAN],[C.STRIKE,c.STRIKE],[C.STRONG,c.STRONG],[C.STYLE,c.STYLE],[C.SUB,c.SUB],[C.SUMMARY,c.SUMMARY],[C.SUP,c.SUP],[C.TABLE,c.TABLE],[C.TBODY,c.TBODY],[C.TEMPLATE,c.TEMPLATE],[C.TEXTAREA,c.TEXTAREA],[C.TFOOT,c.TFOOT],[C.TD,c.TD],[C.TH,c.TH],[C.THEAD,c.THEAD],[C.TITLE,c.TITLE],[C.TR,c.TR],[C.TRACK,c.TRACK],[C.TT,c.TT],[C.U,c.U],[C.UL,c.UL],[C.SVG,c.SVG],[C.VAR,c.VAR],[C.WBR,c.WBR],[C.XMP,c.XMP]]);function jt(e){var t;return(t=c7.get(e))!==null&&t!==void 0?t:c.UNKNOWN}const M=c,u7={[L.HTML]:new Set([M.ADDRESS,M.APPLET,M.AREA,M.ARTICLE,M.ASIDE,M.BASE,M.BASEFONT,M.BGSOUND,M.BLOCKQUOTE,M.BODY,M.BR,M.BUTTON,M.CAPTION,M.CENTER,M.COL,M.COLGROUP,M.DD,M.DETAILS,M.DIR,M.DIV,M.DL,M.DT,M.EMBED,M.FIELDSET,M.FIGCAPTION,M.FIGURE,M.FOOTER,M.FORM,M.FRAME,M.FRAMESET,M.H1,M.H2,M.H3,M.H4,M.H5,M.H6,M.HEAD,M.HEADER,M.HGROUP,M.HR,M.HTML,M.IFRAME,M.IMG,M.INPUT,M.LI,M.LINK,M.LISTING,M.MAIN,M.MARQUEE,M.MENU,M.META,M.NAV,M.NOEMBED,M.NOFRAMES,M.NOSCRIPT,M.OBJECT,M.OL,M.P,M.PARAM,M.PLAINTEXT,M.PRE,M.SCRIPT,M.SECTION,M.SELECT,M.SOURCE,M.STYLE,M.SUMMARY,M.TABLE,M.TBODY,M.TD,M.TEMPLATE,M.TEXTAREA,M.TFOOT,M.TH,M.THEAD,M.TITLE,M.TR,M.TRACK,M.UL,M.WBR,M.XMP]),[L.MATHML]:new Set([M.MI,M.MO,M.MN,M.MS,M.MTEXT,M.ANNOTATION_XML]),[L.SVG]:new Set([M.TITLE,M.FOREIGN_OBJECT,M.DESC]),[L.XLINK]:new Set,[L.XML]:new Set,[L.XMLNS]:new Set};function yc(e){return e===M.H1||e===M.H2||e===M.H3||e===M.H4||e===M.H5||e===M.H6}C.STYLE,C.SCRIPT,C.XMP,C.IFRAME,C.NOEMBED,C.NOFRAMES,C.PLAINTEXT;const l7=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 g;(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"})(g||(g={}));const fe={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function ea(e){return e>=_.DIGIT_0&&e<=_.DIGIT_9}function Jt(e){return e>=_.LATIN_CAPITAL_A&&e<=_.LATIN_CAPITAL_Z}function f7(e){return e>=_.LATIN_SMALL_A&&e<=_.LATIN_SMALL_Z}function rt(e){return f7(e)||Jt(e)}function Wr(e){return rt(e)||ea(e)}function kc(e){return e>=_.LATIN_CAPITAL_A&&e<=_.LATIN_CAPITAL_F}function bc(e){return e>=_.LATIN_SMALL_A&&e<=_.LATIN_SMALL_F}function h7(e){return ea(e)||kc(e)||bc(e)}function Ta(e){return e+32}function wc(e){return e===_.SPACE||e===_.LINE_FEED||e===_.TABULATION||e===_.FORM_FEED}function d7(e){return e===_.EQUALS_SIGN||Wr(e)}function Gi(e){return wc(e)||e===_.SOLIDUS||e===_.GREATER_THAN_SIGN}class p7{constructor(t,a){this.options=t,this.handler=a,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new JM(a),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var a,r;(r=(a=this.handler).onParseError)===null||r===void 0||r.call(a,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,a,r){this.active=!0,this.preprocessor.write(t,a),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,a){this.state=t,this._callState(a)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let a=0;a0&&this._err(F.endTagWithAttributes),t.selfClosing&&this._err(F.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 ee.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ee.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ee.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:ee.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,a){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=a;return}this._createCharacterToken(t,a)}_emitCodePoint(t){const a=wc(t)?ee.WHITESPACE_CHARACTER:t===_.NULL?ee.NULL_CHARACTER:ee.CHARACTER;this._appendCharToCurrentCharacterToken(a,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ee.CHARACTER,t)}_matchNamedCharacterReference(t){let a=null,r=0,n=!1;for(let i=0,s=at[0];i>=0&&(i=gc(at,s,i+1,t),!(i<0));t=this._consume()){r+=1,s=at[i];const o=s&je.VALUE_LENGTH;if(o){const u=(o>>14)-1;if(t!==_.SEMICOLON&&this._isCharacterReferenceInAttribute()&&d7(this.preprocessor.peek(1))?(a=[_.AMPERSAND],i+=u):(a=u===0?[at[i]&~je.VALUE_LENGTH]:u===1?[at[++i]]:[at[++i],at[++i]],r=0,n=t!==_.SEMICOLON),u===0){this._consume();break}}}return this._unconsume(r),n&&!this.preprocessor.endOfChunkHit&&this._err(F.missingSemicolonAfterCharacterReference),this._unconsume(1),a}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case g.DATA:{this._stateData(t);break}case g.RCDATA:{this._stateRcdata(t);break}case g.RAWTEXT:{this._stateRawtext(t);break}case g.SCRIPT_DATA:{this._stateScriptData(t);break}case g.PLAINTEXT:{this._statePlaintext(t);break}case g.TAG_OPEN:{this._stateTagOpen(t);break}case g.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case g.TAG_NAME:{this._stateTagName(t);break}case g.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case g.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case g.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case g.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case g.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case g.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case g.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case g.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case g.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case g.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case g.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case g.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case g.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case g.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case g.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case g.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case g.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case g.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case g.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case g.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case g.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case g.BOGUS_COMMENT:{this._stateBogusComment(t);break}case g.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case g.COMMENT_START:{this._stateCommentStart(t);break}case g.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case g.COMMENT:{this._stateComment(t);break}case g.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case g.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case g.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case g.COMMENT_END:{this._stateCommentEnd(t);break}case g.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case g.DOCTYPE:{this._stateDoctype(t);break}case g.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case g.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case g.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case g.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case g.CDATA_SECTION:{this._stateCdataSection(t);break}case g.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case g.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case g.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case g.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case g.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case g.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case g.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case g.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case g.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case g.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case _.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case _.AMPERSAND:{this.returnState=g.DATA,this.state=g.CHARACTER_REFERENCE;break}case _.NULL:{this._err(F.unexpectedNullCharacter),this._emitCodePoint(t);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case _.AMPERSAND:{this.returnState=g.RCDATA,this.state=g.CHARACTER_REFERENCE;break}case _.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case _.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case _.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case _.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case _.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(rt(t))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(t);else switch(t){case _.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case _.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case _.QUESTION_MARK:{this._err(F.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(t);break}case _.EOF:{this._err(F.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(F.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(rt(t))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(t);else switch(t){case _.GREATER_THAN_SIGN:{this._err(F.missingEndTagName),this.state=g.DATA;break}case _.EOF:{this._err(F.eofBeforeTagName),this._emitChars("");break}case _.NULL:{this._err(F.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(ce);break}case _.EOF:{this._err(F.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===_.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:rt(t)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){rt(t)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("");break}case _.NULL:{this._err(F.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ce);break}case _.EOF:{this._err(F.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===_.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Te.SCRIPT,!1)&&Gi(this.preprocessor.peek(Te.SCRIPT.length))){this._emitCodePoint(t);for(let a=0;a1114111)this._err(F.characterReferenceOutsideUnicodeRange),this.charRefCode=_.REPLACEMENT_CHARACTER;else if(hc(this.charRefCode))this._err(F.surrogateCharacterReference),this.charRefCode=_.REPLACEMENT_CHARACTER;else if(pc(this.charRefCode))this._err(F.noncharacterCharacterReference);else if(dc(this.charRefCode)||this.charRefCode===_.CARRIAGE_RETURN){this._err(F.controlCharacterReference);const a=l7.get(this.charRefCode);a!==void 0&&(this.charRefCode=a)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Ec=new Set([c.DD,c.DT,c.LI,c.OPTGROUP,c.OPTION,c.P,c.RB,c.RP,c.RT,c.RTC]),Qi=new Set([...Ec,c.CAPTION,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]),Aa=new Map([[c.APPLET,L.HTML],[c.CAPTION,L.HTML],[c.HTML,L.HTML],[c.MARQUEE,L.HTML],[c.OBJECT,L.HTML],[c.TABLE,L.HTML],[c.TD,L.HTML],[c.TEMPLATE,L.HTML],[c.TH,L.HTML],[c.ANNOTATION_XML,L.MATHML],[c.MI,L.MATHML],[c.MN,L.MATHML],[c.MO,L.MATHML],[c.MS,L.MATHML],[c.MTEXT,L.MATHML],[c.DESC,L.SVG],[c.FOREIGN_OBJECT,L.SVG],[c.TITLE,L.SVG]]),m7=[c.H1,c.H2,c.H3,c.H4,c.H5,c.H6],_7=[c.TR,c.TEMPLATE,c.HTML],g7=[c.TBODY,c.TFOOT,c.THEAD,c.TEMPLATE,c.HTML],y7=[c.TABLE,c.TEMPLATE,c.HTML],k7=[c.TD,c.TH];class b7{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,a,r){this.treeAdapter=a,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=c.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===c.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===L.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,a){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=a,this.currentTagId=a,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,a,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,a){const r=this._indexOf(t);this.items[r]=a,r===this.stackTop&&(this.current=a)}insertAfter(t,a,r){const n=this._indexOf(t)+1;this.items.splice(n,0,a),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(t){let a=this.stackTop+1;do a=this.tagIDs.lastIndexOf(t,a-1);while(a>0&&this.treeAdapter.getNamespaceURI(this.items[a])!==L.HTML);this.shortenToLength(a<0?0:a)}shortenToLength(t){for(;this.stackTop>=t;){const a=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,this.stackTop=0;r--)if(t.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===a)return r;return-1}clearBackTo(t,a){const r=this._indexOfTagNames(t,a);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(y7,L.HTML)}clearBackToTableBodyContext(){this.clearBackTo(g7,L.HTML)}clearBackToTableRowContext(){this.clearBackTo(_7,L.HTML)}remove(t){const a=this._indexOf(t);a>=0&&(a===this.stackTop?this.pop():(this.items.splice(a,1),this.tagIDs.splice(a,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===c.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const a=this._indexOf(t)-1;return a>=0?this.items[a]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===c.HTML}hasInScope(t){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a],n=this.treeAdapter.getNamespaceURI(this.items[a]);if(r===t&&n===L.HTML)return!0;if(Aa.get(r)===n)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const a=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(yc(a)&&r===L.HTML)return!0;if(Aa.get(a)===r)return!1}return!0}hasInListItemScope(t){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a],n=this.treeAdapter.getNamespaceURI(this.items[a]);if(r===t&&n===L.HTML)return!0;if((r===c.UL||r===c.OL)&&n===L.HTML||Aa.get(r)===n)return!1}return!0}hasInButtonScope(t){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a],n=this.treeAdapter.getNamespaceURI(this.items[a]);if(r===t&&n===L.HTML)return!0;if(r===c.BUTTON&&n===L.HTML||Aa.get(r)===n)return!1}return!0}hasInTableScope(t){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a];if(this.treeAdapter.getNamespaceURI(this.items[a])===L.HTML){if(r===t)return!0;if(r===c.TABLE||r===c.TEMPLATE||r===c.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const a=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===L.HTML){if(a===c.TBODY||a===c.THEAD||a===c.TFOOT)return!0;if(a===c.TABLE||a===c.HTML)return!1}}return!0}hasInSelectScope(t){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a];if(this.treeAdapter.getNamespaceURI(this.items[a])===L.HTML){if(r===t)return!0;if(r!==c.OPTION&&r!==c.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Ec.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Qi.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Qi.has(this.currentTagId);)this.pop()}}const Ar=3;var ve;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ve=ve||(ve={}));const Xi={type:ve.Marker};class w7{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,a){const r=[],n=a.length,i=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let o=0;o[s.name,s.value]));let i=0;for(let s=0;sn.get(u.name)===u.value)&&(i+=1,i>=Ar&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Xi)}pushElement(t,a){this._ensureNoahArkCondition(t),this.entries.unshift({type:ve.Element,element:t,token:a})}insertElementAfterBookmark(t,a){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:ve.Element,element:t,token:a})}removeEntry(t){const a=this.entries.indexOf(t);a>=0&&this.entries.splice(a,1)}clearToLastMarker(){const t=this.entries.indexOf(Xi);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const a=this.entries.find(r=>r.type===ve.Marker||this.treeAdapter.getTagName(r.element)===t);return a&&a.type===ve.Element?a:null}getElementEntry(t){return this.entries.find(a=>a.type===ve.Element&&a.element===t)}}function Ki(e){return{nodeName:"#text",value:e,parentNode:null}}const Nt={createDocument(){return{nodeName:"#document",mode:ze.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,a){return{nodeName:e,tagName:e,attrs:a,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,a){const r=e.childNodes.indexOf(a);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,a,r){const n=e.childNodes.find(i=>i.nodeName==="#documentType");if(n)n.name=t,n.publicId=a,n.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:a,systemId:r,parentNode:null};Nt.appendChild(e,i)}},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 a=e.childNodes[e.childNodes.length-1];if(Nt.isTextNode(a)){a.value+=t;return}}Nt.appendChild(e,Ki(t))},insertTextBefore(e,t,a){const r=e.childNodes[e.childNodes.indexOf(a)-1];r&&Nt.isTextNode(r)?r.value+=t:Nt.insertBefore(e,Ki(t),a)},adoptAttributes(e,t){const a=new Set(e.attrs.map(r=>r.name));for(let r=0;re.startsWith(a))}function D7(e){return e.name===Tc&&e.publicId===null&&(e.systemId===null||e.systemId===E7)}function z7(e){if(e.name!==Tc)return ze.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===T7)return ze.QUIRKS;let{publicId:a}=e;if(a!==null){if(a=a.toLowerCase(),C7.has(a))return ze.QUIRKS;let r=t===null?A7:Ac;if(Ji(a,r))return ze.QUIRKS;if(r=t===null?Cc:x7,Ji(a,r))return ze.LIMITED_QUIRKS}return ze.NO_QUIRKS}const Zi={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},I7="definitionurl",S7="definitionURL",N7=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])),F7=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:L.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:L.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:L.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:L.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:L.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:L.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:L.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:L.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:L.XML}],["xml:space",{prefix:"xml",name:"space",namespace:L.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:L.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:L.XMLNS}]]),O7=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])),L7=new Set([c.B,c.BIG,c.BLOCKQUOTE,c.BODY,c.BR,c.CENTER,c.CODE,c.DD,c.DIV,c.DL,c.DT,c.EM,c.EMBED,c.H1,c.H2,c.H3,c.H4,c.H5,c.H6,c.HEAD,c.HR,c.I,c.IMG,c.LI,c.LISTING,c.MENU,c.META,c.NOBR,c.OL,c.P,c.PRE,c.RUBY,c.S,c.SMALL,c.SPAN,c.STRONG,c.STRIKE,c.SUB,c.SUP,c.TABLE,c.TT,c.U,c.UL,c.VAR]);function R7(e){const t=e.tagID;return t===c.FONT&&e.attrs.some(({name:r})=>r===st.COLOR||r===st.SIZE||r===st.FACE)||L7.has(t)}function xc(e){for(let t=0;t0&&this._setContextModes(t,a)}onItemPop(t,a){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(n=(r=this.treeAdapter).onItemPop)===null||n===void 0||n.call(r,t,this.openElements.current),a){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(t,a){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===L.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(a,t)}_switchToTextParsing(t,a){this._insertElement(t,L.HTML),this.tokenizer.state=a,this.originalInsertionMode=this.insertionMode,this.insertionMode=k.TEXT}switchToPlaintextParsing(){this.insertionMode=k.TEXT,this.originalInsertionMode=k.IN_BODY,this.tokenizer.state=fe.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)===C.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==L.HTML))switch(this.fragmentContextID){case c.TITLE:case c.TEXTAREA:{this.tokenizer.state=fe.RCDATA;break}case c.STYLE:case c.XMP:case c.IFRAME:case c.NOEMBED:case c.NOFRAMES:case c.NOSCRIPT:{this.tokenizer.state=fe.RAWTEXT;break}case c.SCRIPT:{this.tokenizer.state=fe.SCRIPT_DATA;break}case c.PLAINTEXT:{this.tokenizer.state=fe.PLAINTEXT;break}}}_setDocumentType(t){const a=t.name||"",r=t.publicId||"",n=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,a,r,n),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,a){if(this.options.sourceCodeLocationInfo){const r=a&&{...a,startTag:a};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,a){const r=this.treeAdapter.createElement(t.tagName,a,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,a){const r=this.treeAdapter.createElement(t.tagName,a,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,a){const r=this.treeAdapter.createElement(t,L.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,a)}_insertTemplate(t){const a=this.treeAdapter.createElement(t.tagName,L.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(a,r),this._attachElementToTree(a,t.location),this.openElements.push(a,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(C.HTML,L.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,c.HTML)}_appendCommentNode(t,a){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(a,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let a,r;if(this._shouldFosterParentOnInsertion()?({parent:a,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(a,t.chars,r):this.treeAdapter.insertText(a,t.chars)):(a=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(a,t.chars)),!t.location)return;const n=this.treeAdapter.getChildNodes(a),i=r?n.lastIndexOf(r):n.length,s=n[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:u,endCol:l,endOffset:p}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:u,endCol:l,endOffset:p})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,a){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(a,r)}_setEndLocation(t,a){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&a.location){const r=a.location,n=this.treeAdapter.getTagName(t),i=a.type===ee.END_TAG&&n===a.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,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let a,r;return this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,r=this.fragmentContextID):{current:a,currentTagId:r}=this.openElements,t.tagID===c.SVG&&this.treeAdapter.getTagName(a)===C.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(a)===L.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===c.MGLYPH||t.tagID===c.MALIGNMARK)&&!this._isIntegrationPoint(r,a,L.HTML)}_processToken(t){switch(t.type){case ee.CHARACTER:{this.onCharacter(t);break}case ee.NULL_CHARACTER:{this.onNullCharacter(t);break}case ee.COMMENT:{this.onComment(t);break}case ee.DOCTYPE:{this.onDoctype(t);break}case ee.START_TAG:{this._processStartTag(t);break}case ee.END_TAG:{this.onEndTag(t);break}case ee.EOF:{this.onEof(t);break}case ee.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,a,r){const n=this.treeAdapter.getNamespaceURI(a),i=this.treeAdapter.getAttrList(a);return M7(t,n,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const a=this.activeFormattingElements.entries.findIndex(n=>n.type===ve.Marker||this.openElements.contains(n.element)),r=a<0?t-1:a-1;for(let n=r;n>=0;n--){const i=this.activeFormattingElements.entries[n];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=k.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(c.P),this.openElements.popUntilTagNamePopped(c.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case c.TR:{this.insertionMode=k.IN_ROW;return}case c.TBODY:case c.THEAD:case c.TFOOT:{this.insertionMode=k.IN_TABLE_BODY;return}case c.CAPTION:{this.insertionMode=k.IN_CAPTION;return}case c.COLGROUP:{this.insertionMode=k.IN_COLUMN_GROUP;return}case c.TABLE:{this.insertionMode=k.IN_TABLE;return}case c.BODY:{this.insertionMode=k.IN_BODY;return}case c.FRAMESET:{this.insertionMode=k.IN_FRAMESET;return}case c.SELECT:{this._resetInsertionModeForSelect(t);return}case c.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case c.HTML:{this.insertionMode=this.headElement?k.AFTER_HEAD:k.BEFORE_HEAD;return}case c.TD:case c.TH:{if(t>0){this.insertionMode=k.IN_CELL;return}break}case c.HEAD:{if(t>0){this.insertionMode=k.IN_HEAD;return}break}}this.insertionMode=k.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let a=t-1;a>0;a--){const r=this.openElements.tagIDs[a];if(r===c.TEMPLATE)break;if(r===c.TABLE){this.insertionMode=k.IN_SELECT_IN_TABLE;return}}this.insertionMode=k.IN_SELECT}_isElementCausesFosterParenting(t){return zc.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const a=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case c.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(a)===L.HTML)return{parent:this.treeAdapter.getTemplateContent(a),beforeElement:null};break}case c.TABLE:{const r=this.treeAdapter.getParentNode(a);return r?{parent:r,beforeElement:a}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const a=this._findFosterParentingLocation();a.beforeElement?this.treeAdapter.insertBefore(a.parent,t,a.beforeElement):this.treeAdapter.appendChild(a.parent,t)}_isSpecialElement(t,a){const r=this.treeAdapter.getNamespaceURI(t);return u7[r].has(a)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){kU(this,t);return}switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{ta(this,t);break}case k.BEFORE_HEAD:{aa(this,t);break}case k.IN_HEAD:{ra(this,t);break}case k.IN_HEAD_NO_SCRIPT:{na(this,t);break}case k.AFTER_HEAD:{ia(this,t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:{Sc(this,t);break}case k.TEXT:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{Cr(this,t);break}case k.IN_TABLE_TEXT:{vc(this,t);break}case k.IN_COLUMN_GROUP:{Ua(this,t);break}case k.AFTER_BODY:{ja(this,t);break}case k.AFTER_AFTER_BODY:{Ia(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){yU(this,t);return}switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{ta(this,t);break}case k.BEFORE_HEAD:{aa(this,t);break}case k.IN_HEAD:{ra(this,t);break}case k.IN_HEAD_NO_SCRIPT:{na(this,t);break}case k.AFTER_HEAD:{ia(this,t);break}case k.TEXT:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{Cr(this,t);break}case k.IN_COLUMN_GROUP:{Ua(this,t);break}case k.AFTER_BODY:{ja(this,t);break}case k.AFTER_AFTER_BODY:{Ia(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Gr(this,t);return}switch(this.insertionMode){case k.INITIAL:case k.BEFORE_HTML:case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_TEMPLATE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{Gr(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.AFTER_BODY:{X7(this,t);break}case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{K7(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case k.INITIAL:{J7(this,t);break}case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:{this._err(t,F.misplacedDoctype);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,F.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?bU(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{Z7(this,t);break}case k.BEFORE_HEAD:{tH(this,t);break}case k.IN_HEAD:{Me(this,t);break}case k.IN_HEAD_NO_SCRIPT:{nH(this,t);break}case k.AFTER_HEAD:{sH(this,t);break}case k.IN_BODY:{we(this,t);break}case k.IN_TABLE:{Mt(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.IN_CAPTION:{aU(this,t);break}case k.IN_COLUMN_GROUP:{An(this,t);break}case k.IN_TABLE_BODY:{tr(this,t);break}case k.IN_ROW:{ar(this,t);break}case k.IN_CELL:{iU(this,t);break}case k.IN_SELECT:{Mc(this,t);break}case k.IN_SELECT_IN_TABLE:{oU(this,t);break}case k.IN_TEMPLATE:{uU(this,t);break}case k.AFTER_BODY:{fU(this,t);break}case k.IN_FRAMESET:{hU(this,t);break}case k.AFTER_FRAMESET:{pU(this,t);break}case k.AFTER_AFTER_BODY:{_U(this,t);break}case k.AFTER_AFTER_FRAMESET:{gU(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?wU(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{eH(this,t);break}case k.BEFORE_HEAD:{aH(this,t);break}case k.IN_HEAD:{rH(this,t);break}case k.IN_HEAD_NO_SCRIPT:{iH(this,t);break}case k.AFTER_HEAD:{oH(this,t);break}case k.IN_BODY:{er(this,t);break}case k.TEXT:{VH(this,t);break}case k.IN_TABLE:{ha(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.IN_CAPTION:{rU(this,t);break}case k.IN_COLUMN_GROUP:{nU(this,t);break}case k.IN_TABLE_BODY:{Qr(this,t);break}case k.IN_ROW:{Pc(this,t);break}case k.IN_CELL:{sU(this,t);break}case k.IN_SELECT:{Hc(this,t);break}case k.IN_SELECT_IN_TABLE:{cU(this,t);break}case k.IN_TEMPLATE:{lU(this,t);break}case k.AFTER_BODY:{jc(this,t);break}case k.IN_FRAMESET:{dU(this,t);break}case k.AFTER_FRAMESET:{mU(this,t);break}case k.AFTER_AFTER_BODY:{Ia(this,t);break}}}onEof(t){switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{ta(this,t);break}case k.BEFORE_HEAD:{aa(this,t);break}case k.IN_HEAD:{ra(this,t);break}case k.IN_HEAD_NO_SCRIPT:{na(this,t);break}case k.AFTER_HEAD:{ia(this,t);break}case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{Lc(this,t);break}case k.TEXT:{WH(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.IN_TEMPLATE:{Uc(this,t);break}case k.AFTER_BODY:case k.IN_FRAMESET:case k.AFTER_FRAMESET:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{Tn(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===_.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 k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.TEXT:case k.IN_COLUMN_GROUP:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{this._insertCharacters(t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:case k.AFTER_BODY:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{Ic(this,t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{Cr(this,t);break}case k.IN_TABLE_TEXT:{Rc(this,t);break}}}}function Y7(e,t){let a=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return a?e.openElements.contains(a.element)?e.openElements.hasInScope(t.tagID)||(a=null):(e.activeFormattingElements.removeEntry(a),a=null):Oc(e,t),a}function $7(e,t){let a=null,r=e.openElements.stackTop;for(;r>=0;r--){const n=e.openElements.items[r];if(n===t.element)break;e._isSpecialElement(n,e.openElements.tagIDs[r])&&(a=n)}return a||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),a}function V7(e,t,a){let r=t,n=e.openElements.getCommonAncestor(t);for(let i=0,s=n;s!==a;i++,s=n){n=e.openElements.getCommonAncestor(s);const o=e.activeFormattingElements.getElementEntry(s),u=o&&i>=j7;!o||u?(u&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=W7(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function W7(e,t){const a=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,a,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function G7(e,t,a){const r=e.treeAdapter.getTagName(t),n=jt(r);if(e._isElementCausesFosterParenting(n))e._fosterParentElement(a);else{const i=e.treeAdapter.getNamespaceURI(t);n===c.TEMPLATE&&i===L.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,a)}}function Q7(e,t,a){const r=e.treeAdapter.getNamespaceURI(a.element),{token:n}=a,i=e.treeAdapter.createElement(n.tagName,r,n.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,n),e.activeFormattingElements.removeEntry(a),e.openElements.remove(a.element),e.openElements.insertAfter(t,i,n.tagID)}function En(e,t){for(let a=0;a=a;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],n=e.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&e._setEndLocation(i,t)}}}}function J7(e,t){e._setDocumentType(t);const a=t.forceQuirks?ze.QUIRKS:z7(t);D7(t)||e._err(t,F.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,a),e.insertionMode=k.BEFORE_HTML}function Qt(e,t){e._err(t,F.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ze.QUIRKS),e.insertionMode=k.BEFORE_HTML,e._processToken(t)}function Z7(e,t){t.tagID===c.HTML?(e._insertElement(t,L.HTML),e.insertionMode=k.BEFORE_HEAD):ta(e,t)}function eH(e,t){const a=t.tagID;(a===c.HTML||a===c.HEAD||a===c.BODY||a===c.BR)&&ta(e,t)}function ta(e,t){e._insertFakeRootElement(),e.insertionMode=k.BEFORE_HEAD,e._processToken(t)}function tH(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.HEAD:{e._insertElement(t,L.HTML),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD;break}default:aa(e,t)}}function aH(e,t){const a=t.tagID;a===c.HEAD||a===c.BODY||a===c.HTML||a===c.BR?aa(e,t):e._err(t,F.endTagWithoutMatchingOpenElement)}function aa(e,t){e._insertFakeElement(C.HEAD,c.HEAD),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD,e._processToken(t)}function Me(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:{e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break}case c.TITLE:{e._switchToTextParsing(t,fe.RCDATA);break}case c.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,fe.RAWTEXT):(e._insertElement(t,L.HTML),e.insertionMode=k.IN_HEAD_NO_SCRIPT);break}case c.NOFRAMES:case c.STYLE:{e._switchToTextParsing(t,fe.RAWTEXT);break}case c.SCRIPT:{e._switchToTextParsing(t,fe.SCRIPT_DATA);break}case c.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=k.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(k.IN_TEMPLATE);break}case c.HEAD:{e._err(t,F.misplacedStartTagForHeadElement);break}default:ra(e,t)}}function rH(e,t){switch(t.tagID){case c.HEAD:{e.openElements.pop(),e.insertionMode=k.AFTER_HEAD;break}case c.BODY:case c.BR:case c.HTML:{ra(e,t);break}case c.TEMPLATE:{Tt(e,t);break}default:e._err(t,F.endTagWithoutMatchingOpenElement)}}function Tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==c.TEMPLATE&&e._err(t,F.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,F.endTagWithoutMatchingOpenElement)}function ra(e,t){e.openElements.pop(),e.insertionMode=k.AFTER_HEAD,e._processToken(t)}function nH(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.BASEFONT:case c.BGSOUND:case c.HEAD:case c.LINK:case c.META:case c.NOFRAMES:case c.STYLE:{Me(e,t);break}case c.NOSCRIPT:{e._err(t,F.nestedNoscriptInHead);break}default:na(e,t)}}function iH(e,t){switch(t.tagID){case c.NOSCRIPT:{e.openElements.pop(),e.insertionMode=k.IN_HEAD;break}case c.BR:{na(e,t);break}default:e._err(t,F.endTagWithoutMatchingOpenElement)}}function na(e,t){const a=t.type===ee.EOF?F.openElementsLeftAfterEof:F.disallowedContentInNoscriptInHead;e._err(t,a),e.openElements.pop(),e.insertionMode=k.IN_HEAD,e._processToken(t)}function sH(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.BODY:{e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=k.IN_BODY;break}case c.FRAMESET:{e._insertElement(t,L.HTML),e.insertionMode=k.IN_FRAMESET;break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{e._err(t,F.abandonedHeadElementChild),e.openElements.push(e.headElement,c.HEAD),Me(e,t),e.openElements.remove(e.headElement);break}case c.HEAD:{e._err(t,F.misplacedStartTagForHeadElement);break}default:ia(e,t)}}function oH(e,t){switch(t.tagID){case c.BODY:case c.HTML:case c.BR:{ia(e,t);break}case c.TEMPLATE:{Tt(e,t);break}default:e._err(t,F.endTagWithoutMatchingOpenElement)}}function ia(e,t){e._insertFakeElement(C.BODY,c.BODY),e.insertionMode=k.IN_BODY,Za(e,t)}function Za(e,t){switch(t.type){case ee.CHARACTER:{Sc(e,t);break}case ee.WHITESPACE_CHARACTER:{Ic(e,t);break}case ee.COMMENT:{Gr(e,t);break}case ee.START_TAG:{we(e,t);break}case ee.END_TAG:{er(e,t);break}case ee.EOF:{Lc(e,t);break}}}function Ic(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Sc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function cH(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function uH(e,t){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,t.attrs))}function lH(e,t){const a=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&a&&(e.treeAdapter.detachNode(a),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_FRAMESET)}function fH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function hH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),yc(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,L.HTML)}function dH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function pH(e,t){const a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),a||(e.formElement=e.openElements.current))}function mH(e,t){e.framesetOk=!1;const a=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const n=e.openElements.tagIDs[r];if(a===c.LI&&n===c.LI||(a===c.DD||a===c.DT)&&(n===c.DD||n===c.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==c.ADDRESS&&n!==c.DIV&&n!==c.P&&e._isSpecialElement(e.openElements.items[r],n))break}e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function _H(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.tokenizer.state=fe.PLAINTEXT}function gH(e,t){e.openElements.hasInScope(c.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.framesetOk=!1}function yH(e,t){const a=e.activeFormattingElements.getElementEntryInScopeWithTagName(C.A);a&&(En(e,t),e.openElements.remove(a.element),e.activeFormattingElements.removeEntry(a)),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function kH(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function bH(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(c.NOBR)&&(En(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wH(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function EH(e,t){e.treeAdapter.getDocumentMode(e.document)!==ze.QUIRKS&&e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=k.IN_TABLE}function Nc(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Fc(e){const t=mc(e,st.TYPE);return t!=null&&t.toLowerCase()===H7}function TH(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),Fc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function AH(e,t){e._appendElement(t,L.HTML),t.ackSelfClosing=!0}function CH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function xH(e,t){t.tagName=C.IMG,t.tagID=c.IMG,Nc(e,t)}function DH(e,t){e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.tokenizer.state=fe.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=k.TEXT}function zH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,fe.RAWTEXT)}function IH(e,t){e.framesetOk=!1,e._switchToTextParsing(t,fe.RAWTEXT)}function as(e,t){e._switchToTextParsing(t,fe.RAWTEXT)}function SH(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===k.IN_TABLE||e.insertionMode===k.IN_CAPTION||e.insertionMode===k.IN_TABLE_BODY||e.insertionMode===k.IN_ROW||e.insertionMode===k.IN_CELL?k.IN_SELECT_IN_TABLE:k.IN_SELECT}function NH(e,t){e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function FH(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,L.HTML)}function OH(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(c.RTC),e._insertElement(t,L.HTML)}function LH(e,t){e._reconstructActiveFormattingElements(),xc(t),wn(t),t.selfClosing?e._appendElement(t,L.MATHML):e._insertElement(t,L.MATHML),t.ackSelfClosing=!0}function RH(e,t){e._reconstructActiveFormattingElements(),Dc(t),wn(t),t.selfClosing?e._appendElement(t,L.SVG):e._insertElement(t,L.SVG),t.ackSelfClosing=!0}function rs(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function we(e,t){switch(t.tagID){case c.I:case c.S:case c.B:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.SMALL:case c.STRIKE:case c.STRONG:{kH(e,t);break}case c.A:{yH(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{hH(e,t);break}case c.P:case c.DL:case c.OL:case c.UL:case c.DIV:case c.DIR:case c.NAV:case c.MAIN:case c.MENU:case c.ASIDE:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.DETAILS:case c.ADDRESS:case c.ARTICLE:case c.SECTION:case c.SUMMARY:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{fH(e,t);break}case c.LI:case c.DD:case c.DT:{mH(e,t);break}case c.BR:case c.IMG:case c.WBR:case c.AREA:case c.EMBED:case c.KEYGEN:{Nc(e,t);break}case c.HR:{CH(e,t);break}case c.RB:case c.RTC:{FH(e,t);break}case c.RT:case c.RP:{OH(e,t);break}case c.PRE:case c.LISTING:{dH(e,t);break}case c.XMP:{zH(e,t);break}case c.SVG:{RH(e,t);break}case c.HTML:{cH(e,t);break}case c.BASE:case c.LINK:case c.META:case c.STYLE:case c.TITLE:case c.SCRIPT:case c.BGSOUND:case c.BASEFONT:case c.TEMPLATE:{Me(e,t);break}case c.BODY:{uH(e,t);break}case c.FORM:{pH(e,t);break}case c.NOBR:{bH(e,t);break}case c.MATH:{LH(e,t);break}case c.TABLE:{EH(e,t);break}case c.INPUT:{TH(e,t);break}case c.PARAM:case c.TRACK:case c.SOURCE:{AH(e,t);break}case c.IMAGE:{xH(e,t);break}case c.BUTTON:{gH(e,t);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{wH(e,t);break}case c.IFRAME:{IH(e,t);break}case c.SELECT:{SH(e,t);break}case c.OPTION:case c.OPTGROUP:{NH(e,t);break}case c.NOEMBED:{as(e,t);break}case c.FRAMESET:{lH(e,t);break}case c.TEXTAREA:{DH(e,t);break}case c.NOSCRIPT:{e.options.scriptingEnabled?as(e,t):rs(e,t);break}case c.PLAINTEXT:{_H(e,t);break}case c.COL:case c.TH:case c.TD:case c.TR:case c.HEAD:case c.FRAME:case c.TBODY:case c.TFOOT:case c.THEAD:case c.CAPTION:case c.COLGROUP:break;default:rs(e,t)}}function vH(e,t){if(e.openElements.hasInScope(c.BODY)&&(e.insertionMode=k.AFTER_BODY,e.options.sourceCodeLocationInfo)){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e._setEndLocation(a,t)}}function BH(e,t){e.openElements.hasInScope(c.BODY)&&(e.insertionMode=k.AFTER_BODY,jc(e,t))}function PH(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}function MH(e){const t=e.openElements.tmplCount>0,{formElement:a}=e;t||(e.formElement=null),(a||t)&&e.openElements.hasInScope(c.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(c.FORM):a&&e.openElements.remove(a))}function HH(e){e.openElements.hasInButtonScope(c.P)||e._insertFakeElement(C.P,c.P),e._closePElement()}function UH(e){e.openElements.hasInListItemScope(c.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(c.LI),e.openElements.popUntilTagNamePopped(c.LI))}function jH(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}function qH(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function YH(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker())}function $H(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(C.BR,c.BR),e.openElements.pop(),e.framesetOk=!1}function Oc(e,t){const a=t.tagName,r=t.tagID;for(let n=e.openElements.stackTop;n>0;n--){const i=e.openElements.items[n],s=e.openElements.tagIDs[n];if(r===s&&(r!==c.UNKNOWN||e.treeAdapter.getTagName(i)===a)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=n&&e.openElements.shortenToLength(n);break}if(e._isSpecialElement(i,s))break}}function er(e,t){switch(t.tagID){case c.A:case c.B:case c.I:case c.S:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.NOBR:case c.SMALL:case c.STRIKE:case c.STRONG:{En(e,t);break}case c.P:{HH(e);break}case c.DL:case c.UL:case c.OL:case c.DIR:case c.DIV:case c.NAV:case c.PRE:case c.MAIN:case c.MENU:case c.ASIDE:case c.BUTTON:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.ADDRESS:case c.ARTICLE:case c.DETAILS:case c.SECTION:case c.SUMMARY:case c.LISTING:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{PH(e,t);break}case c.LI:{UH(e);break}case c.DD:case c.DT:{jH(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{qH(e);break}case c.BR:{$H(e);break}case c.BODY:{vH(e,t);break}case c.HTML:{BH(e,t);break}case c.FORM:{MH(e);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{YH(e,t);break}case c.TEMPLATE:{Tt(e,t);break}default:Oc(e,t)}}function Lc(e,t){e.tmplInsertionModeStack.length>0?Uc(e,t):Tn(e,t)}function VH(e,t){var a;t.tagID===c.SCRIPT&&((a=e.scriptHandler)===null||a===void 0||a.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function WH(e,t){e._err(t,F.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Cr(e,t){if(zc.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=k.IN_TABLE_TEXT,t.type){case ee.CHARACTER:{vc(e,t);break}case ee.WHITESPACE_CHARACTER:{Rc(e,t);break}}else _a(e,t)}function GH(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_CAPTION}function QH(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_COLUMN_GROUP}function XH(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(C.COLGROUP,c.COLGROUP),e.insertionMode=k.IN_COLUMN_GROUP,An(e,t)}function KH(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_TABLE_BODY}function JH(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(C.TBODY,c.TBODY),e.insertionMode=k.IN_TABLE_BODY,tr(e,t)}function ZH(e,t){e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function eU(e,t){Fc(t)?e._appendElement(t,L.HTML):_a(e,t),t.ackSelfClosing=!0}function tU(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,L.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Mt(e,t){switch(t.tagID){case c.TD:case c.TH:case c.TR:{JH(e,t);break}case c.STYLE:case c.SCRIPT:case c.TEMPLATE:{Me(e,t);break}case c.COL:{XH(e,t);break}case c.FORM:{tU(e,t);break}case c.TABLE:{ZH(e,t);break}case c.TBODY:case c.TFOOT:case c.THEAD:{KH(e,t);break}case c.INPUT:{eU(e,t);break}case c.CAPTION:{GH(e,t);break}case c.COLGROUP:{QH(e,t);break}default:_a(e,t)}}function ha(e,t){switch(t.tagID){case c.TABLE:{e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode());break}case c.TEMPLATE:{Tt(e,t);break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TBODY:case c.TD:case c.TFOOT:case c.TH:case c.THEAD:case c.TR:break;default:_a(e,t)}}function _a(e,t){const a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Za(e,t),e.fosterParentingEnabled=a}function Rc(e,t){e.pendingCharacterTokens.push(t)}function vc(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Xt(e,t){let a=0;if(e.hasNonWhitespacePendingCharacterToken)for(;a0&&e.openElements.currentTagId===c.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===c.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop();break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop();break}case c.SELECT:{e.openElements.hasInSelectScope(c.SELECT)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode());break}case c.TEMPLATE:{Tt(e,t);break}}}function oU(e,t){const a=t.tagID;a===c.CAPTION||a===c.TABLE||a===c.TBODY||a===c.TFOOT||a===c.THEAD||a===c.TR||a===c.TD||a===c.TH?(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Mc(e,t)}function cU(e,t){const a=t.tagID;a===c.CAPTION||a===c.TABLE||a===c.TBODY||a===c.TFOOT||a===c.THEAD||a===c.TR||a===c.TD||a===c.TH?e.openElements.hasInTableScope(a)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Hc(e,t)}function uU(e,t){switch(t.tagID){case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{Me(e,t);break}case c.CAPTION:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:{e.tmplInsertionModeStack[0]=k.IN_TABLE,e.insertionMode=k.IN_TABLE,Mt(e,t);break}case c.COL:{e.tmplInsertionModeStack[0]=k.IN_COLUMN_GROUP,e.insertionMode=k.IN_COLUMN_GROUP,An(e,t);break}case c.TR:{e.tmplInsertionModeStack[0]=k.IN_TABLE_BODY,e.insertionMode=k.IN_TABLE_BODY,tr(e,t);break}case c.TD:case c.TH:{e.tmplInsertionModeStack[0]=k.IN_ROW,e.insertionMode=k.IN_ROW,ar(e,t);break}default:e.tmplInsertionModeStack[0]=k.IN_BODY,e.insertionMode=k.IN_BODY,we(e,t)}}function lU(e,t){t.tagID===c.TEMPLATE&&Tt(e,t)}function Uc(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Tn(e,t)}function fU(e,t){t.tagID===c.HTML?we(e,t):ja(e,t)}function jc(e,t){var a;if(t.tagID===c.HTML){if(e.fragmentContext||(e.insertionMode=k.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===c.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((a=e.treeAdapter.getNodeSourceCodeLocation(r))===null||a===void 0)&&a.endTag)&&e._setEndLocation(r,t)}}else ja(e,t)}function ja(e,t){e.insertionMode=k.IN_BODY,Za(e,t)}function hU(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.FRAMESET:{e._insertElement(t,L.HTML);break}case c.FRAME:{e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break}case c.NOFRAMES:{Me(e,t);break}}}function dU(e,t){t.tagID===c.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==c.FRAMESET&&(e.insertionMode=k.AFTER_FRAMESET))}function pU(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.NOFRAMES:{Me(e,t);break}}}function mU(e,t){t.tagID===c.HTML&&(e.insertionMode=k.AFTER_AFTER_FRAMESET)}function _U(e,t){t.tagID===c.HTML?we(e,t):Ia(e,t)}function Ia(e,t){e.insertionMode=k.IN_BODY,Za(e,t)}function gU(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.NOFRAMES:{Me(e,t);break}}}function yU(e,t){t.chars=ce,e._insertCharacters(t)}function kU(e,t){e._insertCharacters(t),e.framesetOk=!1}function qc(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==L.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function bU(e,t){if(R7(t))qc(e),e._startTagOutsideForeignContent(t);else{const a=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(a);r===L.MATHML?xc(t):r===L.SVG&&(v7(t),Dc(t)),wn(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function wU(e,t){if(t.tagID===c.P||t.tagID===c.BR){qc(e),e._endTagOutsideForeignContent(t);return}for(let a=e.openElements.stackTop;a>0;a--){const r=e.openElements.items[a];if(e.treeAdapter.getNamespaceURI(r)===L.HTML){e._endTagOutsideForeignContent(t);break}const n=e.treeAdapter.getTagName(r);if(n.toLowerCase()===t.tagName){t.tagName=n,e.openElements.shortenToLength(a);break}}}C.AREA,C.BASE,C.BASEFONT,C.BGSOUND,C.BR,C.COL,C.EMBED,C.FRAME,C.HR,C.IMG,C.INPUT,C.KEYGEN,C.LINK,C.META,C.PARAM,C.SOURCE,C.TRACK,C.WBR;const EU=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ns={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Yc(e,t){const a=FU(e),r=xo("type",{handlers:{root:TU,element:AU,text:CU,comment:Vc,doctype:xU,raw:zU},unknown:IU}),n={parser:a?new ts(ns):ts.getFragmentParser(void 0,ns),handle(o){r(o,n)},stitches:!1,options:t||{}};r(e,n),qt(n,Je());const i=a?n.parser.document:n.parser.getFragment(),s=LM(i,{file:n.options.file});return n.stitches&&Xe(s,"comment",function(o,u,l){const p=o;if(p.value.stitch&&l&&u!==void 0){const h=l.children;return h[u]=p.value.stitch,u}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function $c(e,t){let a=-1;if(e)for(;++at.concat(Gc(a)),"")}function Qc(e,t=2,a=0){return!Array.isArray(e.children)||a===t?[e]:[e,...e.children.reduce((r,n)=>r.concat(Qc(n,t,a+1)),[])]}const Xc=["h2","h3","h4","h5","h6"],vU=Xc.reduce((e,t)=>(e[t]=Number(t.charAt(t.length-1)),e),{}),BU=e=>vU[e.tag],PU=e=>((e<1||e>5)&&(console.log(`\`toc.depth\` is set to ${e}. It should be a number between 1 and 5. `),e=1),Xc.slice(0,e));function Kc(e){if(e.length<=1)return e;const t=[];let a;return e.forEach(r=>{!a||r.depth<=a.depth?(r.children=[],a=r,t.push(r)):a.children.push(r)}),t.forEach(r=>{var n;(n=r.children)!=null&&n.length?r.children=Kc(r.children):delete r.children}),t}function MU(e,t){const{searchDepth:a,depth:r,title:n=""}=t,i=PU(r),o=Qc(e,a).filter(u=>i.includes(u.tag||"")).map(u=>{var l;return{id:(l=u.props)==null?void 0:l.id,depth:BU(u),text:Gc(u)}});return{title:n,searchDepth:a,depth:r,links:o}}function HU(e,t){const a=MU(e,t);return a.links=Kc(a.links),a}let Le;const UU=async(e,t={})=>{var p,h,f,m,y;Le||(Le=await is(()=>import("./mdc-imports.s7dsNahg.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).catch(()=>({})));const a=Nn(t,{remark:{plugins:Le==null?void 0:Le.remarkPlugins},rehype:{plugins:Le==null?void 0:Le.rehypePlugins},highlight:Le==null?void 0:Le.highlight},RU);(h=(p=a.rehype)==null?void 0:p.plugins)!=null&&h.highlight&&(a.rehype.plugins.highlight.options=a.highlight||{});const{content:r,data:n}=await Po(e),i=Vu();i.use(Kf),await Ri(i,(f=a.remark)==null?void 0:f.plugins),i.use(Vh,(m=a.rehype)==null?void 0:m.options),await Ri(i,(y=a.rehype)==null?void 0:y.plugins),i.use(sg);const s=await i.process({value:r,data:n}),o=s.result,u=Object.assign(jU(o.body),n,(s==null?void 0:s.data)||{});let l;if(u.toc!==!1){const b=Nn(u.toc||{},a.toc);l=HU(o.body,b)}return{data:u,body:o.body,excerpt:o.excerpt,toc:l}};function jU(e){let t="",a="";const r=e.children.filter(n=>n.type!=="text"&&n.tag!=="hr");if(r.length&&r[0].tag==="h1"){const n=r.shift();t=Fn(n)}if(r.length&&r[0].tag==="p"){const n=r.shift();a=Fn(n)}return{title:t,description:a}}const qU=Ht({__name:"MDC",props:{tag:{type:[String,Boolean],default:"div"},value:{type:[String,Object],required:!0},excerpt:{type:Boolean,default:!1},parserOptions:{type:Object,default:()=>({})},class:{type:[String,Array,Object],default:""}},async setup(e){let t,a;const r=e,n=mt(()=>cu(r.value)),{data:i,refresh:s}=([t,a]=ss(async()=>os(n.value,async()=>typeof r.value!="string"?r.value:await UU(r.value,r.parserOptions),"$hm0nQdXbtK")),t=await t,a(),t),o=mt(()=>{var u,l;return r.excerpt?(u=i.value)==null?void 0:u.excerpt:(l=i.value)==null?void 0:l.body});return uu(()=>r.value,()=>{s()}),(u,l)=>{var h,f,m,y;const p=ou;return le(u.$slots,"default",{data:(h=V(i))==null?void 0:h.data,body:(f=V(i))==null?void 0:f.body,toc:(m=V(i))==null?void 0:m.toc,excerpt:(y=V(i))==null?void 0:y.excerpt},()=>{var b;return[o.value?(Z(),wt(p,{key:0,tag:e.tag,class:se(r.class),body:o.value,data:(b=V(i))==null?void 0:b.data},null,8,["tag","class","body","data"])):ue("",!0)]})}}}),YU=Ht({inheritAttrs:!1,__name:"LandingHero",props:{title:{type:String,default:void 0},description:{type:String,default:void 0},links:{type:Array,default:()=>[]},orientation:{type:String,default:"vertical"},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"py-24 sm:py-32 md:py-40 relative",container:"gap-16 sm:gap-y-24",base:"",headline:"mb-10",title:"text-5xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-7xl",description:"mt-6 text-lg tracking-tight text-gray-600 dark:text-gray-300",links:"mt-10 flex flex-wrap gap-x-6 gap-y-3"},a=e,{ui:r,attrs:n}=Ya("landing.hero",ot(a,"ui"),t,ot(a,"class"),!0);return(i,s)=>{const o=us,u=cs;return Z(),ne("div",qe({class:V(r).wrapper},V(n)),[le(i.$slots,"top"),Be(u,{class:se([V(r).container,e.orientation==="vertical"?"flex flex-col":"grid lg:grid-cols-2 lg:items-center"])},{default:nt(()=>{var l;return[Bt("div",{class:se([V(r).base,e.orientation==="vertical"&&"text-center"])},[i.$slots.headline?(Z(),ne("div",{key:0,class:se(V(r).headline)},[le(i.$slots,"headline")],2)):ue("",!0),Bt("h1",{class:se(V(r).title)},[le(i.$slots,"title",{},()=>[kt(Re(e.title),1)])],2),e.description||i.$slots.description?(Z(),ne("p",{key:1,class:se(V(r).description)},[le(i.$slots,"description",{},()=>[kt(Re(e.description),1)])],2)):ue("",!0),(l=e.links)!=null&&l.length||i.$slots.links?(Z(),ne("div",{key:2,class:se([V(r).links,e.orientation==="vertical"&&"justify-center"])},[le(i.$slots,"links",{},()=>[(Z(!0),ne(Ft,null,Ot(e.links,(p,h)=>(Z(),wt(o,qe({key:h},p,{onClick:p.click}),null,16,["onClick"]))),128))])],2)):ue("",!0)],2),le(i.$slots,"default")]}),_:3},8,["class"]),le(i.$slots,"bottom")],16)}}}),$U=lu(fu);function VU(e,t={}){const{x:a,y:r}=$U(t),n=Ca(e??(window==null?void 0:window.document.body)),i=Ca(0),s=Ca(0);return hu&&du([n,a,r],()=>{const o=pu(n);if(!o)return;const{left:u,top:l}=o.getBoundingClientRect(),p=a.value-(u+window.scrollX),h=r.value-(l+window.scrollY);Math.abs(p)>1500||Math.abs(h)>1500||window.screen.width<=800||(i.value=p,s.value=h)},{immediate:!0,throttle:50}),{x:a,y:r,elementX:i,elementY:s}}const WU=e=>(Eu("data-v-c20f18de"),e=e(),Tu(),e),GU=WU(()=>Bt("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)),QU=Ht({inheritAttrs:!1,__name:"LandingCard",props:{...mu,title:{type:String,default:void 0},description:{type:String,default:void 0},icon:{type:String,default:void 0},color:{type:String,default:"primary"},orientation:{type:String,default:"vertical"},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){_u(m=>({56485294:V(a),"65e8cc54":V(r)}));const t=e,a=mt(()=>{var m;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((m=ya[t.color])==null?void 0:m["500"])||ya[t.color]||t.color}),r=mt(()=>{var m;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((m=ya[t.color])==null?void 0:m["400"])||ya[t.color]||t.color}),n=mt(()=>({wrapper:"relative group isolate rounded-xl background-gradient ring-1 ring-gray-200 dark:ring-gray-800 before:hidden before:lg:block before:absolute before:-inset-[2px] before:h-[calc(100%+4px)] before:w-[calc(100%+4px)] before:z-[-1] before:rounded-[13px] flex-1 flex flex-col shadow",to:"hover:ring-primary-500 dark:hover:ring-primary-400 transition-shadow duration-200",base:"flex-1 flex flex-col overflow-hidden",container:"",body:{base:gu("gap-x-8 gap-y-4 rounded-xl flex-1",t.orientation==="vertical"&&"flex flex-col",!!s.default&&t.orientation==="horizontal"&&"grid lg:grid-cols-2 lg:items-center")},background:"bg-white dark:bg-gray-900 hover:bg-opacity-90 dark:hover:bg-opacity-90 transition-[background-opacity]",ring:"",rounded:"rounded-xl",shadow:"",icon:{wrapper:"mb-2 pointer-events-none",base:"w-8 h-8 flex-shrink-0 text-gray-900 dark:text-white"},title:"text-gray-900 dark:text-white text-base font-bold truncate",description:"text-[15px] text-gray-500 dark:text-gray-400 mt-1"})),i=Ca(),s=yu(),{elementX:o,elementY:u}=VU(i),{ui:l,attrs:p}=Ya("landing.card",ot(t,"ui"),n,ot(t,"class"),!0),h=mt(()=>ku(t)),f=mt(()=>(t.title||s.title&&bu(s.title())||"Card link").trim());return(m,y)=>{const b=wu,D=ls,A=zu;return Z(),ne("div",qe({ref_key:"el",ref:i,style:{"--x":`${V(o)}px`,"--y":`${V(u)}px`},class:[V(l).wrapper,m.to&&V(l).to]},V(p)),[Be(A,{ui:V(l)},{default:nt(()=>[Bt("div",{class:se(V(l).container)},[m.to?(Z(),wt(b,qe({key:0,"aria-label":V(f)},V(h),{class:"focus:outline-none",tabindex:"-1"}),{default:nt(()=>[GU]),_:1},16,["aria-label"])):ue("",!0),e.icon||m.$slots.icon?(Z(),ne("div",{key:1,class:se(V(l).icon.wrapper)},[le(m.$slots,"icon",{},()=>[Be(D,{name:e.icon,class:se(V(l).icon.base)},null,8,["name","class"])],!0)],2)):ue("",!0),e.title||m.$slots.title?(Z(),ne("p",{key:2,class:se(V(l).title)},[le(m.$slots,"title",{},()=>[kt(Re(e.title),1)],!0)],2)):ue("",!0),e.description||m.$slots.description?(Z(),ne("p",{key:3,class:se(V(l).description)},[le(m.$slots,"description",{},()=>[kt(Re(e.description),1)],!0)],2)):ue("",!0),le(m.$slots,"container",{},void 0,!0)],2),m.$slots.default?le(m.$slots,"default",{key:0},void 0,!0):ue("",!0)]),_:3},8,["ui"])],16)}}}),XU=Au(QU,[["__scopeId","data-v-c20f18de"]]),KU=Ht({inheritAttrs:!1,__name:"PageGrid",props:{class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-8"},a=e,{ui:r,attrs:n}=Ya("page.grid",ot(a,"ui"),t,ot(a,"class"),!0);return(i,s)=>(Z(),ne("div",qe({class:V(r).wrapper},V(n)),[le(i.$slots,"default")],16))}}),JU={key:0},ZU={key:2},ej={key:0},tj=Ht({inheritAttrs:!1,__name:"LandingSection",props:{icon:{type:String,default:void 0},headline:{type:String,default:void 0},title:{type:String,default:void 0},description:{type:String,default:void 0},features:{type:Array,default:()=>[]},links:{type:Array,default:()=>[]},slot:{type:String,default:void 0},align:{type:String,default:"center"},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"py-24 sm:py-32",container:"gap-16 sm:gap-y-24",base:"",icon:{wrapper:"flex mb-6",base:"w-10 h-10 flex-shrink-0 text-primary"},headline:"mb-2 text-base/7 font-semibold text-primary",title:"text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl lg:text-5xl",description:"mt-6 text-lg/8 text-gray-600 dark:text-gray-300",links:"mt-8 flex flex-wrap gap-x-3 gap-y-1.5",features:{wrapper:{base:"mt-6 leading-7",list:"space-y-4",grid:"grid grid-cols-1 gap-x-6 gap-y-10 sm:grid-cols-2 lg:grid-cols-3 lg:gap-x-8 lg:gap-y-16"},base:"relative pl-8",name:"font-semibold text-gray-900 dark:text-white",description:"text-gray-500 dark:text-gray-400 leading-6",icon:{base:"absolute left-0 top-1 h-5 w-5 text-primary",name:"i-heroicons-check-circle"}}},a=e,{ui:r,attrs:n}=Ya("landing.section",ot(a,"ui"),t,ot(a,"class"),!0);return(i,s)=>{const o=ls,u=us,l=cs;return Z(),ne("div",qe({class:V(r).wrapper},V(n)),[le(i.$slots,"top"),Be(l,{class:se([V(r).container,e.align==="center"?"flex flex-col":"grid lg:grid-cols-2 lg:items-center"])},{default:nt(()=>{var p,h,f,m,y;return[e.icon||i.$slots.icon||e.headline||i.$slots.headline||e.title||i.$slots.title||e.description||i.$slots.description||(p=e.links)!=null&&p.length||i.$slots.links?(Z(),ne("div",{key:0,class:se([V(r).base,e.align==="center"&&"text-center flex flex-col items-center",e.align==="right"&&"lg:order-last"])},[e.icon||i.$slots.icon?(Z(),ne("div",{key:0,class:se(V(r).icon.wrapper)},[le(i.$slots,"icon",{},()=>[Be(o,{name:e.icon,class:se(V(r).icon.base)},null,8,["name","class"])])],2)):e.headline||i.$slots.headline?(Z(),ne("div",{key:1,class:se(V(r).headline)},[le(i.$slots,"headline",{},()=>[kt(Re(e.headline),1)])],2)):ue("",!0),e.title||i.$slots.title?(Z(),ne("h2",{key:2,class:se(V(r).title)},[le(i.$slots,"title",{},()=>[kt(Re(e.title),1)])],2)):ue("",!0),e.description||i.$slots.description?(Z(),ne("p",{key:3,class:se(V(r).description)},[le(i.$slots,"description",{},()=>[kt(Re(e.description),1)])],2)):ue("",!0),e.align!=="center"&&((h=e.features)!=null&&h.length)?(Z(),ne("dl",{key:4,class:se([V(r).features.wrapper.base,V(r).features.wrapper.list])},[(Z(!0),ne(Ft,null,Ot(e.features,b=>(Z(),ne("div",{key:b.name,class:se(V(r).features.base)},[Bt("dt",{class:se(V(r).features.name)},[Be(o,{name:b.icon||V(r).features.icon.name,class:se(V(r).features.icon.base),"aria-hidden":"true"},null,8,["name","class"]),b.name?(Z(),ne("span",JU,Re(b.name),1)):ue("",!0)],2),b.description?(Z(),ne("dd",{key:0,class:se(V(r).features.description)},Re(b.description),3)):ue("",!0)],2))),128))],2)):ue("",!0),e.align!=="center"&&((f=e.links)!=null&&f.length||i.$slots.links)?(Z(),ne("div",{key:5,class:se(V(r).links)},[le(i.$slots,"links",{},()=>[(Z(!0),ne(Ft,null,Ot(e.links,(b,D)=>(Z(),wt(u,qe({key:D},b,{onClick:b.click}),null,16,["onClick"]))),128))])],2)):ue("",!0)],2)):ue("",!0),i.$slots[e.slot||"default"]?le(i.$slots,e.slot||"default",{key:1}):e.align==="right"?(Z(),ne("div",ZU)):ue("",!0),e.align==="center"&&((m=e.features)!=null&&m.length)?(Z(),ne("dl",{key:3,class:se([V(r).features.wrapper.base,V(r).features.wrapper.grid])},[(Z(!0),ne(Ft,null,Ot(e.features,b=>(Z(),ne("div",{key:b.name,class:se(V(r).features.base)},[Bt("dt",{class:se(V(r).features.name)},[Be(o,{name:b.icon||V(r).features.icon.name,class:se(V(r).features.icon.base),"aria-hidden":"true"},null,8,["name","class"]),b.name?(Z(),ne("span",ej,Re(b.name),1)):ue("",!0)],2),b.description?(Z(),ne("dd",{key:0,class:se(V(r).features.description)},Re(b.description),3)):ue("",!0)],2))),128))],2)):ue("",!0),e.align==="center"&&((y=e.links)!=null&&y.length||i.$slots.links)?(Z(),ne("div",{key:4,class:se([V(r).links,"!mt-0 justify-center"])},[le(i.$slots,"links",{},()=>[(Z(!0),ne(Ft,null,Ot(e.links,(b,D)=>(Z(),wt(u,qe({key:D},b,{onClick:b.click}),null,16,["onClick"]))),128))])],2)):ue("",!0)]}),_:3},8,["class"]),le(i.$slots,"bottom")],16)}}}),aj=Ht({__name:"index",async setup(e){let t,a;const{data:r}=([t,a]=ss(()=>os("index",()=>Du("/").findOne())),t=await t,a(),t);return Cu({title:r.value.title,ogTitle:r.value.title,description:r.value.description,ogDescription:r.value.description,ogImage:"https://supabase.nuxtjs.org/social-card.jpg",twitterImage:"https://supabase.nuxtjs.org/social-card.jpg"}),(n,i)=>{const s=qU,o=YU,u=XU,l=KU,p=tj;return Z(),ne("div",null,[V(r).hero?(Z(),wt(o,xu(qe({key:0},V(r).hero)),{title:nt(()=>[Be(s,{value:V(r).hero.title},null,8,["value"])]),default:nt(()=>[Be(s,{value:V(r).hero.code,tag:"pre",class:"prose prose-primary dark:prose-invert max-w-none"},null,8,["value"])]),_:1},16)):ue("",!0),Be(p,{title:V(r).features.title},{default:nt(()=>[Be(l,null,{default:nt(()=>[(Z(!0),ne(Ft,null,Ot(V(r).features.items,(h,f)=>(Z(),wt(u,qe({key:f},h),null,16))),128))]),_:1})]),_:1},8,["title"])])}}}),cj=Object.freeze(Object.defineProperty({__proto__:null,default:aj},Symbol.toStringTag,{value:"Module"}));export{cj as i,K_ as t,Xe as v}; +`))}function u(m,y,b,D){const A=b.enter("tableCell"),S=b.enter("phrasing"),O=b.containerPhrasing(m,{...D,before:i,after:i});return S(),A(),O}function l(m,y){return hP(m,{align:y,alignDelimiters:r,padding:a,stringLength:n})}function p(m,y,b){const D=m.children;let A=-1;const S=[],O=y.enter("table");for(;++A0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const MP={tokenize:WP,partial:!0};function HP(){return{document:{91:{tokenize:YP,continuation:{tokenize:$P},exit:VP}},text:{91:{tokenize:qP},93:{add:"after",tokenize:UP,resolveTo:jP}}}}function UP(e,t,a){const r=this;let n=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;n--;){const u=r.events[n][1];if(u.type==="labelImage"){s=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return o;function o(u){if(!s||!s._balanced)return a(u);const l=Pe(r.sliceSerialize({start:s.end,end:r.now()}));return l.codePointAt(0)!==94||!i.includes(l.slice(1))?a(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function jP(e,t){let a=e.length;for(;a--;)if(e[a][1].type==="labelImage"&&e[a][0]==="enter"){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},n={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};n.end.column++,n.end.offset++,n.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},n.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[a+1],e[a+2],["enter",r,t],e[a+3],e[a+4],["enter",n,t],["exit",n,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(a,e.length-a+1,...o),e}function qP(e,t,a){const r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,s;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),u}function u(h){return h!==94?a(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(h){if(i>999||h===93&&!s||h===null||h===91||ae(h))return a(h);if(h===93){e.exit("chunkString");const f=e.exit("gfmFootnoteCallString");return n.includes(Pe(r.sliceSerialize(f)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):a(h)}return ae(h)||(s=!0),i++,e.consume(h),h===92?p:l}function p(h){return h===91||h===92||h===93?(e.consume(h),i++,l):l(h)}}function YP(e,t,a){const r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,s=0,o;return u;function u(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):a(y)}function p(y){if(s>999||y===93&&!o||y===null||y===91||ae(y))return a(y);if(y===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return i=Pe(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return ae(y)||(o=!0),s++,e.consume(y),y===92?h:p}function h(y){return y===91||y===92||y===93?(e.consume(y),s++,p):p(y)}function f(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),n.includes(i)||n.push(i),G(e,m,"gfmFootnoteDefinitionWhitespace")):a(y)}function m(y){return t(y)}}function $P(e,t,a){return e.check(ma,t,e.attempt(MP,t,a))}function VP(e){e.exit("gfmFootnoteDefinition")}function WP(e,t,a){const r=this;return G(e,n,"gfmFootnoteDefinitionIndent",5);function n(i){const s=r.events[r.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(i):a(i)}}function GP(e){let a=(e||{}).singleTilde;const r={tokenize:i,resolveAll:n};return a==null&&(a=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function n(s,o){let u=-1;for(;++u1?u(y):(s.consume(y),h++,m);if(h<2&&!a)return u(y);const D=s.exit("strikethroughSequenceTemporary"),A=Na(y);return D._open=!A||A===2&&!!b,D._close=!b||b===2&&!!A,o(y)}}}class QP{constructor(){this.map=[]}add(t,a,r){XP(this,t,a,r)}consume(t){if(this.map.sort(function(i,s){return i[0]-s[0]}),this.map.length===0)return;let a=this.map.length;const r=[];for(;a>0;)a-=1,r.push(t.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),t.length=this.map[a][0];r.push([...t]),t.length=0;let n=r.pop();for(;n;)t.push(...n),n=r.pop();this.map.length=0}}function XP(e,t,a,r){let n=0;if(!(a===0&&r.length===0)){for(;n-1;){const te=r.events[z][1].type;if(te==="lineEnding"||te==="linePrefix")z--;else break}const P=z>-1?r.events[z][1].type:null,Q=P==="tableHead"||P==="tableRow"?d:u;return Q===d&&r.parser.lazy[r.now().line]?a(x):Q(x)}function u(x){return e.enter("tableHead"),e.enter("tableRow"),l(x)}function l(x){return x===124||(s=!0,i+=1),p(x)}function p(x){return x===null?a(x):Y(x)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),m):a(x):X(x)?G(e,p,"whitespace")(x):(i+=1,s&&(s=!1,n+=1),x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),s=!0,p):(e.enter("data"),h(x)))}function h(x){return x===null||x===124||ae(x)?(e.exit("data"),p(x)):(e.consume(x),x===92?f:h)}function f(x){return x===92||x===124?(e.consume(x),h):h(x)}function m(x){return r.interrupt=!1,r.parser.lazy[r.now().line]?a(x):(e.enter("tableDelimiterRow"),s=!1,X(x)?G(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):y(x))}function y(x){return x===45||x===58?D(x):x===124?(s=!0,e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),b):N(x)}function b(x){return X(x)?G(e,D,"whitespace")(x):D(x)}function D(x){return x===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),A):x===45?(i+=1,A(x)):x===null||Y(x)?H(x):N(x)}function A(x){return x===45?(e.enter("tableDelimiterFiller"),S(x)):N(x)}function S(x){return x===45?(e.consume(x),S):x===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),O):(e.exit("tableDelimiterFiller"),O(x))}function O(x){return X(x)?G(e,H,"whitespace")(x):H(x)}function H(x){return x===124?y(x):x===null||Y(x)?!s||n!==i?N(x):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(x)):N(x)}function N(x){return a(x)}function d(x){return e.enter("tableRow"),I(x)}function I(x){return x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),I):x===null||Y(x)?(e.exit("tableRow"),t(x)):X(x)?G(e,I,"whitespace")(x):(e.enter("data"),j(x))}function j(x){return x===null||x===124||ae(x)?(e.exit("data"),I(x)):(e.consume(x),x===92?$:j)}function $(x){return x===92||x===124?(e.consume(x),j):j(x)}}function eM(e,t){let a=-1,r=!0,n=0,i=[0,0,0,0],s=[0,0,0,0],o=!1,u=0,l,p,h;const f=new QP;for(;++aa[2]+1){const y=a[2]+1,b=a[3]-a[2]-1;e.add(y,b,[])}}e.add(a[3]+1,0,[["exit",h,t]])}return n!==void 0&&(i.end=Object.assign({},St(t.events,n)),e.add(n,0,[["exit",i,t]]),i=void 0),i}function ji(e,t,a,r,n){const i=[],s=St(t.events,a);n&&(n.end=Object.assign({},s),i.push(["exit",n,t])),r.end=Object.assign({},s),i.push(["exit",r,t]),e.add(a+1,0,i)}function St(e,t){const a=e[t],r=a[0]==="enter"?"start":"end";return a[1][r]}const tM={tokenize:rM};function aM(){return{text:{91:tM}}}function rM(e,t,a){const r=this;return n;function n(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?a(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),i)}function i(u){return ae(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),s):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),s):a(u)}function s(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):a(u)}function o(u){return Y(u)?t(u):X(u)?e.check({tokenize:nM},t,a)(u):a(u)}}function nM(e,t,a){return G(e,r,"whitespace");function r(n){return n===null?a(n):t(n)}}function iM(e){return ds([SP(),HP(),GP(e),JP(),aM()])}const sM={};function oM(e){const t=this,a=e||sM,r=t.data(),n=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);n.push(iM(a)),i.push(xP()),s.push(DP(a))}const cM=function(e,t,a,r,n){const i=gn(t);if(a!=null&&(typeof a!="number"||a<0||a===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(r!=null&&(!r.type||!r.children))throw new Error("Expected valid `parent`");if(a==null!=(r==null))throw new Error("Expected both `index` and `parent`");return ic(e)?i.call(n,e,a,r):!1},gn=function(e){if(e==null)return fM;if(typeof e=="string")return lM(e);if(typeof e=="object")return uM(e);if(typeof e=="function")return yn(e);throw new Error("Expected function, string, or array as `test`")};function uM(e){const t=[];let a=-1;for(;++a0&&(i.properties.rel=[...f]),m&&(i.properties.target=m),p){const b=Gt(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:Qe(b),children:Qe(p)})}}}})}}function Gt(e,t){return typeof e=="function"?e(t):e}const qi={accept:"input",className:null,dropzone:null,htmlFor:"output",headers:["td","th"],itemProp:null,itemRef:null,itemType:null,ping:["a","area"],rel:["a","area","link"],sandbox:"iframe",sizes:"link"};function bM(){return function(e){const t=new Map,a=[];Xe(e,"element",function(i){let s;for(s in i.properties)if(Object.hasOwn(i.properties,s)){const o=i.properties[s];Object.hasOwn(qi,s)&&cM(i,qi[s])&&Array.isArray(o)&&r(s,o)}}),n();function r(i,s){let o=-1,u=t.get(i);for(u||(u=new Map,t.set(i,u));++o-1&&ii)return{line:s+1,column:i-(s>0?a[s-1]:0)+1,offset:i}}}function n(i){const s=i&&i.line,o=i&&i.column;if(typeof s=="number"&&typeof o=="number"&&!Number.isNaN(s)&&!Number.isNaN(o)&&s-1 in a){const u=(a[s-2]||0)+o-1||0;if(u>-1&&u=55296&&e<=57343}function QM(e){return e>=56320&&e<=57343}function XM(e,t){return(e-55296)*1024+9216+t}function dc(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function pc(e){return e>=64976&&e<=65007||GM.has(e)}var F;(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"})(F=F||(F={}));const KM=65536;class JM{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=KM,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:a,col:r,offset:n}=this;return{code:t,startLine:a,endLine:a,startCol:r,endCol:r,startOffset:n,endOffset:n}}_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 a=this.html.charCodeAt(this.pos+1);if(QM(a))return this.pos++,this._addGap(),XM(t,a)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,_.EOF;return this._err(F.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,a){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=a}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,a){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(a)return this.html.startsWith(t,this.pos);for(let r=0;r=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,_.EOF;const r=this.html.charCodeAt(a);return r===_.CARRIAGE_RETURN?_.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,_.EOF;let t=this.html.charCodeAt(this.pos);return t===_.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,_.LINE_FEED):t===_.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,hc(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===_.LINE_FEED||t===_.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){dc(t)?this._err(F.controlCharacterInInputStream):pc(t)&&this._err(F.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos=0;a--)if(e.attrs[a].name===t)return e.attrs[a].value;return null}const at=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))),ZM=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Tr;const e7=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]]),t7=(Tr=String.fromCodePoint)!==null&&Tr!==void 0?Tr: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 a7(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=e7.get(e))!==null&&t!==void 0?t:e}var ge;(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"})(ge||(ge={}));const r7=32;var je;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(je||(je={}));function Vr(e){return e>=ge.ZERO&&e<=ge.NINE}function n7(e){return e>=ge.UPPER_A&&e<=ge.UPPER_F||e>=ge.LOWER_A&&e<=ge.LOWER_F}function i7(e){return e>=ge.UPPER_A&&e<=ge.UPPER_Z||e>=ge.LOWER_A&&e<=ge.LOWER_Z||Vr(e)}function s7(e){return e===ge.EQUALS||i7(e)}var me;(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"})(me||(me={}));var gt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(gt||(gt={}));class o7{constructor(t,a,r){this.decodeTree=t,this.emitCodePoint=a,this.errors=r,this.state=me.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=gt.Strict}startEntity(t){this.decodeMode=t,this.state=me.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,a){switch(this.state){case me.EntityStart:return t.charCodeAt(a)===ge.NUM?(this.state=me.NumericStart,this.consumed+=1,this.stateNumericStart(t,a+1)):(this.state=me.NamedEntity,this.stateNamedEntity(t,a));case me.NumericStart:return this.stateNumericStart(t,a);case me.NumericDecimal:return this.stateNumericDecimal(t,a);case me.NumericHex:return this.stateNumericHex(t,a);case me.NamedEntity:return this.stateNamedEntity(t,a)}}stateNumericStart(t,a){return a>=t.length?-1:(t.charCodeAt(a)|r7)===ge.LOWER_X?(this.state=me.NumericHex,this.consumed+=1,this.stateNumericHex(t,a+1)):(this.state=me.NumericDecimal,this.stateNumericDecimal(t,a))}addToNumericResult(t,a,r,n){if(a!==r){const i=r-a;this.result=this.result*Math.pow(n,i)+parseInt(t.substr(a,i),n),this.consumed+=i}}stateNumericHex(t,a){const r=a;for(;a>14;for(;a>14,i!==0){if(s===ge.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==gt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:a,decodeTree:r}=this,n=(r[a]&je.VALUE_LENGTH)>>14;return this.emitNamedEntityData(a,n,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,a,r){const{decodeTree:n}=this;return this.emitCodePoint(a===1?n[t]&~je.VALUE_LENGTH:n[t+1],r),a===3&&this.emitCodePoint(n[t+2],r),r}end(){var t;switch(this.state){case me.NamedEntity:return this.result!==0&&(this.decodeMode!==gt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case me.NumericDecimal:return this.emitNumericEntity(0,2);case me.NumericHex:return this.emitNumericEntity(0,3);case me.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case me.EntityStart:return 0}}}function _c(e){let t="";const a=new o7(e,r=>t+=t7(r));return function(n,i){let s=0,o=0;for(;(o=n.indexOf("&",o))>=0;){t+=n.slice(s,o),a.startEntity(i);const l=a.write(n,o+1);if(l<0){s=o+a.end();break}s=o+l,o=l===0?s+1:s}const u=t+n.slice(s);return t="",u}}function gc(e,t,a,r){const n=(t&je.BRANCH_LENGTH)>>7,i=t&je.JUMP_TABLE;if(n===0)return i!==0&&r===i?a:-1;if(i){const u=r-i;return u<0||u>=n?-1:e[a+u]-1}let s=a,o=s+n-1;for(;s<=o;){const u=s+o>>>1,l=e[u];if(lr)o=u-1;else return e[u+n]}return-1}_c(at);_c(ZM);var L;(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/"})(L=L||(L={}));var st;(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"})(st=st||(st={}));var ze;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ze=ze||(ze={}));var C;(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"})(C=C||(C={}));var c;(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"})(c=c||(c={}));const c7=new Map([[C.A,c.A],[C.ADDRESS,c.ADDRESS],[C.ANNOTATION_XML,c.ANNOTATION_XML],[C.APPLET,c.APPLET],[C.AREA,c.AREA],[C.ARTICLE,c.ARTICLE],[C.ASIDE,c.ASIDE],[C.B,c.B],[C.BASE,c.BASE],[C.BASEFONT,c.BASEFONT],[C.BGSOUND,c.BGSOUND],[C.BIG,c.BIG],[C.BLOCKQUOTE,c.BLOCKQUOTE],[C.BODY,c.BODY],[C.BR,c.BR],[C.BUTTON,c.BUTTON],[C.CAPTION,c.CAPTION],[C.CENTER,c.CENTER],[C.CODE,c.CODE],[C.COL,c.COL],[C.COLGROUP,c.COLGROUP],[C.DD,c.DD],[C.DESC,c.DESC],[C.DETAILS,c.DETAILS],[C.DIALOG,c.DIALOG],[C.DIR,c.DIR],[C.DIV,c.DIV],[C.DL,c.DL],[C.DT,c.DT],[C.EM,c.EM],[C.EMBED,c.EMBED],[C.FIELDSET,c.FIELDSET],[C.FIGCAPTION,c.FIGCAPTION],[C.FIGURE,c.FIGURE],[C.FONT,c.FONT],[C.FOOTER,c.FOOTER],[C.FOREIGN_OBJECT,c.FOREIGN_OBJECT],[C.FORM,c.FORM],[C.FRAME,c.FRAME],[C.FRAMESET,c.FRAMESET],[C.H1,c.H1],[C.H2,c.H2],[C.H3,c.H3],[C.H4,c.H4],[C.H5,c.H5],[C.H6,c.H6],[C.HEAD,c.HEAD],[C.HEADER,c.HEADER],[C.HGROUP,c.HGROUP],[C.HR,c.HR],[C.HTML,c.HTML],[C.I,c.I],[C.IMG,c.IMG],[C.IMAGE,c.IMAGE],[C.INPUT,c.INPUT],[C.IFRAME,c.IFRAME],[C.KEYGEN,c.KEYGEN],[C.LABEL,c.LABEL],[C.LI,c.LI],[C.LINK,c.LINK],[C.LISTING,c.LISTING],[C.MAIN,c.MAIN],[C.MALIGNMARK,c.MALIGNMARK],[C.MARQUEE,c.MARQUEE],[C.MATH,c.MATH],[C.MENU,c.MENU],[C.META,c.META],[C.MGLYPH,c.MGLYPH],[C.MI,c.MI],[C.MO,c.MO],[C.MN,c.MN],[C.MS,c.MS],[C.MTEXT,c.MTEXT],[C.NAV,c.NAV],[C.NOBR,c.NOBR],[C.NOFRAMES,c.NOFRAMES],[C.NOEMBED,c.NOEMBED],[C.NOSCRIPT,c.NOSCRIPT],[C.OBJECT,c.OBJECT],[C.OL,c.OL],[C.OPTGROUP,c.OPTGROUP],[C.OPTION,c.OPTION],[C.P,c.P],[C.PARAM,c.PARAM],[C.PLAINTEXT,c.PLAINTEXT],[C.PRE,c.PRE],[C.RB,c.RB],[C.RP,c.RP],[C.RT,c.RT],[C.RTC,c.RTC],[C.RUBY,c.RUBY],[C.S,c.S],[C.SCRIPT,c.SCRIPT],[C.SECTION,c.SECTION],[C.SELECT,c.SELECT],[C.SOURCE,c.SOURCE],[C.SMALL,c.SMALL],[C.SPAN,c.SPAN],[C.STRIKE,c.STRIKE],[C.STRONG,c.STRONG],[C.STYLE,c.STYLE],[C.SUB,c.SUB],[C.SUMMARY,c.SUMMARY],[C.SUP,c.SUP],[C.TABLE,c.TABLE],[C.TBODY,c.TBODY],[C.TEMPLATE,c.TEMPLATE],[C.TEXTAREA,c.TEXTAREA],[C.TFOOT,c.TFOOT],[C.TD,c.TD],[C.TH,c.TH],[C.THEAD,c.THEAD],[C.TITLE,c.TITLE],[C.TR,c.TR],[C.TRACK,c.TRACK],[C.TT,c.TT],[C.U,c.U],[C.UL,c.UL],[C.SVG,c.SVG],[C.VAR,c.VAR],[C.WBR,c.WBR],[C.XMP,c.XMP]]);function jt(e){var t;return(t=c7.get(e))!==null&&t!==void 0?t:c.UNKNOWN}const M=c,u7={[L.HTML]:new Set([M.ADDRESS,M.APPLET,M.AREA,M.ARTICLE,M.ASIDE,M.BASE,M.BASEFONT,M.BGSOUND,M.BLOCKQUOTE,M.BODY,M.BR,M.BUTTON,M.CAPTION,M.CENTER,M.COL,M.COLGROUP,M.DD,M.DETAILS,M.DIR,M.DIV,M.DL,M.DT,M.EMBED,M.FIELDSET,M.FIGCAPTION,M.FIGURE,M.FOOTER,M.FORM,M.FRAME,M.FRAMESET,M.H1,M.H2,M.H3,M.H4,M.H5,M.H6,M.HEAD,M.HEADER,M.HGROUP,M.HR,M.HTML,M.IFRAME,M.IMG,M.INPUT,M.LI,M.LINK,M.LISTING,M.MAIN,M.MARQUEE,M.MENU,M.META,M.NAV,M.NOEMBED,M.NOFRAMES,M.NOSCRIPT,M.OBJECT,M.OL,M.P,M.PARAM,M.PLAINTEXT,M.PRE,M.SCRIPT,M.SECTION,M.SELECT,M.SOURCE,M.STYLE,M.SUMMARY,M.TABLE,M.TBODY,M.TD,M.TEMPLATE,M.TEXTAREA,M.TFOOT,M.TH,M.THEAD,M.TITLE,M.TR,M.TRACK,M.UL,M.WBR,M.XMP]),[L.MATHML]:new Set([M.MI,M.MO,M.MN,M.MS,M.MTEXT,M.ANNOTATION_XML]),[L.SVG]:new Set([M.TITLE,M.FOREIGN_OBJECT,M.DESC]),[L.XLINK]:new Set,[L.XML]:new Set,[L.XMLNS]:new Set};function yc(e){return e===M.H1||e===M.H2||e===M.H3||e===M.H4||e===M.H5||e===M.H6}C.STYLE,C.SCRIPT,C.XMP,C.IFRAME,C.NOEMBED,C.NOFRAMES,C.PLAINTEXT;const l7=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 g;(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"})(g||(g={}));const fe={DATA:g.DATA,RCDATA:g.RCDATA,RAWTEXT:g.RAWTEXT,SCRIPT_DATA:g.SCRIPT_DATA,PLAINTEXT:g.PLAINTEXT,CDATA_SECTION:g.CDATA_SECTION};function ea(e){return e>=_.DIGIT_0&&e<=_.DIGIT_9}function Jt(e){return e>=_.LATIN_CAPITAL_A&&e<=_.LATIN_CAPITAL_Z}function f7(e){return e>=_.LATIN_SMALL_A&&e<=_.LATIN_SMALL_Z}function rt(e){return f7(e)||Jt(e)}function Wr(e){return rt(e)||ea(e)}function kc(e){return e>=_.LATIN_CAPITAL_A&&e<=_.LATIN_CAPITAL_F}function bc(e){return e>=_.LATIN_SMALL_A&&e<=_.LATIN_SMALL_F}function h7(e){return ea(e)||kc(e)||bc(e)}function Ta(e){return e+32}function wc(e){return e===_.SPACE||e===_.LINE_FEED||e===_.TABULATION||e===_.FORM_FEED}function d7(e){return e===_.EQUALS_SIGN||Wr(e)}function Gi(e){return wc(e)||e===_.SOLIDUS||e===_.GREATER_THAN_SIGN}class p7{constructor(t,a){this.options=t,this.handler=a,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=g.DATA,this.returnState=g.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new JM(a),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var a,r;(r=(a=this.handler).onParseError)===null||r===void 0||r.call(a,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,a,r){this.active=!0,this.preprocessor.write(t,a),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,a){this.state=t,this._callState(a)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let a=0;a0&&this._err(F.endTagWithAttributes),t.selfClosing&&this._err(F.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 ee.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ee.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ee.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:ee.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,a){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=a;return}this._createCharacterToken(t,a)}_emitCodePoint(t){const a=wc(t)?ee.WHITESPACE_CHARACTER:t===_.NULL?ee.NULL_CHARACTER:ee.CHARACTER;this._appendCharToCurrentCharacterToken(a,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ee.CHARACTER,t)}_matchNamedCharacterReference(t){let a=null,r=0,n=!1;for(let i=0,s=at[0];i>=0&&(i=gc(at,s,i+1,t),!(i<0));t=this._consume()){r+=1,s=at[i];const o=s&je.VALUE_LENGTH;if(o){const u=(o>>14)-1;if(t!==_.SEMICOLON&&this._isCharacterReferenceInAttribute()&&d7(this.preprocessor.peek(1))?(a=[_.AMPERSAND],i+=u):(a=u===0?[at[i]&~je.VALUE_LENGTH]:u===1?[at[++i]]:[at[++i],at[++i]],r=0,n=t!==_.SEMICOLON),u===0){this._consume();break}}}return this._unconsume(r),n&&!this.preprocessor.endOfChunkHit&&this._err(F.missingSemicolonAfterCharacterReference),this._unconsume(1),a}_isCharacterReferenceInAttribute(){return this.returnState===g.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===g.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case g.DATA:{this._stateData(t);break}case g.RCDATA:{this._stateRcdata(t);break}case g.RAWTEXT:{this._stateRawtext(t);break}case g.SCRIPT_DATA:{this._stateScriptData(t);break}case g.PLAINTEXT:{this._statePlaintext(t);break}case g.TAG_OPEN:{this._stateTagOpen(t);break}case g.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case g.TAG_NAME:{this._stateTagName(t);break}case g.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case g.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case g.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case g.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case g.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case g.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case g.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case g.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case g.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case g.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case g.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case g.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case g.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case g.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case g.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case g.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case g.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case g.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case g.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case g.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case g.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case g.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case g.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case g.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case g.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case g.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case g.BOGUS_COMMENT:{this._stateBogusComment(t);break}case g.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case g.COMMENT_START:{this._stateCommentStart(t);break}case g.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case g.COMMENT:{this._stateComment(t);break}case g.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case g.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case g.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case g.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case g.COMMENT_END:{this._stateCommentEnd(t);break}case g.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case g.DOCTYPE:{this._stateDoctype(t);break}case g.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case g.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case g.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case g.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case g.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case g.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case g.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case g.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case g.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case g.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case g.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case g.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case g.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case g.CDATA_SECTION:{this._stateCdataSection(t);break}case g.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case g.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case g.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case g.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case g.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case g.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case g.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case g.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case g.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case g.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case _.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case _.AMPERSAND:{this.returnState=g.DATA,this.state=g.CHARACTER_REFERENCE;break}case _.NULL:{this._err(F.unexpectedNullCharacter),this._emitCodePoint(t);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case _.AMPERSAND:{this.returnState=g.RCDATA,this.state=g.CHARACTER_REFERENCE;break}case _.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case _.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case _.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case _.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case _.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case _.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case _.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(rt(t))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(t);else switch(t){case _.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case _.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case _.QUESTION_MARK:{this._err(F.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(t);break}case _.EOF:{this._err(F.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(F.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=g.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(rt(t))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(t);else switch(t){case _.GREATER_THAN_SIGN:{this._err(F.missingEndTagName),this.state=g.DATA;break}case _.EOF:{this._err(F.eofBeforeTagName),this._emitChars("");break}case _.NULL:{this._err(F.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(ce);break}case _.EOF:{this._err(F.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===_.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:rt(t)?(this._emitChars("<"),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=g.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){rt(t)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("");break}case _.NULL:{this._err(F.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ce);break}case _.EOF:{this._err(F.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===_.SOLIDUS?(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Te.SCRIPT,!1)&&Gi(this.preprocessor.peek(Te.SCRIPT.length))){this._emitCodePoint(t);for(let a=0;a1114111)this._err(F.characterReferenceOutsideUnicodeRange),this.charRefCode=_.REPLACEMENT_CHARACTER;else if(hc(this.charRefCode))this._err(F.surrogateCharacterReference),this.charRefCode=_.REPLACEMENT_CHARACTER;else if(pc(this.charRefCode))this._err(F.noncharacterCharacterReference);else if(dc(this.charRefCode)||this.charRefCode===_.CARRIAGE_RETURN){this._err(F.controlCharacterReference);const a=l7.get(this.charRefCode);a!==void 0&&(this.charRefCode=a)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Ec=new Set([c.DD,c.DT,c.LI,c.OPTGROUP,c.OPTION,c.P,c.RB,c.RP,c.RT,c.RTC]),Qi=new Set([...Ec,c.CAPTION,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]),Aa=new Map([[c.APPLET,L.HTML],[c.CAPTION,L.HTML],[c.HTML,L.HTML],[c.MARQUEE,L.HTML],[c.OBJECT,L.HTML],[c.TABLE,L.HTML],[c.TD,L.HTML],[c.TEMPLATE,L.HTML],[c.TH,L.HTML],[c.ANNOTATION_XML,L.MATHML],[c.MI,L.MATHML],[c.MN,L.MATHML],[c.MO,L.MATHML],[c.MS,L.MATHML],[c.MTEXT,L.MATHML],[c.DESC,L.SVG],[c.FOREIGN_OBJECT,L.SVG],[c.TITLE,L.SVG]]),m7=[c.H1,c.H2,c.H3,c.H4,c.H5,c.H6],_7=[c.TR,c.TEMPLATE,c.HTML],g7=[c.TBODY,c.TFOOT,c.THEAD,c.TEMPLATE,c.HTML],y7=[c.TABLE,c.TEMPLATE,c.HTML],k7=[c.TD,c.TH];class b7{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,a,r){this.treeAdapter=a,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=c.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===c.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===L.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,a){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=a,this.currentTagId=a,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,a,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,a){const r=this._indexOf(t);this.items[r]=a,r===this.stackTop&&(this.current=a)}insertAfter(t,a,r){const n=this._indexOf(t)+1;this.items.splice(n,0,a),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(t){let a=this.stackTop+1;do a=this.tagIDs.lastIndexOf(t,a-1);while(a>0&&this.treeAdapter.getNamespaceURI(this.items[a])!==L.HTML);this.shortenToLength(a<0?0:a)}shortenToLength(t){for(;this.stackTop>=t;){const a=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(a,this.stackTop=0;r--)if(t.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===a)return r;return-1}clearBackTo(t,a){const r=this._indexOfTagNames(t,a);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(y7,L.HTML)}clearBackToTableBodyContext(){this.clearBackTo(g7,L.HTML)}clearBackToTableRowContext(){this.clearBackTo(_7,L.HTML)}remove(t){const a=this._indexOf(t);a>=0&&(a===this.stackTop?this.pop():(this.items.splice(a,1),this.tagIDs.splice(a,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===c.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const a=this._indexOf(t)-1;return a>=0?this.items[a]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===c.HTML}hasInScope(t){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a],n=this.treeAdapter.getNamespaceURI(this.items[a]);if(r===t&&n===L.HTML)return!0;if(Aa.get(r)===n)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const a=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(yc(a)&&r===L.HTML)return!0;if(Aa.get(a)===r)return!1}return!0}hasInListItemScope(t){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a],n=this.treeAdapter.getNamespaceURI(this.items[a]);if(r===t&&n===L.HTML)return!0;if((r===c.UL||r===c.OL)&&n===L.HTML||Aa.get(r)===n)return!1}return!0}hasInButtonScope(t){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a],n=this.treeAdapter.getNamespaceURI(this.items[a]);if(r===t&&n===L.HTML)return!0;if(r===c.BUTTON&&n===L.HTML||Aa.get(r)===n)return!1}return!0}hasInTableScope(t){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a];if(this.treeAdapter.getNamespaceURI(this.items[a])===L.HTML){if(r===t)return!0;if(r===c.TABLE||r===c.TEMPLATE||r===c.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const a=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===L.HTML){if(a===c.TBODY||a===c.THEAD||a===c.TFOOT)return!0;if(a===c.TABLE||a===c.HTML)return!1}}return!0}hasInSelectScope(t){for(let a=this.stackTop;a>=0;a--){const r=this.tagIDs[a];if(this.treeAdapter.getNamespaceURI(this.items[a])===L.HTML){if(r===t)return!0;if(r!==c.OPTION&&r!==c.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Ec.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Qi.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Qi.has(this.currentTagId);)this.pop()}}const Ar=3;var ve;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ve=ve||(ve={}));const Xi={type:ve.Marker};class w7{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,a){const r=[],n=a.length,i=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let o=0;o[s.name,s.value]));let i=0;for(let s=0;sn.get(u.name)===u.value)&&(i+=1,i>=Ar&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Xi)}pushElement(t,a){this._ensureNoahArkCondition(t),this.entries.unshift({type:ve.Element,element:t,token:a})}insertElementAfterBookmark(t,a){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:ve.Element,element:t,token:a})}removeEntry(t){const a=this.entries.indexOf(t);a>=0&&this.entries.splice(a,1)}clearToLastMarker(){const t=this.entries.indexOf(Xi);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const a=this.entries.find(r=>r.type===ve.Marker||this.treeAdapter.getTagName(r.element)===t);return a&&a.type===ve.Element?a:null}getElementEntry(t){return this.entries.find(a=>a.type===ve.Element&&a.element===t)}}function Ki(e){return{nodeName:"#text",value:e,parentNode:null}}const Nt={createDocument(){return{nodeName:"#document",mode:ze.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,a){return{nodeName:e,tagName:e,attrs:a,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,a){const r=e.childNodes.indexOf(a);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,a,r){const n=e.childNodes.find(i=>i.nodeName==="#documentType");if(n)n.name=t,n.publicId=a,n.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:a,systemId:r,parentNode:null};Nt.appendChild(e,i)}},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 a=e.childNodes[e.childNodes.length-1];if(Nt.isTextNode(a)){a.value+=t;return}}Nt.appendChild(e,Ki(t))},insertTextBefore(e,t,a){const r=e.childNodes[e.childNodes.indexOf(a)-1];r&&Nt.isTextNode(r)?r.value+=t:Nt.insertBefore(e,Ki(t),a)},adoptAttributes(e,t){const a=new Set(e.attrs.map(r=>r.name));for(let r=0;re.startsWith(a))}function D7(e){return e.name===Tc&&e.publicId===null&&(e.systemId===null||e.systemId===E7)}function z7(e){if(e.name!==Tc)return ze.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===T7)return ze.QUIRKS;let{publicId:a}=e;if(a!==null){if(a=a.toLowerCase(),C7.has(a))return ze.QUIRKS;let r=t===null?A7:Ac;if(Ji(a,r))return ze.QUIRKS;if(r=t===null?Cc:x7,Ji(a,r))return ze.LIMITED_QUIRKS}return ze.NO_QUIRKS}const Zi={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},I7="definitionurl",S7="definitionURL",N7=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])),F7=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:L.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:L.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:L.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:L.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:L.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:L.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:L.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:L.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:L.XML}],["xml:space",{prefix:"xml",name:"space",namespace:L.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:L.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:L.XMLNS}]]),O7=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])),L7=new Set([c.B,c.BIG,c.BLOCKQUOTE,c.BODY,c.BR,c.CENTER,c.CODE,c.DD,c.DIV,c.DL,c.DT,c.EM,c.EMBED,c.H1,c.H2,c.H3,c.H4,c.H5,c.H6,c.HEAD,c.HR,c.I,c.IMG,c.LI,c.LISTING,c.MENU,c.META,c.NOBR,c.OL,c.P,c.PRE,c.RUBY,c.S,c.SMALL,c.SPAN,c.STRONG,c.STRIKE,c.SUB,c.SUP,c.TABLE,c.TT,c.U,c.UL,c.VAR]);function R7(e){const t=e.tagID;return t===c.FONT&&e.attrs.some(({name:r})=>r===st.COLOR||r===st.SIZE||r===st.FACE)||L7.has(t)}function xc(e){for(let t=0;t0&&this._setContextModes(t,a)}onItemPop(t,a){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(n=(r=this.treeAdapter).onItemPop)===null||n===void 0||n.call(r,t,this.openElements.current),a){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(t,a){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===L.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(a,t)}_switchToTextParsing(t,a){this._insertElement(t,L.HTML),this.tokenizer.state=a,this.originalInsertionMode=this.insertionMode,this.insertionMode=k.TEXT}switchToPlaintextParsing(){this.insertionMode=k.TEXT,this.originalInsertionMode=k.IN_BODY,this.tokenizer.state=fe.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)===C.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==L.HTML))switch(this.fragmentContextID){case c.TITLE:case c.TEXTAREA:{this.tokenizer.state=fe.RCDATA;break}case c.STYLE:case c.XMP:case c.IFRAME:case c.NOEMBED:case c.NOFRAMES:case c.NOSCRIPT:{this.tokenizer.state=fe.RAWTEXT;break}case c.SCRIPT:{this.tokenizer.state=fe.SCRIPT_DATA;break}case c.PLAINTEXT:{this.tokenizer.state=fe.PLAINTEXT;break}}}_setDocumentType(t){const a=t.name||"",r=t.publicId||"",n=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,a,r,n),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,a){if(this.options.sourceCodeLocationInfo){const r=a&&{...a,startTag:a};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,a){const r=this.treeAdapter.createElement(t.tagName,a,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,a){const r=this.treeAdapter.createElement(t.tagName,a,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,a){const r=this.treeAdapter.createElement(t,L.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,a)}_insertTemplate(t){const a=this.treeAdapter.createElement(t.tagName,L.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(a,r),this._attachElementToTree(a,t.location),this.openElements.push(a,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(C.HTML,L.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,c.HTML)}_appendCommentNode(t,a){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(a,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let a,r;if(this._shouldFosterParentOnInsertion()?({parent:a,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(a,t.chars,r):this.treeAdapter.insertText(a,t.chars)):(a=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(a,t.chars)),!t.location)return;const n=this.treeAdapter.getChildNodes(a),i=r?n.lastIndexOf(r):n.length,s=n[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:u,endCol:l,endOffset:p}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:u,endCol:l,endOffset:p})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,a){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(a,r)}_setEndLocation(t,a){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&a.location){const r=a.location,n=this.treeAdapter.getTagName(t),i=a.type===ee.END_TAG&&n===a.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,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let a,r;return this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,r=this.fragmentContextID):{current:a,currentTagId:r}=this.openElements,t.tagID===c.SVG&&this.treeAdapter.getTagName(a)===C.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(a)===L.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===c.MGLYPH||t.tagID===c.MALIGNMARK)&&!this._isIntegrationPoint(r,a,L.HTML)}_processToken(t){switch(t.type){case ee.CHARACTER:{this.onCharacter(t);break}case ee.NULL_CHARACTER:{this.onNullCharacter(t);break}case ee.COMMENT:{this.onComment(t);break}case ee.DOCTYPE:{this.onDoctype(t);break}case ee.START_TAG:{this._processStartTag(t);break}case ee.END_TAG:{this.onEndTag(t);break}case ee.EOF:{this.onEof(t);break}case ee.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,a,r){const n=this.treeAdapter.getNamespaceURI(a),i=this.treeAdapter.getAttrList(a);return M7(t,n,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const a=this.activeFormattingElements.entries.findIndex(n=>n.type===ve.Marker||this.openElements.contains(n.element)),r=a<0?t-1:a-1;for(let n=r;n>=0;n--){const i=this.activeFormattingElements.entries[n];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=k.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(c.P),this.openElements.popUntilTagNamePopped(c.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case c.TR:{this.insertionMode=k.IN_ROW;return}case c.TBODY:case c.THEAD:case c.TFOOT:{this.insertionMode=k.IN_TABLE_BODY;return}case c.CAPTION:{this.insertionMode=k.IN_CAPTION;return}case c.COLGROUP:{this.insertionMode=k.IN_COLUMN_GROUP;return}case c.TABLE:{this.insertionMode=k.IN_TABLE;return}case c.BODY:{this.insertionMode=k.IN_BODY;return}case c.FRAMESET:{this.insertionMode=k.IN_FRAMESET;return}case c.SELECT:{this._resetInsertionModeForSelect(t);return}case c.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case c.HTML:{this.insertionMode=this.headElement?k.AFTER_HEAD:k.BEFORE_HEAD;return}case c.TD:case c.TH:{if(t>0){this.insertionMode=k.IN_CELL;return}break}case c.HEAD:{if(t>0){this.insertionMode=k.IN_HEAD;return}break}}this.insertionMode=k.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let a=t-1;a>0;a--){const r=this.openElements.tagIDs[a];if(r===c.TEMPLATE)break;if(r===c.TABLE){this.insertionMode=k.IN_SELECT_IN_TABLE;return}}this.insertionMode=k.IN_SELECT}_isElementCausesFosterParenting(t){return zc.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const a=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case c.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(a)===L.HTML)return{parent:this.treeAdapter.getTemplateContent(a),beforeElement:null};break}case c.TABLE:{const r=this.treeAdapter.getParentNode(a);return r?{parent:r,beforeElement:a}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const a=this._findFosterParentingLocation();a.beforeElement?this.treeAdapter.insertBefore(a.parent,t,a.beforeElement):this.treeAdapter.appendChild(a.parent,t)}_isSpecialElement(t,a){const r=this.treeAdapter.getNamespaceURI(t);return u7[r].has(a)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){kU(this,t);return}switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{ta(this,t);break}case k.BEFORE_HEAD:{aa(this,t);break}case k.IN_HEAD:{ra(this,t);break}case k.IN_HEAD_NO_SCRIPT:{na(this,t);break}case k.AFTER_HEAD:{ia(this,t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:{Sc(this,t);break}case k.TEXT:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{Cr(this,t);break}case k.IN_TABLE_TEXT:{vc(this,t);break}case k.IN_COLUMN_GROUP:{Ua(this,t);break}case k.AFTER_BODY:{ja(this,t);break}case k.AFTER_AFTER_BODY:{Ia(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){yU(this,t);return}switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{ta(this,t);break}case k.BEFORE_HEAD:{aa(this,t);break}case k.IN_HEAD:{ra(this,t);break}case k.IN_HEAD_NO_SCRIPT:{na(this,t);break}case k.AFTER_HEAD:{ia(this,t);break}case k.TEXT:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{Cr(this,t);break}case k.IN_COLUMN_GROUP:{Ua(this,t);break}case k.AFTER_BODY:{ja(this,t);break}case k.AFTER_AFTER_BODY:{Ia(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Gr(this,t);return}switch(this.insertionMode){case k.INITIAL:case k.BEFORE_HTML:case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_TEMPLATE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{Gr(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.AFTER_BODY:{X7(this,t);break}case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{K7(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case k.INITIAL:{J7(this,t);break}case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:{this._err(t,F.misplacedDoctype);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,F.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?bU(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{Z7(this,t);break}case k.BEFORE_HEAD:{tH(this,t);break}case k.IN_HEAD:{Me(this,t);break}case k.IN_HEAD_NO_SCRIPT:{nH(this,t);break}case k.AFTER_HEAD:{sH(this,t);break}case k.IN_BODY:{we(this,t);break}case k.IN_TABLE:{Mt(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.IN_CAPTION:{aU(this,t);break}case k.IN_COLUMN_GROUP:{An(this,t);break}case k.IN_TABLE_BODY:{tr(this,t);break}case k.IN_ROW:{ar(this,t);break}case k.IN_CELL:{iU(this,t);break}case k.IN_SELECT:{Mc(this,t);break}case k.IN_SELECT_IN_TABLE:{oU(this,t);break}case k.IN_TEMPLATE:{uU(this,t);break}case k.AFTER_BODY:{fU(this,t);break}case k.IN_FRAMESET:{hU(this,t);break}case k.AFTER_FRAMESET:{pU(this,t);break}case k.AFTER_AFTER_BODY:{_U(this,t);break}case k.AFTER_AFTER_FRAMESET:{gU(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?wU(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{eH(this,t);break}case k.BEFORE_HEAD:{aH(this,t);break}case k.IN_HEAD:{rH(this,t);break}case k.IN_HEAD_NO_SCRIPT:{iH(this,t);break}case k.AFTER_HEAD:{oH(this,t);break}case k.IN_BODY:{er(this,t);break}case k.TEXT:{VH(this,t);break}case k.IN_TABLE:{ha(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.IN_CAPTION:{rU(this,t);break}case k.IN_COLUMN_GROUP:{nU(this,t);break}case k.IN_TABLE_BODY:{Qr(this,t);break}case k.IN_ROW:{Pc(this,t);break}case k.IN_CELL:{sU(this,t);break}case k.IN_SELECT:{Hc(this,t);break}case k.IN_SELECT_IN_TABLE:{cU(this,t);break}case k.IN_TEMPLATE:{lU(this,t);break}case k.AFTER_BODY:{jc(this,t);break}case k.IN_FRAMESET:{dU(this,t);break}case k.AFTER_FRAMESET:{mU(this,t);break}case k.AFTER_AFTER_BODY:{Ia(this,t);break}}}onEof(t){switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{ta(this,t);break}case k.BEFORE_HEAD:{aa(this,t);break}case k.IN_HEAD:{ra(this,t);break}case k.IN_HEAD_NO_SCRIPT:{na(this,t);break}case k.AFTER_HEAD:{ia(this,t);break}case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{Lc(this,t);break}case k.TEXT:{WH(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.IN_TEMPLATE:{Uc(this,t);break}case k.AFTER_BODY:case k.IN_FRAMESET:case k.AFTER_FRAMESET:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{Tn(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===_.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 k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.TEXT:case k.IN_COLUMN_GROUP:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{this._insertCharacters(t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:case k.AFTER_BODY:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{Ic(this,t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{Cr(this,t);break}case k.IN_TABLE_TEXT:{Rc(this,t);break}}}}function Y7(e,t){let a=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return a?e.openElements.contains(a.element)?e.openElements.hasInScope(t.tagID)||(a=null):(e.activeFormattingElements.removeEntry(a),a=null):Oc(e,t),a}function $7(e,t){let a=null,r=e.openElements.stackTop;for(;r>=0;r--){const n=e.openElements.items[r];if(n===t.element)break;e._isSpecialElement(n,e.openElements.tagIDs[r])&&(a=n)}return a||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),a}function V7(e,t,a){let r=t,n=e.openElements.getCommonAncestor(t);for(let i=0,s=n;s!==a;i++,s=n){n=e.openElements.getCommonAncestor(s);const o=e.activeFormattingElements.getElementEntry(s),u=o&&i>=j7;!o||u?(u&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=W7(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function W7(e,t){const a=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,a,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function G7(e,t,a){const r=e.treeAdapter.getTagName(t),n=jt(r);if(e._isElementCausesFosterParenting(n))e._fosterParentElement(a);else{const i=e.treeAdapter.getNamespaceURI(t);n===c.TEMPLATE&&i===L.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,a)}}function Q7(e,t,a){const r=e.treeAdapter.getNamespaceURI(a.element),{token:n}=a,i=e.treeAdapter.createElement(n.tagName,r,n.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,n),e.activeFormattingElements.removeEntry(a),e.openElements.remove(a.element),e.openElements.insertAfter(t,i,n.tagID)}function En(e,t){for(let a=0;a=a;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],n=e.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&e._setEndLocation(i,t)}}}}function J7(e,t){e._setDocumentType(t);const a=t.forceQuirks?ze.QUIRKS:z7(t);D7(t)||e._err(t,F.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,a),e.insertionMode=k.BEFORE_HTML}function Qt(e,t){e._err(t,F.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ze.QUIRKS),e.insertionMode=k.BEFORE_HTML,e._processToken(t)}function Z7(e,t){t.tagID===c.HTML?(e._insertElement(t,L.HTML),e.insertionMode=k.BEFORE_HEAD):ta(e,t)}function eH(e,t){const a=t.tagID;(a===c.HTML||a===c.HEAD||a===c.BODY||a===c.BR)&&ta(e,t)}function ta(e,t){e._insertFakeRootElement(),e.insertionMode=k.BEFORE_HEAD,e._processToken(t)}function tH(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.HEAD:{e._insertElement(t,L.HTML),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD;break}default:aa(e,t)}}function aH(e,t){const a=t.tagID;a===c.HEAD||a===c.BODY||a===c.HTML||a===c.BR?aa(e,t):e._err(t,F.endTagWithoutMatchingOpenElement)}function aa(e,t){e._insertFakeElement(C.HEAD,c.HEAD),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD,e._processToken(t)}function Me(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:{e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break}case c.TITLE:{e._switchToTextParsing(t,fe.RCDATA);break}case c.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,fe.RAWTEXT):(e._insertElement(t,L.HTML),e.insertionMode=k.IN_HEAD_NO_SCRIPT);break}case c.NOFRAMES:case c.STYLE:{e._switchToTextParsing(t,fe.RAWTEXT);break}case c.SCRIPT:{e._switchToTextParsing(t,fe.SCRIPT_DATA);break}case c.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=k.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(k.IN_TEMPLATE);break}case c.HEAD:{e._err(t,F.misplacedStartTagForHeadElement);break}default:ra(e,t)}}function rH(e,t){switch(t.tagID){case c.HEAD:{e.openElements.pop(),e.insertionMode=k.AFTER_HEAD;break}case c.BODY:case c.BR:case c.HTML:{ra(e,t);break}case c.TEMPLATE:{Tt(e,t);break}default:e._err(t,F.endTagWithoutMatchingOpenElement)}}function Tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==c.TEMPLATE&&e._err(t,F.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,F.endTagWithoutMatchingOpenElement)}function ra(e,t){e.openElements.pop(),e.insertionMode=k.AFTER_HEAD,e._processToken(t)}function nH(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.BASEFONT:case c.BGSOUND:case c.HEAD:case c.LINK:case c.META:case c.NOFRAMES:case c.STYLE:{Me(e,t);break}case c.NOSCRIPT:{e._err(t,F.nestedNoscriptInHead);break}default:na(e,t)}}function iH(e,t){switch(t.tagID){case c.NOSCRIPT:{e.openElements.pop(),e.insertionMode=k.IN_HEAD;break}case c.BR:{na(e,t);break}default:e._err(t,F.endTagWithoutMatchingOpenElement)}}function na(e,t){const a=t.type===ee.EOF?F.openElementsLeftAfterEof:F.disallowedContentInNoscriptInHead;e._err(t,a),e.openElements.pop(),e.insertionMode=k.IN_HEAD,e._processToken(t)}function sH(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.BODY:{e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=k.IN_BODY;break}case c.FRAMESET:{e._insertElement(t,L.HTML),e.insertionMode=k.IN_FRAMESET;break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{e._err(t,F.abandonedHeadElementChild),e.openElements.push(e.headElement,c.HEAD),Me(e,t),e.openElements.remove(e.headElement);break}case c.HEAD:{e._err(t,F.misplacedStartTagForHeadElement);break}default:ia(e,t)}}function oH(e,t){switch(t.tagID){case c.BODY:case c.HTML:case c.BR:{ia(e,t);break}case c.TEMPLATE:{Tt(e,t);break}default:e._err(t,F.endTagWithoutMatchingOpenElement)}}function ia(e,t){e._insertFakeElement(C.BODY,c.BODY),e.insertionMode=k.IN_BODY,Za(e,t)}function Za(e,t){switch(t.type){case ee.CHARACTER:{Sc(e,t);break}case ee.WHITESPACE_CHARACTER:{Ic(e,t);break}case ee.COMMENT:{Gr(e,t);break}case ee.START_TAG:{we(e,t);break}case ee.END_TAG:{er(e,t);break}case ee.EOF:{Lc(e,t);break}}}function Ic(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Sc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function cH(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function uH(e,t){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,t.attrs))}function lH(e,t){const a=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&a&&(e.treeAdapter.detachNode(a),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_FRAMESET)}function fH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function hH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),yc(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,L.HTML)}function dH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function pH(e,t){const a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),a||(e.formElement=e.openElements.current))}function mH(e,t){e.framesetOk=!1;const a=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const n=e.openElements.tagIDs[r];if(a===c.LI&&n===c.LI||(a===c.DD||a===c.DT)&&(n===c.DD||n===c.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==c.ADDRESS&&n!==c.DIV&&n!==c.P&&e._isSpecialElement(e.openElements.items[r],n))break}e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function _H(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.tokenizer.state=fe.PLAINTEXT}function gH(e,t){e.openElements.hasInScope(c.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.framesetOk=!1}function yH(e,t){const a=e.activeFormattingElements.getElementEntryInScopeWithTagName(C.A);a&&(En(e,t),e.openElements.remove(a.element),e.activeFormattingElements.removeEntry(a)),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function kH(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function bH(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(c.NOBR)&&(En(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wH(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function EH(e,t){e.treeAdapter.getDocumentMode(e.document)!==ze.QUIRKS&&e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=k.IN_TABLE}function Nc(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Fc(e){const t=mc(e,st.TYPE);return t!=null&&t.toLowerCase()===H7}function TH(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),Fc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function AH(e,t){e._appendElement(t,L.HTML),t.ackSelfClosing=!0}function CH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function xH(e,t){t.tagName=C.IMG,t.tagID=c.IMG,Nc(e,t)}function DH(e,t){e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.tokenizer.state=fe.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=k.TEXT}function zH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,fe.RAWTEXT)}function IH(e,t){e.framesetOk=!1,e._switchToTextParsing(t,fe.RAWTEXT)}function as(e,t){e._switchToTextParsing(t,fe.RAWTEXT)}function SH(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===k.IN_TABLE||e.insertionMode===k.IN_CAPTION||e.insertionMode===k.IN_TABLE_BODY||e.insertionMode===k.IN_ROW||e.insertionMode===k.IN_CELL?k.IN_SELECT_IN_TABLE:k.IN_SELECT}function NH(e,t){e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function FH(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,L.HTML)}function OH(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(c.RTC),e._insertElement(t,L.HTML)}function LH(e,t){e._reconstructActiveFormattingElements(),xc(t),wn(t),t.selfClosing?e._appendElement(t,L.MATHML):e._insertElement(t,L.MATHML),t.ackSelfClosing=!0}function RH(e,t){e._reconstructActiveFormattingElements(),Dc(t),wn(t),t.selfClosing?e._appendElement(t,L.SVG):e._insertElement(t,L.SVG),t.ackSelfClosing=!0}function rs(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function we(e,t){switch(t.tagID){case c.I:case c.S:case c.B:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.SMALL:case c.STRIKE:case c.STRONG:{kH(e,t);break}case c.A:{yH(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{hH(e,t);break}case c.P:case c.DL:case c.OL:case c.UL:case c.DIV:case c.DIR:case c.NAV:case c.MAIN:case c.MENU:case c.ASIDE:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.DETAILS:case c.ADDRESS:case c.ARTICLE:case c.SECTION:case c.SUMMARY:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{fH(e,t);break}case c.LI:case c.DD:case c.DT:{mH(e,t);break}case c.BR:case c.IMG:case c.WBR:case c.AREA:case c.EMBED:case c.KEYGEN:{Nc(e,t);break}case c.HR:{CH(e,t);break}case c.RB:case c.RTC:{FH(e,t);break}case c.RT:case c.RP:{OH(e,t);break}case c.PRE:case c.LISTING:{dH(e,t);break}case c.XMP:{zH(e,t);break}case c.SVG:{RH(e,t);break}case c.HTML:{cH(e,t);break}case c.BASE:case c.LINK:case c.META:case c.STYLE:case c.TITLE:case c.SCRIPT:case c.BGSOUND:case c.BASEFONT:case c.TEMPLATE:{Me(e,t);break}case c.BODY:{uH(e,t);break}case c.FORM:{pH(e,t);break}case c.NOBR:{bH(e,t);break}case c.MATH:{LH(e,t);break}case c.TABLE:{EH(e,t);break}case c.INPUT:{TH(e,t);break}case c.PARAM:case c.TRACK:case c.SOURCE:{AH(e,t);break}case c.IMAGE:{xH(e,t);break}case c.BUTTON:{gH(e,t);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{wH(e,t);break}case c.IFRAME:{IH(e,t);break}case c.SELECT:{SH(e,t);break}case c.OPTION:case c.OPTGROUP:{NH(e,t);break}case c.NOEMBED:{as(e,t);break}case c.FRAMESET:{lH(e,t);break}case c.TEXTAREA:{DH(e,t);break}case c.NOSCRIPT:{e.options.scriptingEnabled?as(e,t):rs(e,t);break}case c.PLAINTEXT:{_H(e,t);break}case c.COL:case c.TH:case c.TD:case c.TR:case c.HEAD:case c.FRAME:case c.TBODY:case c.TFOOT:case c.THEAD:case c.CAPTION:case c.COLGROUP:break;default:rs(e,t)}}function vH(e,t){if(e.openElements.hasInScope(c.BODY)&&(e.insertionMode=k.AFTER_BODY,e.options.sourceCodeLocationInfo)){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e._setEndLocation(a,t)}}function BH(e,t){e.openElements.hasInScope(c.BODY)&&(e.insertionMode=k.AFTER_BODY,jc(e,t))}function PH(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}function MH(e){const t=e.openElements.tmplCount>0,{formElement:a}=e;t||(e.formElement=null),(a||t)&&e.openElements.hasInScope(c.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(c.FORM):a&&e.openElements.remove(a))}function HH(e){e.openElements.hasInButtonScope(c.P)||e._insertFakeElement(C.P,c.P),e._closePElement()}function UH(e){e.openElements.hasInListItemScope(c.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(c.LI),e.openElements.popUntilTagNamePopped(c.LI))}function jH(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}function qH(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function YH(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker())}function $H(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(C.BR,c.BR),e.openElements.pop(),e.framesetOk=!1}function Oc(e,t){const a=t.tagName,r=t.tagID;for(let n=e.openElements.stackTop;n>0;n--){const i=e.openElements.items[n],s=e.openElements.tagIDs[n];if(r===s&&(r!==c.UNKNOWN||e.treeAdapter.getTagName(i)===a)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=n&&e.openElements.shortenToLength(n);break}if(e._isSpecialElement(i,s))break}}function er(e,t){switch(t.tagID){case c.A:case c.B:case c.I:case c.S:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.NOBR:case c.SMALL:case c.STRIKE:case c.STRONG:{En(e,t);break}case c.P:{HH(e);break}case c.DL:case c.UL:case c.OL:case c.DIR:case c.DIV:case c.NAV:case c.PRE:case c.MAIN:case c.MENU:case c.ASIDE:case c.BUTTON:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.ADDRESS:case c.ARTICLE:case c.DETAILS:case c.SECTION:case c.SUMMARY:case c.LISTING:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{PH(e,t);break}case c.LI:{UH(e);break}case c.DD:case c.DT:{jH(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{qH(e);break}case c.BR:{$H(e);break}case c.BODY:{vH(e,t);break}case c.HTML:{BH(e,t);break}case c.FORM:{MH(e);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{YH(e,t);break}case c.TEMPLATE:{Tt(e,t);break}default:Oc(e,t)}}function Lc(e,t){e.tmplInsertionModeStack.length>0?Uc(e,t):Tn(e,t)}function VH(e,t){var a;t.tagID===c.SCRIPT&&((a=e.scriptHandler)===null||a===void 0||a.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function WH(e,t){e._err(t,F.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Cr(e,t){if(zc.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=k.IN_TABLE_TEXT,t.type){case ee.CHARACTER:{vc(e,t);break}case ee.WHITESPACE_CHARACTER:{Rc(e,t);break}}else _a(e,t)}function GH(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_CAPTION}function QH(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_COLUMN_GROUP}function XH(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(C.COLGROUP,c.COLGROUP),e.insertionMode=k.IN_COLUMN_GROUP,An(e,t)}function KH(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_TABLE_BODY}function JH(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(C.TBODY,c.TBODY),e.insertionMode=k.IN_TABLE_BODY,tr(e,t)}function ZH(e,t){e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function eU(e,t){Fc(t)?e._appendElement(t,L.HTML):_a(e,t),t.ackSelfClosing=!0}function tU(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,L.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Mt(e,t){switch(t.tagID){case c.TD:case c.TH:case c.TR:{JH(e,t);break}case c.STYLE:case c.SCRIPT:case c.TEMPLATE:{Me(e,t);break}case c.COL:{XH(e,t);break}case c.FORM:{tU(e,t);break}case c.TABLE:{ZH(e,t);break}case c.TBODY:case c.TFOOT:case c.THEAD:{KH(e,t);break}case c.INPUT:{eU(e,t);break}case c.CAPTION:{GH(e,t);break}case c.COLGROUP:{QH(e,t);break}default:_a(e,t)}}function ha(e,t){switch(t.tagID){case c.TABLE:{e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode());break}case c.TEMPLATE:{Tt(e,t);break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TBODY:case c.TD:case c.TFOOT:case c.TH:case c.THEAD:case c.TR:break;default:_a(e,t)}}function _a(e,t){const a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Za(e,t),e.fosterParentingEnabled=a}function Rc(e,t){e.pendingCharacterTokens.push(t)}function vc(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Xt(e,t){let a=0;if(e.hasNonWhitespacePendingCharacterToken)for(;a0&&e.openElements.currentTagId===c.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===c.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop();break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop();break}case c.SELECT:{e.openElements.hasInSelectScope(c.SELECT)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode());break}case c.TEMPLATE:{Tt(e,t);break}}}function oU(e,t){const a=t.tagID;a===c.CAPTION||a===c.TABLE||a===c.TBODY||a===c.TFOOT||a===c.THEAD||a===c.TR||a===c.TD||a===c.TH?(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Mc(e,t)}function cU(e,t){const a=t.tagID;a===c.CAPTION||a===c.TABLE||a===c.TBODY||a===c.TFOOT||a===c.THEAD||a===c.TR||a===c.TD||a===c.TH?e.openElements.hasInTableScope(a)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Hc(e,t)}function uU(e,t){switch(t.tagID){case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{Me(e,t);break}case c.CAPTION:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:{e.tmplInsertionModeStack[0]=k.IN_TABLE,e.insertionMode=k.IN_TABLE,Mt(e,t);break}case c.COL:{e.tmplInsertionModeStack[0]=k.IN_COLUMN_GROUP,e.insertionMode=k.IN_COLUMN_GROUP,An(e,t);break}case c.TR:{e.tmplInsertionModeStack[0]=k.IN_TABLE_BODY,e.insertionMode=k.IN_TABLE_BODY,tr(e,t);break}case c.TD:case c.TH:{e.tmplInsertionModeStack[0]=k.IN_ROW,e.insertionMode=k.IN_ROW,ar(e,t);break}default:e.tmplInsertionModeStack[0]=k.IN_BODY,e.insertionMode=k.IN_BODY,we(e,t)}}function lU(e,t){t.tagID===c.TEMPLATE&&Tt(e,t)}function Uc(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Tn(e,t)}function fU(e,t){t.tagID===c.HTML?we(e,t):ja(e,t)}function jc(e,t){var a;if(t.tagID===c.HTML){if(e.fragmentContext||(e.insertionMode=k.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===c.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((a=e.treeAdapter.getNodeSourceCodeLocation(r))===null||a===void 0)&&a.endTag)&&e._setEndLocation(r,t)}}else ja(e,t)}function ja(e,t){e.insertionMode=k.IN_BODY,Za(e,t)}function hU(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.FRAMESET:{e._insertElement(t,L.HTML);break}case c.FRAME:{e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break}case c.NOFRAMES:{Me(e,t);break}}}function dU(e,t){t.tagID===c.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==c.FRAMESET&&(e.insertionMode=k.AFTER_FRAMESET))}function pU(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.NOFRAMES:{Me(e,t);break}}}function mU(e,t){t.tagID===c.HTML&&(e.insertionMode=k.AFTER_AFTER_FRAMESET)}function _U(e,t){t.tagID===c.HTML?we(e,t):Ia(e,t)}function Ia(e,t){e.insertionMode=k.IN_BODY,Za(e,t)}function gU(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.NOFRAMES:{Me(e,t);break}}}function yU(e,t){t.chars=ce,e._insertCharacters(t)}function kU(e,t){e._insertCharacters(t),e.framesetOk=!1}function qc(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==L.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function bU(e,t){if(R7(t))qc(e),e._startTagOutsideForeignContent(t);else{const a=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(a);r===L.MATHML?xc(t):r===L.SVG&&(v7(t),Dc(t)),wn(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function wU(e,t){if(t.tagID===c.P||t.tagID===c.BR){qc(e),e._endTagOutsideForeignContent(t);return}for(let a=e.openElements.stackTop;a>0;a--){const r=e.openElements.items[a];if(e.treeAdapter.getNamespaceURI(r)===L.HTML){e._endTagOutsideForeignContent(t);break}const n=e.treeAdapter.getTagName(r);if(n.toLowerCase()===t.tagName){t.tagName=n,e.openElements.shortenToLength(a);break}}}C.AREA,C.BASE,C.BASEFONT,C.BGSOUND,C.BR,C.COL,C.EMBED,C.FRAME,C.HR,C.IMG,C.INPUT,C.KEYGEN,C.LINK,C.META,C.PARAM,C.SOURCE,C.TRACK,C.WBR;const EU=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ns={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Yc(e,t){const a=FU(e),r=xo("type",{handlers:{root:TU,element:AU,text:CU,comment:Vc,doctype:xU,raw:zU},unknown:IU}),n={parser:a?new ts(ns):ts.getFragmentParser(void 0,ns),handle(o){r(o,n)},stitches:!1,options:t||{}};r(e,n),qt(n,Je());const i=a?n.parser.document:n.parser.getFragment(),s=LM(i,{file:n.options.file});return n.stitches&&Xe(s,"comment",function(o,u,l){const p=o;if(p.value.stitch&&l&&u!==void 0){const h=l.children;return h[u]=p.value.stitch,u}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function $c(e,t){let a=-1;if(e)for(;++at.concat(Gc(a)),"")}function Qc(e,t=2,a=0){return!Array.isArray(e.children)||a===t?[e]:[e,...e.children.reduce((r,n)=>r.concat(Qc(n,t,a+1)),[])]}const Xc=["h2","h3","h4","h5","h6"],vU=Xc.reduce((e,t)=>(e[t]=Number(t.charAt(t.length-1)),e),{}),BU=e=>vU[e.tag],PU=e=>((e<1||e>5)&&(console.log(`\`toc.depth\` is set to ${e}. It should be a number between 1 and 5. `),e=1),Xc.slice(0,e));function Kc(e){if(e.length<=1)return e;const t=[];let a;return e.forEach(r=>{!a||r.depth<=a.depth?(r.children=[],a=r,t.push(r)):a.children.push(r)}),t.forEach(r=>{var n;(n=r.children)!=null&&n.length?r.children=Kc(r.children):delete r.children}),t}function MU(e,t){const{searchDepth:a,depth:r,title:n=""}=t,i=PU(r),o=Qc(e,a).filter(u=>i.includes(u.tag||"")).map(u=>{var l;return{id:(l=u.props)==null?void 0:l.id,depth:BU(u),text:Gc(u)}});return{title:n,searchDepth:a,depth:r,links:o}}function HU(e,t){const a=MU(e,t);return a.links=Kc(a.links),a}let Le;const UU=async(e,t={})=>{var p,h,f,m,y;Le||(Le=await is(()=>import("./mdc-imports.FeBHvcg_.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).catch(()=>({})));const a=Nn(t,{remark:{plugins:Le==null?void 0:Le.remarkPlugins},rehype:{plugins:Le==null?void 0:Le.rehypePlugins},highlight:Le==null?void 0:Le.highlight},RU);(h=(p=a.rehype)==null?void 0:p.plugins)!=null&&h.highlight&&(a.rehype.plugins.highlight.options=a.highlight||{});const{content:r,data:n}=await Po(e),i=Vu();i.use(Kf),await Ri(i,(f=a.remark)==null?void 0:f.plugins),i.use(Vh,(m=a.rehype)==null?void 0:m.options),await Ri(i,(y=a.rehype)==null?void 0:y.plugins),i.use(sg);const s=await i.process({value:r,data:n}),o=s.result,u=Object.assign(jU(o.body),n,(s==null?void 0:s.data)||{});let l;if(u.toc!==!1){const b=Nn(u.toc||{},a.toc);l=HU(o.body,b)}return{data:u,body:o.body,excerpt:o.excerpt,toc:l}};function jU(e){let t="",a="";const r=e.children.filter(n=>n.type!=="text"&&n.tag!=="hr");if(r.length&&r[0].tag==="h1"){const n=r.shift();t=Fn(n)}if(r.length&&r[0].tag==="p"){const n=r.shift();a=Fn(n)}return{title:t,description:a}}const qU=Ht({__name:"MDC",props:{tag:{type:[String,Boolean],default:"div"},value:{type:[String,Object],required:!0},excerpt:{type:Boolean,default:!1},parserOptions:{type:Object,default:()=>({})},class:{type:[String,Array,Object],default:""}},async setup(e){let t,a;const r=e,n=mt(()=>cu(r.value)),{data:i,refresh:s}=([t,a]=ss(async()=>os(n.value,async()=>typeof r.value!="string"?r.value:await UU(r.value,r.parserOptions),"$hm0nQdXbtK")),t=await t,a(),t),o=mt(()=>{var u,l;return r.excerpt?(u=i.value)==null?void 0:u.excerpt:(l=i.value)==null?void 0:l.body});return uu(()=>r.value,()=>{s()}),(u,l)=>{var h,f,m,y;const p=ou;return le(u.$slots,"default",{data:(h=V(i))==null?void 0:h.data,body:(f=V(i))==null?void 0:f.body,toc:(m=V(i))==null?void 0:m.toc,excerpt:(y=V(i))==null?void 0:y.excerpt},()=>{var b;return[o.value?(Z(),wt(p,{key:0,tag:e.tag,class:se(r.class),body:o.value,data:(b=V(i))==null?void 0:b.data},null,8,["tag","class","body","data"])):ue("",!0)]})}}}),YU=Ht({inheritAttrs:!1,__name:"LandingHero",props:{title:{type:String,default:void 0},description:{type:String,default:void 0},links:{type:Array,default:()=>[]},orientation:{type:String,default:"vertical"},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"py-24 sm:py-32 md:py-40 relative",container:"gap-16 sm:gap-y-24",base:"",headline:"mb-10",title:"text-5xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-7xl",description:"mt-6 text-lg tracking-tight text-gray-600 dark:text-gray-300",links:"mt-10 flex flex-wrap gap-x-6 gap-y-3"},a=e,{ui:r,attrs:n}=Ya("landing.hero",ot(a,"ui"),t,ot(a,"class"),!0);return(i,s)=>{const o=us,u=cs;return Z(),ne("div",qe({class:V(r).wrapper},V(n)),[le(i.$slots,"top"),Be(u,{class:se([V(r).container,e.orientation==="vertical"?"flex flex-col":"grid lg:grid-cols-2 lg:items-center"])},{default:nt(()=>{var l;return[Bt("div",{class:se([V(r).base,e.orientation==="vertical"&&"text-center"])},[i.$slots.headline?(Z(),ne("div",{key:0,class:se(V(r).headline)},[le(i.$slots,"headline")],2)):ue("",!0),Bt("h1",{class:se(V(r).title)},[le(i.$slots,"title",{},()=>[kt(Re(e.title),1)])],2),e.description||i.$slots.description?(Z(),ne("p",{key:1,class:se(V(r).description)},[le(i.$slots,"description",{},()=>[kt(Re(e.description),1)])],2)):ue("",!0),(l=e.links)!=null&&l.length||i.$slots.links?(Z(),ne("div",{key:2,class:se([V(r).links,e.orientation==="vertical"&&"justify-center"])},[le(i.$slots,"links",{},()=>[(Z(!0),ne(Ft,null,Ot(e.links,(p,h)=>(Z(),wt(o,qe({key:h},p,{onClick:p.click}),null,16,["onClick"]))),128))])],2)):ue("",!0)],2),le(i.$slots,"default")]}),_:3},8,["class"]),le(i.$slots,"bottom")],16)}}}),$U=lu(fu);function VU(e,t={}){const{x:a,y:r}=$U(t),n=Ca(e??(window==null?void 0:window.document.body)),i=Ca(0),s=Ca(0);return hu&&du([n,a,r],()=>{const o=pu(n);if(!o)return;const{left:u,top:l}=o.getBoundingClientRect(),p=a.value-(u+window.scrollX),h=r.value-(l+window.scrollY);Math.abs(p)>1500||Math.abs(h)>1500||window.screen.width<=800||(i.value=p,s.value=h)},{immediate:!0,throttle:50}),{x:a,y:r,elementX:i,elementY:s}}const WU=e=>(Eu("data-v-c20f18de"),e=e(),Tu(),e),GU=WU(()=>Bt("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)),QU=Ht({inheritAttrs:!1,__name:"LandingCard",props:{...mu,title:{type:String,default:void 0},description:{type:String,default:void 0},icon:{type:String,default:void 0},color:{type:String,default:"primary"},orientation:{type:String,default:"vertical"},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){_u(m=>({56485294:V(a),"65e8cc54":V(r)}));const t=e,a=mt(()=>{var m;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((m=ya[t.color])==null?void 0:m["500"])||ya[t.color]||t.color}),r=mt(()=>{var m;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((m=ya[t.color])==null?void 0:m["400"])||ya[t.color]||t.color}),n=mt(()=>({wrapper:"relative group isolate rounded-xl background-gradient ring-1 ring-gray-200 dark:ring-gray-800 before:hidden before:lg:block before:absolute before:-inset-[2px] before:h-[calc(100%+4px)] before:w-[calc(100%+4px)] before:z-[-1] before:rounded-[13px] flex-1 flex flex-col shadow",to:"hover:ring-primary-500 dark:hover:ring-primary-400 transition-shadow duration-200",base:"flex-1 flex flex-col overflow-hidden",container:"",body:{base:gu("gap-x-8 gap-y-4 rounded-xl flex-1",t.orientation==="vertical"&&"flex flex-col",!!s.default&&t.orientation==="horizontal"&&"grid lg:grid-cols-2 lg:items-center")},background:"bg-white dark:bg-gray-900 hover:bg-opacity-90 dark:hover:bg-opacity-90 transition-[background-opacity]",ring:"",rounded:"rounded-xl",shadow:"",icon:{wrapper:"mb-2 pointer-events-none",base:"w-8 h-8 flex-shrink-0 text-gray-900 dark:text-white"},title:"text-gray-900 dark:text-white text-base font-bold truncate",description:"text-[15px] text-gray-500 dark:text-gray-400 mt-1"})),i=Ca(),s=yu(),{elementX:o,elementY:u}=VU(i),{ui:l,attrs:p}=Ya("landing.card",ot(t,"ui"),n,ot(t,"class"),!0),h=mt(()=>ku(t)),f=mt(()=>(t.title||s.title&&bu(s.title())||"Card link").trim());return(m,y)=>{const b=wu,D=ls,A=zu;return Z(),ne("div",qe({ref_key:"el",ref:i,style:{"--x":`${V(o)}px`,"--y":`${V(u)}px`},class:[V(l).wrapper,m.to&&V(l).to]},V(p)),[Be(A,{ui:V(l)},{default:nt(()=>[Bt("div",{class:se(V(l).container)},[m.to?(Z(),wt(b,qe({key:0,"aria-label":V(f)},V(h),{class:"focus:outline-none",tabindex:"-1"}),{default:nt(()=>[GU]),_:1},16,["aria-label"])):ue("",!0),e.icon||m.$slots.icon?(Z(),ne("div",{key:1,class:se(V(l).icon.wrapper)},[le(m.$slots,"icon",{},()=>[Be(D,{name:e.icon,class:se(V(l).icon.base)},null,8,["name","class"])],!0)],2)):ue("",!0),e.title||m.$slots.title?(Z(),ne("p",{key:2,class:se(V(l).title)},[le(m.$slots,"title",{},()=>[kt(Re(e.title),1)],!0)],2)):ue("",!0),e.description||m.$slots.description?(Z(),ne("p",{key:3,class:se(V(l).description)},[le(m.$slots,"description",{},()=>[kt(Re(e.description),1)],!0)],2)):ue("",!0),le(m.$slots,"container",{},void 0,!0)],2),m.$slots.default?le(m.$slots,"default",{key:0},void 0,!0):ue("",!0)]),_:3},8,["ui"])],16)}}}),XU=Au(QU,[["__scopeId","data-v-c20f18de"]]),KU=Ht({inheritAttrs:!1,__name:"PageGrid",props:{class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-8"},a=e,{ui:r,attrs:n}=Ya("page.grid",ot(a,"ui"),t,ot(a,"class"),!0);return(i,s)=>(Z(),ne("div",qe({class:V(r).wrapper},V(n)),[le(i.$slots,"default")],16))}}),JU={key:0},ZU={key:2},ej={key:0},tj=Ht({inheritAttrs:!1,__name:"LandingSection",props:{icon:{type:String,default:void 0},headline:{type:String,default:void 0},title:{type:String,default:void 0},description:{type:String,default:void 0},features:{type:Array,default:()=>[]},links:{type:Array,default:()=>[]},slot:{type:String,default:void 0},align:{type:String,default:"center"},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const t={wrapper:"py-24 sm:py-32",container:"gap-16 sm:gap-y-24",base:"",icon:{wrapper:"flex mb-6",base:"w-10 h-10 flex-shrink-0 text-primary"},headline:"mb-2 text-base/7 font-semibold text-primary",title:"text-3xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-4xl lg:text-5xl",description:"mt-6 text-lg/8 text-gray-600 dark:text-gray-300",links:"mt-8 flex flex-wrap gap-x-3 gap-y-1.5",features:{wrapper:{base:"mt-6 leading-7",list:"space-y-4",grid:"grid grid-cols-1 gap-x-6 gap-y-10 sm:grid-cols-2 lg:grid-cols-3 lg:gap-x-8 lg:gap-y-16"},base:"relative pl-8",name:"font-semibold text-gray-900 dark:text-white",description:"text-gray-500 dark:text-gray-400 leading-6",icon:{base:"absolute left-0 top-1 h-5 w-5 text-primary",name:"i-heroicons-check-circle"}}},a=e,{ui:r,attrs:n}=Ya("landing.section",ot(a,"ui"),t,ot(a,"class"),!0);return(i,s)=>{const o=ls,u=us,l=cs;return Z(),ne("div",qe({class:V(r).wrapper},V(n)),[le(i.$slots,"top"),Be(l,{class:se([V(r).container,e.align==="center"?"flex flex-col":"grid lg:grid-cols-2 lg:items-center"])},{default:nt(()=>{var p,h,f,m,y;return[e.icon||i.$slots.icon||e.headline||i.$slots.headline||e.title||i.$slots.title||e.description||i.$slots.description||(p=e.links)!=null&&p.length||i.$slots.links?(Z(),ne("div",{key:0,class:se([V(r).base,e.align==="center"&&"text-center flex flex-col items-center",e.align==="right"&&"lg:order-last"])},[e.icon||i.$slots.icon?(Z(),ne("div",{key:0,class:se(V(r).icon.wrapper)},[le(i.$slots,"icon",{},()=>[Be(o,{name:e.icon,class:se(V(r).icon.base)},null,8,["name","class"])])],2)):e.headline||i.$slots.headline?(Z(),ne("div",{key:1,class:se(V(r).headline)},[le(i.$slots,"headline",{},()=>[kt(Re(e.headline),1)])],2)):ue("",!0),e.title||i.$slots.title?(Z(),ne("h2",{key:2,class:se(V(r).title)},[le(i.$slots,"title",{},()=>[kt(Re(e.title),1)])],2)):ue("",!0),e.description||i.$slots.description?(Z(),ne("p",{key:3,class:se(V(r).description)},[le(i.$slots,"description",{},()=>[kt(Re(e.description),1)])],2)):ue("",!0),e.align!=="center"&&((h=e.features)!=null&&h.length)?(Z(),ne("dl",{key:4,class:se([V(r).features.wrapper.base,V(r).features.wrapper.list])},[(Z(!0),ne(Ft,null,Ot(e.features,b=>(Z(),ne("div",{key:b.name,class:se(V(r).features.base)},[Bt("dt",{class:se(V(r).features.name)},[Be(o,{name:b.icon||V(r).features.icon.name,class:se(V(r).features.icon.base),"aria-hidden":"true"},null,8,["name","class"]),b.name?(Z(),ne("span",JU,Re(b.name),1)):ue("",!0)],2),b.description?(Z(),ne("dd",{key:0,class:se(V(r).features.description)},Re(b.description),3)):ue("",!0)],2))),128))],2)):ue("",!0),e.align!=="center"&&((f=e.links)!=null&&f.length||i.$slots.links)?(Z(),ne("div",{key:5,class:se(V(r).links)},[le(i.$slots,"links",{},()=>[(Z(!0),ne(Ft,null,Ot(e.links,(b,D)=>(Z(),wt(u,qe({key:D},b,{onClick:b.click}),null,16,["onClick"]))),128))])],2)):ue("",!0)],2)):ue("",!0),i.$slots[e.slot||"default"]?le(i.$slots,e.slot||"default",{key:1}):e.align==="right"?(Z(),ne("div",ZU)):ue("",!0),e.align==="center"&&((m=e.features)!=null&&m.length)?(Z(),ne("dl",{key:3,class:se([V(r).features.wrapper.base,V(r).features.wrapper.grid])},[(Z(!0),ne(Ft,null,Ot(e.features,b=>(Z(),ne("div",{key:b.name,class:se(V(r).features.base)},[Bt("dt",{class:se(V(r).features.name)},[Be(o,{name:b.icon||V(r).features.icon.name,class:se(V(r).features.icon.base),"aria-hidden":"true"},null,8,["name","class"]),b.name?(Z(),ne("span",ej,Re(b.name),1)):ue("",!0)],2),b.description?(Z(),ne("dd",{key:0,class:se(V(r).features.description)},Re(b.description),3)):ue("",!0)],2))),128))],2)):ue("",!0),e.align==="center"&&((y=e.links)!=null&&y.length||i.$slots.links)?(Z(),ne("div",{key:4,class:se([V(r).links,"!mt-0 justify-center"])},[le(i.$slots,"links",{},()=>[(Z(!0),ne(Ft,null,Ot(e.links,(b,D)=>(Z(),wt(u,qe({key:D},b,{onClick:b.click}),null,16,["onClick"]))),128))])],2)):ue("",!0)]}),_:3},8,["class"]),le(i.$slots,"bottom")],16)}}}),aj=Ht({__name:"index",async setup(e){let t,a;const{data:r}=([t,a]=ss(()=>os("index",()=>Du("/").findOne())),t=await t,a(),t);return Cu({title:r.value.title,ogTitle:r.value.title,description:r.value.description,ogDescription:r.value.description,ogImage:"https://supabase.nuxtjs.org/social-card.jpg",twitterImage:"https://supabase.nuxtjs.org/social-card.jpg"}),(n,i)=>{const s=qU,o=YU,u=XU,l=KU,p=tj;return Z(),ne("div",null,[V(r).hero?(Z(),wt(o,xu(qe({key:0},V(r).hero)),{title:nt(()=>[Be(s,{value:V(r).hero.title},null,8,["value"])]),default:nt(()=>[Be(s,{value:V(r).hero.code,tag:"pre",class:"prose prose-primary dark:prose-invert max-w-none"},null,8,["value"])]),_:1},16)):ue("",!0),Be(p,{title:V(r).features.title},{default:nt(()=>[Be(l,null,{default:nt(()=>[(Z(!0),ne(Ft,null,Ot(V(r).features.items,(h,f)=>(Z(),wt(u,qe({key:f},h),null,16))),128))]),_:1})]),_:1},8,["title"])])}}}),cj=Object.freeze(Object.defineProperty({__proto__:null,default:aj},Symbol.toStringTag,{value:"Module"}));export{cj as i,K_ as t,Xe as v}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./mdc-imports.s7dsNahg.js","./entry.n8fVlM9F.js","./entry._OhQ6uuj.css","./MDCRenderer.o5m2R7Hl.js","./_commonjsHelpers.5-cIlDoe.js","./node.kQagOfUD.js","./Card.oqOBlRID.js"] + __vite__mapDeps.viteFileDeps = ["./mdc-imports.FeBHvcg_.js","./entry.YSgWRBMm.js","./entry._OhQ6uuj.css","./MDCRenderer.0MFNxIgT.js","./_commonjsHelpers.5-cIlDoe.js","./node.kQagOfUD.js","./Card.D-3aG5gf.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/_nuxt/mdc-imports.s7dsNahg.js b/_nuxt/mdc-imports.FeBHvcg_.js similarity index 85% rename from _nuxt/mdc-imports.s7dsNahg.js rename to _nuxt/mdc-imports.FeBHvcg_.js index f4a8078d..34505d79 100644 --- a/_nuxt/mdc-imports.s7dsNahg.js +++ b/_nuxt/mdc-imports.FeBHvcg_.js @@ -1,7 +1,7 @@ -import{_ as c}from"./entry.n8fVlM9F.js";import{v as u,t as d}from"./index.kY4KOPT6.js";import"./MDCRenderer.o5m2R7Hl.js";import"./_commonjsHelpers.5-cIlDoe.js";import"./node.kQagOfUD.js";import"./Card.oqOBlRID.js";const f={theme:{default:"github-light",dark:"github-dark"},async highlighter(r,s,t,h){var a,i;if(window.sessionStorage.getItem("mdc-shiki-highlighter")==="browser")return c(()=>import("./highlighter.d9j6adwR.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(({useShikiHighlighter:e})=>e().getHighlightedAST(r,s,t,{highlights:h}));try{return await $fetch("/api/_mdc/highlight",{params:{code:r,lang:s,theme:JSON.stringify(t),highlights:JSON.stringify(h)}})}catch(e){if(((a=e==null?void 0:e.response)==null?void 0:a.status)===404)return window.sessionStorage.setItem("mdc-shiki-highlighter","browser"),(i=this.highlighter)==null?void 0:i.call(this,r,s,t,h)}return Promise.resolve({tree:[{type:"text",value:r}],className:"",style:""})}};function y(r={}){const s={...f,...r};return async t=>{const h=[],a=[];u(t,i=>{var e,n;return["pre","code"].includes(i.tagName)&&!!((e=i.properties)!=null&&e.language||(n=i.properties)!=null&&n.highlights)},i=>{const e=i,n=s.highlighter(d(i),e.properties.language,s.theme,e.properties.highlights??[]).then(({tree:o,className:p,style:l,inlineStyle:g})=>{var m;e.properties.className=((e.properties.className||"")+" "+p).trim(),e.properties.style=((e.properties.style||"")+" "+g).trim(),((m=e.children[0])==null?void 0:m.tagName)==="code"?e.children[0].children=o:e.children=o[0].children||o,l&&a.push(l)});h.push(n)}),h.length&&(await Promise.all(h),t.children.push({type:"element",tagName:"style",children:[{type:"text",value:k(a.join(""))}],properties:{}}))}}const k=r=>{const s=r.split("}").filter(t=>!!t.trim()).map(t=>t.trim()+"}");return Array.from(new Set(s)).join("")},j={},x={highlight:{instance:y,options:{src:"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/shiki/index.mjs"}}},P={theme:{light:"material-theme-lighter",default:"material-theme",dark:"material-theme-palenight"},preload:["json","js","ts","html","css","vue","diff","shell","markdown","yaml","bash","ini"]};export{P as highlight,x as rehypePlugins,j as remarkPlugins}; +import{_ as c}from"./entry.YSgWRBMm.js";import{v as u,t as d}from"./index.3HHY23m7.js";import"./MDCRenderer.0MFNxIgT.js";import"./_commonjsHelpers.5-cIlDoe.js";import"./node.kQagOfUD.js";import"./Card.D-3aG5gf.js";const f={theme:{default:"github-light",dark:"github-dark"},async highlighter(r,s,t,h){var a,i;if(window.sessionStorage.getItem("mdc-shiki-highlighter")==="browser")return c(()=>import("./highlighter.VWAyexcv.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(({useShikiHighlighter:e})=>e().getHighlightedAST(r,s,t,{highlights:h}));try{return await $fetch("/api/_mdc/highlight",{params:{code:r,lang:s,theme:JSON.stringify(t),highlights:JSON.stringify(h)}})}catch(e){if(((a=e==null?void 0:e.response)==null?void 0:a.status)===404)return window.sessionStorage.setItem("mdc-shiki-highlighter","browser"),(i=this.highlighter)==null?void 0:i.call(this,r,s,t,h)}return Promise.resolve({tree:[{type:"text",value:r}],className:"",style:""})}};function y(r={}){const s={...f,...r};return async t=>{const h=[],a=[];u(t,i=>{var e,n;return["pre","code"].includes(i.tagName)&&!!((e=i.properties)!=null&&e.language||(n=i.properties)!=null&&n.highlights)},i=>{const e=i,n=s.highlighter(d(i),e.properties.language,s.theme,e.properties.highlights??[]).then(({tree:o,className:p,style:l,inlineStyle:g})=>{var m;e.properties.className=((e.properties.className||"")+" "+p).trim(),e.properties.style=((e.properties.style||"")+" "+g).trim(),((m=e.children[0])==null?void 0:m.tagName)==="code"?e.children[0].children=o:e.children=o[0].children||o,l&&a.push(l)});h.push(n)}),h.length&&(await Promise.all(h),t.children.push({type:"element",tagName:"style",children:[{type:"text",value:k(a.join(""))}],properties:{}}))}}const k=r=>{const s=r.split("}").filter(t=>!!t.trim()).map(t=>t.trim()+"}");return Array.from(new Set(s)).join("")},j={},x={highlight:{instance:y,options:{src:"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxtjs+mdc@0.3.2/node_modules/@nuxtjs/mdc/dist/runtime/shiki/index.mjs"}}},P={theme:{light:"material-theme-lighter",default:"material-theme",dark:"material-theme-palenight"},preload:["json","js","ts","html","css","vue","diff","shell","markdown","yaml","bash","ini"]};export{P as highlight,x as rehypePlugins,j as remarkPlugins}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./highlighter.d9j6adwR.js","./entry.n8fVlM9F.js","./entry._OhQ6uuj.css"] + __vite__mapDeps.viteFileDeps = ["./highlighter.VWAyexcv.js","./entry.YSgWRBMm.js","./entry._OhQ6uuj.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/_nuxt/slot.BWovzuEB.js b/_nuxt/slot.afHLBHGJ.js similarity index 67% rename from _nuxt/slot.BWovzuEB.js rename to _nuxt/slot.afHLBHGJ.js index cc5ae9e7..e333c411 100644 --- a/_nuxt/slot.BWovzuEB.js +++ b/_nuxt/slot.afHLBHGJ.js @@ -1 +1 @@ -import{f as n}from"./node.kQagOfUD.js";import{aa as i}from"./entry.n8fVlM9F.js";const e=(t,r,f,...a)=>t[r]?i({...t,[r]:()=>n(t[r](),f==null?void 0:f.unwrap)},r,f,...a):i(t,r,f,...a);export{e as r}; +import{f as n}from"./node.kQagOfUD.js";import{aa as i}from"./entry.YSgWRBMm.js";const e=(t,r,f,...a)=>t[r]?i({...t,[r]:()=>n(t[r](),f==null?void 0:f.unwrap)},r,f,...a):i(t,r,f,...a);export{e as r}; diff --git a/_nuxt/useGithub.Y6y6nFQf.js b/_nuxt/useGithub.VmKQ2Hb8.js similarity index 88% rename from _nuxt/useGithub.Y6y6nFQf.js rename to _nuxt/useGithub.VmKQ2Hb8.js index ed885caa..ae5f18ac 100644 --- a/_nuxt/useGithub.Y6y6nFQf.js +++ b/_nuxt/useGithub.VmKQ2Hb8.js @@ -1 +1 @@ -import{be as o}from"./entry.n8fVlM9F.js";const c=()=>{const e=t=>s=>{const r=o("/api/_github",t,`${n(s)||"index"}.json`);return $fetch(r,{responseType:"json"})};return{fetchRepository:e("repository"),fetchReleases:e("releases"),fetchRelease:e("releases"),fetchLastRelease:t=>e("releases")({...t,last:!0}),fetchContributors:e("contributors"),fetchFileContributors:e("contributors/file"),fetchReadme:e("readme"),fetchCommits:e("commits")}};function n(e){return Object.entries(e).map(([t,s])=>`${t}_${String(s)}`).join(":")}export{c as u}; +import{be as o}from"./entry.YSgWRBMm.js";const c=()=>{const e=t=>s=>{const r=o("/api/_github",t,`${n(s)||"index"}.json`);return $fetch(r,{responseType:"json"})};return{fetchRepository:e("repository"),fetchReleases:e("releases"),fetchRelease:e("releases"),fetchLastRelease:t=>e("releases")({...t,last:!0}),fetchContributors:e("contributors"),fetchFileContributors:e("contributors/file"),fetchReadme:e("readme"),fetchCommits:e("commits")}};function n(e){return Object.entries(e).map(([t,s])=>`${t}_${String(s)}`).join(":")}export{c as u}; diff --git a/_nuxt/useStudio.-w8AO5Bf.js b/_nuxt/useStudio.oiGkyvhW.js similarity index 99% rename from _nuxt/useStudio.-w8AO5Bf.js rename to _nuxt/useStudio.oiGkyvhW.js index 0c72ab9d..775592a6 100644 --- a/_nuxt/useStudio.-w8AO5Bf.js +++ b/_nuxt/useStudio.oiGkyvhW.js @@ -1,4 +1,4 @@ -import{d as j,u as W,r as L,o as ee,_ as te,a as ne,b as R,c as q,n as oe,F as ie,e as w,f as E,g as D,w as J,T as B,t as ae,h as z,p as se,i as re,j as de,k as Z,l as ce,m as le,q as H,s as ue,v as O,x as U,y as G,z as pe,A as fe,B as F,C as ve}from"./entry.n8fVlM9F.js";const A=o=>(se("data-v-30aa8e6f"),o=o(),re(),o),we=A(()=>w("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M50.0016 71.0999h29.2561c.9293.0001 1.8422-.241 2.6469-.6992.8047-.4582 1.4729-1.1173 1.9373-1.9109.4645-.7936.7088-1.6939.7083-2.6102-.0004-.9162-.2455-1.8163-.7106-2.6095L64.192 29.713c-.4644-.7934-1.1325-1.4523-1.937-1.9105-.8046-.4581-1.7173-.6993-2.6463-.6993-.9291 0-1.8418.2412-2.6463.6993-.8046.4582-1.4726 1.1171-1.937 1.9105l-5.0238 8.5861-9.8224-16.7898c-.4648-.7934-1.1332-1.4522-1.938-1.9102-.8047-.4581-1.7176-.6992-2.6468-.6992-.9292 0-1.842.2411-2.6468.6992-.8048.458-1.4731 1.1168-1.9379 1.9102L6.56062 63.2701c-.46512.7932-.71021 1.6933-.71061 2.6095-.00041.9163.24389 1.8166.70831 2.6102.46443.7936 1.1326 1.4527 1.93732 1.9109.80473.4582 1.71766.6993 2.64686.6992h18.3646c7.2763 0 12.6422-3.1516 16.3345-9.3002l8.9642-15.3081 4.8015-8.1925 14.4099 24.6083H54.8058l-4.8042 8.1925ZM29.2077 62.899l-12.8161-.0028L35.603 30.0869l9.5857 16.4047-6.418 10.9645c-2.4521 3.9894-5.2377 5.4429-9.563 5.4429Z",fill:"currentColor"})],-1)),he=A(()=>w("span",null,[w("a",{href:"https://nuxt.studio",target:"_blank",rel:"noopener"},"Nuxt Studio"),de(": Preview enabled")],-1)),ye={key:0},_e=A(()=>w("div",{id:"__preview_background"},null,-1)),me=A(()=>w("svg",{id:"__preview_loading_icon",width:"32",height:"32",viewBox:"0 0 24 24"},[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 0 0 4.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 0 1-15.357-2m15.357 2H15"})],-1)),ge=A(()=>w("p",null,"Initializing the preview...",-1)),ke={key:0},Ce=A(()=>w("div",{id:"__preview_background"},null,-1)),Ie={id:"__preview_loader"},Pe=j({__name:"ContentPreviewMode",props:{previewToken:{type:String,required:!0},apiURL:{type:String,required:!0},syncPreview:{type:Function,required:!0},requestPreviewSyncAPI:{type:Function,required:!0}},setup(o){const s=o,r=["__nuxt_preview","__preview_enabled"],l=Z(),k=W(),v=L(!0),f=L(!1),i=L(!1),p=L("");let d;const h=async()=>{z("previewToken").value="",window.sessionStorage.removeItem("previewToken"),await k.replace({query:{preview:void 0}}),window.location.reload()},b=async P=>{const y=await s.syncPreview(P);if(i.value!==!0){if(!y){setTimeout(()=>b(P),1e3);return}z("previewToken").value&&(i.value=!0,await k.replace({query:{}}),l.callHook("nuxt-studio:preview:ready"),window.parent&&window.self!==window.parent&&d.disconnect())}};return ee(async()=>{d=(await te(()=>import("./index.5Jz4PfUi.js"),__vite__mapDeps([]),import.meta.url)).connect(`${s.apiURL}/preview`,{transports:["websocket","polling"],auth:{token:s.previewToken}});let y;d.on("connect",()=>{y=setTimeout(()=>{i.value||(y=setTimeout(()=>{p.value="Preview sync timed out",i.value=!1},3e4),d.emit("draft:requestSync"))},3e4)});const _=()=>{y&&(clearTimeout(y),y=null)};d.on("draft:sync",async x=>{if(_(),!x){try{d.once("draft:ready",()=>{d.emit("draft:requestSync")}),await s.requestPreviewSyncAPI()}catch(N){switch(_(),N.response.status){case 404:p.value="Preview draft not found",i.value=!1;break;default:p.value="An error occurred while syncing preview",i.value=!1}}return}b(x)}),d.on("draft:unauthorized",()=>{_(),p.value="Unauthorized preview token",i.value=!1}),d.on("disconnect",()=>{_()}),document.body.classList.add(...r),d.on("draft:update",x=>{f.value=!0,s.syncPreview(x),f.value=!1})}),ne(()=>{document.body.classList.remove(...r)}),(P,y)=>(R(),q("div",null,[v.value?(R(),q("div",{key:0,id:"__nuxt_preview",class:oe({__preview_ready:i.value,__preview_refreshing:f.value})},[i.value?(R(),q(ie,{key:0},[we,he,w("button",{onClick:h}," Close ")],64)):E("",!0)],2)):E("",!0),D(B,{name:"preview-loading"},{default:J(()=>[v.value&&!i.value&&!p.value?(R(),q("div",ye,[_e,w("div",{id:"__preview_loader"},[me,ge,w("button",{onClick:h}," Cancel ")])])):E("",!0)]),_:1}),D(B,{name:"preview-loading"},{default:J(()=>[p.value?(R(),q("div",ke,[Ce,w("div",Ie,[w("p",null,ae(p.value),1),w("button",{onClick:h}," Exit preview ")])])):E("",!0)]),_:1})]))}}),xe=ce(Pe,[["__scopeId","data-v-30aa8e6f"]]),Se=(o=[],s,r)=>{const l=[...s||[]],k=[...r||[]],v=JSON.parse(JSON.stringify(o));for(const i of l)if(i.oldPath)if(k.splice(k.findIndex(d=>d.path===i.oldPath),1),l.find(d=>d.path===i.oldPath))v.push({path:i.path,parsed:i.parsed});else{const d=v.find(h=>h.path===i.oldPath);d&&(d.path=i.path,i.parsed?d.parsed=i.parsed:i.pathMeta&&["_file","_path","_id","_locale"].forEach(h=>{d.parsed[h]=i.pathMeta[h]}))}else if(i.new)v.push({path:i.path,parsed:i.parsed});else{const p=v.find(d=>d.path===i.path);p&&Object.assign(p,{path:i.path,parsed:i.parsed})}for(const i of k)v.splice(v.findIndex(p=>p.path===i.path),1);const f=new Intl.Collator(void 0,{numeric:!0});return v.sort((i,p)=>f.compare(i.path,p.path)),v},C={appConfig:"app.config.ts",nuxtConfig:"nuxt.config.ts",tokensConfig:"tokens.config.ts"},Te=o=>{let s;return r=>(s||(s=o()),s)};function Q(o,s){for(const r in o){const l=s[r];r in s||delete o[r],l!==null&&typeof l=="object"&&Q(o[r],s[r])}}function X(o,s){for(const r in s){const l=s[r];l!==null&&typeof l=="object"?Array.isArray(l)&&Array.isArray(o[r])?o[r]=l:(o[r]=o[r]||{},X(o[r],l)):o[r]=l}}const Ae=Te(()=>JSON.parse(JSON.stringify(G()))),V=ve((o,s,r)=>{if(Array.isArray(o[s])&&Array.isArray(r))return o[s]=r,!0}),Le=()=>{const o=Z(),{studio:s,content:r}=le().public,l={},k=Ae();let v;const f=H("studio-client-db",()=>null),i=H("studio-preview-db-files",()=>[]);f.value||(o.hook("content:storage",t=>{f.value=t}),ue("/non-existing-path").findOne());const p=async(t,n)=>{const a=window.sessionStorage.getItem("previewToken"),c=await t.getKeys(`${a}:`);await Promise.all(c.map(e=>t.removeItem(e)));const u=new Set(n.map(e=>e.parsed._id.split(":").shift()));await t.setItem(`${a}$`,JSON.stringify({ignoreSources:Array.from(u)})),await Promise.all(n.map(e=>(l[e.parsed._path]=e.parsed,t.setItem(`${a}:${e.parsed._id}`,JSON.stringify(e.parsed)))))},d=t=>{const n=U(o,G);n!=null&&n.ui&&(n.ui.icons={...n.ui.icons,dynamic:!0}),X(n,V(t,k)),t||Q(n,k)},h=t=>{var a,c,u,e;const n=(e=(u=(c=(a=o==null?void 0:o.vueApp)==null?void 0:a._context)==null?void 0:c.config)==null?void 0:u.globalProperties)==null?void 0:e.$pinceauTheme;!n||!(n!=null&&n.updateTheme)||(v||(v=JSON.parse(JSON.stringify((n==null?void 0:n.theme.value)||{}))),U(o,n.updateTheme,[V(t,v)]))},b=async t=>{if(i.value=t.files=t.files||i.value||[],!f.value)return!1;const n=Se(t.files,t.additions,t.deletions),a=n.filter(e=>![C.appConfig,C.nuxtConfig,C.tokensConfig].includes(e.path));await p(f.value,a);const c=n.find(e=>e.path===C.appConfig);d(c==null?void 0:c.parsed);const u=n.find(e=>e.path===C.tokensConfig);return h(u==null?void 0:u.parsed),$(),!0},P=async()=>{const t=window.sessionStorage.getItem("previewToken");await $fetch("api/projects/preview/sync",{baseURL:s==null?void 0:s.apiURL,method:"POST",params:{token:t}})},y=()=>{const t=window.sessionStorage.getItem("previewToken"),n=document.createElement("div");n.id="__nuxt_preview_wrapper",document.body.appendChild(n),pe(xe,{previewToken:t,apiURL:s==null?void 0:s.apiURL,syncPreview:b,requestPreviewSyncAPI:P}).mount(n)},_=async t=>{var c,u,e;const n=window.sessionStorage.getItem("previewToken");if(!t)return null;t=t.replace(/\/$/,"");let a=await((c=f.value)==null?void 0:c.getItem(`${n}:${t}`));return a||(a=await((u=f.value)==null?void 0:u.getItem(`cached:${t}`))),a||(a=a=await((e=f.value)==null?void 0:e.getItem(t))),a||(a=l[t||"/"]),a},x=t=>{var a;const n=window.sessionStorage.getItem("previewToken");f.value&&(l[t.parsed._path]=t.parsed,f.value.setItem(`${n}:${(a=t.parsed)==null?void 0:a._id}`,JSON.stringify(t.parsed)))},N=async t=>{var c;const n=window.sessionStorage.getItem("previewToken"),a=await _(t);if(await((c=f.value)==null?void 0:c.removeItem(`${n}:${t}`)),a){delete l[a._path];const u=await _(a._id);u&&(l[u._path]=u)}},$=async()=>{if(r!=null&&r.documentDriven){const{pages:t}=U(o,fe),n=await Promise.all(Object.keys(t.value).map(async a=>{var c;return await _(((c=t.value[a])==null?void 0:c._id)??a)}));t.value=n.reduce((a,c,u)=>(c&&(a[Object.keys(t.value)[u]]=c),a),{})}await o.hooks.callHookParallel("app:data:refresh")};return{apiURL:s==null?void 0:s.apiURL,contentStorage:f,syncPreviewFiles:p,syncPreviewAppConfig:d,syncPreviewTokensConfig:h,requestPreviewSynchronization:P,findContentWithId:_,updateContent:x,removeContentWithId:N,requestRerender:$,mountPreviewUI:y,initiateIframeCommunication:Y};function Y(){if(!window.parent||window.self===window.parent)return;const t=W(),n=O(),a=L(""),c=e=>({path:e.path,query:F(e.query),params:F(e.params),fullPath:e.fullPath,meta:F(e.meta)});window.addEventListener("keydown",e=>{(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)&&window.parent.postMessage({type:"nuxt-studio:preview:keydown",payload:{key:e.key,metaKey:e.metaKey,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey}},"*")}),window.addEventListener("message",async e=>{if(!["https://nuxt.studio","https://dev.nuxt.studio","http://localhost:3000"].includes(e.origin))return;const{type:m,payload:T={}}=e.data||{};switch(m){case"nuxt-studio:editor:file-selected":{const g=await _(T.path);g&&(g._partial||g._path!==O().path&&(a.value=g._path,t.push(g._path)));break}case"nuxt-studio:editor:file-changed":{const{additions:g=[],deletions:K=[]}=T;for(const I of g)await x(I);for(const I of K)await N(I.path);$();break}case"nuxt-studio:preview:sync":{b(T);break}case"nuxt-studio:config:file-changed":{const{additions:g=[],deletions:K=[]}=T,I=g.find(S=>S.path===C.appConfig);I&&d(I==null?void 0:I.parsed),K.find(S=>S.path===C.appConfig)&&d(void 0);const M=g.find(S=>S.path===C.tokensConfig);M&&h(M==null?void 0:M.parsed),K.find(S=>S.path===C.tokensConfig)&&h(void 0);break}}}),o.hook("page:finish",()=>{u(),o.payload.prerenderedAt&&$()}),o.hook("content:document-driven:finish",({route:e,page:m})=>{e.meta.studio_page_contentId=m==null?void 0:m._id}),o.hook("nuxt-studio:preview:ready",()=>{window.parent.postMessage({type:"nuxt-studio:preview:ready",payload:c(O())},"*"),setTimeout(()=>{u()},100)});function u(){const e=Array.from(window.document.querySelectorAll("[data-content-id]")).map(T=>T.getAttribute("data-content-id")),m=Array.from(new Set([n.meta.studio_page_contentId,...e])).filter(Boolean);if(a.value===m[0]){a.value="";return}window.openContentInStudioEditor(m,{navigate:!0,pageContentId:n.meta.studio_page_contentId})}window.openContentInStudioEditor=(e,m={})=>{window.parent.postMessage({type:"nuxt-studio:preview:navigate",payload:{...c(n),contentIds:e,...m}},"*")}}};export{Le as useStudio}; +import{d as j,u as W,r as L,o as ee,_ as te,a as ne,b as R,c as q,n as oe,F as ie,e as w,f as E,g as D,w as J,T as B,t as ae,h as z,p as se,i as re,j as de,k as Z,l as ce,m as le,q as H,s as ue,v as O,x as U,y as G,z as pe,A as fe,B as F,C as ve}from"./entry.YSgWRBMm.js";const A=o=>(se("data-v-30aa8e6f"),o=o(),re(),o),we=A(()=>w("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M50.0016 71.0999h29.2561c.9293.0001 1.8422-.241 2.6469-.6992.8047-.4582 1.4729-1.1173 1.9373-1.9109.4645-.7936.7088-1.6939.7083-2.6102-.0004-.9162-.2455-1.8163-.7106-2.6095L64.192 29.713c-.4644-.7934-1.1325-1.4523-1.937-1.9105-.8046-.4581-1.7173-.6993-2.6463-.6993-.9291 0-1.8418.2412-2.6463.6993-.8046.4582-1.4726 1.1171-1.937 1.9105l-5.0238 8.5861-9.8224-16.7898c-.4648-.7934-1.1332-1.4522-1.938-1.9102-.8047-.4581-1.7176-.6992-2.6468-.6992-.9292 0-1.842.2411-2.6468.6992-.8048.458-1.4731 1.1168-1.9379 1.9102L6.56062 63.2701c-.46512.7932-.71021 1.6933-.71061 2.6095-.00041.9163.24389 1.8166.70831 2.6102.46443.7936 1.1326 1.4527 1.93732 1.9109.80473.4582 1.71766.6993 2.64686.6992h18.3646c7.2763 0 12.6422-3.1516 16.3345-9.3002l8.9642-15.3081 4.8015-8.1925 14.4099 24.6083H54.8058l-4.8042 8.1925ZM29.2077 62.899l-12.8161-.0028L35.603 30.0869l9.5857 16.4047-6.418 10.9645c-2.4521 3.9894-5.2377 5.4429-9.563 5.4429Z",fill:"currentColor"})],-1)),he=A(()=>w("span",null,[w("a",{href:"https://nuxt.studio",target:"_blank",rel:"noopener"},"Nuxt Studio"),de(": Preview enabled")],-1)),ye={key:0},_e=A(()=>w("div",{id:"__preview_background"},null,-1)),me=A(()=>w("svg",{id:"__preview_loading_icon",width:"32",height:"32",viewBox:"0 0 24 24"},[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 0 0 4.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 0 1-15.357-2m15.357 2H15"})],-1)),ge=A(()=>w("p",null,"Initializing the preview...",-1)),ke={key:0},Ce=A(()=>w("div",{id:"__preview_background"},null,-1)),Ie={id:"__preview_loader"},Pe=j({__name:"ContentPreviewMode",props:{previewToken:{type:String,required:!0},apiURL:{type:String,required:!0},syncPreview:{type:Function,required:!0},requestPreviewSyncAPI:{type:Function,required:!0}},setup(o){const s=o,r=["__nuxt_preview","__preview_enabled"],l=Z(),k=W(),v=L(!0),f=L(!1),i=L(!1),p=L("");let d;const h=async()=>{z("previewToken").value="",window.sessionStorage.removeItem("previewToken"),await k.replace({query:{preview:void 0}}),window.location.reload()},b=async P=>{const y=await s.syncPreview(P);if(i.value!==!0){if(!y){setTimeout(()=>b(P),1e3);return}z("previewToken").value&&(i.value=!0,await k.replace({query:{}}),l.callHook("nuxt-studio:preview:ready"),window.parent&&window.self!==window.parent&&d.disconnect())}};return ee(async()=>{d=(await te(()=>import("./index.5Jz4PfUi.js"),__vite__mapDeps([]),import.meta.url)).connect(`${s.apiURL}/preview`,{transports:["websocket","polling"],auth:{token:s.previewToken}});let y;d.on("connect",()=>{y=setTimeout(()=>{i.value||(y=setTimeout(()=>{p.value="Preview sync timed out",i.value=!1},3e4),d.emit("draft:requestSync"))},3e4)});const _=()=>{y&&(clearTimeout(y),y=null)};d.on("draft:sync",async x=>{if(_(),!x){try{d.once("draft:ready",()=>{d.emit("draft:requestSync")}),await s.requestPreviewSyncAPI()}catch(N){switch(_(),N.response.status){case 404:p.value="Preview draft not found",i.value=!1;break;default:p.value="An error occurred while syncing preview",i.value=!1}}return}b(x)}),d.on("draft:unauthorized",()=>{_(),p.value="Unauthorized preview token",i.value=!1}),d.on("disconnect",()=>{_()}),document.body.classList.add(...r),d.on("draft:update",x=>{f.value=!0,s.syncPreview(x),f.value=!1})}),ne(()=>{document.body.classList.remove(...r)}),(P,y)=>(R(),q("div",null,[v.value?(R(),q("div",{key:0,id:"__nuxt_preview",class:oe({__preview_ready:i.value,__preview_refreshing:f.value})},[i.value?(R(),q(ie,{key:0},[we,he,w("button",{onClick:h}," Close ")],64)):E("",!0)],2)):E("",!0),D(B,{name:"preview-loading"},{default:J(()=>[v.value&&!i.value&&!p.value?(R(),q("div",ye,[_e,w("div",{id:"__preview_loader"},[me,ge,w("button",{onClick:h}," Cancel ")])])):E("",!0)]),_:1}),D(B,{name:"preview-loading"},{default:J(()=>[p.value?(R(),q("div",ke,[Ce,w("div",Ie,[w("p",null,ae(p.value),1),w("button",{onClick:h}," Exit preview ")])])):E("",!0)]),_:1})]))}}),xe=ce(Pe,[["__scopeId","data-v-30aa8e6f"]]),Se=(o=[],s,r)=>{const l=[...s||[]],k=[...r||[]],v=JSON.parse(JSON.stringify(o));for(const i of l)if(i.oldPath)if(k.splice(k.findIndex(d=>d.path===i.oldPath),1),l.find(d=>d.path===i.oldPath))v.push({path:i.path,parsed:i.parsed});else{const d=v.find(h=>h.path===i.oldPath);d&&(d.path=i.path,i.parsed?d.parsed=i.parsed:i.pathMeta&&["_file","_path","_id","_locale"].forEach(h=>{d.parsed[h]=i.pathMeta[h]}))}else if(i.new)v.push({path:i.path,parsed:i.parsed});else{const p=v.find(d=>d.path===i.path);p&&Object.assign(p,{path:i.path,parsed:i.parsed})}for(const i of k)v.splice(v.findIndex(p=>p.path===i.path),1);const f=new Intl.Collator(void 0,{numeric:!0});return v.sort((i,p)=>f.compare(i.path,p.path)),v},C={appConfig:"app.config.ts",nuxtConfig:"nuxt.config.ts",tokensConfig:"tokens.config.ts"},Te=o=>{let s;return r=>(s||(s=o()),s)};function Q(o,s){for(const r in o){const l=s[r];r in s||delete o[r],l!==null&&typeof l=="object"&&Q(o[r],s[r])}}function X(o,s){for(const r in s){const l=s[r];l!==null&&typeof l=="object"?Array.isArray(l)&&Array.isArray(o[r])?o[r]=l:(o[r]=o[r]||{},X(o[r],l)):o[r]=l}}const Ae=Te(()=>JSON.parse(JSON.stringify(G()))),V=ve((o,s,r)=>{if(Array.isArray(o[s])&&Array.isArray(r))return o[s]=r,!0}),Le=()=>{const o=Z(),{studio:s,content:r}=le().public,l={},k=Ae();let v;const f=H("studio-client-db",()=>null),i=H("studio-preview-db-files",()=>[]);f.value||(o.hook("content:storage",t=>{f.value=t}),ue("/non-existing-path").findOne());const p=async(t,n)=>{const a=window.sessionStorage.getItem("previewToken"),c=await t.getKeys(`${a}:`);await Promise.all(c.map(e=>t.removeItem(e)));const u=new Set(n.map(e=>e.parsed._id.split(":").shift()));await t.setItem(`${a}$`,JSON.stringify({ignoreSources:Array.from(u)})),await Promise.all(n.map(e=>(l[e.parsed._path]=e.parsed,t.setItem(`${a}:${e.parsed._id}`,JSON.stringify(e.parsed)))))},d=t=>{const n=U(o,G);n!=null&&n.ui&&(n.ui.icons={...n.ui.icons,dynamic:!0}),X(n,V(t,k)),t||Q(n,k)},h=t=>{var a,c,u,e;const n=(e=(u=(c=(a=o==null?void 0:o.vueApp)==null?void 0:a._context)==null?void 0:c.config)==null?void 0:u.globalProperties)==null?void 0:e.$pinceauTheme;!n||!(n!=null&&n.updateTheme)||(v||(v=JSON.parse(JSON.stringify((n==null?void 0:n.theme.value)||{}))),U(o,n.updateTheme,[V(t,v)]))},b=async t=>{if(i.value=t.files=t.files||i.value||[],!f.value)return!1;const n=Se(t.files,t.additions,t.deletions),a=n.filter(e=>![C.appConfig,C.nuxtConfig,C.tokensConfig].includes(e.path));await p(f.value,a);const c=n.find(e=>e.path===C.appConfig);d(c==null?void 0:c.parsed);const u=n.find(e=>e.path===C.tokensConfig);return h(u==null?void 0:u.parsed),$(),!0},P=async()=>{const t=window.sessionStorage.getItem("previewToken");await $fetch("api/projects/preview/sync",{baseURL:s==null?void 0:s.apiURL,method:"POST",params:{token:t}})},y=()=>{const t=window.sessionStorage.getItem("previewToken"),n=document.createElement("div");n.id="__nuxt_preview_wrapper",document.body.appendChild(n),pe(xe,{previewToken:t,apiURL:s==null?void 0:s.apiURL,syncPreview:b,requestPreviewSyncAPI:P}).mount(n)},_=async t=>{var c,u,e;const n=window.sessionStorage.getItem("previewToken");if(!t)return null;t=t.replace(/\/$/,"");let a=await((c=f.value)==null?void 0:c.getItem(`${n}:${t}`));return a||(a=await((u=f.value)==null?void 0:u.getItem(`cached:${t}`))),a||(a=a=await((e=f.value)==null?void 0:e.getItem(t))),a||(a=l[t||"/"]),a},x=t=>{var a;const n=window.sessionStorage.getItem("previewToken");f.value&&(l[t.parsed._path]=t.parsed,f.value.setItem(`${n}:${(a=t.parsed)==null?void 0:a._id}`,JSON.stringify(t.parsed)))},N=async t=>{var c;const n=window.sessionStorage.getItem("previewToken"),a=await _(t);if(await((c=f.value)==null?void 0:c.removeItem(`${n}:${t}`)),a){delete l[a._path];const u=await _(a._id);u&&(l[u._path]=u)}},$=async()=>{if(r!=null&&r.documentDriven){const{pages:t}=U(o,fe),n=await Promise.all(Object.keys(t.value).map(async a=>{var c;return await _(((c=t.value[a])==null?void 0:c._id)??a)}));t.value=n.reduce((a,c,u)=>(c&&(a[Object.keys(t.value)[u]]=c),a),{})}await o.hooks.callHookParallel("app:data:refresh")};return{apiURL:s==null?void 0:s.apiURL,contentStorage:f,syncPreviewFiles:p,syncPreviewAppConfig:d,syncPreviewTokensConfig:h,requestPreviewSynchronization:P,findContentWithId:_,updateContent:x,removeContentWithId:N,requestRerender:$,mountPreviewUI:y,initiateIframeCommunication:Y};function Y(){if(!window.parent||window.self===window.parent)return;const t=W(),n=O(),a=L(""),c=e=>({path:e.path,query:F(e.query),params:F(e.params),fullPath:e.fullPath,meta:F(e.meta)});window.addEventListener("keydown",e=>{(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)&&window.parent.postMessage({type:"nuxt-studio:preview:keydown",payload:{key:e.key,metaKey:e.metaKey,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey}},"*")}),window.addEventListener("message",async e=>{if(!["https://nuxt.studio","https://dev.nuxt.studio","http://localhost:3000"].includes(e.origin))return;const{type:m,payload:T={}}=e.data||{};switch(m){case"nuxt-studio:editor:file-selected":{const g=await _(T.path);g&&(g._partial||g._path!==O().path&&(a.value=g._path,t.push(g._path)));break}case"nuxt-studio:editor:file-changed":{const{additions:g=[],deletions:K=[]}=T;for(const I of g)await x(I);for(const I of K)await N(I.path);$();break}case"nuxt-studio:preview:sync":{b(T);break}case"nuxt-studio:config:file-changed":{const{additions:g=[],deletions:K=[]}=T,I=g.find(S=>S.path===C.appConfig);I&&d(I==null?void 0:I.parsed),K.find(S=>S.path===C.appConfig)&&d(void 0);const M=g.find(S=>S.path===C.tokensConfig);M&&h(M==null?void 0:M.parsed),K.find(S=>S.path===C.tokensConfig)&&h(void 0);break}}}),o.hook("page:finish",()=>{u(),o.payload.prerenderedAt&&$()}),o.hook("content:document-driven:finish",({route:e,page:m})=>{e.meta.studio_page_contentId=m==null?void 0:m._id}),o.hook("nuxt-studio:preview:ready",()=>{window.parent.postMessage({type:"nuxt-studio:preview:ready",payload:c(O())},"*"),setTimeout(()=>{u()},100)});function u(){const e=Array.from(window.document.querySelectorAll("[data-content-id]")).map(T=>T.getAttribute("data-content-id")),m=Array.from(new Set([n.meta.studio_page_contentId,...e])).filter(Boolean);if(a.value===m[0]){a.value="";return}window.openContentInStudioEditor(m,{navigate:!0,pageContentId:n.meta.studio_page_contentId})}window.openContentInStudioEditor=(e,m={})=>{window.parent.postMessage({type:"nuxt-studio:preview:navigate",payload:{...c(n),contentIds:e,...m}},"*")}}};export{Le as useStudio}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/_payload.json b/_payload.json index 0cb1f094..29616cb1 100644 --- a/_payload.json +++ b/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":368},["Reactive",2],{"navigation":3,"index":52,"1CZYD6bgNK":104,"q3uGftTUSs":129},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":53,"_dir":54,"_draft":55,"_partial":55,"_locale":54,"title":56,"description":57,"navigation":55,"hero":58,"features":73,"_id":99,"_type":100,"_source":101,"_file":102,"_extension":103},"/","",false,"Nuxt Supabase - Home","A supa simple wrapper around supabase-js to enable usage and integration within Nuxt.",{"title":59,"description":57,"orientation":60,"links":61,"code":72},"Nuxt [Supabase]{.text-primary}","horizontal",[62,66],{"label":63,"icon":64,"to":6,"size":65},"Get started","i-heroicons-rocket-launch","lg",{"label":67,"icon":68,"color":69,"to":70,"target":71,"size":65},"Star on github","i-heroicons-star","white","https://github.com/nuxt-modules/supabase","_blank","```ts\n const supabase = useSupabaseClient()\n const email = ref('')\n\n const signInWithOtp = async () => {\n await supabase.auth.signInWithOtp({\n email: email.value,\n })\n }\n```\n",{"title":74,"items":75},"Shipped with many features",[76,80,84,88,92,95],{"title":77,"icon":78,"to":79,"target":71},"Nuxt 3 ready","i-simple-icons-nuxtdotjs","https://nuxt.com",{"title":81,"icon":82,"to":83,"target":71},"Vue 3 composables","i-simple-icons-vuedotjs","https://vuejs.org/guide/reusability/composables.html",{"title":85,"icon":86,"to":87,"target":71},"Supabase-js V2","i-simple-icons-supabase","https://supabase.com",{"title":89,"icon":90,"to":91},"Usage in API server routes","i-heroicons-server","usage/services/serversupabaseclient",{"title":93,"icon":94,"to":10},"Authentication support","i-heroicons-key",{"title":96,"icon":97,"to":98,"target":71},"TypeScript support","i-simple-icons-typescript","https://www.typescriptlang.org","content:index.yml","yaml","content","index.yml","yml",{"data":105,"body":107,"excerpt":-1,"toc":126},{"title":54,"description":106},"Nuxt Supabase",{"type":108,"children":109},"root",[110],{"type":111,"tag":112,"props":113,"children":114},"element","p",{},[115,118],{"type":116,"value":117},"text","Nuxt ",{"type":111,"tag":119,"props":120,"children":123},"span",{"className":121},[122],"text-primary",[124],{"type":116,"value":125},"Supabase",{"title":54,"searchDepth":127,"depth":127,"links":128},2,[],{"data":130,"body":131,"excerpt":-1,"toc":366},{"title":54,"description":54},{"type":108,"children":132},[133,360],{"type":111,"tag":134,"props":135,"children":139},"pre",{"className":136,"code":137,"language":138,"meta":54,"style":54},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight"," const supabase = useSupabaseClient()\n const email = ref('')\n\n const signInWithOtp = async () => {\n await supabase.auth.signInWithOtp({\n email: email.value,\n })\n }\n","ts",[140],{"type":111,"tag":141,"props":142,"children":143},"code",{"__ignoreMap":54},[144,178,214,224,261,305,338,351],{"type":111,"tag":119,"props":145,"children":148},{"class":146,"line":147},"line",1,[149,155,161,167,173],{"type":111,"tag":119,"props":150,"children":152},{"style":151},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[153],{"type":116,"value":154}," const",{"type":111,"tag":119,"props":156,"children":158},{"style":157},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[159],{"type":116,"value":160}," supabase ",{"type":111,"tag":119,"props":162,"children":164},{"style":163},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[165],{"type":116,"value":166},"=",{"type":111,"tag":119,"props":168,"children":170},{"style":169},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[171],{"type":116,"value":172}," useSupabaseClient",{"type":111,"tag":119,"props":174,"children":175},{"style":157},[176],{"type":116,"value":177},"()\n",{"type":111,"tag":119,"props":179,"children":180},{"class":146,"line":127},[181,185,190,194,199,204,209],{"type":111,"tag":119,"props":182,"children":183},{"style":151},[184],{"type":116,"value":154},{"type":111,"tag":119,"props":186,"children":187},{"style":157},[188],{"type":116,"value":189}," email ",{"type":111,"tag":119,"props":191,"children":192},{"style":163},[193],{"type":116,"value":166},{"type":111,"tag":119,"props":195,"children":196},{"style":169},[197],{"type":116,"value":198}," ref",{"type":111,"tag":119,"props":200,"children":201},{"style":157},[202],{"type":116,"value":203},"(",{"type":111,"tag":119,"props":205,"children":206},{"style":163},[207],{"type":116,"value":208},"''",{"type":111,"tag":119,"props":210,"children":211},{"style":157},[212],{"type":116,"value":213},")\n",{"type":111,"tag":119,"props":215,"children":217},{"class":146,"line":216},3,[218],{"type":111,"tag":119,"props":219,"children":221},{"emptyLinePlaceholder":220},true,[222],{"type":116,"value":223},"\n",{"type":111,"tag":119,"props":225,"children":227},{"class":146,"line":226},4,[228,232,237,241,246,251,256],{"type":111,"tag":119,"props":229,"children":230},{"style":151},[231],{"type":116,"value":154},{"type":111,"tag":119,"props":233,"children":234},{"style":157},[235],{"type":116,"value":236}," signInWithOtp ",{"type":111,"tag":119,"props":238,"children":239},{"style":163},[240],{"type":116,"value":166},{"type":111,"tag":119,"props":242,"children":243},{"style":151},[244],{"type":116,"value":245}," async",{"type":111,"tag":119,"props":247,"children":248},{"style":163},[249],{"type":116,"value":250}," ()",{"type":111,"tag":119,"props":252,"children":253},{"style":151},[254],{"type":116,"value":255}," =>",{"type":111,"tag":119,"props":257,"children":258},{"style":163},[259],{"type":116,"value":260}," {\n",{"type":111,"tag":119,"props":262,"children":264},{"class":146,"line":263},5,[265,271,276,281,286,290,295,300],{"type":111,"tag":119,"props":266,"children":268},{"style":267},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[269],{"type":116,"value":270}," await",{"type":111,"tag":119,"props":272,"children":273},{"style":157},[274],{"type":116,"value":275}," supabase",{"type":111,"tag":119,"props":277,"children":278},{"style":163},[279],{"type":116,"value":280},".",{"type":111,"tag":119,"props":282,"children":283},{"style":157},[284],{"type":116,"value":285},"auth",{"type":111,"tag":119,"props":287,"children":288},{"style":163},[289],{"type":116,"value":280},{"type":111,"tag":119,"props":291,"children":292},{"style":169},[293],{"type":116,"value":294},"signInWithOtp",{"type":111,"tag":119,"props":296,"children":298},{"style":297},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[299],{"type":116,"value":203},{"type":111,"tag":119,"props":301,"children":302},{"style":163},[303],{"type":116,"value":304},"{\n",{"type":111,"tag":119,"props":306,"children":308},{"class":146,"line":307},6,[309,314,319,324,328,333],{"type":111,"tag":119,"props":310,"children":311},{"style":297},[312],{"type":116,"value":313}," email",{"type":111,"tag":119,"props":315,"children":316},{"style":163},[317],{"type":116,"value":318},":",{"type":111,"tag":119,"props":320,"children":321},{"style":157},[322],{"type":116,"value":323}," email",{"type":111,"tag":119,"props":325,"children":326},{"style":163},[327],{"type":116,"value":280},{"type":111,"tag":119,"props":329,"children":330},{"style":157},[331],{"type":116,"value":332},"value",{"type":111,"tag":119,"props":334,"children":335},{"style":163},[336],{"type":116,"value":337},",\n",{"type":111,"tag":119,"props":339,"children":341},{"class":146,"line":340},7,[342,347],{"type":111,"tag":119,"props":343,"children":344},{"style":163},[345],{"type":116,"value":346}," }",{"type":111,"tag":119,"props":348,"children":349},{"style":297},[350],{"type":116,"value":213},{"type":111,"tag":119,"props":352,"children":354},{"class":146,"line":353},8,[355],{"type":111,"tag":119,"props":356,"children":357},{"style":163},[358],{"type":116,"value":359}," }\n",{"type":111,"tag":361,"props":362,"children":363},"style",{},[364],{"type":116,"value":365},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":54,"searchDepth":127,"depth":127,"links":367},[],1706280922118] \ No newline at end of file +[{"data":1,"prerenderedAt":368},["Reactive",2],{"navigation":3,"index":52,"1CZYD6bgNK":104,"q3uGftTUSs":129},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":53,"_dir":54,"_draft":55,"_partial":55,"_locale":54,"title":56,"description":57,"navigation":55,"hero":58,"features":73,"_id":99,"_type":100,"_source":101,"_file":102,"_extension":103},"/","",false,"Nuxt Supabase - Home","A supa simple wrapper around supabase-js to enable usage and integration within Nuxt.",{"title":59,"description":57,"orientation":60,"links":61,"code":72},"Nuxt [Supabase]{.text-primary}","horizontal",[62,66],{"label":63,"icon":64,"to":6,"size":65},"Get started","i-heroicons-rocket-launch","lg",{"label":67,"icon":68,"color":69,"to":70,"target":71,"size":65},"Star on github","i-heroicons-star","white","https://github.com/nuxt-modules/supabase","_blank","```ts\n const supabase = useSupabaseClient()\n const email = ref('')\n\n const signInWithOtp = async () => {\n await supabase.auth.signInWithOtp({\n email: email.value,\n })\n }\n```\n",{"title":74,"items":75},"Shipped with many features",[76,80,84,88,92,95],{"title":77,"icon":78,"to":79,"target":71},"Nuxt 3 ready","i-simple-icons-nuxtdotjs","https://nuxt.com",{"title":81,"icon":82,"to":83,"target":71},"Vue 3 composables","i-simple-icons-vuedotjs","https://vuejs.org/guide/reusability/composables.html",{"title":85,"icon":86,"to":87,"target":71},"Supabase-js V2","i-simple-icons-supabase","https://supabase.com",{"title":89,"icon":90,"to":91},"Usage in API server routes","i-heroicons-server","usage/services/serversupabaseclient",{"title":93,"icon":94,"to":10},"Authentication support","i-heroicons-key",{"title":96,"icon":97,"to":98,"target":71},"TypeScript support","i-simple-icons-typescript","https://www.typescriptlang.org","content:index.yml","yaml","content","index.yml","yml",{"data":105,"body":107,"excerpt":-1,"toc":126},{"title":54,"description":106},"Nuxt Supabase",{"type":108,"children":109},"root",[110],{"type":111,"tag":112,"props":113,"children":114},"element","p",{},[115,118],{"type":116,"value":117},"text","Nuxt ",{"type":111,"tag":119,"props":120,"children":123},"span",{"className":121},[122],"text-primary",[124],{"type":116,"value":125},"Supabase",{"title":54,"searchDepth":127,"depth":127,"links":128},2,[],{"data":130,"body":131,"excerpt":-1,"toc":366},{"title":54,"description":54},{"type":108,"children":132},[133,360],{"type":111,"tag":134,"props":135,"children":139},"pre",{"className":136,"code":137,"language":138,"meta":54,"style":54},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight"," const supabase = useSupabaseClient()\n const email = ref('')\n\n const signInWithOtp = async () => {\n await supabase.auth.signInWithOtp({\n email: email.value,\n })\n }\n","ts",[140],{"type":111,"tag":141,"props":142,"children":143},"code",{"__ignoreMap":54},[144,178,214,224,261,305,338,351],{"type":111,"tag":119,"props":145,"children":148},{"class":146,"line":147},"line",1,[149,155,161,167,173],{"type":111,"tag":119,"props":150,"children":152},{"style":151},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[153],{"type":116,"value":154}," const",{"type":111,"tag":119,"props":156,"children":158},{"style":157},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[159],{"type":116,"value":160}," supabase ",{"type":111,"tag":119,"props":162,"children":164},{"style":163},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[165],{"type":116,"value":166},"=",{"type":111,"tag":119,"props":168,"children":170},{"style":169},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[171],{"type":116,"value":172}," useSupabaseClient",{"type":111,"tag":119,"props":174,"children":175},{"style":157},[176],{"type":116,"value":177},"()\n",{"type":111,"tag":119,"props":179,"children":180},{"class":146,"line":127},[181,185,190,194,199,204,209],{"type":111,"tag":119,"props":182,"children":183},{"style":151},[184],{"type":116,"value":154},{"type":111,"tag":119,"props":186,"children":187},{"style":157},[188],{"type":116,"value":189}," email ",{"type":111,"tag":119,"props":191,"children":192},{"style":163},[193],{"type":116,"value":166},{"type":111,"tag":119,"props":195,"children":196},{"style":169},[197],{"type":116,"value":198}," ref",{"type":111,"tag":119,"props":200,"children":201},{"style":157},[202],{"type":116,"value":203},"(",{"type":111,"tag":119,"props":205,"children":206},{"style":163},[207],{"type":116,"value":208},"''",{"type":111,"tag":119,"props":210,"children":211},{"style":157},[212],{"type":116,"value":213},")\n",{"type":111,"tag":119,"props":215,"children":217},{"class":146,"line":216},3,[218],{"type":111,"tag":119,"props":219,"children":221},{"emptyLinePlaceholder":220},true,[222],{"type":116,"value":223},"\n",{"type":111,"tag":119,"props":225,"children":227},{"class":146,"line":226},4,[228,232,237,241,246,251,256],{"type":111,"tag":119,"props":229,"children":230},{"style":151},[231],{"type":116,"value":154},{"type":111,"tag":119,"props":233,"children":234},{"style":157},[235],{"type":116,"value":236}," signInWithOtp ",{"type":111,"tag":119,"props":238,"children":239},{"style":163},[240],{"type":116,"value":166},{"type":111,"tag":119,"props":242,"children":243},{"style":151},[244],{"type":116,"value":245}," async",{"type":111,"tag":119,"props":247,"children":248},{"style":163},[249],{"type":116,"value":250}," ()",{"type":111,"tag":119,"props":252,"children":253},{"style":151},[254],{"type":116,"value":255}," =>",{"type":111,"tag":119,"props":257,"children":258},{"style":163},[259],{"type":116,"value":260}," {\n",{"type":111,"tag":119,"props":262,"children":264},{"class":146,"line":263},5,[265,271,276,281,286,290,295,300],{"type":111,"tag":119,"props":266,"children":268},{"style":267},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[269],{"type":116,"value":270}," await",{"type":111,"tag":119,"props":272,"children":273},{"style":157},[274],{"type":116,"value":275}," supabase",{"type":111,"tag":119,"props":277,"children":278},{"style":163},[279],{"type":116,"value":280},".",{"type":111,"tag":119,"props":282,"children":283},{"style":157},[284],{"type":116,"value":285},"auth",{"type":111,"tag":119,"props":287,"children":288},{"style":163},[289],{"type":116,"value":280},{"type":111,"tag":119,"props":291,"children":292},{"style":169},[293],{"type":116,"value":294},"signInWithOtp",{"type":111,"tag":119,"props":296,"children":298},{"style":297},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[299],{"type":116,"value":203},{"type":111,"tag":119,"props":301,"children":302},{"style":163},[303],{"type":116,"value":304},"{\n",{"type":111,"tag":119,"props":306,"children":308},{"class":146,"line":307},6,[309,314,319,324,328,333],{"type":111,"tag":119,"props":310,"children":311},{"style":297},[312],{"type":116,"value":313}," email",{"type":111,"tag":119,"props":315,"children":316},{"style":163},[317],{"type":116,"value":318},":",{"type":111,"tag":119,"props":320,"children":321},{"style":157},[322],{"type":116,"value":323}," email",{"type":111,"tag":119,"props":325,"children":326},{"style":163},[327],{"type":116,"value":280},{"type":111,"tag":119,"props":329,"children":330},{"style":157},[331],{"type":116,"value":332},"value",{"type":111,"tag":119,"props":334,"children":335},{"style":163},[336],{"type":116,"value":337},",\n",{"type":111,"tag":119,"props":339,"children":341},{"class":146,"line":340},7,[342,347],{"type":111,"tag":119,"props":343,"children":344},{"style":163},[345],{"type":116,"value":346}," }",{"type":111,"tag":119,"props":348,"children":349},{"style":297},[350],{"type":116,"value":213},{"type":111,"tag":119,"props":352,"children":354},{"class":146,"line":353},8,[355],{"type":111,"tag":119,"props":356,"children":357},{"style":163},[358],{"type":116,"value":359}," }\n",{"type":111,"tag":361,"props":362,"children":363},"style",{},[364],{"type":116,"value":365},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":54,"searchDepth":127,"depth":127,"links":367},[],1706281077762] \ No newline at end of file diff --git a/api/_content/cache.1706280866184.json b/api/_content/cache.1706281021488.json similarity index 99% rename from api/_content/cache.1706280866184.json rename to api/_content/cache.1706281021488.json index 05998505..b6f0fb4d 100644 --- a/api/_content/cache.1706280866184.json +++ b/api/_content/cache.1706281021488.json @@ -1 +1 @@ -{"generatedAt":1706280922059,"generateTime":2241,"contents":[{"_path":"/get-started","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Get Started","description":"@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.","icon":"heroicons:rocket-launch","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase","rel":["nofollow"]},"children":[{"type":"text","value":"@nuxtjs/supabase"}]},{"type":"text","value":" is a Nuxt module for first class integration with Supabase."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Checkout the "},{"type":"element","tag":"a","props":{"href":"https://v3.nuxtjs.org","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt 3"}]},{"type":"text","value":" documentation and "},{"type":"element","tag":"a","props":{"href":"https://supabase.com","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase"}]},{"type":"text","value":" to learn more."}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-exclamation-triangle-20-solid","color":"amber"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"For integrating Supabase with Nuxt 2, checkout "},{"type":"element","tag":"a","props":{"href":"https://github.com/supabase-community/nuxt-supabase","rel":["nofollow"]},"children":[{"type":"text","value":"supabase-community/nuxt-supabase"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"h2","props":{"id":"installation"},"children":[{"type":"text","value":"Installation"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Add "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"@nuxtjs/supabase"}]},{"type":"text","value":" dev dependency to your project:"}]},{"type":"element","tag":"code-group","props":{},"children":[{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"pnpm add -D @nuxtjs/supabase\n","filename":"pnpm","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":"pnpm"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" add"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" -D"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" @nuxtjs/supabase\n"}]}]}]}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"yarn add --dev @nuxtjs/supabase\n","filename":"yarn","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":"yarn"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" add"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" --dev"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" @nuxtjs/supabase\n"}]}]}]}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"npm install @nuxtjs/supabase --save-dev\n","filename":"NPM","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":"npm"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" install"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" @nuxtjs/supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" --save-dev\n"}]}]}]}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"bun add -D @nuxtjs/supabase\n","filename":"bun","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":"bun"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" add"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" -D"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" @nuxtjs/supabase\n"}]}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Add "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"@nuxtjs/supabase"}]},{"type":"text","value":" to the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"modules"}]},{"type":"text","value":" section of "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"nuxt.config.ts"}]},{"type":"text","value":":"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"export default defineNuxtConfig({\n modules: ['@nuxtjs/supabase'],\n})\n","filename":"nuxt.config.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" modules"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" ["}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"@nuxtjs/supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"]"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Add "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"SUPABASE_URL"}]},{"type":"text","value":" and "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"SUPABASE_KEY"}]},{"type":"text","value":" to the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":".env"}]},{"type":"text","value":":"}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"SUPABASE_URL=\"https://example.supabase.co\"\nSUPABASE_KEY=\"\"\n","filename":"env","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"SUPABASE_URL"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"https://example.supabase.co"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"SUPABASE_KEY"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\"\n"}]}]}]}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Alternatively, you can prefix the env variables with "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"NUXT_PUBLIC_"}]},{"type":"text","value":" in order to use runtimeConfig."}]}]},{"type":"element","tag":"h2","props":{"id":"options"},"children":[{"type":"text","value":"Options"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can configure the supabase module by using the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"supabase"}]},{"type":"text","value":" key in "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":":"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"export default defineNuxtConfig({\n // ...\n supabase: {\n // Options\n }\n}\n","filename":"nuxt.config.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // ...\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Options\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]}]}]},{"type":"element","tag":"h3","props":{"id":"url"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"url"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default: "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"process.env.SUPABASE_URL"}]},{"type":"text","value":" (ex: "},{"type":"element","tag":"a","props":{"href":"https://example.supabase.co","rel":["nofollow"]},"children":[{"type":"text","value":"https://example.supabase.co"}]},{"type":"text","value":")"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The unique Supabase URL which is supplied when you create a new project in your project dashboard."}]},{"type":"element","tag":"h3","props":{"id":"key"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"key"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default: "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"process.env.SUPABASE_KEY"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Supabase 'anon key', used to bypass the Supabase API gateway and interact with your Supabase database making use of user JWT to apply RLS Policies."}]},{"type":"element","tag":"h3","props":{"id":"servicekey"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serviceKey"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default: "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"process.env.SUPABASE_SERVICE_KEY"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Supabase 'service role key', has super admin rights and can bypass your Row Level Security."}]},{"type":"element","tag":"h3","props":{"id":"redirect"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"redirect"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default: "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"true"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Redirect automatically to the configured login page if a non authenticated user is trying to access a guarded. You can disable all redirects by setting this option to false."}]},{"type":"element","tag":"h3","props":{"id":"redirectoptions"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"redirectOptions"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":" redirectOptions: {\n login: '/login',\n callback: '/confirm',\n exclude: [],\n cookieRedirect: false,\n }\n","filename":"nuxt.config.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" redirectOptions"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" login"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/login"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" callback"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/confirm"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" exclude"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" []"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" cookieRedirect"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" false"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]}]}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"login"}]},{"type":"text","value":": User will be redirected to this path if not authenticated or after logout."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"callback"}]},{"type":"text","value":": This is the path the user will be redirect to after supabase login redirection. Should match configured "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"redirectTo"}]},{"type":"text","value":" option of your "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/auth-signinwithoauth","rel":["nofollow"]},"children":[{"type":"text","value":"signIn method"}]},{"type":"text","value":". Should also be configured in your Supabase dashboard under "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"Authentication -> URL Configuration -> Redirect URLs"}]},{"type":"text","value":"."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"exclude"}]},{"type":"text","value":": Routes to exclude from the redirect. "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"['/foo', '/bar/*']"}]},{"type":"text","value":" will exclude the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"foo"}]},{"type":"text","value":" page and all pages in your "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"bar"}]},{"type":"text","value":" folder."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"cookieRedirect"}]},{"type":"text","value":": Sets a cookie containing the path an unauthenticated user tried to access. The cookie can then be used on the "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/authentication#confirm-page-confirm","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"/confirm"}]}]},{"type":"text","value":" page to redirect the user to the page they previously tried to visit."}]}]},{"type":"element","tag":"h3","props":{"id":"cookiename"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"cookieName"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default: "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"sb"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Cookie name used for storing access and refresh tokens, added in front of "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"-access-token"}]},{"type":"text","value":" and "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"-refresh-token"}]},{"type":"text","value":" to form the full cookie name e.g. "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"sb-access-token"}]}]},{"type":"element","tag":"h3","props":{"id":"cookieoptions"},"children":[{"type":"text","value":"cookieOptions"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":" cookieOptions: {\n maxAge: 60 * 60 * 8,\n sameSite: 'lax',\n secure: true\n }\n","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" cookieOptions"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" maxAge"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C"},"children":[{"type":"text","value":" 60"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" *"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C"},"children":[{"type":"text","value":" 60"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" *"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C"},"children":[{"type":"text","value":" 8"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" sameSite"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"lax"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" secure"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Options for cookies used to share tokens between server and client, refer to "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/api/composables/use-cookie#options","rel":["nofollow"]},"children":[{"type":"text","value":"cookieOptions"}]},{"type":"text","value":" for available settings. Please note that the lifetime set here does not determine the Supabase session lifetime."}]},{"type":"element","tag":"h3","props":{"id":"clientoptions"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"clientOptions"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":" clientOptions: {\n auth: {\n flowType: 'pkce',\n detectSessionInUrl: true,\n persistSession: true,\n autoRefreshToken: true\n },\n }\n","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" clientOptions"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" auth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" flowType"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"pkce"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" detectSessionInUrl"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" persistSession"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" autoRefreshToken"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Supabase client options "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/initializing#parameters","rel":["nofollow"]},"children":[{"type":"text","value":"available here"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"versions"},"children":[{"type":"text","value":"Versions"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"0.1.x"}]},{"type":"text","value":" versions are wrapped around "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"supabase-js v1"}]},{"type":"text","value":"."}]},{"type":"element","tag":"br","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"1.x.x"}]},{"type":"text","value":" versions are wrapped around "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"supabase-js v2"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"demo"},"children":[{"type":"text","value":"Demo"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A live demo is made for see this module in action on "},{"type":"element","tag":"a","props":{"href":"https://n3-supabase.netlify.app","rel":["nofollow"]},"children":[{"type":"text","value":"n3-supabase.netlify.app"}]},{"type":"text","value":", read more in the "},{"type":"element","tag":"a","props":{"href":"/demo"},"children":[{"type":"text","value":"demo section"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://n3-supabase.netlify.app","rel":["nofollow"]},"children":[{"type":"element","tag":"img","props":{"alt":"Supabase demo with Nuxt 3","src":"https://user-images.githubusercontent.com/904724/160422461-8f87500a-8dec-4413-86b2-ba04e1b2d17b.png"},"children":[]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Also checkout the "},{"type":"element","tag":"a","props":{"href":"https://www.youtube.com/watch?v=jIyiRT6zT8Q","rel":["nofollow"]},"children":[{"type":"text","value":"YouTube video"}]},{"type":"text","value":" about its usage in a live demo."}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"installation","depth":2,"text":"Installation"},{"id":"options","depth":2,"text":"Options","children":[{"id":"url","depth":3,"text":"url"},{"id":"key","depth":3,"text":"key"},{"id":"servicekey","depth":3,"text":"serviceKey"},{"id":"redirect","depth":3,"text":"redirect"},{"id":"redirectoptions","depth":3,"text":"redirectOptions"},{"id":"cookiename","depth":3,"text":"cookieName"},{"id":"cookieoptions","depth":3,"text":"cookieOptions"},{"id":"clientoptions","depth":3,"text":"clientOptions"}]},{"id":"versions","depth":2,"text":"Versions"},{"id":"demo","depth":2,"text":"Demo"}]}},"_type":"markdown","_id":"content:2.get-started.md","_source":"content","_file":"2.get-started.md","_extension":"md"},{"_path":"/authentication","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Authentication","description":"Authenticate your user thanks to the PKCE Oauth protocol that enables secure exchange of refresh and access tokens between an application and the authorization server","icon":"heroicons:lock-closed","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"With the default options, the module requires a log-in page and a confirm page to handle the "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/guides/resources/glossary#pkce","rel":["nofollow"]},"children":[{"type":"text","value":"PKCE authorization code flow"}]},{"type":"text","value":". If you want to understand how it works under the hood, you can read this "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/guides/auth/server-side-rendering#understanding-the-authentication-flow","rel":["nofollow"]},"children":[{"type":"text","value":"section"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"All you need to do is to create a "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"login.vue"}]},{"type":"text","value":" and "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"confirm.vue"}]},{"type":"text","value":" page in the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"pages"}]},{"type":"text","value":" folder."}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"For advanced users who want to implement the auth behaviour themselves, you can disable or override the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirect"},"children":[{"type":"text","value":"redirect options"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"h2","props":{"id":"log-in-page-login"},"children":[{"type":"text","value":"Log-in page - "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"/login"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Each time a user is trying to access a page that needs authentication, he will automatically be redirected to the configured log in page. If you want to allow access to \"public\" page, you just need to add them in the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"exclude"}]},{"type":"text","value":" redirect option."}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-exclamation-triangle-20-solid","color":"amber"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Ensure to activate the authentication providers you want in the Supabase Dashboard under "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"Authentication -> Providers"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The log-in page initiates the log-in method(s) you choose from the "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/auth-signinwithpassword","rel":["nofollow"]},"children":[{"type":"text","value":"available authorization methods"}]},{"type":"text","value":" provided by Supabase, it could looks like:"}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n\n","filename":"pages/login.vue","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" supabase "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" email "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" ref"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"''"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" signInWithOtp "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"auth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"signInWithOtp"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" email"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" email"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" options"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" emailRedirectTo"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"http://localhost:3000/confirm"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"console"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"log"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":13},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":14},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":15},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"template"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":16},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" <"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"div"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":17},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" <"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"button"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" @"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"click"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"signInWithOtp"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":18},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" Sign In with E-Mail\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":19},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" \n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":20},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" <"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"input\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":21},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" v-model"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"email"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":22},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" type"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"email"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":23},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" />\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":24},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" \n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":25},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Once the authorization flow is triggered using the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"auth"}]},{"type":"text","value":" wrapper of the "},{"type":"element","tag":"a","props":{"href":"/usage/composables/usesupabaseclient"},"children":[{"type":"text","value":"useSupabaseClient"}]},{"type":"text","value":" composable, the session management is handled automatically and the user will be redirected to the page you specify in the redirect option ("},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"/confirm"}]},{"type":"text","value":" by default)."}]},{"type":"element","tag":"h2","props":{"id":"confirm-page-confirm"},"children":[{"type":"text","value":"Confirm page - "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"/confirm"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The confirmation page receives the supabase callback. From there you can check the user value and redirect to the appropriate page."}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The redirect URL must be configured in your Supabase dashboard under "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"Authentication -> URL Configuration -> Redirect URLs"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n\n\n","filename":"pages/confirm.vue","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"watch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"(user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Redirect to protected page\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" navigateTo"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"},"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" immediate"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"template"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":13},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" <"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"div"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"Waiting for login..."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":14},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"h3","props":{"id":"redirect-path"},"children":[{"type":"text","value":"Redirect path"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can easily handle redirection to the initial requested route after login."}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You must enable the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"cookieRedirect"}]},{"type":"text","value":" option of the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"redirectOptions"}]},{"type":"text","value":" to allow cookie storage and take benefit of this feature."}]}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n\n","filename":"pages/confirm.vue","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"// Get redirect path from cookies\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" config "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useRuntimeConfig"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"public"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"cookieName\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" redirectPath "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useCookie"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"`${"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"cookieName"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"-redirect-path"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"`"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"watch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"(user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Clear cookie\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useCookie"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"`${"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"cookieName"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"-redirect-path"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"`"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" null\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Redirect to path\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":13},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" navigateTo"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"redirectPath"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ||"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":";"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" \n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":14},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":15},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"},"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" immediate"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":16},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":17},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"template"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":18},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" <"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"div"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"Waiting for login..."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":19},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"log-in-page-login","depth":2,"text":"Log-in page - /login"},{"id":"confirm-page-confirm","depth":2,"text":"Confirm page - /confirm","children":[{"id":"redirect-path","depth":3,"text":"Redirect path"}]}]}},"_type":"markdown","_id":"content:3.authentication.md","_source":"content","_file":"3.authentication.md","_extension":"md"},{"_path":"/usage/_dir","_dir":"usage","_draft":false,"_partial":true,"_locale":"","title":"Usage","icon":"heroicons:book-open","_id":"content:4.usage:_dir.yml","_type":"yaml","_source":"content","_file":"4.usage/_dir.yml","_extension":"yml"},{"_path":"/usage/composables/_dir","_dir":"composables","_draft":false,"_partial":true,"_locale":"","title":"Vue composables","_id":"content:4.usage:composables:_dir.yml","_type":"yaml","_source":"content","_file":"4.usage/composables/_dir.yml","_extension":"yml"},{"_path":"/usage/composables/usesupabaseclient","_dir":"composables","_draft":false,"_partial":false,"_locale":"","title":"useSupabaseClient","description":"Make requests to the Supabase API with the useSupabaseClient composable","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/composables","rel":["nofollow"]},"children":[{"type":"text","value":"Auto-import"}]},{"type":"text","value":" your client inside your vue files."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This composable is using "},{"type":"element","tag":"a","props":{"href":"https://github.com/supabase/supabase-js/","rel":["nofollow"]},"children":[{"type":"text","value":"supabase-js"}]},{"type":"text","value":" under the hood, it gives access to the "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/initializing","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase client"}]},{"type":"text","value":"."}]},{"type":"element","tag":"blockquote","props":{},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The client is initialized with the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"SUPABASE_KEY"}]},{"type":"text","value":" you must have in your "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file. It establishes the connection with the database and make use of user JWT to apply "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security","rel":["nofollow"]},"children":[{"type":"text","value":"RLS Policies"}]},{"type":"text","value":" implemented in Supabase. If you want to bypass policies, you can use the "},{"type":"element","tag":"a","props":{"href":"/usage/services/serversupabaseservicerole"},"children":[{"type":"text","value":"serverSupabaseServiceRole"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"h2","props":{"id":"authentication"},"children":[{"type":"text","value":"Authentication"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The useSupabaseClient composable is providing all methods to manage authorization under "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"useSupabaseClient().auth"}]},{"type":"text","value":". For more details please see the "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/auth-api","rel":["nofollow"]},"children":[{"type":"text","value":"supabase-js auth documentation"}]},{"type":"text","value":". Here is an example for signing in and out:"}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If you want a full explanation on how to handle the authentication process, please read this "},{"type":"element","tag":"a","props":{"href":"/get-started#handle-authentication"},"children":[{"type":"text","value":"section"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"script setup lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" supabase "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" signInWithOAuth "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"auth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"signInWithOAuth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" provider"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"github"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" options"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" redirectTo"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"http://localhost:3000/confirm"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"console"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"log"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":13},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":14},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" signOut "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":15},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"auth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"signOut"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":16},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"console"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"log"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":17},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":18},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Please also take a look at "},{"type":"element","tag":"a","props":{"href":"/get-started"},"children":[{"type":"text","value":"Get Started"}]},{"type":"text","value":" for the authorization flow."}]},{"type":"element","tag":"h2","props":{"id":"database-request"},"children":[{"type":"text","value":"Database Request"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Please check "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/select","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase"}]},{"type":"text","value":" documentation to fully use the power of Supabase client."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Here is an example of a fetch using the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"select"}]},{"type":"text","value":" method with Nuxt 3 "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/data-fetching#useasyncdata","rel":["nofollow"]},"children":[{"type":"text","value":"useAsyncData"}]},{"type":"text","value":" composable."}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" restaurant "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useAsyncData"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"restaurant"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"restaurants"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"select"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"name, location"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"eq"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"name"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"My Restaurant Name"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"single"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"realtime"},"children":[{"type":"text","value":"Realtime"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Based on "},{"type":"element","tag":"a","props":{"href":"https://github.com/supabase/realtime","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase Realtime"}]},{"type":"text","value":", listen to changes in your PostgreSQL Database and broadcasts them over WebSockets."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"To enable it, make sure you have turned on the "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/guides/api#realtime-api","rel":["nofollow"]},"children":[{"type":"text","value":"Realtime API"}]},{"type":"text","value":" for your table."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then, listen to changes directly in your vue page / component:"}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" type"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" RealtimeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"@supabase/supabase-js"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"let"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" realtimeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" RealtimeChannel\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"// Fetch collaborators and get the refresh method provided by useAsyncData\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" collaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" refresh"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" refreshCollaborators "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useAsyncData"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"collaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"collaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"select"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"name"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":13},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":14},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"// Once page is mounted, listen to changes on the `collaborators` table and refresh collaborators when receiving event\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":15},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"onMounted"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":16},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Real time listener for new workouts\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":17},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" realtimeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"channel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"public:collaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"on"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"(\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":18},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"postgres_changes"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":19},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"*"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" schema"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"public"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" table"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"collaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":20},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" refreshCollaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":21},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" )\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":22},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":23},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" realtimeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"subscribe"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":24},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":25},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":26},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Don't forget to unsubscribe when user left the page\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":27},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"onUnmounted"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":28},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"removeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"realtimeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":29},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":30},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"typescript"},"children":[{"type":"text","value":"Typescript"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can pass Database typings to the client. Check Supabase "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/release-notes#typescript-support","rel":["nofollow"]},"children":[{"type":"text","value":"documentation"}]},{"type":"text","value":" for further information."}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" type"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" Database"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"~/types"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":"Database"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"authentication","depth":2,"text":"Authentication"},{"id":"database-request","depth":2,"text":"Database Request"},{"id":"realtime","depth":2,"text":"Realtime"},{"id":"typescript","depth":2,"text":"Typescript"}]}},"_type":"markdown","_id":"content:4.usage:composables:useSupabaseClient.md","_source":"content","_file":"4.usage/composables/useSupabaseClient.md","_extension":"md"},{"_path":"/usage/composables/usesupabaseuser","_dir":"composables","_draft":false,"_partial":false,"_locale":"","title":"useSupabaseUser","description":"Auto import and use your Supabase user with the useSupabaseUser composable","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Once logged in, you can "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/composables","rel":["nofollow"]},"children":[{"type":"text","value":"auto-import"}]},{"type":"text","value":" your user everywhere inside your vue files."}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"auth-middleware"},"children":[{"type":"text","value":"Auth middleware"}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"By default, the module is implementing a redirect middleware. All pages of your application are automatically redirected to the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"login"}]},{"type":"text","value":" page. However, you can allow redirection to \"public\" pages by setting the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"exclude"}]},{"type":"text","value":" redirect option."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirect"},"children":[{"type":"text","value":"redirect"}]},{"type":"text","value":" option is disabled, you can protect your authenticated routes by creating a custom middleware in your project, here is an example:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"export default defineNuxtRouteMiddleware((to, _from) => {\n const user = useSupabaseUser()\n\n if (!user.value) {\n return navigateTo('/login')\n }\n})\n","filename":"middleware/auth.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" defineNuxtRouteMiddleware"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"to"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" _from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"!"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" navigateTo"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/login"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then you can reference your middleware in your page with:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"definePageMeta({\n middleware: 'auth'\n})\n","filename":"pages/dashboard.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"definePageMeta"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" middleware"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"auth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Learn more about "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/middleware","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt middleware"}]},{"type":"text","value":" and "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/pages#page-metadata","rel":["nofollow"]},"children":[{"type":"text","value":"definePageMeta"}]},{"type":"text","value":"."}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"auth-middleware","depth":2,"text":"Auth middleware"}]}},"_type":"markdown","_id":"content:4.usage:composables:useSupabaseUser.md","_source":"content","_file":"4.usage/composables/useSupabaseUser.md","_extension":"md"},{"_path":"/usage/services/_dir","_dir":"services","_draft":false,"_partial":true,"_locale":"","title":"Server services","_id":"content:4.usage:services:_dir.yml","_type":"yaml","_source":"content","_file":"4.usage/services/_dir.yml","_extension":"yml"},{"_path":"/usage/services/serversupabaseclient","_dir":"services","_draft":false,"_partial":false,"_locale":"","title":"serverSupabaseClient","description":"Make requests to the Supabase API on server side with the serverSupabaseClient service","body":{"type":"root","children":[{"type":"element","tag":"callout","props":{"color":"amber","icon":"i-heroicons-exclamation-triangle-20-solid"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This section assumes you're familiar with "},{"type":"element","tag":"a","props":{"href":"https://v3.nuxtjs.org/guide/concepts/server-engine","rel":["nofollow"]},"children":[{"type":"text","value":"Nitro"}]},{"type":"text","value":", the server engine powered by Nuxt."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function is working similary as the "},{"type":"element","tag":"a","props":{"href":"/usage/composables/usesupabaseclient"},"children":[{"type":"text","value":"useSupabaseClient"}]},{"type":"text","value":" composable but is designed to be used in "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/server#server-routes","rel":["nofollow"]},"children":[{"type":"text","value":"server routes"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Define your server route and just import the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serverSupabaseClient"}]},{"type":"text","value":" from "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"text","value":". Be careful, "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serverSupabaseClient"}]},{"type":"text","value":" is returning a promise."}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"import { serverSupabaseClient } from '#supabase/server'\n\nexport default eventHandler(async (event) => {\n const client = await serverSupabaseClient(event)\n\n const { data } = await client.from('libraries').select('*')\n\n return { libraries: data }\n})\n","filename":"server/api/libraries.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" serverSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" eventHandler"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" serverSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"libraries"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"select"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"*"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" libraries"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then call your API route from any vue file:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"const fetchLibrary = async () => {\n const { libraries } = await $fetch('/api/libraries')\n}\n","filename":"pages/index.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" fetchLibrary "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" libraries"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" $fetch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/api/libraries"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Be careful, if you want to call this route on SSR, please read this "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/data-fetching#isomorphic-fetch-and-fetch","rel":["nofollow"]},"children":[{"type":"text","value":"section"}]},{"type":"text","value":", you must send your browser cookies including your supabase token."}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"const { data: { libraries }} = await useFetch('/api/libraries', {\n headers: useRequestHeaders(['cookie'])\n})\n","filename":"pages/index.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" libraries "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useFetch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/api/libraries"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" headers"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useRequestHeaders"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"(["}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"cookie"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"])\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:4.usage:services:1.serverSupabaseClient.md","_source":"content","_file":"4.usage/services/1.serverSupabaseClient.md","_extension":"md"},{"_path":"/usage/services/serversupabaseservicerole","_dir":"services","_draft":false,"_partial":false,"_locale":"","title":"serverServiceRole","description":"Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service","navigation":{"title":"serverSupabaseServiceRole"},"body":{"type":"root","children":[{"type":"element","tag":"callout","props":{"color":"amber","icon":"i-heroicons-exclamation-triangle-20-solid"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This section assumes you're familiar with "},{"type":"element","tag":"a","props":{"href":"https://v3.nuxtjs.org/guide/concepts/server-engine","rel":["nofollow"]},"children":[{"type":"text","value":"Nitro"}]},{"type":"text","value":", the server engine powered by Nuxt."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function is designed to work only in "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/server#server-routes","rel":["nofollow"]},"children":[{"type":"text","value":"server routes"}]},{"type":"text","value":", there is no vue composable equivalent."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"It works similary as the "},{"type":"element","tag":"a","props":{"href":"/usage/services/serversupabaseclient"},"children":[{"type":"text","value":"serverSupabaseClient"}]},{"type":"text","value":" but it provides a client with super admin rights that can bypass your "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/guides/auth/row-level-security","rel":["nofollow"]},"children":[{"type":"text","value":"Row Level Security"}]},{"type":"text","value":"."}]},{"type":"element","tag":"blockquote","props":{},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The client is initialized with the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"SUPABASE_SERVICE_KEY"}]},{"type":"text","value":" you must have in your "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file. Checkout the doc if you want to know more about "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts#jwts-in-supabase","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase keys"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Define your server route and just import the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serverSupabaseServiceRole"}]},{"type":"text","value":" from "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"text","value":"."}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"import { serverSupabaseServiceRole } from '#supabase/server'\n\nexport default eventHandler(async (event) => {\n const client = serverSupabaseServiceRole(event)\n\n const { data } = await client.from('rls-protected-table').select()\n\n return { sensitiveData: data }\n})\n","filename":"server/api/bypass-rls.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" serverSupabaseServiceRole"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" eventHandler"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" serverSupabaseServiceRole"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"rls-protected-table"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"select"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" sensitiveData"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then call your API route from any vue file:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"const fetchSensitiveData = async () => {\n const { sensitiveData } = await useFetch('/api/bypass-rls')\n}\n","filename":"pages/index.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" fetchSensitiveData "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" sensitiveData"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useFetch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/api/bypass-rls"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]}]}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:4.usage:services:2.serverSupabaseServiceRole.md","_source":"content","_file":"4.usage/services/2.serverSupabaseServiceRole.md","_extension":"md"},{"_path":"/usage/services/serversupabaseuser","_dir":"services","_draft":false,"_partial":false,"_locale":"","title":"serverSupabaseUser","description":"Get your Supabase user from serverside with the serverSupabaseUser service","body":{"type":"root","children":[{"type":"element","tag":"callout","props":{"color":"amber","icon":"i-heroicons-exclamation-triangle-20-solid"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This section assumes you're familiar with "},{"type":"element","tag":"a","props":{"href":"https://v3.nuxtjs.org/guide/concepts/server-engine","rel":["nofollow"]},"children":[{"type":"text","value":"Nitro"}]},{"type":"text","value":", the server engine powered by Nuxt."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function is similar to the "},{"type":"element","tag":"a","props":{"href":"/usage/composables/usesupabaseuser"},"children":[{"type":"text","value":"useSupabaseUser"}]},{"type":"text","value":" composable but is used in "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/server#server-routes","rel":["nofollow"]},"children":[{"type":"text","value":"server routes"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Define your server route and import the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serverSupabaseUser"}]},{"type":"text","value":" from "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"text","value":"."}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"import { serverSupabaseUser } from '#supabase/server'\n\nexport default defineEventHandler(async (event) => {\n return await serverSupabaseUser(event)\n})\n","filename":"server/api/me.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" serverSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" defineEventHandler"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" serverSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then call your api route from any vue file:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"const user = ref(null)\n\nconst fetchMe = async () => {\n user.value = await $fetch('/api/me')\n}\n","filename":"pages/index.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" ref"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"null"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" fetchMe "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" $fetch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/api/me"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Be careful, if you want to call this route on SSR, please read this "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/data-fetching#isomorphic-fetch-and-fetch","rel":["nofollow"]},"children":[{"type":"text","value":"section"}]},{"type":"text","value":", you must send your browser cookies including your supabase token."}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"const user = ref(null)\n\nconst { data } = await useFetch('/api/me', {\n headers: useRequestHeaders(['cookie'])\n})\n\nuser.value = data\n","filename":"pages/index.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" ref"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"null"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useFetch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/api/me"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" headers"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useRequestHeaders"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"(["}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"cookie"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"])\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data\n"}]}]}]}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:4.usage:services:3.serverSupabaseUser.md","_source":"content","_file":"4.usage/services/3.serverSupabaseUser.md","_extension":"md"},{"_path":"/demo","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Demo","description":"Demonstration of using Supabase with Nuxt.","icon":"heroicons:computer-desktop-20-solid","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Demonstration of using Supabase with Nuxt."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://n3-supabase.netlify.app","rel":["nofollow"]},"children":[{"type":"element","tag":"img","props":{"alt":"Supabase demo with Nuxt 3","src":"https://user-images.githubusercontent.com/904724/160422461-8f87500a-8dec-4413-86b2-ba04e1b2d17b.png"},"children":[]}]}]},{"type":"element","tag":"h2","props":{"id":"live-demo"},"children":[{"type":"text","value":"Live demo"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can play with the demo on "},{"type":"element","tag":"a","props":{"href":"https://n3-supabase.netlify.app","rel":["nofollow"]},"children":[{"type":"text","value":"n3-supabase.netlify.app"}]}]},{"type":"element","tag":"h2","props":{"id":"running-locally"},"children":[{"type":"text","value":"Running locally"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Follow the instruction in the "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/tree/main/demo","rel":["nofollow"]},"children":[{"type":"text","value":"demo Readme"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"source-code"},"children":[{"type":"text","value":"Source code"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The source code is available on Github in the "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/tree/main/demo","rel":["nofollow"]},"children":[{"type":"text","value":"demo/ directory"}]},{"type":"text","value":"."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"live-demo","depth":2,"text":"Live demo"},{"id":"running-locally","depth":2,"text":"Running locally"},{"id":"source-code","depth":2,"text":"Source code"}]}},"_type":"markdown","_id":"content:5.demo.md","_source":"content","_file":"5.demo.md","_extension":"md"},{"_path":"/changelog","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Changelog","description":"Discover the latest updates of the Supabase Module","icon":"heroicons:bookmark","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Discover the lastest updates."}]},{"type":"element","tag":"releases","props":{},"children":[]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:6.changelog.md","_source":"content","_file":"6.changelog.md","_extension":"md"},{"_path":"/roadmap","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Roadmap","description":"Discover our kaban board for the next release of the Supabase module.","icon":"heroicons:map","body":{"type":"root","children":[{"type":"element","tag":"volta-board","props":{"token":"eyJzdGF0dXNlcyI6WyJ0cmlhZ2UiLCJiYWNrbG9nIiwidG9kbyIsImluX3Byb2dyZXNzIiwiaW5fcmV2aWV3IiwiZG9uZSIsInJlbGVhc2VkIiwiY2FuY2VsbGVkIl0sImZpbHRlcnMiOnt9LCJvd25lciI6Im51eHQtbW9kdWxlcyIsIm5hbWUiOiJzdXBhYmFzZSJ9"},"children":[]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:7.roadmap.md","_source":"content","_file":"7.roadmap.md","_extension":"md"},{"_path":"/","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Nuxt Supabase - Home","description":"A supa simple wrapper around supabase-js to enable usage and integration within Nuxt.","navigation":false,"hero":{"title":"Nuxt [Supabase]{.text-primary}","description":"A supa simple wrapper around supabase-js to enable usage and integration within Nuxt.","orientation":"horizontal","links":[{"label":"Get started","icon":"i-heroicons-rocket-launch","to":"/get-started","size":"lg"},{"label":"Star on github","icon":"i-heroicons-star","color":"white","to":"https://github.com/nuxt-modules/supabase","target":"_blank","size":"lg"}],"code":"```ts\n const supabase = useSupabaseClient()\n const email = ref('')\n\n const signInWithOtp = async () => {\n await supabase.auth.signInWithOtp({\n email: email.value,\n })\n }\n```\n"},"features":{"title":"Shipped with many features","items":[{"title":"Nuxt 3 ready","icon":"i-simple-icons-nuxtdotjs","to":"https://nuxt.com","target":"_blank"},{"title":"Vue 3 composables","icon":"i-simple-icons-vuedotjs","to":"https://vuejs.org/guide/reusability/composables.html","target":"_blank"},{"title":"Supabase-js V2","icon":"i-simple-icons-supabase","to":"https://supabase.com","target":"_blank"},{"title":"Usage in API server routes","icon":"i-heroicons-server","to":"usage/services/serversupabaseclient"},{"title":"Authentication support","icon":"i-heroicons-key","to":"/authentication"},{"title":"TypeScript support","icon":"i-simple-icons-typescript","to":"https://www.typescriptlang.org","target":"_blank"}]},"_id":"content:index.yml","_type":"yaml","_source":"content","_file":"index.yml","_extension":"yml"}],"navigation":[{"title":"Get Started","_path":"/get-started","icon":"heroicons:rocket-launch"},{"title":"Authentication","_path":"/authentication","icon":"heroicons:lock-closed"},{"title":"Usage","_path":"/usage","children":[{"title":"Vue composables","_path":"/usage/composables","children":[{"title":"useSupabaseClient","_path":"/usage/composables/usesupabaseclient"},{"title":"useSupabaseUser","_path":"/usage/composables/usesupabaseuser"}]},{"title":"Server services","_path":"/usage/services","children":[{"title":"serverSupabaseClient","_path":"/usage/services/serversupabaseclient"},{"title":"serverSupabaseServiceRole","_path":"/usage/services/serversupabaseservicerole"},{"title":"serverSupabaseUser","_path":"/usage/services/serversupabaseuser"}]}],"icon":"heroicons:book-open"},{"title":"Demo","_path":"/demo","icon":"heroicons:computer-desktop-20-solid"},{"title":"Changelog","_path":"/changelog","icon":"heroicons:bookmark"},{"title":"Roadmap","_path":"/roadmap","icon":"heroicons:map"}]} \ No newline at end of file +{"generatedAt":1706281077717,"generateTime":2195,"contents":[{"_path":"/get-started","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Get Started","description":"@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.","icon":"heroicons:rocket-launch","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase","rel":["nofollow"]},"children":[{"type":"text","value":"@nuxtjs/supabase"}]},{"type":"text","value":" is a Nuxt module for first class integration with Supabase."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Checkout the "},{"type":"element","tag":"a","props":{"href":"https://v3.nuxtjs.org","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt 3"}]},{"type":"text","value":" documentation and "},{"type":"element","tag":"a","props":{"href":"https://supabase.com","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase"}]},{"type":"text","value":" to learn more."}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-exclamation-triangle-20-solid","color":"amber"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"For integrating Supabase with Nuxt 2, checkout "},{"type":"element","tag":"a","props":{"href":"https://github.com/supabase-community/nuxt-supabase","rel":["nofollow"]},"children":[{"type":"text","value":"supabase-community/nuxt-supabase"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"h2","props":{"id":"installation"},"children":[{"type":"text","value":"Installation"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Add "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"@nuxtjs/supabase"}]},{"type":"text","value":" dev dependency to your project:"}]},{"type":"element","tag":"code-group","props":{},"children":[{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"pnpm add -D @nuxtjs/supabase\n","filename":"pnpm","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":"pnpm"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" add"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" -D"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" @nuxtjs/supabase\n"}]}]}]}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"yarn add --dev @nuxtjs/supabase\n","filename":"yarn","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":"yarn"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" add"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" --dev"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" @nuxtjs/supabase\n"}]}]}]}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"npm install @nuxtjs/supabase --save-dev\n","filename":"NPM","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":"npm"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" install"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" @nuxtjs/supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" --save-dev\n"}]}]}]}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"bun add -D @nuxtjs/supabase\n","filename":"bun","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":"bun"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" add"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" -D"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":" @nuxtjs/supabase\n"}]}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Add "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"@nuxtjs/supabase"}]},{"type":"text","value":" to the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"modules"}]},{"type":"text","value":" section of "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"nuxt.config.ts"}]},{"type":"text","value":":"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"export default defineNuxtConfig({\n modules: ['@nuxtjs/supabase'],\n})\n","filename":"nuxt.config.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" modules"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" ["}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"@nuxtjs/supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"]"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Add "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"SUPABASE_URL"}]},{"type":"text","value":" and "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"SUPABASE_KEY"}]},{"type":"text","value":" to the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":".env"}]},{"type":"text","value":":"}]},{"type":"element","tag":"pre","props":{"className":"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"SUPABASE_URL=\"https://example.supabase.co\"\nSUPABASE_KEY=\"\"\n","filename":"env","language":"bash","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"SUPABASE_URL"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"https://example.supabase.co"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"SUPABASE_KEY"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\"\n"}]}]}]}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Alternatively, you can prefix the env variables with "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"NUXT_PUBLIC_"}]},{"type":"text","value":" in order to use runtimeConfig."}]}]},{"type":"element","tag":"h2","props":{"id":"options"},"children":[{"type":"text","value":"Options"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can configure the supabase module by using the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"supabase"}]},{"type":"text","value":" key in "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":":"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"export default defineNuxtConfig({\n // ...\n supabase: {\n // Options\n }\n}\n","filename":"nuxt.config.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // ...\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Options\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]}]}]},{"type":"element","tag":"h3","props":{"id":"url"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"url"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default: "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"process.env.SUPABASE_URL"}]},{"type":"text","value":" (ex: "},{"type":"element","tag":"a","props":{"href":"https://example.supabase.co","rel":["nofollow"]},"children":[{"type":"text","value":"https://example.supabase.co"}]},{"type":"text","value":")"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The unique Supabase URL which is supplied when you create a new project in your project dashboard."}]},{"type":"element","tag":"h3","props":{"id":"key"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"key"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default: "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"process.env.SUPABASE_KEY"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Supabase 'anon key', used to bypass the Supabase API gateway and interact with your Supabase database making use of user JWT to apply RLS Policies."}]},{"type":"element","tag":"h3","props":{"id":"servicekey"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serviceKey"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default: "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"process.env.SUPABASE_SERVICE_KEY"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Supabase 'service role key', has super admin rights and can bypass your Row Level Security."}]},{"type":"element","tag":"h3","props":{"id":"redirect"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"redirect"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default: "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"true"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Redirect automatically to the configured login page if a non authenticated user is trying to access a guarded. You can disable all redirects by setting this option to false."}]},{"type":"element","tag":"h3","props":{"id":"redirectoptions"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"redirectOptions"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":" redirectOptions: {\n login: '/login',\n callback: '/confirm',\n exclude: [],\n cookieRedirect: false,\n }\n","filename":"nuxt.config.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" redirectOptions"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" login"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/login"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" callback"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/confirm"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" exclude"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" []"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" cookieRedirect"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" false"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]}]}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"login"}]},{"type":"text","value":": User will be redirected to this path if not authenticated or after logout."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"callback"}]},{"type":"text","value":": This is the path the user will be redirect to after supabase login redirection. Should match configured "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"redirectTo"}]},{"type":"text","value":" option of your "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/auth-signinwithoauth","rel":["nofollow"]},"children":[{"type":"text","value":"signIn method"}]},{"type":"text","value":". Should also be configured in your Supabase dashboard under "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"Authentication -> URL Configuration -> Redirect URLs"}]},{"type":"text","value":"."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"exclude"}]},{"type":"text","value":": Routes to exclude from the redirect. "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"['/foo', '/bar/*']"}]},{"type":"text","value":" will exclude the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"foo"}]},{"type":"text","value":" page and all pages in your "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"bar"}]},{"type":"text","value":" folder."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"cookieRedirect"}]},{"type":"text","value":": Sets a cookie containing the path an unauthenticated user tried to access. The cookie can then be used on the "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/authentication#confirm-page-confirm","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"/confirm"}]}]},{"type":"text","value":" page to redirect the user to the page they previously tried to visit."}]}]},{"type":"element","tag":"h3","props":{"id":"cookiename"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"cookieName"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default: "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"sb"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Cookie name used for storing access and refresh tokens, added in front of "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"-access-token"}]},{"type":"text","value":" and "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"-refresh-token"}]},{"type":"text","value":" to form the full cookie name e.g. "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"sb-access-token"}]}]},{"type":"element","tag":"h3","props":{"id":"cookieoptions"},"children":[{"type":"text","value":"cookieOptions"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":" cookieOptions: {\n maxAge: 60 * 60 * 8,\n sameSite: 'lax',\n secure: true\n }\n","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" cookieOptions"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" maxAge"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C"},"children":[{"type":"text","value":" 60"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" *"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C"},"children":[{"type":"text","value":" 60"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" *"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C"},"children":[{"type":"text","value":" 8"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" sameSite"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"lax"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" secure"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Options for cookies used to share tokens between server and client, refer to "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/api/composables/use-cookie#options","rel":["nofollow"]},"children":[{"type":"text","value":"cookieOptions"}]},{"type":"text","value":" for available settings. Please note that the lifetime set here does not determine the Supabase session lifetime."}]},{"type":"element","tag":"h3","props":{"id":"clientoptions"},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"clientOptions"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Default:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":" clientOptions: {\n auth: {\n flowType: 'pkce',\n detectSessionInUrl: true,\n persistSession: true,\n autoRefreshToken: true\n },\n }\n","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" clientOptions"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" auth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" flowType"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"pkce"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" detectSessionInUrl"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" persistSession"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" autoRefreshToken"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Supabase client options "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/initializing#parameters","rel":["nofollow"]},"children":[{"type":"text","value":"available here"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"versions"},"children":[{"type":"text","value":"Versions"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"0.1.x"}]},{"type":"text","value":" versions are wrapped around "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"supabase-js v1"}]},{"type":"text","value":"."}]},{"type":"element","tag":"br","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"1.x.x"}]},{"type":"text","value":" versions are wrapped around "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"supabase-js v2"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"demo"},"children":[{"type":"text","value":"Demo"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A live demo is made for see this module in action on "},{"type":"element","tag":"a","props":{"href":"https://n3-supabase.netlify.app","rel":["nofollow"]},"children":[{"type":"text","value":"n3-supabase.netlify.app"}]},{"type":"text","value":", read more in the "},{"type":"element","tag":"a","props":{"href":"/demo"},"children":[{"type":"text","value":"demo section"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://n3-supabase.netlify.app","rel":["nofollow"]},"children":[{"type":"element","tag":"img","props":{"alt":"Supabase demo with Nuxt 3","src":"https://user-images.githubusercontent.com/904724/160422461-8f87500a-8dec-4413-86b2-ba04e1b2d17b.png"},"children":[]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Also checkout the "},{"type":"element","tag":"a","props":{"href":"https://www.youtube.com/watch?v=jIyiRT6zT8Q","rel":["nofollow"]},"children":[{"type":"text","value":"YouTube video"}]},{"type":"text","value":" about its usage in a live demo."}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"installation","depth":2,"text":"Installation"},{"id":"options","depth":2,"text":"Options","children":[{"id":"url","depth":3,"text":"url"},{"id":"key","depth":3,"text":"key"},{"id":"servicekey","depth":3,"text":"serviceKey"},{"id":"redirect","depth":3,"text":"redirect"},{"id":"redirectoptions","depth":3,"text":"redirectOptions"},{"id":"cookiename","depth":3,"text":"cookieName"},{"id":"cookieoptions","depth":3,"text":"cookieOptions"},{"id":"clientoptions","depth":3,"text":"clientOptions"}]},{"id":"versions","depth":2,"text":"Versions"},{"id":"demo","depth":2,"text":"Demo"}]}},"_type":"markdown","_id":"content:2.get-started.md","_source":"content","_file":"2.get-started.md","_extension":"md"},{"_path":"/authentication","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Authentication","description":"Authenticate your user thanks to the PKCE Oauth protocol that enables secure exchange of refresh and access tokens between an application and the authorization server","icon":"heroicons:lock-closed","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"With the default options, the module requires a log-in page and a confirm page to handle the "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/guides/resources/glossary#pkce","rel":["nofollow"]},"children":[{"type":"text","value":"PKCE authorization code flow"}]},{"type":"text","value":". If you want to understand how it works under the hood, you can read this "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/guides/auth/server-side-rendering#understanding-the-authentication-flow","rel":["nofollow"]},"children":[{"type":"text","value":"section"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"All you need to do is to create a "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"login.vue"}]},{"type":"text","value":" and "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"confirm.vue"}]},{"type":"text","value":" page in the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"pages"}]},{"type":"text","value":" folder."}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"For advanced users who want to implement the auth behaviour themselves, you can disable or override the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirect"},"children":[{"type":"text","value":"redirect options"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"h2","props":{"id":"log-in-page-login"},"children":[{"type":"text","value":"Log-in page - "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"/login"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Each time a user is trying to access a page that needs authentication, he will automatically be redirected to the configured log in page. If you want to allow access to \"public\" page, you just need to add them in the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"exclude"}]},{"type":"text","value":" redirect option."}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-exclamation-triangle-20-solid","color":"amber"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Ensure to activate the authentication providers you want in the Supabase Dashboard under "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"Authentication -> Providers"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The log-in page initiates the log-in method(s) you choose from the "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/auth-signinwithpassword","rel":["nofollow"]},"children":[{"type":"text","value":"available authorization methods"}]},{"type":"text","value":" provided by Supabase, it could looks like:"}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n\n","filename":"pages/login.vue","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" supabase "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" email "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" ref"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"''"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" signInWithOtp "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"auth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"signInWithOtp"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" email"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" email"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" options"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" emailRedirectTo"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"http://localhost:3000/confirm"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"console"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"log"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":13},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":14},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":15},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"template"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":16},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" <"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"div"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":17},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" <"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"button"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" @"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"click"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"signInWithOtp"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":18},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" Sign In with E-Mail\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":19},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" \n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":20},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" <"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"input\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":21},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" v-model"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"email"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":22},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" type"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"email"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":23},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" />\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":24},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" \n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":25},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Once the authorization flow is triggered using the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"auth"}]},{"type":"text","value":" wrapper of the "},{"type":"element","tag":"a","props":{"href":"/usage/composables/usesupabaseclient"},"children":[{"type":"text","value":"useSupabaseClient"}]},{"type":"text","value":" composable, the session management is handled automatically and the user will be redirected to the page you specify in the redirect option ("},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"/confirm"}]},{"type":"text","value":" by default)."}]},{"type":"element","tag":"h2","props":{"id":"confirm-page-confirm"},"children":[{"type":"text","value":"Confirm page - "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"/confirm"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The confirmation page receives the supabase callback. From there you can check the user value and redirect to the appropriate page."}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The redirect URL must be configured in your Supabase dashboard under "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"Authentication -> URL Configuration -> Redirect URLs"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n\n\n","filename":"pages/confirm.vue","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"watch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"(user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Redirect to protected page\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" navigateTo"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"},"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" immediate"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"template"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":13},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" <"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"div"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"Waiting for login..."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":14},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"h3","props":{"id":"redirect-path"},"children":[{"type":"text","value":"Redirect path"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can easily handle redirection to the initial requested route after login."}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You must enable the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"cookieRedirect"}]},{"type":"text","value":" option of the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"redirectOptions"}]},{"type":"text","value":" to allow cookie storage and take benefit of this feature."}]}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n\n","filename":"pages/confirm.vue","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"// Get redirect path from cookies\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" config "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useRuntimeConfig"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"public"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"cookieName\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" redirectPath "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useCookie"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"`${"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"cookieName"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"-redirect-path"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"`"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"watch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"(user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Clear cookie\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useCookie"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"`${"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"cookieName"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"-redirect-path"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"`"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" null\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Redirect to path\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":13},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" navigateTo"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"redirectPath"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ||"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":";"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" \n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":14},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":15},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"},"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" immediate"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC"},"children":[{"type":"text","value":" true"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":16},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":17},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"template"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":18},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" <"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"div"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"Waiting for login..."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":19},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"log-in-page-login","depth":2,"text":"Log-in page - /login"},{"id":"confirm-page-confirm","depth":2,"text":"Confirm page - /confirm","children":[{"id":"redirect-path","depth":3,"text":"Redirect path"}]}]}},"_type":"markdown","_id":"content:3.authentication.md","_source":"content","_file":"3.authentication.md","_extension":"md"},{"_path":"/usage/_dir","_dir":"usage","_draft":false,"_partial":true,"_locale":"","title":"Usage","icon":"heroicons:book-open","_id":"content:4.usage:_dir.yml","_type":"yaml","_source":"content","_file":"4.usage/_dir.yml","_extension":"yml"},{"_path":"/usage/composables/_dir","_dir":"composables","_draft":false,"_partial":true,"_locale":"","title":"Vue composables","_id":"content:4.usage:composables:_dir.yml","_type":"yaml","_source":"content","_file":"4.usage/composables/_dir.yml","_extension":"yml"},{"_path":"/usage/composables/usesupabaseclient","_dir":"composables","_draft":false,"_partial":false,"_locale":"","title":"useSupabaseClient","description":"Make requests to the Supabase API with the useSupabaseClient composable","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/composables","rel":["nofollow"]},"children":[{"type":"text","value":"Auto-import"}]},{"type":"text","value":" your client inside your vue files."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This composable is using "},{"type":"element","tag":"a","props":{"href":"https://github.com/supabase/supabase-js/","rel":["nofollow"]},"children":[{"type":"text","value":"supabase-js"}]},{"type":"text","value":" under the hood, it gives access to the "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/initializing","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase client"}]},{"type":"text","value":"."}]},{"type":"element","tag":"blockquote","props":{},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The client is initialized with the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"SUPABASE_KEY"}]},{"type":"text","value":" you must have in your "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file. It establishes the connection with the database and make use of user JWT to apply "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security","rel":["nofollow"]},"children":[{"type":"text","value":"RLS Policies"}]},{"type":"text","value":" implemented in Supabase. If you want to bypass policies, you can use the "},{"type":"element","tag":"a","props":{"href":"/usage/services/serversupabaseservicerole"},"children":[{"type":"text","value":"serverSupabaseServiceRole"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"h2","props":{"id":"authentication"},"children":[{"type":"text","value":"Authentication"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The useSupabaseClient composable is providing all methods to manage authorization under "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"useSupabaseClient().auth"}]},{"type":"text","value":". For more details please see the "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/auth-api","rel":["nofollow"]},"children":[{"type":"text","value":"supabase-js auth documentation"}]},{"type":"text","value":". Here is an example for signing in and out:"}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If you want a full explanation on how to handle the authentication process, please read this "},{"type":"element","tag":"a","props":{"href":"/get-started#handle-authentication"},"children":[{"type":"text","value":"section"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"script setup lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" supabase "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" signInWithOAuth "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"auth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"signInWithOAuth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" provider"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"github"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" options"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" redirectTo"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"http://localhost:3000/confirm"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"console"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"log"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":13},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":14},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" signOut "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":15},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" supabase"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"auth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"signOut"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":16},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"console"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"log"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"error"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":17},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":18},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Please also take a look at "},{"type":"element","tag":"a","props":{"href":"/get-started"},"children":[{"type":"text","value":"Get Started"}]},{"type":"text","value":" for the authorization flow."}]},{"type":"element","tag":"h2","props":{"id":"database-request"},"children":[{"type":"text","value":"Database Request"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Please check "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/select","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase"}]},{"type":"text","value":" documentation to fully use the power of Supabase client."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Here is an example of a fetch using the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"select"}]},{"type":"text","value":" method with Nuxt 3 "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/data-fetching#useasyncdata","rel":["nofollow"]},"children":[{"type":"text","value":"useAsyncData"}]},{"type":"text","value":" composable."}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" restaurant "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useAsyncData"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"restaurant"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"restaurants"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"select"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"name, location"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"eq"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"name"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"My Restaurant Name"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"single"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"realtime"},"children":[{"type":"text","value":"Realtime"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Based on "},{"type":"element","tag":"a","props":{"href":"https://github.com/supabase/realtime","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase Realtime"}]},{"type":"text","value":", listen to changes in your PostgreSQL Database and broadcasts them over WebSockets."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"To enable it, make sure you have turned on the "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/guides/api#realtime-api","rel":["nofollow"]},"children":[{"type":"text","value":"Realtime API"}]},{"type":"text","value":" for your table."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then, listen to changes directly in your vue page / component:"}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" type"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" RealtimeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"@supabase/supabase-js"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"let"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" realtimeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":" RealtimeChannel\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"// Fetch collaborators and get the refresh method provided by useAsyncData\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" collaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" refresh"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" refreshCollaborators "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useAsyncData"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"collaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"collaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"select"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"name"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":13},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":14},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"// Once page is mounted, listen to changes on the `collaborators` table and refresh collaborators when receiving event\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":15},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"onMounted"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":16},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Real time listener for new workouts\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":17},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" realtimeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"channel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"public:collaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"on"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"(\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":18},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"postgres_changes"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":19},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"*"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" schema"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"public"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" table"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"collaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":20},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" refreshCollaborators"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":21},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" )\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":22},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":23},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" realtimeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"subscribe"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":24},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":25},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":26},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" // Don't forget to unsubscribe when user left the page\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":27},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"onUnmounted"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":28},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"removeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"realtimeChannel"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":29},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":30},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"typescript"},"children":[{"type":"text","value":"Typescript"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can pass Database typings to the client. Check Supabase "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/release-notes#typescript-support","rel":["nofollow"]},"children":[{"type":"text","value":"documentation"}]},{"type":"text","value":" for further information."}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" lang"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"ts"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\""}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" type"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" Database"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"~/types"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B"},"children":[{"type":"text","value":"Database"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"authentication","depth":2,"text":"Authentication"},{"id":"database-request","depth":2,"text":"Database Request"},{"id":"realtime","depth":2,"text":"Realtime"},{"id":"typescript","depth":2,"text":"Typescript"}]}},"_type":"markdown","_id":"content:4.usage:composables:useSupabaseClient.md","_source":"content","_file":"4.usage/composables/useSupabaseClient.md","_extension":"md"},{"_path":"/usage/composables/usesupabaseuser","_dir":"composables","_draft":false,"_partial":false,"_locale":"","title":"useSupabaseUser","description":"Auto import and use your Supabase user with the useSupabaseUser composable","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Once logged in, you can "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/composables","rel":["nofollow"]},"children":[{"type":"text","value":"auto-import"}]},{"type":"text","value":" your user everywhere inside your vue files."}]},{"type":"element","tag":"pre","props":{"className":"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"\n","language":"vue","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"<"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"script"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" setup"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":">\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"\n"}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"auth-middleware"},"children":[{"type":"text","value":"Auth middleware"}]},{"type":"element","tag":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"By default, the module is implementing a redirect middleware. All pages of your application are automatically redirected to the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"login"}]},{"type":"text","value":" page. However, you can allow redirection to \"public\" pages by setting the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"exclude"}]},{"type":"text","value":" redirect option."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirect"},"children":[{"type":"text","value":"redirect"}]},{"type":"text","value":" option is disabled, you can protect your authenticated routes by creating a custom middleware in your project, here is an example:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"export default defineNuxtRouteMiddleware((to, _from) => {\n const user = useSupabaseUser()\n\n if (!user.value) {\n return navigateTo('/login')\n }\n})\n","filename":"middleware/auth.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" defineNuxtRouteMiddleware"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"to"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" _from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" if"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"!"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":") "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" navigateTo"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/login"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then you can reference your middleware in your page with:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"definePageMeta({\n middleware: 'auth'\n})\n","filename":"pages/dashboard.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"definePageMeta"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"{\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" middleware"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"auth"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Learn more about "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/middleware","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt middleware"}]},{"type":"text","value":" and "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/pages#page-metadata","rel":["nofollow"]},"children":[{"type":"text","value":"definePageMeta"}]},{"type":"text","value":"."}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"auth-middleware","depth":2,"text":"Auth middleware"}]}},"_type":"markdown","_id":"content:4.usage:composables:useSupabaseUser.md","_source":"content","_file":"4.usage/composables/useSupabaseUser.md","_extension":"md"},{"_path":"/usage/services/_dir","_dir":"services","_draft":false,"_partial":true,"_locale":"","title":"Server services","_id":"content:4.usage:services:_dir.yml","_type":"yaml","_source":"content","_file":"4.usage/services/_dir.yml","_extension":"yml"},{"_path":"/usage/services/serversupabaseclient","_dir":"services","_draft":false,"_partial":false,"_locale":"","title":"serverSupabaseClient","description":"Make requests to the Supabase API on server side with the serverSupabaseClient service","body":{"type":"root","children":[{"type":"element","tag":"callout","props":{"color":"amber","icon":"i-heroicons-exclamation-triangle-20-solid"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This section assumes you're familiar with "},{"type":"element","tag":"a","props":{"href":"https://v3.nuxtjs.org/guide/concepts/server-engine","rel":["nofollow"]},"children":[{"type":"text","value":"Nitro"}]},{"type":"text","value":", the server engine powered by Nuxt."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function is working similary as the "},{"type":"element","tag":"a","props":{"href":"/usage/composables/usesupabaseclient"},"children":[{"type":"text","value":"useSupabaseClient"}]},{"type":"text","value":" composable but is designed to be used in "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/server#server-routes","rel":["nofollow"]},"children":[{"type":"text","value":"server routes"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Define your server route and just import the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serverSupabaseClient"}]},{"type":"text","value":" from "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"text","value":". Be careful, "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serverSupabaseClient"}]},{"type":"text","value":" is returning a promise."}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"import { serverSupabaseClient } from '#supabase/server'\n\nexport default eventHandler(async (event) => {\n const client = await serverSupabaseClient(event)\n\n const { data } = await client.from('libraries').select('*')\n\n return { libraries: data }\n})\n","filename":"server/api/libraries.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" serverSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" eventHandler"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" serverSupabaseClient"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"libraries"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"select"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"*"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" libraries"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then call your API route from any vue file:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"const fetchLibrary = async () => {\n const { libraries } = await $fetch('/api/libraries')\n}\n","filename":"pages/index.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" fetchLibrary "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" libraries"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" $fetch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/api/libraries"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Be careful, if you want to call this route on SSR, please read this "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/data-fetching#isomorphic-fetch-and-fetch","rel":["nofollow"]},"children":[{"type":"text","value":"section"}]},{"type":"text","value":", you must send your browser cookies including your supabase token."}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"const { data: { libraries }} = await useFetch('/api/libraries', {\n headers: useRequestHeaders(['cookie'])\n})\n","filename":"pages/index.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" libraries "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useFetch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/api/libraries"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" headers"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useRequestHeaders"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"(["}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"cookie"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"])\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:4.usage:services:1.serverSupabaseClient.md","_source":"content","_file":"4.usage/services/1.serverSupabaseClient.md","_extension":"md"},{"_path":"/usage/services/serversupabaseservicerole","_dir":"services","_draft":false,"_partial":false,"_locale":"","title":"serverServiceRole","description":"Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service","navigation":{"title":"serverSupabaseServiceRole"},"body":{"type":"root","children":[{"type":"element","tag":"callout","props":{"color":"amber","icon":"i-heroicons-exclamation-triangle-20-solid"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This section assumes you're familiar with "},{"type":"element","tag":"a","props":{"href":"https://v3.nuxtjs.org/guide/concepts/server-engine","rel":["nofollow"]},"children":[{"type":"text","value":"Nitro"}]},{"type":"text","value":", the server engine powered by Nuxt."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function is designed to work only in "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/server#server-routes","rel":["nofollow"]},"children":[{"type":"text","value":"server routes"}]},{"type":"text","value":", there is no vue composable equivalent."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"It works similary as the "},{"type":"element","tag":"a","props":{"href":"/usage/services/serversupabaseclient"},"children":[{"type":"text","value":"serverSupabaseClient"}]},{"type":"text","value":" but it provides a client with super admin rights that can bypass your "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/guides/auth/row-level-security","rel":["nofollow"]},"children":[{"type":"text","value":"Row Level Security"}]},{"type":"text","value":"."}]},{"type":"element","tag":"blockquote","props":{},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The client is initialized with the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"SUPABASE_SERVICE_KEY"}]},{"type":"text","value":" you must have in your "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file. Checkout the doc if you want to know more about "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts#jwts-in-supabase","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase keys"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Define your server route and just import the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serverSupabaseServiceRole"}]},{"type":"text","value":" from "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"text","value":"."}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"import { serverSupabaseServiceRole } from '#supabase/server'\n\nexport default eventHandler(async (event) => {\n const client = serverSupabaseServiceRole(event)\n\n const { data } = await client.from('rls-protected-table').select()\n\n return { sensitiveData: data }\n})\n","filename":"server/api/bypass-rls.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" serverSupabaseServiceRole"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" eventHandler"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" serverSupabaseServiceRole"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" client"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"rls-protected-table"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":"select"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"()\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" sensitiveData"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then call your API route from any vue file:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"const fetchSensitiveData = async () => {\n const { sensitiveData } = await useFetch('/api/bypass-rls')\n}\n","filename":"pages/index.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" fetchSensitiveData "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" sensitiveData"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useFetch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/api/bypass-rls"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]}]}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:4.usage:services:2.serverSupabaseServiceRole.md","_source":"content","_file":"4.usage/services/2.serverSupabaseServiceRole.md","_extension":"md"},{"_path":"/usage/services/serversupabaseuser","_dir":"services","_draft":false,"_partial":false,"_locale":"","title":"serverSupabaseUser","description":"Get your Supabase user from serverside with the serverSupabaseUser service","body":{"type":"root","children":[{"type":"element","tag":"callout","props":{"color":"amber","icon":"i-heroicons-exclamation-triangle-20-solid"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This section assumes you're familiar with "},{"type":"element","tag":"a","props":{"href":"https://v3.nuxtjs.org/guide/concepts/server-engine","rel":["nofollow"]},"children":[{"type":"text","value":"Nitro"}]},{"type":"text","value":", the server engine powered by Nuxt."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function is similar to the "},{"type":"element","tag":"a","props":{"href":"/usage/composables/usesupabaseuser"},"children":[{"type":"text","value":"useSupabaseUser"}]},{"type":"text","value":" composable but is used in "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/guide/directory-structure/server#server-routes","rel":["nofollow"]},"children":[{"type":"text","value":"server routes"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Define your server route and import the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serverSupabaseUser"}]},{"type":"text","value":" from "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"text","value":"."}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"import { serverSupabaseUser } from '#supabase/server'\n\nexport default defineEventHandler(async (event) => {\n return await serverSupabaseUser(event)\n})\n","filename":"server/api/me.ts","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" serverSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" from"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" '"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"#supabase/server"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" default"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" defineEventHandler"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":")"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" return"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" serverSupabaseUser"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"event"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Then call your api route from any vue file:"}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"const user = ref(null)\n\nconst fetchMe = async () => {\n user.value = await $fetch('/api/me')\n}\n","filename":"pages/index.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" ref"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"null"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" fetchMe "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" async"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ()"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":" =>"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" $fetch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/api/me"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}\n"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Be careful, if you want to call this route on SSR, please read this "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/docs/getting-started/data-fetching#isomorphic-fetch-and-fetch","rel":["nofollow"]},"children":[{"type":"text","value":"section"}]},{"type":"text","value":", you must send your browser cookies including your supabase token."}]},{"type":"element","tag":"pre","props":{"className":"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","code":"const user = ref(null)\n\nconst { data } = await useFetch('/api/me', {\n headers: useRequestHeaders(['cookie'])\n})\n\nuser.value = data\n","filename":"pages/index.vue","language":"ts","meta":"","style":""},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" user "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" ref"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"null"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" ="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic"},"children":[{"type":"text","value":" await"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useFetch"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"/api/me"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":","}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":" {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178"},"children":[{"type":"text","value":" headers"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":":"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF"},"children":[{"type":"text","value":" useRequestHeaders"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"(["}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D"},"children":[{"type":"text","value":"cookie"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"'"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"])\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"}"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":")\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"emptyLinePlaceholder":true},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"user"}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"."}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":"value "}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"style":"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8"},"children":[{"type":"text","value":" data\n"}]}]}]}]},{"type":"element","tag":"style","props":{},"children":[{"type":"text","value":"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:4.usage:services:3.serverSupabaseUser.md","_source":"content","_file":"4.usage/services/3.serverSupabaseUser.md","_extension":"md"},{"_path":"/demo","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Demo","description":"Demonstration of using Supabase with Nuxt.","icon":"heroicons:computer-desktop-20-solid","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Demonstration of using Supabase with Nuxt."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://n3-supabase.netlify.app","rel":["nofollow"]},"children":[{"type":"element","tag":"img","props":{"alt":"Supabase demo with Nuxt 3","src":"https://user-images.githubusercontent.com/904724/160422461-8f87500a-8dec-4413-86b2-ba04e1b2d17b.png"},"children":[]}]}]},{"type":"element","tag":"h2","props":{"id":"live-demo"},"children":[{"type":"text","value":"Live demo"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can play with the demo on "},{"type":"element","tag":"a","props":{"href":"https://n3-supabase.netlify.app","rel":["nofollow"]},"children":[{"type":"text","value":"n3-supabase.netlify.app"}]}]},{"type":"element","tag":"h2","props":{"id":"running-locally"},"children":[{"type":"text","value":"Running locally"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Follow the instruction in the "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/tree/main/demo","rel":["nofollow"]},"children":[{"type":"text","value":"demo Readme"}]},{"type":"text","value":"."}]},{"type":"element","tag":"h2","props":{"id":"source-code"},"children":[{"type":"text","value":"Source code"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"The source code is available on Github in the "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/tree/main/demo","rel":["nofollow"]},"children":[{"type":"text","value":"demo/ directory"}]},{"type":"text","value":"."}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"live-demo","depth":2,"text":"Live demo"},{"id":"running-locally","depth":2,"text":"Running locally"},{"id":"source-code","depth":2,"text":"Source code"}]}},"_type":"markdown","_id":"content:5.demo.md","_source":"content","_file":"5.demo.md","_extension":"md"},{"_path":"/changelog","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Changelog","description":"Discover the latest updates of the Supabase Module","icon":"heroicons:bookmark","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Discover the lastest updates."}]},{"type":"element","tag":"releases","props":{},"children":[]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:6.changelog.md","_source":"content","_file":"6.changelog.md","_extension":"md"},{"_path":"/roadmap","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Roadmap","description":"Discover our kaban board for the next release of the Supabase module.","icon":"heroicons:map","body":{"type":"root","children":[{"type":"element","tag":"volta-board","props":{"token":"eyJzdGF0dXNlcyI6WyJ0cmlhZ2UiLCJiYWNrbG9nIiwidG9kbyIsImluX3Byb2dyZXNzIiwiaW5fcmV2aWV3IiwiZG9uZSIsInJlbGVhc2VkIiwiY2FuY2VsbGVkIl0sImZpbHRlcnMiOnt9LCJvd25lciI6Im51eHQtbW9kdWxlcyIsIm5hbWUiOiJzdXBhYmFzZSJ9"},"children":[]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:7.roadmap.md","_source":"content","_file":"7.roadmap.md","_extension":"md"},{"_path":"/","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Nuxt Supabase - Home","description":"A supa simple wrapper around supabase-js to enable usage and integration within Nuxt.","navigation":false,"hero":{"title":"Nuxt [Supabase]{.text-primary}","description":"A supa simple wrapper around supabase-js to enable usage and integration within Nuxt.","orientation":"horizontal","links":[{"label":"Get started","icon":"i-heroicons-rocket-launch","to":"/get-started","size":"lg"},{"label":"Star on github","icon":"i-heroicons-star","color":"white","to":"https://github.com/nuxt-modules/supabase","target":"_blank","size":"lg"}],"code":"```ts\n const supabase = useSupabaseClient()\n const email = ref('')\n\n const signInWithOtp = async () => {\n await supabase.auth.signInWithOtp({\n email: email.value,\n })\n }\n```\n"},"features":{"title":"Shipped with many features","items":[{"title":"Nuxt 3 ready","icon":"i-simple-icons-nuxtdotjs","to":"https://nuxt.com","target":"_blank"},{"title":"Vue 3 composables","icon":"i-simple-icons-vuedotjs","to":"https://vuejs.org/guide/reusability/composables.html","target":"_blank"},{"title":"Supabase-js V2","icon":"i-simple-icons-supabase","to":"https://supabase.com","target":"_blank"},{"title":"Usage in API server routes","icon":"i-heroicons-server","to":"usage/services/serversupabaseclient"},{"title":"Authentication support","icon":"i-heroicons-key","to":"/authentication"},{"title":"TypeScript support","icon":"i-simple-icons-typescript","to":"https://www.typescriptlang.org","target":"_blank"}]},"_id":"content:index.yml","_type":"yaml","_source":"content","_file":"index.yml","_extension":"yml"}],"navigation":[{"title":"Get Started","_path":"/get-started","icon":"heroicons:rocket-launch"},{"title":"Authentication","_path":"/authentication","icon":"heroicons:lock-closed"},{"title":"Usage","_path":"/usage","children":[{"title":"Vue composables","_path":"/usage/composables","children":[{"title":"useSupabaseClient","_path":"/usage/composables/usesupabaseclient"},{"title":"useSupabaseUser","_path":"/usage/composables/usesupabaseuser"}]},{"title":"Server services","_path":"/usage/services","children":[{"title":"serverSupabaseClient","_path":"/usage/services/serversupabaseclient"},{"title":"serverSupabaseServiceRole","_path":"/usage/services/serversupabaseservicerole"},{"title":"serverSupabaseUser","_path":"/usage/services/serversupabaseuser"}]}],"icon":"heroicons:book-open"},{"title":"Demo","_path":"/demo","icon":"heroicons:computer-desktop-20-solid"},{"title":"Changelog","_path":"/changelog","icon":"heroicons:bookmark"},{"title":"Roadmap","_path":"/roadmap","icon":"heroicons:map"}]} \ No newline at end of file diff --git a/api/_content/navigation/u7BbTyuhiE.1706280866184.json b/api/_content/navigation/u7BbTyuhiE.1706281021488.json similarity index 100% rename from api/_content/navigation/u7BbTyuhiE.1706280866184.json rename to api/_content/navigation/u7BbTyuhiE.1706281021488.json diff --git a/api/_content/query/0gudQYZdI3.1706280866184.json b/api/_content/query/0gudQYZdI3.1706281021488.json similarity index 100% rename from api/_content/query/0gudQYZdI3.1706280866184.json rename to api/_content/query/0gudQYZdI3.1706281021488.json diff --git a/api/_content/query/0wFsGmvw10.1706280866184.json b/api/_content/query/0wFsGmvw10.1706281021488.json similarity index 100% rename from api/_content/query/0wFsGmvw10.1706280866184.json rename to api/_content/query/0wFsGmvw10.1706281021488.json diff --git a/api/_content/query/4zYVP4W6op.1706280866184.json b/api/_content/query/4zYVP4W6op.1706281021488.json similarity index 100% rename from api/_content/query/4zYVP4W6op.1706280866184.json rename to api/_content/query/4zYVP4W6op.1706281021488.json diff --git a/api/_content/query/5lOdqeHnNL.1706280866184.json b/api/_content/query/5lOdqeHnNL.1706281021488.json similarity index 100% rename from api/_content/query/5lOdqeHnNL.1706280866184.json rename to api/_content/query/5lOdqeHnNL.1706281021488.json diff --git a/api/_content/query/76BoSDA4U0.1706280866184.json b/api/_content/query/76BoSDA4U0.1706281021488.json similarity index 100% rename from api/_content/query/76BoSDA4U0.1706280866184.json rename to api/_content/query/76BoSDA4U0.1706281021488.json diff --git a/api/_content/query/CsvcZ6zVi1.1706280866184.json b/api/_content/query/CsvcZ6zVi1.1706281021488.json similarity index 100% rename from api/_content/query/CsvcZ6zVi1.1706280866184.json rename to api/_content/query/CsvcZ6zVi1.1706281021488.json diff --git a/api/_content/query/JW0JBzZZMj.1706280866184.json b/api/_content/query/JW0JBzZZMj.1706281021488.json similarity index 100% rename from api/_content/query/JW0JBzZZMj.1706280866184.json rename to api/_content/query/JW0JBzZZMj.1706281021488.json diff --git a/api/_content/query/L15561AOag.1706280866184.json b/api/_content/query/L15561AOag.1706281021488.json similarity index 100% rename from api/_content/query/L15561AOag.1706280866184.json rename to api/_content/query/L15561AOag.1706281021488.json diff --git a/api/_content/query/U0fhu5Rxhl.1706280866184.json b/api/_content/query/U0fhu5Rxhl.1706281021488.json similarity index 100% rename from api/_content/query/U0fhu5Rxhl.1706280866184.json rename to api/_content/query/U0fhu5Rxhl.1706281021488.json diff --git a/api/_content/query/Y4LEUEirY6.1706280866184.json b/api/_content/query/Y4LEUEirY6.1706281021488.json similarity index 100% rename from api/_content/query/Y4LEUEirY6.1706280866184.json rename to api/_content/query/Y4LEUEirY6.1706281021488.json diff --git a/api/_content/query/YSHNqHnuhS.1706280866184.json b/api/_content/query/YSHNqHnuhS.1706281021488.json similarity index 100% rename from api/_content/query/YSHNqHnuhS.1706280866184.json rename to api/_content/query/YSHNqHnuhS.1706281021488.json diff --git a/api/_content/query/brX4CwCJoQ.1706280866184.json b/api/_content/query/brX4CwCJoQ.1706281021488.json similarity index 100% rename from api/_content/query/brX4CwCJoQ.1706280866184.json rename to api/_content/query/brX4CwCJoQ.1706281021488.json diff --git a/api/_content/query/dKXPFPos09.1706280866184.json b/api/_content/query/dKXPFPos09.1706281021488.json similarity index 100% rename from api/_content/query/dKXPFPos09.1706280866184.json rename to api/_content/query/dKXPFPos09.1706281021488.json diff --git a/api/_content/query/hYpPLZd268.1706280866184.json b/api/_content/query/hYpPLZd268.1706281021488.json similarity index 100% rename from api/_content/query/hYpPLZd268.1706280866184.json rename to api/_content/query/hYpPLZd268.1706281021488.json diff --git a/api/_content/query/mUC1LoY5SU.1706280866184.json b/api/_content/query/mUC1LoY5SU.1706281021488.json similarity index 100% rename from api/_content/query/mUC1LoY5SU.1706280866184.json rename to api/_content/query/mUC1LoY5SU.1706281021488.json diff --git a/api/_content/query/mjPUuLZ5K0.1706280866184.json b/api/_content/query/mjPUuLZ5K0.1706281021488.json similarity index 100% rename from api/_content/query/mjPUuLZ5K0.1706280866184.json rename to api/_content/query/mjPUuLZ5K0.1706281021488.json diff --git a/api/_content/query/pTByVtROxU.1706280866184.json b/api/_content/query/pTByVtROxU.1706281021488.json similarity index 100% rename from api/_content/query/pTByVtROxU.1706280866184.json rename to api/_content/query/pTByVtROxU.1706281021488.json diff --git a/api/_content/query/sY2lwz2oSi.1706280866184.json b/api/_content/query/sY2lwz2oSi.1706281021488.json similarity index 100% rename from api/_content/query/sY2lwz2oSi.1706280866184.json rename to api/_content/query/sY2lwz2oSi.1706281021488.json diff --git a/api/_content/query/unQN3QZxvJ.1706280866184.json b/api/_content/query/unQN3QZxvJ.1706281021488.json similarity index 100% rename from api/_content/query/unQN3QZxvJ.1706280866184.json rename to api/_content/query/unQN3QZxvJ.1706281021488.json diff --git a/api/_content/query/xTj1Y0li2H.1706280866184.json b/api/_content/query/xTj1Y0li2H.1706281021488.json similarity index 100% rename from api/_content/query/xTj1Y0li2H.1706280866184.json rename to api/_content/query/xTj1Y0li2H.1706281021488.json diff --git a/api/_content/query/yZYG07dTrW.1706280866184.json b/api/_content/query/yZYG07dTrW.1706281021488.json similarity index 100% rename from api/_content/query/yZYG07dTrW.1706280866184.json rename to api/_content/query/yZYG07dTrW.1706281021488.json diff --git a/authentication/_payload.json b/authentication/_payload.json index 5583057e..313e9b25 100644 --- a/authentication/_payload.json +++ b/authentication/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":1757},["Reactive",2],{"navigation":3,"/authentication":52,"/authentication-surround":1752},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":10,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":9,"description":55,"icon":11,"body":56,"_type":1747,"_id":1748,"_source":1749,"_file":1750,"_extension":1751},"",false,"Authenticate your user thanks to the PKCE Oauth protocol that enables secure exchange of refresh and access tokens between an application and the authorization server",{"type":57,"children":58,"toc":1739},"root",[59,87,117,134,147,160,177,191,829,855,866,871,886,1198,1205,1210,1233,1733],{"type":60,"tag":61,"props":62,"children":63},"element","p",{},[64,67,76,78,85],{"type":65,"value":66},"text","With the default options, the module requires a log-in page and a confirm page to handle the ",{"type":60,"tag":68,"props":69,"children":73},"a",{"href":70,"rel":71},"https://supabase.com/docs/guides/resources/glossary#pkce",[72],"nofollow",[74],{"type":65,"value":75},"PKCE authorization code flow",{"type":65,"value":77},". If you want to understand how it works under the hood, you can read this ",{"type":60,"tag":68,"props":79,"children":82},{"href":80,"rel":81},"https://supabase.com/docs/guides/auth/server-side-rendering#understanding-the-authentication-flow",[72],[83],{"type":65,"value":84},"section",{"type":65,"value":86},".",{"type":60,"tag":61,"props":88,"children":89},{},[90,92,99,101,107,109,115],{"type":65,"value":91},"All you need to do is to create a ",{"type":60,"tag":93,"props":94,"children":96},"code",{"className":95},[],[97],{"type":65,"value":98},"login.vue",{"type":65,"value":100}," and ",{"type":60,"tag":93,"props":102,"children":104},{"className":103},[],[105],{"type":65,"value":106},"confirm.vue",{"type":65,"value":108}," page in the ",{"type":60,"tag":93,"props":110,"children":112},{"className":111},[],[113],{"type":65,"value":114},"pages",{"type":65,"value":116}," folder.",{"type":60,"tag":118,"props":119,"children":121},"callout",{"icon":120},"i-heroicons-light-bulb",[122],{"type":60,"tag":61,"props":123,"children":124},{},[125,127,133],{"type":65,"value":126},"For advanced users who want to implement the auth behaviour themselves, you can disable or override the ",{"type":60,"tag":68,"props":128,"children":130},{"href":129},"/get-started#redirect",[131],{"type":65,"value":132},"redirect options",{"type":65,"value":86},{"type":60,"tag":135,"props":136,"children":138},"h2",{"id":137},"log-in-page-login",[139,141],{"type":65,"value":140},"Log-in page - ",{"type":60,"tag":93,"props":142,"children":144},{"className":143},[],[145],{"type":65,"value":146},"/login",{"type":60,"tag":61,"props":148,"children":149},{},[150,152,158],{"type":65,"value":151},"Each time a user is trying to access a page that needs authentication, he will automatically be redirected to the configured log in page. If you want to allow access to \"public\" page, you just need to add them in the ",{"type":60,"tag":68,"props":153,"children":155},{"href":154},"/get-started#redirectoptions",[156],{"type":65,"value":157},"exclude",{"type":65,"value":159}," redirect option.",{"type":60,"tag":118,"props":161,"children":164},{"icon":162,"color":163},"i-heroicons-exclamation-triangle-20-solid","amber",[165],{"type":60,"tag":61,"props":166,"children":167},{},[168,170,176],{"type":65,"value":169},"Ensure to activate the authentication providers you want in the Supabase Dashboard under ",{"type":60,"tag":93,"props":171,"children":173},{"className":172},[],[174],{"type":65,"value":175},"Authentication -> Providers",{"type":65,"value":86},{"type":60,"tag":61,"props":178,"children":179},{},[180,182,189],{"type":65,"value":181},"The log-in page initiates the log-in method(s) you choose from the ",{"type":60,"tag":68,"props":183,"children":186},{"href":184,"rel":185},"https://supabase.com/docs/reference/javascript/auth-signinwithpassword",[72],[187],{"type":65,"value":188},"available authorization methods",{"type":65,"value":190}," provided by Supabase, it could looks like:",{"type":60,"tag":192,"props":193,"children":198},"pre",{"className":194,"code":195,"filename":196,"language":197,"meta":53,"style":53},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst supabase = useSupabaseClient()\nconst email = ref('')\n\nconst signInWithOtp = async () => {\n const { error } = await supabase.auth.signInWithOtp({\n email: email.value,\n options: {\n emailRedirectTo: 'http://localhost:3000/confirm',\n }\n })\n if (error) console.log(error)\n}\n\u003C/script>\n\u003Ctemplate>\n \u003Cdiv>\n \u003Cbutton @click=\"signInWithOtp\">\n Sign In with E-Mail\n \u003C/button>\n \u003Cinput\n v-model=\"email\"\n type=\"email\"\n />\n \u003C/div>\n\u003C/template>\n","pages/login.vue","vue",[199],{"type":60,"tag":93,"props":200,"children":201},{"__ignoreMap":53},[202,256,286,323,333,370,437,470,487,519,528,541,591,600,617,634,652,696,705,722,735,762,787,796,813],{"type":60,"tag":203,"props":204,"children":207},"span",{"class":205,"line":206},"line",1,[208,214,220,226,231,236,241,247,251],{"type":60,"tag":203,"props":209,"children":211},{"style":210},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[212],{"type":65,"value":213},"\u003C",{"type":60,"tag":203,"props":215,"children":217},{"style":216},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[218],{"type":65,"value":219},"script",{"type":60,"tag":203,"props":221,"children":223},{"style":222},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[224],{"type":65,"value":225}," setup",{"type":60,"tag":203,"props":227,"children":228},{"style":222},[229],{"type":65,"value":230}," lang",{"type":60,"tag":203,"props":232,"children":233},{"style":210},[234],{"type":65,"value":235},"=",{"type":60,"tag":203,"props":237,"children":238},{"style":210},[239],{"type":65,"value":240},"\"",{"type":60,"tag":203,"props":242,"children":244},{"style":243},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[245],{"type":65,"value":246},"ts",{"type":60,"tag":203,"props":248,"children":249},{"style":210},[250],{"type":65,"value":240},{"type":60,"tag":203,"props":252,"children":253},{"style":210},[254],{"type":65,"value":255},">\n",{"type":60,"tag":203,"props":257,"children":259},{"class":205,"line":258},2,[260,265,271,275,281],{"type":60,"tag":203,"props":261,"children":262},{"style":222},[263],{"type":65,"value":264},"const",{"type":60,"tag":203,"props":266,"children":268},{"style":267},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[269],{"type":65,"value":270}," supabase ",{"type":60,"tag":203,"props":272,"children":273},{"style":210},[274],{"type":65,"value":235},{"type":60,"tag":203,"props":276,"children":278},{"style":277},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[279],{"type":65,"value":280}," useSupabaseClient",{"type":60,"tag":203,"props":282,"children":283},{"style":267},[284],{"type":65,"value":285},"()\n",{"type":60,"tag":203,"props":287,"children":289},{"class":205,"line":288},3,[290,294,299,303,308,313,318],{"type":60,"tag":203,"props":291,"children":292},{"style":222},[293],{"type":65,"value":264},{"type":60,"tag":203,"props":295,"children":296},{"style":267},[297],{"type":65,"value":298}," email ",{"type":60,"tag":203,"props":300,"children":301},{"style":210},[302],{"type":65,"value":235},{"type":60,"tag":203,"props":304,"children":305},{"style":277},[306],{"type":65,"value":307}," ref",{"type":60,"tag":203,"props":309,"children":310},{"style":267},[311],{"type":65,"value":312},"(",{"type":60,"tag":203,"props":314,"children":315},{"style":210},[316],{"type":65,"value":317},"''",{"type":60,"tag":203,"props":319,"children":320},{"style":267},[321],{"type":65,"value":322},")\n",{"type":60,"tag":203,"props":324,"children":326},{"class":205,"line":325},4,[327],{"type":60,"tag":203,"props":328,"children":330},{"emptyLinePlaceholder":329},true,[331],{"type":65,"value":332},"\n",{"type":60,"tag":203,"props":334,"children":336},{"class":205,"line":335},5,[337,341,346,350,355,360,365],{"type":60,"tag":203,"props":338,"children":339},{"style":222},[340],{"type":65,"value":264},{"type":60,"tag":203,"props":342,"children":343},{"style":267},[344],{"type":65,"value":345}," signInWithOtp ",{"type":60,"tag":203,"props":347,"children":348},{"style":210},[349],{"type":65,"value":235},{"type":60,"tag":203,"props":351,"children":352},{"style":222},[353],{"type":65,"value":354}," async",{"type":60,"tag":203,"props":356,"children":357},{"style":210},[358],{"type":65,"value":359}," ()",{"type":60,"tag":203,"props":361,"children":362},{"style":222},[363],{"type":65,"value":364}," =>",{"type":60,"tag":203,"props":366,"children":367},{"style":210},[368],{"type":65,"value":369}," {\n",{"type":60,"tag":203,"props":371,"children":373},{"class":205,"line":372},6,[374,379,384,389,394,399,405,410,414,419,423,428,432],{"type":60,"tag":203,"props":375,"children":376},{"style":222},[377],{"type":65,"value":378}," const",{"type":60,"tag":203,"props":380,"children":381},{"style":210},[382],{"type":65,"value":383}," {",{"type":60,"tag":203,"props":385,"children":386},{"style":267},[387],{"type":65,"value":388}," error",{"type":60,"tag":203,"props":390,"children":391},{"style":210},[392],{"type":65,"value":393}," }",{"type":60,"tag":203,"props":395,"children":396},{"style":210},[397],{"type":65,"value":398}," =",{"type":60,"tag":203,"props":400,"children":402},{"style":401},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[403],{"type":65,"value":404}," await",{"type":60,"tag":203,"props":406,"children":407},{"style":267},[408],{"type":65,"value":409}," supabase",{"type":60,"tag":203,"props":411,"children":412},{"style":210},[413],{"type":65,"value":86},{"type":60,"tag":203,"props":415,"children":416},{"style":267},[417],{"type":65,"value":418},"auth",{"type":60,"tag":203,"props":420,"children":421},{"style":210},[422],{"type":65,"value":86},{"type":60,"tag":203,"props":424,"children":425},{"style":277},[426],{"type":65,"value":427},"signInWithOtp",{"type":60,"tag":203,"props":429,"children":430},{"style":216},[431],{"type":65,"value":312},{"type":60,"tag":203,"props":433,"children":434},{"style":210},[435],{"type":65,"value":436},"{\n",{"type":60,"tag":203,"props":438,"children":440},{"class":205,"line":439},7,[441,446,451,456,460,465],{"type":60,"tag":203,"props":442,"children":443},{"style":216},[444],{"type":65,"value":445}," email",{"type":60,"tag":203,"props":447,"children":448},{"style":210},[449],{"type":65,"value":450},":",{"type":60,"tag":203,"props":452,"children":453},{"style":267},[454],{"type":65,"value":455}," email",{"type":60,"tag":203,"props":457,"children":458},{"style":210},[459],{"type":65,"value":86},{"type":60,"tag":203,"props":461,"children":462},{"style":267},[463],{"type":65,"value":464},"value",{"type":60,"tag":203,"props":466,"children":467},{"style":210},[468],{"type":65,"value":469},",\n",{"type":60,"tag":203,"props":471,"children":473},{"class":205,"line":472},8,[474,479,483],{"type":60,"tag":203,"props":475,"children":476},{"style":216},[477],{"type":65,"value":478}," options",{"type":60,"tag":203,"props":480,"children":481},{"style":210},[482],{"type":65,"value":450},{"type":60,"tag":203,"props":484,"children":485},{"style":210},[486],{"type":65,"value":369},{"type":60,"tag":203,"props":488,"children":490},{"class":205,"line":489},9,[491,496,500,505,510,515],{"type":60,"tag":203,"props":492,"children":493},{"style":216},[494],{"type":65,"value":495}," emailRedirectTo",{"type":60,"tag":203,"props":497,"children":498},{"style":210},[499],{"type":65,"value":450},{"type":60,"tag":203,"props":501,"children":502},{"style":210},[503],{"type":65,"value":504}," '",{"type":60,"tag":203,"props":506,"children":507},{"style":243},[508],{"type":65,"value":509},"http://localhost:3000/confirm",{"type":60,"tag":203,"props":511,"children":512},{"style":210},[513],{"type":65,"value":514},"'",{"type":60,"tag":203,"props":516,"children":517},{"style":210},[518],{"type":65,"value":469},{"type":60,"tag":203,"props":520,"children":522},{"class":205,"line":521},10,[523],{"type":60,"tag":203,"props":524,"children":525},{"style":210},[526],{"type":65,"value":527}," }\n",{"type":60,"tag":203,"props":529,"children":531},{"class":205,"line":530},11,[532,537],{"type":60,"tag":203,"props":533,"children":534},{"style":210},[535],{"type":65,"value":536}," }",{"type":60,"tag":203,"props":538,"children":539},{"style":216},[540],{"type":65,"value":322},{"type":60,"tag":203,"props":542,"children":544},{"class":205,"line":543},12,[545,550,555,560,565,570,574,579,583,587],{"type":60,"tag":203,"props":546,"children":547},{"style":401},[548],{"type":65,"value":549}," if",{"type":60,"tag":203,"props":551,"children":552},{"style":216},[553],{"type":65,"value":554}," (",{"type":60,"tag":203,"props":556,"children":557},{"style":267},[558],{"type":65,"value":559},"error",{"type":60,"tag":203,"props":561,"children":562},{"style":216},[563],{"type":65,"value":564},") ",{"type":60,"tag":203,"props":566,"children":567},{"style":267},[568],{"type":65,"value":569},"console",{"type":60,"tag":203,"props":571,"children":572},{"style":210},[573],{"type":65,"value":86},{"type":60,"tag":203,"props":575,"children":576},{"style":277},[577],{"type":65,"value":578},"log",{"type":60,"tag":203,"props":580,"children":581},{"style":216},[582],{"type":65,"value":312},{"type":60,"tag":203,"props":584,"children":585},{"style":267},[586],{"type":65,"value":559},{"type":60,"tag":203,"props":588,"children":589},{"style":216},[590],{"type":65,"value":322},{"type":60,"tag":203,"props":592,"children":594},{"class":205,"line":593},13,[595],{"type":60,"tag":203,"props":596,"children":597},{"style":210},[598],{"type":65,"value":599},"}\n",{"type":60,"tag":203,"props":601,"children":603},{"class":205,"line":602},14,[604,609,613],{"type":60,"tag":203,"props":605,"children":606},{"style":210},[607],{"type":65,"value":608},"\u003C/",{"type":60,"tag":203,"props":610,"children":611},{"style":216},[612],{"type":65,"value":219},{"type":60,"tag":203,"props":614,"children":615},{"style":210},[616],{"type":65,"value":255},{"type":60,"tag":203,"props":618,"children":620},{"class":205,"line":619},15,[621,625,630],{"type":60,"tag":203,"props":622,"children":623},{"style":210},[624],{"type":65,"value":213},{"type":60,"tag":203,"props":626,"children":627},{"style":216},[628],{"type":65,"value":629},"template",{"type":60,"tag":203,"props":631,"children":632},{"style":210},[633],{"type":65,"value":255},{"type":60,"tag":203,"props":635,"children":637},{"class":205,"line":636},16,[638,643,648],{"type":60,"tag":203,"props":639,"children":640},{"style":210},[641],{"type":65,"value":642}," \u003C",{"type":60,"tag":203,"props":644,"children":645},{"style":216},[646],{"type":65,"value":647},"div",{"type":60,"tag":203,"props":649,"children":650},{"style":210},[651],{"type":65,"value":255},{"type":60,"tag":203,"props":653,"children":655},{"class":205,"line":654},17,[656,661,666,671,676,680,684,688,692],{"type":60,"tag":203,"props":657,"children":658},{"style":210},[659],{"type":65,"value":660}," \u003C",{"type":60,"tag":203,"props":662,"children":663},{"style":216},[664],{"type":65,"value":665},"button",{"type":60,"tag":203,"props":667,"children":668},{"style":210},[669],{"type":65,"value":670}," @",{"type":60,"tag":203,"props":672,"children":673},{"style":222},[674],{"type":65,"value":675},"click",{"type":60,"tag":203,"props":677,"children":678},{"style":210},[679],{"type":65,"value":235},{"type":60,"tag":203,"props":681,"children":682},{"style":210},[683],{"type":65,"value":240},{"type":60,"tag":203,"props":685,"children":686},{"style":267},[687],{"type":65,"value":427},{"type":60,"tag":203,"props":689,"children":690},{"style":210},[691],{"type":65,"value":240},{"type":60,"tag":203,"props":693,"children":694},{"style":210},[695],{"type":65,"value":255},{"type":60,"tag":203,"props":697,"children":699},{"class":205,"line":698},18,[700],{"type":60,"tag":203,"props":701,"children":702},{"style":267},[703],{"type":65,"value":704}," Sign In with E-Mail\n",{"type":60,"tag":203,"props":706,"children":708},{"class":205,"line":707},19,[709,714,718],{"type":60,"tag":203,"props":710,"children":711},{"style":210},[712],{"type":65,"value":713}," \u003C/",{"type":60,"tag":203,"props":715,"children":716},{"style":216},[717],{"type":65,"value":665},{"type":60,"tag":203,"props":719,"children":720},{"style":210},[721],{"type":65,"value":255},{"type":60,"tag":203,"props":723,"children":725},{"class":205,"line":724},20,[726,730],{"type":60,"tag":203,"props":727,"children":728},{"style":210},[729],{"type":65,"value":660},{"type":60,"tag":203,"props":731,"children":732},{"style":216},[733],{"type":65,"value":734},"input\n",{"type":60,"tag":203,"props":736,"children":738},{"class":205,"line":737},21,[739,744,748,752,757],{"type":60,"tag":203,"props":740,"children":741},{"style":222},[742],{"type":65,"value":743}," v-model",{"type":60,"tag":203,"props":745,"children":746},{"style":210},[747],{"type":65,"value":235},{"type":60,"tag":203,"props":749,"children":750},{"style":210},[751],{"type":65,"value":240},{"type":60,"tag":203,"props":753,"children":754},{"style":267},[755],{"type":65,"value":756},"email",{"type":60,"tag":203,"props":758,"children":759},{"style":210},[760],{"type":65,"value":761},"\"\n",{"type":60,"tag":203,"props":763,"children":765},{"class":205,"line":764},22,[766,771,775,779,783],{"type":60,"tag":203,"props":767,"children":768},{"style":222},[769],{"type":65,"value":770}," type",{"type":60,"tag":203,"props":772,"children":773},{"style":210},[774],{"type":65,"value":235},{"type":60,"tag":203,"props":776,"children":777},{"style":210},[778],{"type":65,"value":240},{"type":60,"tag":203,"props":780,"children":781},{"style":243},[782],{"type":65,"value":756},{"type":60,"tag":203,"props":784,"children":785},{"style":210},[786],{"type":65,"value":761},{"type":60,"tag":203,"props":788,"children":790},{"class":205,"line":789},23,[791],{"type":60,"tag":203,"props":792,"children":793},{"style":210},[794],{"type":65,"value":795}," />\n",{"type":60,"tag":203,"props":797,"children":799},{"class":205,"line":798},24,[800,805,809],{"type":60,"tag":203,"props":801,"children":802},{"style":210},[803],{"type":65,"value":804}," \u003C/",{"type":60,"tag":203,"props":806,"children":807},{"style":216},[808],{"type":65,"value":647},{"type":60,"tag":203,"props":810,"children":811},{"style":210},[812],{"type":65,"value":255},{"type":60,"tag":203,"props":814,"children":816},{"class":205,"line":815},25,[817,821,825],{"type":60,"tag":203,"props":818,"children":819},{"style":210},[820],{"type":65,"value":608},{"type":60,"tag":203,"props":822,"children":823},{"style":216},[824],{"type":65,"value":629},{"type":60,"tag":203,"props":826,"children":827},{"style":210},[828],{"type":65,"value":255},{"type":60,"tag":61,"props":830,"children":831},{},[832,834,839,841,845,847,853],{"type":65,"value":833},"Once the authorization flow is triggered using the ",{"type":60,"tag":93,"props":835,"children":837},{"className":836},[],[838],{"type":65,"value":418},{"type":65,"value":840}," wrapper of the ",{"type":60,"tag":68,"props":842,"children":843},{"href":22},[844],{"type":65,"value":21},{"type":65,"value":846}," composable, the session management is handled automatically and the user will be redirected to the page you specify in the redirect option (",{"type":60,"tag":93,"props":848,"children":850},{"className":849},[],[851],{"type":65,"value":852},"/confirm",{"type":65,"value":854}," by default).",{"type":60,"tag":135,"props":856,"children":858},{"id":857},"confirm-page-confirm",[859,861],{"type":65,"value":860},"Confirm page - ",{"type":60,"tag":93,"props":862,"children":864},{"className":863},[],[865],{"type":65,"value":852},{"type":60,"tag":61,"props":867,"children":868},{},[869],{"type":65,"value":870},"The confirmation page receives the supabase callback. From there you can check the user value and redirect to the appropriate page.",{"type":60,"tag":118,"props":872,"children":873},{"icon":120},[874],{"type":60,"tag":61,"props":875,"children":876},{},[877,879,885],{"type":65,"value":878},"The redirect URL must be configured in your Supabase dashboard under ",{"type":60,"tag":93,"props":880,"children":882},{"className":881},[],[883],{"type":65,"value":884},"Authentication -> URL Configuration -> Redirect URLs",{"type":65,"value":86},{"type":60,"tag":192,"props":887,"children":890},{"className":194,"code":888,"filename":889,"language":197,"meta":53,"style":53},"\u003Cscript setup lang=\"ts\">\nconst user = useSupabaseUser()\n\nwatch(user, () => {\n if (user.value) {\n // Redirect to protected page\n return navigateTo('/')\n }\n}, { immediate: true })\n\u003C/script>\n\n\u003Ctemplate>\n \u003Cdiv>Waiting for login...\u003C/div>\n\u003C/template>\n","pages/confirm.vue",[891],{"type":60,"tag":93,"props":892,"children":893},{"__ignoreMap":53},[894,933,958,965,995,1027,1036,1070,1078,1113,1128,1135,1150,1183],{"type":60,"tag":203,"props":895,"children":896},{"class":205,"line":206},[897,901,905,909,913,917,921,925,929],{"type":60,"tag":203,"props":898,"children":899},{"style":210},[900],{"type":65,"value":213},{"type":60,"tag":203,"props":902,"children":903},{"style":216},[904],{"type":65,"value":219},{"type":60,"tag":203,"props":906,"children":907},{"style":222},[908],{"type":65,"value":225},{"type":60,"tag":203,"props":910,"children":911},{"style":222},[912],{"type":65,"value":230},{"type":60,"tag":203,"props":914,"children":915},{"style":210},[916],{"type":65,"value":235},{"type":60,"tag":203,"props":918,"children":919},{"style":210},[920],{"type":65,"value":240},{"type":60,"tag":203,"props":922,"children":923},{"style":243},[924],{"type":65,"value":246},{"type":60,"tag":203,"props":926,"children":927},{"style":210},[928],{"type":65,"value":240},{"type":60,"tag":203,"props":930,"children":931},{"style":210},[932],{"type":65,"value":255},{"type":60,"tag":203,"props":934,"children":935},{"class":205,"line":258},[936,940,945,949,954],{"type":60,"tag":203,"props":937,"children":938},{"style":222},[939],{"type":65,"value":264},{"type":60,"tag":203,"props":941,"children":942},{"style":267},[943],{"type":65,"value":944}," user ",{"type":60,"tag":203,"props":946,"children":947},{"style":210},[948],{"type":65,"value":235},{"type":60,"tag":203,"props":950,"children":951},{"style":277},[952],{"type":65,"value":953}," useSupabaseUser",{"type":60,"tag":203,"props":955,"children":956},{"style":267},[957],{"type":65,"value":285},{"type":60,"tag":203,"props":959,"children":960},{"class":205,"line":288},[961],{"type":60,"tag":203,"props":962,"children":963},{"emptyLinePlaceholder":329},[964],{"type":65,"value":332},{"type":60,"tag":203,"props":966,"children":967},{"class":205,"line":325},[968,973,978,983,987,991],{"type":60,"tag":203,"props":969,"children":970},{"style":277},[971],{"type":65,"value":972},"watch",{"type":60,"tag":203,"props":974,"children":975},{"style":267},[976],{"type":65,"value":977},"(user",{"type":60,"tag":203,"props":979,"children":980},{"style":210},[981],{"type":65,"value":982},",",{"type":60,"tag":203,"props":984,"children":985},{"style":210},[986],{"type":65,"value":359},{"type":60,"tag":203,"props":988,"children":989},{"style":222},[990],{"type":65,"value":364},{"type":60,"tag":203,"props":992,"children":993},{"style":210},[994],{"type":65,"value":369},{"type":60,"tag":203,"props":996,"children":997},{"class":205,"line":335},[998,1002,1006,1011,1015,1019,1023],{"type":60,"tag":203,"props":999,"children":1000},{"style":401},[1001],{"type":65,"value":549},{"type":60,"tag":203,"props":1003,"children":1004},{"style":216},[1005],{"type":65,"value":554},{"type":60,"tag":203,"props":1007,"children":1008},{"style":267},[1009],{"type":65,"value":1010},"user",{"type":60,"tag":203,"props":1012,"children":1013},{"style":210},[1014],{"type":65,"value":86},{"type":60,"tag":203,"props":1016,"children":1017},{"style":267},[1018],{"type":65,"value":464},{"type":60,"tag":203,"props":1020,"children":1021},{"style":216},[1022],{"type":65,"value":564},{"type":60,"tag":203,"props":1024,"children":1025},{"style":210},[1026],{"type":65,"value":436},{"type":60,"tag":203,"props":1028,"children":1029},{"class":205,"line":372},[1030],{"type":60,"tag":203,"props":1031,"children":1033},{"style":1032},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[1034],{"type":65,"value":1035}," // Redirect to protected page\n",{"type":60,"tag":203,"props":1037,"children":1038},{"class":205,"line":439},[1039,1044,1049,1053,1057,1062,1066],{"type":60,"tag":203,"props":1040,"children":1041},{"style":401},[1042],{"type":65,"value":1043}," return",{"type":60,"tag":203,"props":1045,"children":1046},{"style":277},[1047],{"type":65,"value":1048}," navigateTo",{"type":60,"tag":203,"props":1050,"children":1051},{"style":216},[1052],{"type":65,"value":312},{"type":60,"tag":203,"props":1054,"children":1055},{"style":210},[1056],{"type":65,"value":514},{"type":60,"tag":203,"props":1058,"children":1059},{"style":243},[1060],{"type":65,"value":1061},"/",{"type":60,"tag":203,"props":1063,"children":1064},{"style":210},[1065],{"type":65,"value":514},{"type":60,"tag":203,"props":1067,"children":1068},{"style":216},[1069],{"type":65,"value":322},{"type":60,"tag":203,"props":1071,"children":1072},{"class":205,"line":472},[1073],{"type":60,"tag":203,"props":1074,"children":1075},{"style":210},[1076],{"type":65,"value":1077}," }\n",{"type":60,"tag":203,"props":1079,"children":1080},{"class":205,"line":489},[1081,1086,1090,1095,1099,1105,1109],{"type":60,"tag":203,"props":1082,"children":1083},{"style":210},[1084],{"type":65,"value":1085},"},",{"type":60,"tag":203,"props":1087,"children":1088},{"style":210},[1089],{"type":65,"value":383},{"type":60,"tag":203,"props":1091,"children":1092},{"style":216},[1093],{"type":65,"value":1094}," immediate",{"type":60,"tag":203,"props":1096,"children":1097},{"style":210},[1098],{"type":65,"value":450},{"type":60,"tag":203,"props":1100,"children":1102},{"style":1101},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1103],{"type":65,"value":1104}," true",{"type":60,"tag":203,"props":1106,"children":1107},{"style":210},[1108],{"type":65,"value":393},{"type":60,"tag":203,"props":1110,"children":1111},{"style":267},[1112],{"type":65,"value":322},{"type":60,"tag":203,"props":1114,"children":1115},{"class":205,"line":521},[1116,1120,1124],{"type":60,"tag":203,"props":1117,"children":1118},{"style":210},[1119],{"type":65,"value":608},{"type":60,"tag":203,"props":1121,"children":1122},{"style":216},[1123],{"type":65,"value":219},{"type":60,"tag":203,"props":1125,"children":1126},{"style":210},[1127],{"type":65,"value":255},{"type":60,"tag":203,"props":1129,"children":1130},{"class":205,"line":530},[1131],{"type":60,"tag":203,"props":1132,"children":1133},{"emptyLinePlaceholder":329},[1134],{"type":65,"value":332},{"type":60,"tag":203,"props":1136,"children":1137},{"class":205,"line":543},[1138,1142,1146],{"type":60,"tag":203,"props":1139,"children":1140},{"style":210},[1141],{"type":65,"value":213},{"type":60,"tag":203,"props":1143,"children":1144},{"style":216},[1145],{"type":65,"value":629},{"type":60,"tag":203,"props":1147,"children":1148},{"style":210},[1149],{"type":65,"value":255},{"type":60,"tag":203,"props":1151,"children":1152},{"class":205,"line":593},[1153,1157,1161,1166,1171,1175,1179],{"type":60,"tag":203,"props":1154,"children":1155},{"style":210},[1156],{"type":65,"value":642},{"type":60,"tag":203,"props":1158,"children":1159},{"style":216},[1160],{"type":65,"value":647},{"type":60,"tag":203,"props":1162,"children":1163},{"style":210},[1164],{"type":65,"value":1165},">",{"type":60,"tag":203,"props":1167,"children":1168},{"style":267},[1169],{"type":65,"value":1170},"Waiting for login...",{"type":60,"tag":203,"props":1172,"children":1173},{"style":210},[1174],{"type":65,"value":608},{"type":60,"tag":203,"props":1176,"children":1177},{"style":216},[1178],{"type":65,"value":647},{"type":60,"tag":203,"props":1180,"children":1181},{"style":210},[1182],{"type":65,"value":255},{"type":60,"tag":203,"props":1184,"children":1185},{"class":205,"line":602},[1186,1190,1194],{"type":60,"tag":203,"props":1187,"children":1188},{"style":210},[1189],{"type":65,"value":608},{"type":60,"tag":203,"props":1191,"children":1192},{"style":216},[1193],{"type":65,"value":629},{"type":60,"tag":203,"props":1195,"children":1196},{"style":210},[1197],{"type":65,"value":255},{"type":60,"tag":1199,"props":1200,"children":1202},"h3",{"id":1201},"redirect-path",[1203],{"type":65,"value":1204},"Redirect path",{"type":60,"tag":61,"props":1206,"children":1207},{},[1208],{"type":65,"value":1209},"You can easily handle redirection to the initial requested route after login.",{"type":60,"tag":118,"props":1211,"children":1212},{"icon":120},[1213],{"type":60,"tag":61,"props":1214,"children":1215},{},[1216,1218,1224,1226,1231],{"type":65,"value":1217},"You must enable the ",{"type":60,"tag":93,"props":1219,"children":1221},{"className":1220},[],[1222],{"type":65,"value":1223},"cookieRedirect",{"type":65,"value":1225}," option of the ",{"type":60,"tag":68,"props":1227,"children":1228},{"href":154},[1229],{"type":65,"value":1230},"redirectOptions",{"type":65,"value":1232}," to allow cookie storage and take benefit of this feature.",{"type":60,"tag":192,"props":1234,"children":1236},{"className":194,"code":1235,"filename":889,"language":197,"meta":53,"style":53},"\u003Cscript setup lang=\"ts\">\nconst user = useSupabaseUser()\n\n// Get redirect path from cookies\nconst config = useRuntimeConfig().public.supabase.cookieName\nconst redirectPath = useCookie(`${cookieName}-redirect-path`).value\n\nwatch(user, () => {\n if (user.value) {\n // Clear cookie\n useCookie(`${cookieName}-redirect-path`).value = null\n // Redirect to path\n return navigateTo(redirectPath || '/'); \n }\n}, { immediate: true })\n\u003C/script>\n\u003Ctemplate>\n \u003Cdiv>Waiting for login...\u003C/div>\n\u003C/template>\n",[1237],{"type":60,"tag":93,"props":1238,"children":1239},{"__ignoreMap":53},[1240,1279,1302,1309,1317,1370,1434,1441,1468,1499,1507,1560,1568,1619,1626,1657,1672,1687,1718],{"type":60,"tag":203,"props":1241,"children":1242},{"class":205,"line":206},[1243,1247,1251,1255,1259,1263,1267,1271,1275],{"type":60,"tag":203,"props":1244,"children":1245},{"style":210},[1246],{"type":65,"value":213},{"type":60,"tag":203,"props":1248,"children":1249},{"style":216},[1250],{"type":65,"value":219},{"type":60,"tag":203,"props":1252,"children":1253},{"style":222},[1254],{"type":65,"value":225},{"type":60,"tag":203,"props":1256,"children":1257},{"style":222},[1258],{"type":65,"value":230},{"type":60,"tag":203,"props":1260,"children":1261},{"style":210},[1262],{"type":65,"value":235},{"type":60,"tag":203,"props":1264,"children":1265},{"style":210},[1266],{"type":65,"value":240},{"type":60,"tag":203,"props":1268,"children":1269},{"style":243},[1270],{"type":65,"value":246},{"type":60,"tag":203,"props":1272,"children":1273},{"style":210},[1274],{"type":65,"value":240},{"type":60,"tag":203,"props":1276,"children":1277},{"style":210},[1278],{"type":65,"value":255},{"type":60,"tag":203,"props":1280,"children":1281},{"class":205,"line":258},[1282,1286,1290,1294,1298],{"type":60,"tag":203,"props":1283,"children":1284},{"style":222},[1285],{"type":65,"value":264},{"type":60,"tag":203,"props":1287,"children":1288},{"style":267},[1289],{"type":65,"value":944},{"type":60,"tag":203,"props":1291,"children":1292},{"style":210},[1293],{"type":65,"value":235},{"type":60,"tag":203,"props":1295,"children":1296},{"style":277},[1297],{"type":65,"value":953},{"type":60,"tag":203,"props":1299,"children":1300},{"style":267},[1301],{"type":65,"value":285},{"type":60,"tag":203,"props":1303,"children":1304},{"class":205,"line":288},[1305],{"type":60,"tag":203,"props":1306,"children":1307},{"emptyLinePlaceholder":329},[1308],{"type":65,"value":332},{"type":60,"tag":203,"props":1310,"children":1311},{"class":205,"line":325},[1312],{"type":60,"tag":203,"props":1313,"children":1314},{"style":1032},[1315],{"type":65,"value":1316},"// Get redirect path from cookies\n",{"type":60,"tag":203,"props":1318,"children":1319},{"class":205,"line":335},[1320,1324,1329,1333,1338,1343,1347,1352,1356,1361,1365],{"type":60,"tag":203,"props":1321,"children":1322},{"style":222},[1323],{"type":65,"value":264},{"type":60,"tag":203,"props":1325,"children":1326},{"style":267},[1327],{"type":65,"value":1328}," config ",{"type":60,"tag":203,"props":1330,"children":1331},{"style":210},[1332],{"type":65,"value":235},{"type":60,"tag":203,"props":1334,"children":1335},{"style":277},[1336],{"type":65,"value":1337}," useRuntimeConfig",{"type":60,"tag":203,"props":1339,"children":1340},{"style":267},[1341],{"type":65,"value":1342},"()",{"type":60,"tag":203,"props":1344,"children":1345},{"style":210},[1346],{"type":65,"value":86},{"type":60,"tag":203,"props":1348,"children":1349},{"style":267},[1350],{"type":65,"value":1351},"public",{"type":60,"tag":203,"props":1353,"children":1354},{"style":210},[1355],{"type":65,"value":86},{"type":60,"tag":203,"props":1357,"children":1358},{"style":267},[1359],{"type":65,"value":1360},"supabase",{"type":60,"tag":203,"props":1362,"children":1363},{"style":210},[1364],{"type":65,"value":86},{"type":60,"tag":203,"props":1366,"children":1367},{"style":267},[1368],{"type":65,"value":1369},"cookieName\n",{"type":60,"tag":203,"props":1371,"children":1372},{"class":205,"line":372},[1373,1377,1382,1386,1391,1395,1400,1405,1410,1415,1420,1425,1429],{"type":60,"tag":203,"props":1374,"children":1375},{"style":222},[1376],{"type":65,"value":264},{"type":60,"tag":203,"props":1378,"children":1379},{"style":267},[1380],{"type":65,"value":1381}," redirectPath ",{"type":60,"tag":203,"props":1383,"children":1384},{"style":210},[1385],{"type":65,"value":235},{"type":60,"tag":203,"props":1387,"children":1388},{"style":277},[1389],{"type":65,"value":1390}," useCookie",{"type":60,"tag":203,"props":1392,"children":1393},{"style":267},[1394],{"type":65,"value":312},{"type":60,"tag":203,"props":1396,"children":1397},{"style":210},[1398],{"type":65,"value":1399},"`${",{"type":60,"tag":203,"props":1401,"children":1402},{"style":267},[1403],{"type":65,"value":1404},"cookieName",{"type":60,"tag":203,"props":1406,"children":1407},{"style":210},[1408],{"type":65,"value":1409},"}",{"type":60,"tag":203,"props":1411,"children":1412},{"style":243},[1413],{"type":65,"value":1414},"-redirect-path",{"type":60,"tag":203,"props":1416,"children":1417},{"style":210},[1418],{"type":65,"value":1419},"`",{"type":60,"tag":203,"props":1421,"children":1422},{"style":267},[1423],{"type":65,"value":1424},")",{"type":60,"tag":203,"props":1426,"children":1427},{"style":210},[1428],{"type":65,"value":86},{"type":60,"tag":203,"props":1430,"children":1431},{"style":267},[1432],{"type":65,"value":1433},"value\n",{"type":60,"tag":203,"props":1435,"children":1436},{"class":205,"line":439},[1437],{"type":60,"tag":203,"props":1438,"children":1439},{"emptyLinePlaceholder":329},[1440],{"type":65,"value":332},{"type":60,"tag":203,"props":1442,"children":1443},{"class":205,"line":472},[1444,1448,1452,1456,1460,1464],{"type":60,"tag":203,"props":1445,"children":1446},{"style":277},[1447],{"type":65,"value":972},{"type":60,"tag":203,"props":1449,"children":1450},{"style":267},[1451],{"type":65,"value":977},{"type":60,"tag":203,"props":1453,"children":1454},{"style":210},[1455],{"type":65,"value":982},{"type":60,"tag":203,"props":1457,"children":1458},{"style":210},[1459],{"type":65,"value":359},{"type":60,"tag":203,"props":1461,"children":1462},{"style":222},[1463],{"type":65,"value":364},{"type":60,"tag":203,"props":1465,"children":1466},{"style":210},[1467],{"type":65,"value":369},{"type":60,"tag":203,"props":1469,"children":1470},{"class":205,"line":489},[1471,1475,1479,1483,1487,1491,1495],{"type":60,"tag":203,"props":1472,"children":1473},{"style":401},[1474],{"type":65,"value":549},{"type":60,"tag":203,"props":1476,"children":1477},{"style":216},[1478],{"type":65,"value":554},{"type":60,"tag":203,"props":1480,"children":1481},{"style":267},[1482],{"type":65,"value":1010},{"type":60,"tag":203,"props":1484,"children":1485},{"style":210},[1486],{"type":65,"value":86},{"type":60,"tag":203,"props":1488,"children":1489},{"style":267},[1490],{"type":65,"value":464},{"type":60,"tag":203,"props":1492,"children":1493},{"style":216},[1494],{"type":65,"value":564},{"type":60,"tag":203,"props":1496,"children":1497},{"style":210},[1498],{"type":65,"value":436},{"type":60,"tag":203,"props":1500,"children":1501},{"class":205,"line":521},[1502],{"type":60,"tag":203,"props":1503,"children":1504},{"style":1032},[1505],{"type":65,"value":1506}," // Clear cookie\n",{"type":60,"tag":203,"props":1508,"children":1509},{"class":205,"line":530},[1510,1515,1519,1523,1527,1531,1535,1539,1543,1547,1551,1555],{"type":60,"tag":203,"props":1511,"children":1512},{"style":277},[1513],{"type":65,"value":1514}," useCookie",{"type":60,"tag":203,"props":1516,"children":1517},{"style":216},[1518],{"type":65,"value":312},{"type":60,"tag":203,"props":1520,"children":1521},{"style":210},[1522],{"type":65,"value":1399},{"type":60,"tag":203,"props":1524,"children":1525},{"style":267},[1526],{"type":65,"value":1404},{"type":60,"tag":203,"props":1528,"children":1529},{"style":210},[1530],{"type":65,"value":1409},{"type":60,"tag":203,"props":1532,"children":1533},{"style":243},[1534],{"type":65,"value":1414},{"type":60,"tag":203,"props":1536,"children":1537},{"style":210},[1538],{"type":65,"value":1419},{"type":60,"tag":203,"props":1540,"children":1541},{"style":216},[1542],{"type":65,"value":1424},{"type":60,"tag":203,"props":1544,"children":1545},{"style":210},[1546],{"type":65,"value":86},{"type":60,"tag":203,"props":1548,"children":1549},{"style":267},[1550],{"type":65,"value":464},{"type":60,"tag":203,"props":1552,"children":1553},{"style":210},[1554],{"type":65,"value":398},{"type":60,"tag":203,"props":1556,"children":1557},{"style":210},[1558],{"type":65,"value":1559}," null\n",{"type":60,"tag":203,"props":1561,"children":1562},{"class":205,"line":543},[1563],{"type":60,"tag":203,"props":1564,"children":1565},{"style":1032},[1566],{"type":65,"value":1567}," // Redirect to path\n",{"type":60,"tag":203,"props":1569,"children":1570},{"class":205,"line":593},[1571,1575,1579,1583,1588,1593,1597,1601,1605,1609,1614],{"type":60,"tag":203,"props":1572,"children":1573},{"style":401},[1574],{"type":65,"value":1043},{"type":60,"tag":203,"props":1576,"children":1577},{"style":277},[1578],{"type":65,"value":1048},{"type":60,"tag":203,"props":1580,"children":1581},{"style":216},[1582],{"type":65,"value":312},{"type":60,"tag":203,"props":1584,"children":1585},{"style":267},[1586],{"type":65,"value":1587},"redirectPath",{"type":60,"tag":203,"props":1589,"children":1590},{"style":210},[1591],{"type":65,"value":1592}," ||",{"type":60,"tag":203,"props":1594,"children":1595},{"style":210},[1596],{"type":65,"value":504},{"type":60,"tag":203,"props":1598,"children":1599},{"style":243},[1600],{"type":65,"value":1061},{"type":60,"tag":203,"props":1602,"children":1603},{"style":210},[1604],{"type":65,"value":514},{"type":60,"tag":203,"props":1606,"children":1607},{"style":216},[1608],{"type":65,"value":1424},{"type":60,"tag":203,"props":1610,"children":1611},{"style":210},[1612],{"type":65,"value":1613},";",{"type":60,"tag":203,"props":1615,"children":1616},{"style":216},[1617],{"type":65,"value":1618}," \n",{"type":60,"tag":203,"props":1620,"children":1621},{"class":205,"line":602},[1622],{"type":60,"tag":203,"props":1623,"children":1624},{"style":210},[1625],{"type":65,"value":1077},{"type":60,"tag":203,"props":1627,"children":1628},{"class":205,"line":619},[1629,1633,1637,1641,1645,1649,1653],{"type":60,"tag":203,"props":1630,"children":1631},{"style":210},[1632],{"type":65,"value":1085},{"type":60,"tag":203,"props":1634,"children":1635},{"style":210},[1636],{"type":65,"value":383},{"type":60,"tag":203,"props":1638,"children":1639},{"style":216},[1640],{"type":65,"value":1094},{"type":60,"tag":203,"props":1642,"children":1643},{"style":210},[1644],{"type":65,"value":450},{"type":60,"tag":203,"props":1646,"children":1647},{"style":1101},[1648],{"type":65,"value":1104},{"type":60,"tag":203,"props":1650,"children":1651},{"style":210},[1652],{"type":65,"value":393},{"type":60,"tag":203,"props":1654,"children":1655},{"style":267},[1656],{"type":65,"value":322},{"type":60,"tag":203,"props":1658,"children":1659},{"class":205,"line":636},[1660,1664,1668],{"type":60,"tag":203,"props":1661,"children":1662},{"style":210},[1663],{"type":65,"value":608},{"type":60,"tag":203,"props":1665,"children":1666},{"style":216},[1667],{"type":65,"value":219},{"type":60,"tag":203,"props":1669,"children":1670},{"style":210},[1671],{"type":65,"value":255},{"type":60,"tag":203,"props":1673,"children":1674},{"class":205,"line":654},[1675,1679,1683],{"type":60,"tag":203,"props":1676,"children":1677},{"style":210},[1678],{"type":65,"value":213},{"type":60,"tag":203,"props":1680,"children":1681},{"style":216},[1682],{"type":65,"value":629},{"type":60,"tag":203,"props":1684,"children":1685},{"style":210},[1686],{"type":65,"value":255},{"type":60,"tag":203,"props":1688,"children":1689},{"class":205,"line":698},[1690,1694,1698,1702,1706,1710,1714],{"type":60,"tag":203,"props":1691,"children":1692},{"style":210},[1693],{"type":65,"value":642},{"type":60,"tag":203,"props":1695,"children":1696},{"style":216},[1697],{"type":65,"value":647},{"type":60,"tag":203,"props":1699,"children":1700},{"style":210},[1701],{"type":65,"value":1165},{"type":60,"tag":203,"props":1703,"children":1704},{"style":267},[1705],{"type":65,"value":1170},{"type":60,"tag":203,"props":1707,"children":1708},{"style":210},[1709],{"type":65,"value":608},{"type":60,"tag":203,"props":1711,"children":1712},{"style":216},[1713],{"type":65,"value":647},{"type":60,"tag":203,"props":1715,"children":1716},{"style":210},[1717],{"type":65,"value":255},{"type":60,"tag":203,"props":1719,"children":1720},{"class":205,"line":707},[1721,1725,1729],{"type":60,"tag":203,"props":1722,"children":1723},{"style":210},[1724],{"type":65,"value":608},{"type":60,"tag":203,"props":1726,"children":1727},{"style":216},[1728],{"type":65,"value":629},{"type":60,"tag":203,"props":1730,"children":1731},{"style":210},[1732],{"type":65,"value":255},{"type":60,"tag":1734,"props":1735,"children":1736},"style",{},[1737],{"type":65,"value":1738},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":53,"searchDepth":258,"depth":258,"links":1740},[1741,1743],{"id":137,"depth":258,"text":1742},"Log-in page - /login",{"id":857,"depth":258,"text":1744,"children":1745},"Confirm page - /confirm",[1746],{"id":1201,"depth":288,"text":1204},"markdown","content:3.authentication.md","content","3.authentication.md","md",[1753,1755],{"_path":6,"title":5,"description":1754},"@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.",{"_path":22,"title":21,"description":1756},"Make requests to the Supabase API with the useSupabaseClient composable",1706280924378] \ No newline at end of file +[{"data":1,"prerenderedAt":1757},["Reactive",2],{"navigation":3,"/authentication":52,"/authentication-surround":1752},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":10,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":9,"description":55,"icon":11,"body":56,"_type":1747,"_id":1748,"_source":1749,"_file":1750,"_extension":1751},"",false,"Authenticate your user thanks to the PKCE Oauth protocol that enables secure exchange of refresh and access tokens between an application and the authorization server",{"type":57,"children":58,"toc":1739},"root",[59,87,117,134,147,160,177,191,829,855,866,871,886,1198,1205,1210,1233,1733],{"type":60,"tag":61,"props":62,"children":63},"element","p",{},[64,67,76,78,85],{"type":65,"value":66},"text","With the default options, the module requires a log-in page and a confirm page to handle the ",{"type":60,"tag":68,"props":69,"children":73},"a",{"href":70,"rel":71},"https://supabase.com/docs/guides/resources/glossary#pkce",[72],"nofollow",[74],{"type":65,"value":75},"PKCE authorization code flow",{"type":65,"value":77},". If you want to understand how it works under the hood, you can read this ",{"type":60,"tag":68,"props":79,"children":82},{"href":80,"rel":81},"https://supabase.com/docs/guides/auth/server-side-rendering#understanding-the-authentication-flow",[72],[83],{"type":65,"value":84},"section",{"type":65,"value":86},".",{"type":60,"tag":61,"props":88,"children":89},{},[90,92,99,101,107,109,115],{"type":65,"value":91},"All you need to do is to create a ",{"type":60,"tag":93,"props":94,"children":96},"code",{"className":95},[],[97],{"type":65,"value":98},"login.vue",{"type":65,"value":100}," and ",{"type":60,"tag":93,"props":102,"children":104},{"className":103},[],[105],{"type":65,"value":106},"confirm.vue",{"type":65,"value":108}," page in the ",{"type":60,"tag":93,"props":110,"children":112},{"className":111},[],[113],{"type":65,"value":114},"pages",{"type":65,"value":116}," folder.",{"type":60,"tag":118,"props":119,"children":121},"callout",{"icon":120},"i-heroicons-light-bulb",[122],{"type":60,"tag":61,"props":123,"children":124},{},[125,127,133],{"type":65,"value":126},"For advanced users who want to implement the auth behaviour themselves, you can disable or override the ",{"type":60,"tag":68,"props":128,"children":130},{"href":129},"/get-started#redirect",[131],{"type":65,"value":132},"redirect options",{"type":65,"value":86},{"type":60,"tag":135,"props":136,"children":138},"h2",{"id":137},"log-in-page-login",[139,141],{"type":65,"value":140},"Log-in page - ",{"type":60,"tag":93,"props":142,"children":144},{"className":143},[],[145],{"type":65,"value":146},"/login",{"type":60,"tag":61,"props":148,"children":149},{},[150,152,158],{"type":65,"value":151},"Each time a user is trying to access a page that needs authentication, he will automatically be redirected to the configured log in page. If you want to allow access to \"public\" page, you just need to add them in the ",{"type":60,"tag":68,"props":153,"children":155},{"href":154},"/get-started#redirectoptions",[156],{"type":65,"value":157},"exclude",{"type":65,"value":159}," redirect option.",{"type":60,"tag":118,"props":161,"children":164},{"icon":162,"color":163},"i-heroicons-exclamation-triangle-20-solid","amber",[165],{"type":60,"tag":61,"props":166,"children":167},{},[168,170,176],{"type":65,"value":169},"Ensure to activate the authentication providers you want in the Supabase Dashboard under ",{"type":60,"tag":93,"props":171,"children":173},{"className":172},[],[174],{"type":65,"value":175},"Authentication -> Providers",{"type":65,"value":86},{"type":60,"tag":61,"props":178,"children":179},{},[180,182,189],{"type":65,"value":181},"The log-in page initiates the log-in method(s) you choose from the ",{"type":60,"tag":68,"props":183,"children":186},{"href":184,"rel":185},"https://supabase.com/docs/reference/javascript/auth-signinwithpassword",[72],[187],{"type":65,"value":188},"available authorization methods",{"type":65,"value":190}," provided by Supabase, it could looks like:",{"type":60,"tag":192,"props":193,"children":198},"pre",{"className":194,"code":195,"filename":196,"language":197,"meta":53,"style":53},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst supabase = useSupabaseClient()\nconst email = ref('')\n\nconst signInWithOtp = async () => {\n const { error } = await supabase.auth.signInWithOtp({\n email: email.value,\n options: {\n emailRedirectTo: 'http://localhost:3000/confirm',\n }\n })\n if (error) console.log(error)\n}\n\u003C/script>\n\u003Ctemplate>\n \u003Cdiv>\n \u003Cbutton @click=\"signInWithOtp\">\n Sign In with E-Mail\n \u003C/button>\n \u003Cinput\n v-model=\"email\"\n type=\"email\"\n />\n \u003C/div>\n\u003C/template>\n","pages/login.vue","vue",[199],{"type":60,"tag":93,"props":200,"children":201},{"__ignoreMap":53},[202,256,286,323,333,370,437,470,487,519,528,541,591,600,617,634,652,696,705,722,735,762,787,796,813],{"type":60,"tag":203,"props":204,"children":207},"span",{"class":205,"line":206},"line",1,[208,214,220,226,231,236,241,247,251],{"type":60,"tag":203,"props":209,"children":211},{"style":210},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[212],{"type":65,"value":213},"\u003C",{"type":60,"tag":203,"props":215,"children":217},{"style":216},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[218],{"type":65,"value":219},"script",{"type":60,"tag":203,"props":221,"children":223},{"style":222},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[224],{"type":65,"value":225}," setup",{"type":60,"tag":203,"props":227,"children":228},{"style":222},[229],{"type":65,"value":230}," lang",{"type":60,"tag":203,"props":232,"children":233},{"style":210},[234],{"type":65,"value":235},"=",{"type":60,"tag":203,"props":237,"children":238},{"style":210},[239],{"type":65,"value":240},"\"",{"type":60,"tag":203,"props":242,"children":244},{"style":243},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[245],{"type":65,"value":246},"ts",{"type":60,"tag":203,"props":248,"children":249},{"style":210},[250],{"type":65,"value":240},{"type":60,"tag":203,"props":252,"children":253},{"style":210},[254],{"type":65,"value":255},">\n",{"type":60,"tag":203,"props":257,"children":259},{"class":205,"line":258},2,[260,265,271,275,281],{"type":60,"tag":203,"props":261,"children":262},{"style":222},[263],{"type":65,"value":264},"const",{"type":60,"tag":203,"props":266,"children":268},{"style":267},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[269],{"type":65,"value":270}," supabase ",{"type":60,"tag":203,"props":272,"children":273},{"style":210},[274],{"type":65,"value":235},{"type":60,"tag":203,"props":276,"children":278},{"style":277},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[279],{"type":65,"value":280}," useSupabaseClient",{"type":60,"tag":203,"props":282,"children":283},{"style":267},[284],{"type":65,"value":285},"()\n",{"type":60,"tag":203,"props":287,"children":289},{"class":205,"line":288},3,[290,294,299,303,308,313,318],{"type":60,"tag":203,"props":291,"children":292},{"style":222},[293],{"type":65,"value":264},{"type":60,"tag":203,"props":295,"children":296},{"style":267},[297],{"type":65,"value":298}," email ",{"type":60,"tag":203,"props":300,"children":301},{"style":210},[302],{"type":65,"value":235},{"type":60,"tag":203,"props":304,"children":305},{"style":277},[306],{"type":65,"value":307}," ref",{"type":60,"tag":203,"props":309,"children":310},{"style":267},[311],{"type":65,"value":312},"(",{"type":60,"tag":203,"props":314,"children":315},{"style":210},[316],{"type":65,"value":317},"''",{"type":60,"tag":203,"props":319,"children":320},{"style":267},[321],{"type":65,"value":322},")\n",{"type":60,"tag":203,"props":324,"children":326},{"class":205,"line":325},4,[327],{"type":60,"tag":203,"props":328,"children":330},{"emptyLinePlaceholder":329},true,[331],{"type":65,"value":332},"\n",{"type":60,"tag":203,"props":334,"children":336},{"class":205,"line":335},5,[337,341,346,350,355,360,365],{"type":60,"tag":203,"props":338,"children":339},{"style":222},[340],{"type":65,"value":264},{"type":60,"tag":203,"props":342,"children":343},{"style":267},[344],{"type":65,"value":345}," signInWithOtp ",{"type":60,"tag":203,"props":347,"children":348},{"style":210},[349],{"type":65,"value":235},{"type":60,"tag":203,"props":351,"children":352},{"style":222},[353],{"type":65,"value":354}," async",{"type":60,"tag":203,"props":356,"children":357},{"style":210},[358],{"type":65,"value":359}," ()",{"type":60,"tag":203,"props":361,"children":362},{"style":222},[363],{"type":65,"value":364}," =>",{"type":60,"tag":203,"props":366,"children":367},{"style":210},[368],{"type":65,"value":369}," {\n",{"type":60,"tag":203,"props":371,"children":373},{"class":205,"line":372},6,[374,379,384,389,394,399,405,410,414,419,423,428,432],{"type":60,"tag":203,"props":375,"children":376},{"style":222},[377],{"type":65,"value":378}," const",{"type":60,"tag":203,"props":380,"children":381},{"style":210},[382],{"type":65,"value":383}," {",{"type":60,"tag":203,"props":385,"children":386},{"style":267},[387],{"type":65,"value":388}," error",{"type":60,"tag":203,"props":390,"children":391},{"style":210},[392],{"type":65,"value":393}," }",{"type":60,"tag":203,"props":395,"children":396},{"style":210},[397],{"type":65,"value":398}," =",{"type":60,"tag":203,"props":400,"children":402},{"style":401},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[403],{"type":65,"value":404}," await",{"type":60,"tag":203,"props":406,"children":407},{"style":267},[408],{"type":65,"value":409}," supabase",{"type":60,"tag":203,"props":411,"children":412},{"style":210},[413],{"type":65,"value":86},{"type":60,"tag":203,"props":415,"children":416},{"style":267},[417],{"type":65,"value":418},"auth",{"type":60,"tag":203,"props":420,"children":421},{"style":210},[422],{"type":65,"value":86},{"type":60,"tag":203,"props":424,"children":425},{"style":277},[426],{"type":65,"value":427},"signInWithOtp",{"type":60,"tag":203,"props":429,"children":430},{"style":216},[431],{"type":65,"value":312},{"type":60,"tag":203,"props":433,"children":434},{"style":210},[435],{"type":65,"value":436},"{\n",{"type":60,"tag":203,"props":438,"children":440},{"class":205,"line":439},7,[441,446,451,456,460,465],{"type":60,"tag":203,"props":442,"children":443},{"style":216},[444],{"type":65,"value":445}," email",{"type":60,"tag":203,"props":447,"children":448},{"style":210},[449],{"type":65,"value":450},":",{"type":60,"tag":203,"props":452,"children":453},{"style":267},[454],{"type":65,"value":455}," email",{"type":60,"tag":203,"props":457,"children":458},{"style":210},[459],{"type":65,"value":86},{"type":60,"tag":203,"props":461,"children":462},{"style":267},[463],{"type":65,"value":464},"value",{"type":60,"tag":203,"props":466,"children":467},{"style":210},[468],{"type":65,"value":469},",\n",{"type":60,"tag":203,"props":471,"children":473},{"class":205,"line":472},8,[474,479,483],{"type":60,"tag":203,"props":475,"children":476},{"style":216},[477],{"type":65,"value":478}," options",{"type":60,"tag":203,"props":480,"children":481},{"style":210},[482],{"type":65,"value":450},{"type":60,"tag":203,"props":484,"children":485},{"style":210},[486],{"type":65,"value":369},{"type":60,"tag":203,"props":488,"children":490},{"class":205,"line":489},9,[491,496,500,505,510,515],{"type":60,"tag":203,"props":492,"children":493},{"style":216},[494],{"type":65,"value":495}," emailRedirectTo",{"type":60,"tag":203,"props":497,"children":498},{"style":210},[499],{"type":65,"value":450},{"type":60,"tag":203,"props":501,"children":502},{"style":210},[503],{"type":65,"value":504}," '",{"type":60,"tag":203,"props":506,"children":507},{"style":243},[508],{"type":65,"value":509},"http://localhost:3000/confirm",{"type":60,"tag":203,"props":511,"children":512},{"style":210},[513],{"type":65,"value":514},"'",{"type":60,"tag":203,"props":516,"children":517},{"style":210},[518],{"type":65,"value":469},{"type":60,"tag":203,"props":520,"children":522},{"class":205,"line":521},10,[523],{"type":60,"tag":203,"props":524,"children":525},{"style":210},[526],{"type":65,"value":527}," }\n",{"type":60,"tag":203,"props":529,"children":531},{"class":205,"line":530},11,[532,537],{"type":60,"tag":203,"props":533,"children":534},{"style":210},[535],{"type":65,"value":536}," }",{"type":60,"tag":203,"props":538,"children":539},{"style":216},[540],{"type":65,"value":322},{"type":60,"tag":203,"props":542,"children":544},{"class":205,"line":543},12,[545,550,555,560,565,570,574,579,583,587],{"type":60,"tag":203,"props":546,"children":547},{"style":401},[548],{"type":65,"value":549}," if",{"type":60,"tag":203,"props":551,"children":552},{"style":216},[553],{"type":65,"value":554}," (",{"type":60,"tag":203,"props":556,"children":557},{"style":267},[558],{"type":65,"value":559},"error",{"type":60,"tag":203,"props":561,"children":562},{"style":216},[563],{"type":65,"value":564},") ",{"type":60,"tag":203,"props":566,"children":567},{"style":267},[568],{"type":65,"value":569},"console",{"type":60,"tag":203,"props":571,"children":572},{"style":210},[573],{"type":65,"value":86},{"type":60,"tag":203,"props":575,"children":576},{"style":277},[577],{"type":65,"value":578},"log",{"type":60,"tag":203,"props":580,"children":581},{"style":216},[582],{"type":65,"value":312},{"type":60,"tag":203,"props":584,"children":585},{"style":267},[586],{"type":65,"value":559},{"type":60,"tag":203,"props":588,"children":589},{"style":216},[590],{"type":65,"value":322},{"type":60,"tag":203,"props":592,"children":594},{"class":205,"line":593},13,[595],{"type":60,"tag":203,"props":596,"children":597},{"style":210},[598],{"type":65,"value":599},"}\n",{"type":60,"tag":203,"props":601,"children":603},{"class":205,"line":602},14,[604,609,613],{"type":60,"tag":203,"props":605,"children":606},{"style":210},[607],{"type":65,"value":608},"\u003C/",{"type":60,"tag":203,"props":610,"children":611},{"style":216},[612],{"type":65,"value":219},{"type":60,"tag":203,"props":614,"children":615},{"style":210},[616],{"type":65,"value":255},{"type":60,"tag":203,"props":618,"children":620},{"class":205,"line":619},15,[621,625,630],{"type":60,"tag":203,"props":622,"children":623},{"style":210},[624],{"type":65,"value":213},{"type":60,"tag":203,"props":626,"children":627},{"style":216},[628],{"type":65,"value":629},"template",{"type":60,"tag":203,"props":631,"children":632},{"style":210},[633],{"type":65,"value":255},{"type":60,"tag":203,"props":635,"children":637},{"class":205,"line":636},16,[638,643,648],{"type":60,"tag":203,"props":639,"children":640},{"style":210},[641],{"type":65,"value":642}," \u003C",{"type":60,"tag":203,"props":644,"children":645},{"style":216},[646],{"type":65,"value":647},"div",{"type":60,"tag":203,"props":649,"children":650},{"style":210},[651],{"type":65,"value":255},{"type":60,"tag":203,"props":653,"children":655},{"class":205,"line":654},17,[656,661,666,671,676,680,684,688,692],{"type":60,"tag":203,"props":657,"children":658},{"style":210},[659],{"type":65,"value":660}," \u003C",{"type":60,"tag":203,"props":662,"children":663},{"style":216},[664],{"type":65,"value":665},"button",{"type":60,"tag":203,"props":667,"children":668},{"style":210},[669],{"type":65,"value":670}," @",{"type":60,"tag":203,"props":672,"children":673},{"style":222},[674],{"type":65,"value":675},"click",{"type":60,"tag":203,"props":677,"children":678},{"style":210},[679],{"type":65,"value":235},{"type":60,"tag":203,"props":681,"children":682},{"style":210},[683],{"type":65,"value":240},{"type":60,"tag":203,"props":685,"children":686},{"style":267},[687],{"type":65,"value":427},{"type":60,"tag":203,"props":689,"children":690},{"style":210},[691],{"type":65,"value":240},{"type":60,"tag":203,"props":693,"children":694},{"style":210},[695],{"type":65,"value":255},{"type":60,"tag":203,"props":697,"children":699},{"class":205,"line":698},18,[700],{"type":60,"tag":203,"props":701,"children":702},{"style":267},[703],{"type":65,"value":704}," Sign In with E-Mail\n",{"type":60,"tag":203,"props":706,"children":708},{"class":205,"line":707},19,[709,714,718],{"type":60,"tag":203,"props":710,"children":711},{"style":210},[712],{"type":65,"value":713}," \u003C/",{"type":60,"tag":203,"props":715,"children":716},{"style":216},[717],{"type":65,"value":665},{"type":60,"tag":203,"props":719,"children":720},{"style":210},[721],{"type":65,"value":255},{"type":60,"tag":203,"props":723,"children":725},{"class":205,"line":724},20,[726,730],{"type":60,"tag":203,"props":727,"children":728},{"style":210},[729],{"type":65,"value":660},{"type":60,"tag":203,"props":731,"children":732},{"style":216},[733],{"type":65,"value":734},"input\n",{"type":60,"tag":203,"props":736,"children":738},{"class":205,"line":737},21,[739,744,748,752,757],{"type":60,"tag":203,"props":740,"children":741},{"style":222},[742],{"type":65,"value":743}," v-model",{"type":60,"tag":203,"props":745,"children":746},{"style":210},[747],{"type":65,"value":235},{"type":60,"tag":203,"props":749,"children":750},{"style":210},[751],{"type":65,"value":240},{"type":60,"tag":203,"props":753,"children":754},{"style":267},[755],{"type":65,"value":756},"email",{"type":60,"tag":203,"props":758,"children":759},{"style":210},[760],{"type":65,"value":761},"\"\n",{"type":60,"tag":203,"props":763,"children":765},{"class":205,"line":764},22,[766,771,775,779,783],{"type":60,"tag":203,"props":767,"children":768},{"style":222},[769],{"type":65,"value":770}," type",{"type":60,"tag":203,"props":772,"children":773},{"style":210},[774],{"type":65,"value":235},{"type":60,"tag":203,"props":776,"children":777},{"style":210},[778],{"type":65,"value":240},{"type":60,"tag":203,"props":780,"children":781},{"style":243},[782],{"type":65,"value":756},{"type":60,"tag":203,"props":784,"children":785},{"style":210},[786],{"type":65,"value":761},{"type":60,"tag":203,"props":788,"children":790},{"class":205,"line":789},23,[791],{"type":60,"tag":203,"props":792,"children":793},{"style":210},[794],{"type":65,"value":795}," />\n",{"type":60,"tag":203,"props":797,"children":799},{"class":205,"line":798},24,[800,805,809],{"type":60,"tag":203,"props":801,"children":802},{"style":210},[803],{"type":65,"value":804}," \u003C/",{"type":60,"tag":203,"props":806,"children":807},{"style":216},[808],{"type":65,"value":647},{"type":60,"tag":203,"props":810,"children":811},{"style":210},[812],{"type":65,"value":255},{"type":60,"tag":203,"props":814,"children":816},{"class":205,"line":815},25,[817,821,825],{"type":60,"tag":203,"props":818,"children":819},{"style":210},[820],{"type":65,"value":608},{"type":60,"tag":203,"props":822,"children":823},{"style":216},[824],{"type":65,"value":629},{"type":60,"tag":203,"props":826,"children":827},{"style":210},[828],{"type":65,"value":255},{"type":60,"tag":61,"props":830,"children":831},{},[832,834,839,841,845,847,853],{"type":65,"value":833},"Once the authorization flow is triggered using the ",{"type":60,"tag":93,"props":835,"children":837},{"className":836},[],[838],{"type":65,"value":418},{"type":65,"value":840}," wrapper of the ",{"type":60,"tag":68,"props":842,"children":843},{"href":22},[844],{"type":65,"value":21},{"type":65,"value":846}," composable, the session management is handled automatically and the user will be redirected to the page you specify in the redirect option (",{"type":60,"tag":93,"props":848,"children":850},{"className":849},[],[851],{"type":65,"value":852},"/confirm",{"type":65,"value":854}," by default).",{"type":60,"tag":135,"props":856,"children":858},{"id":857},"confirm-page-confirm",[859,861],{"type":65,"value":860},"Confirm page - ",{"type":60,"tag":93,"props":862,"children":864},{"className":863},[],[865],{"type":65,"value":852},{"type":60,"tag":61,"props":867,"children":868},{},[869],{"type":65,"value":870},"The confirmation page receives the supabase callback. From there you can check the user value and redirect to the appropriate page.",{"type":60,"tag":118,"props":872,"children":873},{"icon":120},[874],{"type":60,"tag":61,"props":875,"children":876},{},[877,879,885],{"type":65,"value":878},"The redirect URL must be configured in your Supabase dashboard under ",{"type":60,"tag":93,"props":880,"children":882},{"className":881},[],[883],{"type":65,"value":884},"Authentication -> URL Configuration -> Redirect URLs",{"type":65,"value":86},{"type":60,"tag":192,"props":887,"children":890},{"className":194,"code":888,"filename":889,"language":197,"meta":53,"style":53},"\u003Cscript setup lang=\"ts\">\nconst user = useSupabaseUser()\n\nwatch(user, () => {\n if (user.value) {\n // Redirect to protected page\n return navigateTo('/')\n }\n}, { immediate: true })\n\u003C/script>\n\n\u003Ctemplate>\n \u003Cdiv>Waiting for login...\u003C/div>\n\u003C/template>\n","pages/confirm.vue",[891],{"type":60,"tag":93,"props":892,"children":893},{"__ignoreMap":53},[894,933,958,965,995,1027,1036,1070,1078,1113,1128,1135,1150,1183],{"type":60,"tag":203,"props":895,"children":896},{"class":205,"line":206},[897,901,905,909,913,917,921,925,929],{"type":60,"tag":203,"props":898,"children":899},{"style":210},[900],{"type":65,"value":213},{"type":60,"tag":203,"props":902,"children":903},{"style":216},[904],{"type":65,"value":219},{"type":60,"tag":203,"props":906,"children":907},{"style":222},[908],{"type":65,"value":225},{"type":60,"tag":203,"props":910,"children":911},{"style":222},[912],{"type":65,"value":230},{"type":60,"tag":203,"props":914,"children":915},{"style":210},[916],{"type":65,"value":235},{"type":60,"tag":203,"props":918,"children":919},{"style":210},[920],{"type":65,"value":240},{"type":60,"tag":203,"props":922,"children":923},{"style":243},[924],{"type":65,"value":246},{"type":60,"tag":203,"props":926,"children":927},{"style":210},[928],{"type":65,"value":240},{"type":60,"tag":203,"props":930,"children":931},{"style":210},[932],{"type":65,"value":255},{"type":60,"tag":203,"props":934,"children":935},{"class":205,"line":258},[936,940,945,949,954],{"type":60,"tag":203,"props":937,"children":938},{"style":222},[939],{"type":65,"value":264},{"type":60,"tag":203,"props":941,"children":942},{"style":267},[943],{"type":65,"value":944}," user ",{"type":60,"tag":203,"props":946,"children":947},{"style":210},[948],{"type":65,"value":235},{"type":60,"tag":203,"props":950,"children":951},{"style":277},[952],{"type":65,"value":953}," useSupabaseUser",{"type":60,"tag":203,"props":955,"children":956},{"style":267},[957],{"type":65,"value":285},{"type":60,"tag":203,"props":959,"children":960},{"class":205,"line":288},[961],{"type":60,"tag":203,"props":962,"children":963},{"emptyLinePlaceholder":329},[964],{"type":65,"value":332},{"type":60,"tag":203,"props":966,"children":967},{"class":205,"line":325},[968,973,978,983,987,991],{"type":60,"tag":203,"props":969,"children":970},{"style":277},[971],{"type":65,"value":972},"watch",{"type":60,"tag":203,"props":974,"children":975},{"style":267},[976],{"type":65,"value":977},"(user",{"type":60,"tag":203,"props":979,"children":980},{"style":210},[981],{"type":65,"value":982},",",{"type":60,"tag":203,"props":984,"children":985},{"style":210},[986],{"type":65,"value":359},{"type":60,"tag":203,"props":988,"children":989},{"style":222},[990],{"type":65,"value":364},{"type":60,"tag":203,"props":992,"children":993},{"style":210},[994],{"type":65,"value":369},{"type":60,"tag":203,"props":996,"children":997},{"class":205,"line":335},[998,1002,1006,1011,1015,1019,1023],{"type":60,"tag":203,"props":999,"children":1000},{"style":401},[1001],{"type":65,"value":549},{"type":60,"tag":203,"props":1003,"children":1004},{"style":216},[1005],{"type":65,"value":554},{"type":60,"tag":203,"props":1007,"children":1008},{"style":267},[1009],{"type":65,"value":1010},"user",{"type":60,"tag":203,"props":1012,"children":1013},{"style":210},[1014],{"type":65,"value":86},{"type":60,"tag":203,"props":1016,"children":1017},{"style":267},[1018],{"type":65,"value":464},{"type":60,"tag":203,"props":1020,"children":1021},{"style":216},[1022],{"type":65,"value":564},{"type":60,"tag":203,"props":1024,"children":1025},{"style":210},[1026],{"type":65,"value":436},{"type":60,"tag":203,"props":1028,"children":1029},{"class":205,"line":372},[1030],{"type":60,"tag":203,"props":1031,"children":1033},{"style":1032},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[1034],{"type":65,"value":1035}," // Redirect to protected page\n",{"type":60,"tag":203,"props":1037,"children":1038},{"class":205,"line":439},[1039,1044,1049,1053,1057,1062,1066],{"type":60,"tag":203,"props":1040,"children":1041},{"style":401},[1042],{"type":65,"value":1043}," return",{"type":60,"tag":203,"props":1045,"children":1046},{"style":277},[1047],{"type":65,"value":1048}," navigateTo",{"type":60,"tag":203,"props":1050,"children":1051},{"style":216},[1052],{"type":65,"value":312},{"type":60,"tag":203,"props":1054,"children":1055},{"style":210},[1056],{"type":65,"value":514},{"type":60,"tag":203,"props":1058,"children":1059},{"style":243},[1060],{"type":65,"value":1061},"/",{"type":60,"tag":203,"props":1063,"children":1064},{"style":210},[1065],{"type":65,"value":514},{"type":60,"tag":203,"props":1067,"children":1068},{"style":216},[1069],{"type":65,"value":322},{"type":60,"tag":203,"props":1071,"children":1072},{"class":205,"line":472},[1073],{"type":60,"tag":203,"props":1074,"children":1075},{"style":210},[1076],{"type":65,"value":1077}," }\n",{"type":60,"tag":203,"props":1079,"children":1080},{"class":205,"line":489},[1081,1086,1090,1095,1099,1105,1109],{"type":60,"tag":203,"props":1082,"children":1083},{"style":210},[1084],{"type":65,"value":1085},"},",{"type":60,"tag":203,"props":1087,"children":1088},{"style":210},[1089],{"type":65,"value":383},{"type":60,"tag":203,"props":1091,"children":1092},{"style":216},[1093],{"type":65,"value":1094}," immediate",{"type":60,"tag":203,"props":1096,"children":1097},{"style":210},[1098],{"type":65,"value":450},{"type":60,"tag":203,"props":1100,"children":1102},{"style":1101},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1103],{"type":65,"value":1104}," true",{"type":60,"tag":203,"props":1106,"children":1107},{"style":210},[1108],{"type":65,"value":393},{"type":60,"tag":203,"props":1110,"children":1111},{"style":267},[1112],{"type":65,"value":322},{"type":60,"tag":203,"props":1114,"children":1115},{"class":205,"line":521},[1116,1120,1124],{"type":60,"tag":203,"props":1117,"children":1118},{"style":210},[1119],{"type":65,"value":608},{"type":60,"tag":203,"props":1121,"children":1122},{"style":216},[1123],{"type":65,"value":219},{"type":60,"tag":203,"props":1125,"children":1126},{"style":210},[1127],{"type":65,"value":255},{"type":60,"tag":203,"props":1129,"children":1130},{"class":205,"line":530},[1131],{"type":60,"tag":203,"props":1132,"children":1133},{"emptyLinePlaceholder":329},[1134],{"type":65,"value":332},{"type":60,"tag":203,"props":1136,"children":1137},{"class":205,"line":543},[1138,1142,1146],{"type":60,"tag":203,"props":1139,"children":1140},{"style":210},[1141],{"type":65,"value":213},{"type":60,"tag":203,"props":1143,"children":1144},{"style":216},[1145],{"type":65,"value":629},{"type":60,"tag":203,"props":1147,"children":1148},{"style":210},[1149],{"type":65,"value":255},{"type":60,"tag":203,"props":1151,"children":1152},{"class":205,"line":593},[1153,1157,1161,1166,1171,1175,1179],{"type":60,"tag":203,"props":1154,"children":1155},{"style":210},[1156],{"type":65,"value":642},{"type":60,"tag":203,"props":1158,"children":1159},{"style":216},[1160],{"type":65,"value":647},{"type":60,"tag":203,"props":1162,"children":1163},{"style":210},[1164],{"type":65,"value":1165},">",{"type":60,"tag":203,"props":1167,"children":1168},{"style":267},[1169],{"type":65,"value":1170},"Waiting for login...",{"type":60,"tag":203,"props":1172,"children":1173},{"style":210},[1174],{"type":65,"value":608},{"type":60,"tag":203,"props":1176,"children":1177},{"style":216},[1178],{"type":65,"value":647},{"type":60,"tag":203,"props":1180,"children":1181},{"style":210},[1182],{"type":65,"value":255},{"type":60,"tag":203,"props":1184,"children":1185},{"class":205,"line":602},[1186,1190,1194],{"type":60,"tag":203,"props":1187,"children":1188},{"style":210},[1189],{"type":65,"value":608},{"type":60,"tag":203,"props":1191,"children":1192},{"style":216},[1193],{"type":65,"value":629},{"type":60,"tag":203,"props":1195,"children":1196},{"style":210},[1197],{"type":65,"value":255},{"type":60,"tag":1199,"props":1200,"children":1202},"h3",{"id":1201},"redirect-path",[1203],{"type":65,"value":1204},"Redirect path",{"type":60,"tag":61,"props":1206,"children":1207},{},[1208],{"type":65,"value":1209},"You can easily handle redirection to the initial requested route after login.",{"type":60,"tag":118,"props":1211,"children":1212},{"icon":120},[1213],{"type":60,"tag":61,"props":1214,"children":1215},{},[1216,1218,1224,1226,1231],{"type":65,"value":1217},"You must enable the ",{"type":60,"tag":93,"props":1219,"children":1221},{"className":1220},[],[1222],{"type":65,"value":1223},"cookieRedirect",{"type":65,"value":1225}," option of the ",{"type":60,"tag":68,"props":1227,"children":1228},{"href":154},[1229],{"type":65,"value":1230},"redirectOptions",{"type":65,"value":1232}," to allow cookie storage and take benefit of this feature.",{"type":60,"tag":192,"props":1234,"children":1236},{"className":194,"code":1235,"filename":889,"language":197,"meta":53,"style":53},"\u003Cscript setup lang=\"ts\">\nconst user = useSupabaseUser()\n\n// Get redirect path from cookies\nconst config = useRuntimeConfig().public.supabase.cookieName\nconst redirectPath = useCookie(`${cookieName}-redirect-path`).value\n\nwatch(user, () => {\n if (user.value) {\n // Clear cookie\n useCookie(`${cookieName}-redirect-path`).value = null\n // Redirect to path\n return navigateTo(redirectPath || '/'); \n }\n}, { immediate: true })\n\u003C/script>\n\u003Ctemplate>\n \u003Cdiv>Waiting for login...\u003C/div>\n\u003C/template>\n",[1237],{"type":60,"tag":93,"props":1238,"children":1239},{"__ignoreMap":53},[1240,1279,1302,1309,1317,1370,1434,1441,1468,1499,1507,1560,1568,1619,1626,1657,1672,1687,1718],{"type":60,"tag":203,"props":1241,"children":1242},{"class":205,"line":206},[1243,1247,1251,1255,1259,1263,1267,1271,1275],{"type":60,"tag":203,"props":1244,"children":1245},{"style":210},[1246],{"type":65,"value":213},{"type":60,"tag":203,"props":1248,"children":1249},{"style":216},[1250],{"type":65,"value":219},{"type":60,"tag":203,"props":1252,"children":1253},{"style":222},[1254],{"type":65,"value":225},{"type":60,"tag":203,"props":1256,"children":1257},{"style":222},[1258],{"type":65,"value":230},{"type":60,"tag":203,"props":1260,"children":1261},{"style":210},[1262],{"type":65,"value":235},{"type":60,"tag":203,"props":1264,"children":1265},{"style":210},[1266],{"type":65,"value":240},{"type":60,"tag":203,"props":1268,"children":1269},{"style":243},[1270],{"type":65,"value":246},{"type":60,"tag":203,"props":1272,"children":1273},{"style":210},[1274],{"type":65,"value":240},{"type":60,"tag":203,"props":1276,"children":1277},{"style":210},[1278],{"type":65,"value":255},{"type":60,"tag":203,"props":1280,"children":1281},{"class":205,"line":258},[1282,1286,1290,1294,1298],{"type":60,"tag":203,"props":1283,"children":1284},{"style":222},[1285],{"type":65,"value":264},{"type":60,"tag":203,"props":1287,"children":1288},{"style":267},[1289],{"type":65,"value":944},{"type":60,"tag":203,"props":1291,"children":1292},{"style":210},[1293],{"type":65,"value":235},{"type":60,"tag":203,"props":1295,"children":1296},{"style":277},[1297],{"type":65,"value":953},{"type":60,"tag":203,"props":1299,"children":1300},{"style":267},[1301],{"type":65,"value":285},{"type":60,"tag":203,"props":1303,"children":1304},{"class":205,"line":288},[1305],{"type":60,"tag":203,"props":1306,"children":1307},{"emptyLinePlaceholder":329},[1308],{"type":65,"value":332},{"type":60,"tag":203,"props":1310,"children":1311},{"class":205,"line":325},[1312],{"type":60,"tag":203,"props":1313,"children":1314},{"style":1032},[1315],{"type":65,"value":1316},"// Get redirect path from cookies\n",{"type":60,"tag":203,"props":1318,"children":1319},{"class":205,"line":335},[1320,1324,1329,1333,1338,1343,1347,1352,1356,1361,1365],{"type":60,"tag":203,"props":1321,"children":1322},{"style":222},[1323],{"type":65,"value":264},{"type":60,"tag":203,"props":1325,"children":1326},{"style":267},[1327],{"type":65,"value":1328}," config ",{"type":60,"tag":203,"props":1330,"children":1331},{"style":210},[1332],{"type":65,"value":235},{"type":60,"tag":203,"props":1334,"children":1335},{"style":277},[1336],{"type":65,"value":1337}," useRuntimeConfig",{"type":60,"tag":203,"props":1339,"children":1340},{"style":267},[1341],{"type":65,"value":1342},"()",{"type":60,"tag":203,"props":1344,"children":1345},{"style":210},[1346],{"type":65,"value":86},{"type":60,"tag":203,"props":1348,"children":1349},{"style":267},[1350],{"type":65,"value":1351},"public",{"type":60,"tag":203,"props":1353,"children":1354},{"style":210},[1355],{"type":65,"value":86},{"type":60,"tag":203,"props":1357,"children":1358},{"style":267},[1359],{"type":65,"value":1360},"supabase",{"type":60,"tag":203,"props":1362,"children":1363},{"style":210},[1364],{"type":65,"value":86},{"type":60,"tag":203,"props":1366,"children":1367},{"style":267},[1368],{"type":65,"value":1369},"cookieName\n",{"type":60,"tag":203,"props":1371,"children":1372},{"class":205,"line":372},[1373,1377,1382,1386,1391,1395,1400,1405,1410,1415,1420,1425,1429],{"type":60,"tag":203,"props":1374,"children":1375},{"style":222},[1376],{"type":65,"value":264},{"type":60,"tag":203,"props":1378,"children":1379},{"style":267},[1380],{"type":65,"value":1381}," redirectPath ",{"type":60,"tag":203,"props":1383,"children":1384},{"style":210},[1385],{"type":65,"value":235},{"type":60,"tag":203,"props":1387,"children":1388},{"style":277},[1389],{"type":65,"value":1390}," useCookie",{"type":60,"tag":203,"props":1392,"children":1393},{"style":267},[1394],{"type":65,"value":312},{"type":60,"tag":203,"props":1396,"children":1397},{"style":210},[1398],{"type":65,"value":1399},"`${",{"type":60,"tag":203,"props":1401,"children":1402},{"style":267},[1403],{"type":65,"value":1404},"cookieName",{"type":60,"tag":203,"props":1406,"children":1407},{"style":210},[1408],{"type":65,"value":1409},"}",{"type":60,"tag":203,"props":1411,"children":1412},{"style":243},[1413],{"type":65,"value":1414},"-redirect-path",{"type":60,"tag":203,"props":1416,"children":1417},{"style":210},[1418],{"type":65,"value":1419},"`",{"type":60,"tag":203,"props":1421,"children":1422},{"style":267},[1423],{"type":65,"value":1424},")",{"type":60,"tag":203,"props":1426,"children":1427},{"style":210},[1428],{"type":65,"value":86},{"type":60,"tag":203,"props":1430,"children":1431},{"style":267},[1432],{"type":65,"value":1433},"value\n",{"type":60,"tag":203,"props":1435,"children":1436},{"class":205,"line":439},[1437],{"type":60,"tag":203,"props":1438,"children":1439},{"emptyLinePlaceholder":329},[1440],{"type":65,"value":332},{"type":60,"tag":203,"props":1442,"children":1443},{"class":205,"line":472},[1444,1448,1452,1456,1460,1464],{"type":60,"tag":203,"props":1445,"children":1446},{"style":277},[1447],{"type":65,"value":972},{"type":60,"tag":203,"props":1449,"children":1450},{"style":267},[1451],{"type":65,"value":977},{"type":60,"tag":203,"props":1453,"children":1454},{"style":210},[1455],{"type":65,"value":982},{"type":60,"tag":203,"props":1457,"children":1458},{"style":210},[1459],{"type":65,"value":359},{"type":60,"tag":203,"props":1461,"children":1462},{"style":222},[1463],{"type":65,"value":364},{"type":60,"tag":203,"props":1465,"children":1466},{"style":210},[1467],{"type":65,"value":369},{"type":60,"tag":203,"props":1469,"children":1470},{"class":205,"line":489},[1471,1475,1479,1483,1487,1491,1495],{"type":60,"tag":203,"props":1472,"children":1473},{"style":401},[1474],{"type":65,"value":549},{"type":60,"tag":203,"props":1476,"children":1477},{"style":216},[1478],{"type":65,"value":554},{"type":60,"tag":203,"props":1480,"children":1481},{"style":267},[1482],{"type":65,"value":1010},{"type":60,"tag":203,"props":1484,"children":1485},{"style":210},[1486],{"type":65,"value":86},{"type":60,"tag":203,"props":1488,"children":1489},{"style":267},[1490],{"type":65,"value":464},{"type":60,"tag":203,"props":1492,"children":1493},{"style":216},[1494],{"type":65,"value":564},{"type":60,"tag":203,"props":1496,"children":1497},{"style":210},[1498],{"type":65,"value":436},{"type":60,"tag":203,"props":1500,"children":1501},{"class":205,"line":521},[1502],{"type":60,"tag":203,"props":1503,"children":1504},{"style":1032},[1505],{"type":65,"value":1506}," // Clear cookie\n",{"type":60,"tag":203,"props":1508,"children":1509},{"class":205,"line":530},[1510,1515,1519,1523,1527,1531,1535,1539,1543,1547,1551,1555],{"type":60,"tag":203,"props":1511,"children":1512},{"style":277},[1513],{"type":65,"value":1514}," useCookie",{"type":60,"tag":203,"props":1516,"children":1517},{"style":216},[1518],{"type":65,"value":312},{"type":60,"tag":203,"props":1520,"children":1521},{"style":210},[1522],{"type":65,"value":1399},{"type":60,"tag":203,"props":1524,"children":1525},{"style":267},[1526],{"type":65,"value":1404},{"type":60,"tag":203,"props":1528,"children":1529},{"style":210},[1530],{"type":65,"value":1409},{"type":60,"tag":203,"props":1532,"children":1533},{"style":243},[1534],{"type":65,"value":1414},{"type":60,"tag":203,"props":1536,"children":1537},{"style":210},[1538],{"type":65,"value":1419},{"type":60,"tag":203,"props":1540,"children":1541},{"style":216},[1542],{"type":65,"value":1424},{"type":60,"tag":203,"props":1544,"children":1545},{"style":210},[1546],{"type":65,"value":86},{"type":60,"tag":203,"props":1548,"children":1549},{"style":267},[1550],{"type":65,"value":464},{"type":60,"tag":203,"props":1552,"children":1553},{"style":210},[1554],{"type":65,"value":398},{"type":60,"tag":203,"props":1556,"children":1557},{"style":210},[1558],{"type":65,"value":1559}," null\n",{"type":60,"tag":203,"props":1561,"children":1562},{"class":205,"line":543},[1563],{"type":60,"tag":203,"props":1564,"children":1565},{"style":1032},[1566],{"type":65,"value":1567}," // Redirect to path\n",{"type":60,"tag":203,"props":1569,"children":1570},{"class":205,"line":593},[1571,1575,1579,1583,1588,1593,1597,1601,1605,1609,1614],{"type":60,"tag":203,"props":1572,"children":1573},{"style":401},[1574],{"type":65,"value":1043},{"type":60,"tag":203,"props":1576,"children":1577},{"style":277},[1578],{"type":65,"value":1048},{"type":60,"tag":203,"props":1580,"children":1581},{"style":216},[1582],{"type":65,"value":312},{"type":60,"tag":203,"props":1584,"children":1585},{"style":267},[1586],{"type":65,"value":1587},"redirectPath",{"type":60,"tag":203,"props":1589,"children":1590},{"style":210},[1591],{"type":65,"value":1592}," ||",{"type":60,"tag":203,"props":1594,"children":1595},{"style":210},[1596],{"type":65,"value":504},{"type":60,"tag":203,"props":1598,"children":1599},{"style":243},[1600],{"type":65,"value":1061},{"type":60,"tag":203,"props":1602,"children":1603},{"style":210},[1604],{"type":65,"value":514},{"type":60,"tag":203,"props":1606,"children":1607},{"style":216},[1608],{"type":65,"value":1424},{"type":60,"tag":203,"props":1610,"children":1611},{"style":210},[1612],{"type":65,"value":1613},";",{"type":60,"tag":203,"props":1615,"children":1616},{"style":216},[1617],{"type":65,"value":1618}," \n",{"type":60,"tag":203,"props":1620,"children":1621},{"class":205,"line":602},[1622],{"type":60,"tag":203,"props":1623,"children":1624},{"style":210},[1625],{"type":65,"value":1077},{"type":60,"tag":203,"props":1627,"children":1628},{"class":205,"line":619},[1629,1633,1637,1641,1645,1649,1653],{"type":60,"tag":203,"props":1630,"children":1631},{"style":210},[1632],{"type":65,"value":1085},{"type":60,"tag":203,"props":1634,"children":1635},{"style":210},[1636],{"type":65,"value":383},{"type":60,"tag":203,"props":1638,"children":1639},{"style":216},[1640],{"type":65,"value":1094},{"type":60,"tag":203,"props":1642,"children":1643},{"style":210},[1644],{"type":65,"value":450},{"type":60,"tag":203,"props":1646,"children":1647},{"style":1101},[1648],{"type":65,"value":1104},{"type":60,"tag":203,"props":1650,"children":1651},{"style":210},[1652],{"type":65,"value":393},{"type":60,"tag":203,"props":1654,"children":1655},{"style":267},[1656],{"type":65,"value":322},{"type":60,"tag":203,"props":1658,"children":1659},{"class":205,"line":636},[1660,1664,1668],{"type":60,"tag":203,"props":1661,"children":1662},{"style":210},[1663],{"type":65,"value":608},{"type":60,"tag":203,"props":1665,"children":1666},{"style":216},[1667],{"type":65,"value":219},{"type":60,"tag":203,"props":1669,"children":1670},{"style":210},[1671],{"type":65,"value":255},{"type":60,"tag":203,"props":1673,"children":1674},{"class":205,"line":654},[1675,1679,1683],{"type":60,"tag":203,"props":1676,"children":1677},{"style":210},[1678],{"type":65,"value":213},{"type":60,"tag":203,"props":1680,"children":1681},{"style":216},[1682],{"type":65,"value":629},{"type":60,"tag":203,"props":1684,"children":1685},{"style":210},[1686],{"type":65,"value":255},{"type":60,"tag":203,"props":1688,"children":1689},{"class":205,"line":698},[1690,1694,1698,1702,1706,1710,1714],{"type":60,"tag":203,"props":1691,"children":1692},{"style":210},[1693],{"type":65,"value":642},{"type":60,"tag":203,"props":1695,"children":1696},{"style":216},[1697],{"type":65,"value":647},{"type":60,"tag":203,"props":1699,"children":1700},{"style":210},[1701],{"type":65,"value":1165},{"type":60,"tag":203,"props":1703,"children":1704},{"style":267},[1705],{"type":65,"value":1170},{"type":60,"tag":203,"props":1707,"children":1708},{"style":210},[1709],{"type":65,"value":608},{"type":60,"tag":203,"props":1711,"children":1712},{"style":216},[1713],{"type":65,"value":647},{"type":60,"tag":203,"props":1715,"children":1716},{"style":210},[1717],{"type":65,"value":255},{"type":60,"tag":203,"props":1719,"children":1720},{"class":205,"line":707},[1721,1725,1729],{"type":60,"tag":203,"props":1722,"children":1723},{"style":210},[1724],{"type":65,"value":608},{"type":60,"tag":203,"props":1726,"children":1727},{"style":216},[1728],{"type":65,"value":629},{"type":60,"tag":203,"props":1730,"children":1731},{"style":210},[1732],{"type":65,"value":255},{"type":60,"tag":1734,"props":1735,"children":1736},"style",{},[1737],{"type":65,"value":1738},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":53,"searchDepth":258,"depth":258,"links":1740},[1741,1743],{"id":137,"depth":258,"text":1742},"Log-in page - /login",{"id":857,"depth":258,"text":1744,"children":1745},"Confirm page - /confirm",[1746],{"id":1201,"depth":288,"text":1204},"markdown","content:3.authentication.md","content","3.authentication.md","md",[1753,1755],{"_path":6,"title":5,"description":1754},"@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.",{"_path":22,"title":21,"description":1756},"Make requests to the Supabase API with the useSupabaseClient composable",1706281079977] \ No newline at end of file diff --git a/authentication/index.html b/authentication/index.html index 5dc3c084..1ba7b6b4 100644 --- a/authentication/index.html +++ b/authentication/index.html @@ -67,45 +67,45 @@ - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - + - - - - - - - + + + + + + + - - + + - -
mobile favicon

Authentication

Authenticate your user thanks to the PKCE Oauth protocol that enables secure exchange of refresh and access tokens between an application and the authorization server

With the default options, the module requires a log-in page and a confirm page to handle the PKCE authorization code flow. If you want to understand how it works under the hood, you can read this section.

All you need to do is to create a login.vue and confirm.vue page in the pages folder.

For advanced users who want to implement the auth behaviour themselves, you can disable or override the redirect options.

Log-in page - /login

Each time a user is trying to access a page that needs authentication, he will automatically be redirected to the configured log in page. If you want to allow access to "public" page, you just need to add them in the exclude redirect option.

Ensure to activate the authentication providers you want in the Supabase Dashboard under Authentication -> Providers.

The log-in page initiates the log-in method(s) you choose from the available authorization methods provided by Supabase, it could looks like:

pages/login.vue
<script setup lang="ts">
 const supabase = useSupabaseClient()
 const email = ref('')
@@ -165,5 +165,5 @@
   <div>Waiting for login...</div>
 </template>
 

Made with Nuxt Studio
- - \ No newline at end of file + + \ No newline at end of file diff --git a/changelog/_payload.json b/changelog/_payload.json index b63c1e7d..b7076a89 100644 --- a/changelog/_payload.json +++ b/changelog/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":3790},["Reactive",2],{"navigation":3,"/changelog":52,"/changelog-surround":79,"releases":84},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":46,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":45,"description":55,"icon":47,"body":56,"_type":74,"_id":75,"_source":76,"_file":77,"_extension":78},"",false,"Discover the latest updates of the Supabase Module",{"type":57,"children":58,"toc":71},"root",[59,67],{"type":60,"tag":61,"props":62,"children":63},"element","p",{},[64],{"type":65,"value":66},"text","Discover the lastest updates.",{"type":60,"tag":68,"props":69,"children":70},"releases",{},[],{"title":53,"searchDepth":72,"depth":72,"links":73},2,[],"markdown","content:6.changelog.md","content","6.changelog.md","md",[80,82],{"_path":42,"title":41,"description":81},"Demonstration of using Supabase with Nuxt.",{"_path":50,"title":49,"description":83},"Discover our kaban board for the next release of the Supabase module.",[85,285,355,462,703,796,1101,1204,1282,1348,1648,1922,1995,2127,2172,2232,2284,2432,2531,2594,2645,2690,2742,2855,2931,3009,3073,3158,3260,3366,3482,3516,3580,3644,3732],{"name":86,"tag_name":86,"date":87,"body":88,"v":272,"url":273,"tarball":274,"zipball":275,"prerelease":54,"reactions":276,"author":280,"title":53,"description":53,"_type":74,"_id":284},"v1.1.5","2023-12-28T14:29:18Z",{"type":57,"children":89,"toc":263},[90,97,104,131,137,157,163,200,206,253],{"type":60,"tag":91,"props":92,"children":94},"h2",{"id":93},"whats-changed",[95],{"type":65,"value":96},"What's Changed",{"type":60,"tag":98,"props":99,"children":101},"h3",{"id":100},"bug-fixes",[102],{"type":65,"value":103},"Bug Fixes",{"type":60,"tag":105,"props":106,"children":107},"ul",{},[108],{"type":60,"tag":109,"props":110,"children":111},"li",{},[112,118,120,129],{"type":60,"tag":113,"props":114,"children":115},"strong",{},[116],{"type":65,"value":117},"server:",{"type":65,"value":119}," fetch user from session (",{"type":60,"tag":121,"props":122,"children":126},"a",{"href":123,"rel":124},"https://github.com/nuxt-community/supabase-module/commit/7a3b73c36cc9aea10100a0ff37b0e0e7ecefe2a8",[125],"nofollow",[127],{"type":65,"value":128},"7a3b73c",{"type":65,"value":130},")",{"type":60,"tag":98,"props":132,"children":134},{"id":133},"improvements",[135],{"type":65,"value":136},"Improvements",{"type":60,"tag":105,"props":138,"children":139},{},[140],{"type":60,"tag":109,"props":141,"children":142},{},[143,148,150],{"type":60,"tag":113,"props":144,"children":145},{},[146],{"type":65,"value":147},"app:",{"type":65,"value":149}," use module-builder stub mode for more accurate types ",{"type":60,"tag":121,"props":151,"children":154},{"href":152,"rel":153},"https://github.com/nuxt-modules/supabase/issues/315",[125],[155],{"type":65,"value":156},"#315",{"type":60,"tag":98,"props":158,"children":160},{"id":159},"docs",[161],{"type":65,"value":162},"Docs",{"type":60,"tag":105,"props":164,"children":165},{},[166,183],{"type":60,"tag":109,"props":167,"children":168},{},[169,174,176],{"type":60,"tag":113,"props":170,"children":171},{},[172],{"type":65,"value":173},"get-started:",{"type":65,"value":175}," bun command ",{"type":60,"tag":121,"props":177,"children":180},{"href":178,"rel":179},"https://github.com/nuxt-modules/supabase/issues/317",[125],[181],{"type":65,"value":182},"#317",{"type":60,"tag":109,"props":184,"children":185},{},[186,191,193],{"type":60,"tag":113,"props":187,"children":188},{},[189],{"type":65,"value":190},"readme:",{"type":65,"value":192}," typo in #dev section ",{"type":60,"tag":121,"props":194,"children":197},{"href":195,"rel":196},"https://github.com/nuxt-modules/supabase/issues/316",[125],[198],{"type":65,"value":199},"#316",{"type":60,"tag":98,"props":201,"children":203},{"id":202},"thanks-for-the-help-from",[204],{"type":65,"value":205},"💚 Thanks for the help from",{"type":60,"tag":61,"props":207,"children":208},{},[209,219,221,231,232,242,243],{"type":60,"tag":121,"props":210,"children":213},{"href":211,"rel":212},"https://github.com/danielroe",[125],[214],{"type":60,"tag":113,"props":215,"children":216},{},[217],{"type":65,"value":218},"@danielroe",{"type":65,"value":220},"\r\n",{"type":60,"tag":121,"props":222,"children":225},{"href":223,"rel":224},"https://github.com/joshuabyler",[125],[226],{"type":60,"tag":113,"props":227,"children":228},{},[229],{"type":65,"value":230},"@joshuabyler",{"type":65,"value":220},{"type":60,"tag":121,"props":233,"children":236},{"href":234,"rel":235},"https://github.com/hafizjavaid",[125],[237],{"type":60,"tag":113,"props":238,"children":239},{},[240],{"type":65,"value":241},"@hafizjavaid",{"type":65,"value":220},{"type":60,"tag":121,"props":244,"children":247},{"href":245,"rel":246},"https://github.com/relisora",[125],[248],{"type":60,"tag":113,"props":249,"children":250},{},[251],{"type":65,"value":252},"@relisora",{"type":60,"tag":61,"props":254,"children":255},{},[256],{"type":60,"tag":121,"props":257,"children":260},{"href":258,"rel":259},"https://github.com/nuxt-community/supabase-module/compare/v1.1.4...v1.1.5",[125],[261],{"type":65,"value":262},"Full changelog",{"title":53,"searchDepth":72,"depth":72,"links":264},[265],{"id":93,"depth":72,"text":96,"children":266},[267,269,270,271],{"id":100,"depth":268,"text":103},3,{"id":133,"depth":268,"text":136},{"id":159,"depth":268,"text":162},{"id":202,"depth":268,"text":205},1,"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.5","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.5","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.5",{"url":277,"total_count":278,"+1":268,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":272,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/135279818/reactions",4,0,{"name":281,"url":282,"avatar":283},"larbish","https://github.com/larbish","https://avatars.githubusercontent.com/u/7290030?v=4","github:v1.1.5.md",{"name":286,"tag_name":286,"date":287,"body":288,"v":272,"url":348,"tarball":349,"zipball":350,"prerelease":54,"reactions":351,"author":353,"title":53,"description":53,"_type":74,"_id":354},"v1.1.4","2023-11-17T14:42:47Z",{"type":57,"children":289,"toc":343},[290,294,298,328],{"type":60,"tag":91,"props":291,"children":292},{"id":93},[293],{"type":65,"value":96},{"type":60,"tag":98,"props":295,"children":296},{"id":100},[297],{"type":65,"value":103},{"type":60,"tag":105,"props":299,"children":300},{},[301],{"type":60,"tag":109,"props":302,"children":303},{},[304,309,311,318,320,327],{"type":60,"tag":113,"props":305,"children":306},{},[307],{"type":65,"value":308},"client:",{"type":65,"value":310}," prevent useCookie usage outside of effect scope (",{"type":60,"tag":121,"props":312,"children":315},{"href":313,"rel":314},"https://github.com/nuxt-community/supabase-module/issues/309",[125],[316],{"type":65,"value":317},"#309",{"type":65,"value":319},") (",{"type":60,"tag":121,"props":321,"children":324},{"href":322,"rel":323},"https://github.com/nuxt-community/supabase-module/commit/bb55bed870efb68c39f255ddbcbe0b5446965399",[125],[325],{"type":65,"value":326},"bb55bed",{"type":65,"value":130},{"type":60,"tag":61,"props":329,"children":330},{},[331,333],{"type":65,"value":332},"💚 Thanks for the help from 💚\r\n",{"type":60,"tag":121,"props":334,"children":337},{"href":335,"rel":336},"https://github.com/AlbertBrand",[125],[338],{"type":60,"tag":113,"props":339,"children":340},{},[341],{"type":65,"value":342},"@AlbertBrand",{"title":53,"searchDepth":72,"depth":72,"links":344},[345],{"id":93,"depth":72,"text":96,"children":346},[347],{"id":100,"depth":268,"text":103},"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.4","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.4","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.4",{"url":352,"total_count":272,"+1":272,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/129966845/reactions",{"name":281,"url":282,"avatar":283},"github:v1.1.4.md",{"name":356,"tag_name":356,"date":357,"body":358,"v":272,"url":455,"tarball":456,"zipball":457,"prerelease":54,"reactions":458,"author":460,"title":53,"description":53,"_type":74,"_id":461},"v1.1.3","2023-10-06T07:51:37Z",{"type":57,"children":359,"toc":452},[360,364,427],{"type":60,"tag":91,"props":361,"children":362},{"id":93},[363],{"type":65,"value":96},{"type":60,"tag":105,"props":365,"children":366},{},[367,401],{"type":60,"tag":109,"props":368,"children":369},{},[370,374,376,383,385,392,393,400],{"type":60,"tag":113,"props":371,"children":372},{},[373],{"type":65,"value":308},{"type":65,"value":375}," clientOptions merge",{"type":60,"tag":121,"props":377,"children":380},{"href":378,"rel":379},"https://github.com/nuxt-community/supabase-module/issues/275",[125],[381],{"type":65,"value":382},"#275",{"type":65,"value":384}," (",{"type":60,"tag":121,"props":386,"children":389},{"href":387,"rel":388},"https://github.com/nuxt-community/supabase-module/issues/277",[125],[390],{"type":65,"value":391},"#277",{"type":65,"value":319},{"type":60,"tag":121,"props":394,"children":397},{"href":395,"rel":396},"https://github.com/nuxt-community/supabase-module/commit/c0097a355b859cb6a2d97884a7648284128acca2",[125],[398],{"type":65,"value":399},"c0097a3",{"type":65,"value":130},{"type":60,"tag":109,"props":402,"children":403},{},[404,409,411,418,419,426],{"type":60,"tag":113,"props":405,"children":406},{},[407],{"type":65,"value":408},"module:",{"type":65,"value":410}," do not warn when using runtimeConfig to set url and key (",{"type":60,"tag":121,"props":412,"children":415},{"href":413,"rel":414},"https://github.com/nuxt-community/supabase-module/issues/281",[125],[416],{"type":65,"value":417},"#281",{"type":65,"value":319},{"type":60,"tag":121,"props":420,"children":423},{"href":421,"rel":422},"https://github.com/nuxt-community/supabase-module/commit/8c151737b55738c68fc24b5e4db2517c4e866693",[125],[424],{"type":65,"value":425},"8c15173",{"type":65,"value":130},{"type":60,"tag":61,"props":428,"children":429},{},[430,431,441,442],{"type":65,"value":332},{"type":60,"tag":121,"props":432,"children":435},{"href":433,"rel":434},"https://github.com/stafyniaksacha",[125],[436],{"type":60,"tag":113,"props":437,"children":438},{},[439],{"type":65,"value":440},"@stafyniaksacha",{"type":65,"value":220},{"type":60,"tag":121,"props":443,"children":446},{"href":444,"rel":445},"https://github.com/jonesisg1",[125],[447],{"type":60,"tag":113,"props":448,"children":449},{},[450],{"type":65,"value":451},"@jonesisg1",{"title":53,"searchDepth":72,"depth":72,"links":453},[454],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.3","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.3","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.3",{"url":459,"total_count":278,"+1":72,"-1":279,"laugh":279,"hooray":72,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/123992311/reactions",{"name":281,"url":282,"avatar":283},"github:v1.1.3.md",{"name":463,"tag_name":463,"date":464,"body":465,"v":272,"url":696,"tarball":697,"zipball":698,"prerelease":54,"reactions":699,"author":701,"title":53,"description":53,"_type":74,"_id":702},"v1.1.2","2023-09-06T17:44:35Z",{"type":57,"children":466,"toc":691},[467,471,494,537,541,619,635],{"type":60,"tag":91,"props":468,"children":469},{"id":93},[470],{"type":65,"value":96},{"type":60,"tag":61,"props":472,"children":473},{},[474,476,483,485,492],{"type":65,"value":475},"⚠️ BREAKING CHANGE ⚠️\r\nBreaking change is related to ",{"type":60,"tag":121,"props":477,"children":480},{"href":478,"rel":479},"https://github.com/nuxt-modules/supabase/issues/244",[125],[481],{"type":65,"value":482},"#244",{"type":65,"value":484}," and was first adressed in the ",{"type":60,"tag":486,"props":487,"children":489},"code",{"className":488},[],[490],{"type":65,"value":491},"v1.1.0",{"type":65,"value":493}," but patch has been necessary to fix the version.",{"type":60,"tag":61,"props":495,"children":496},{},[497,499,505,507,513,515,521,523,529,531],{"type":65,"value":498},"On the confirm page, configured in ",{"type":60,"tag":486,"props":500,"children":502},{"className":501},[],[503],{"type":65,"value":504},"redirect.callback",{"type":65,"value":506}," option (default to ",{"type":60,"tag":486,"props":508,"children":510},{"className":509},[],[511],{"type":65,"value":512},"/confirm",{"type":65,"value":514},"), ensure to set the ",{"type":60,"tag":486,"props":516,"children":518},{"className":517},[],[519],{"type":65,"value":520},"immediate",{"type":65,"value":522}," option in the watch.\r\nCheck out the doc: ",{"type":60,"tag":121,"props":524,"children":527},{"href":525,"rel":526},"http://supabase.nuxtjs.org/authentication#confirm-page-confirm",[125],[528],{"type":65,"value":525},{"type":65,"value":530},"\r\nCheck out the demo code: ",{"type":60,"tag":121,"props":532,"children":535},{"href":533,"rel":534},"https://github.com/nuxt-modules/supabase/blob/main/demo/pages/confirm.vue",[125],[536],{"type":65,"value":533},{"type":60,"tag":98,"props":538,"children":539},{"id":100},[540],{"type":65,"value":103},{"type":60,"tag":105,"props":542,"children":543},{},[544,569,593],{"type":60,"tag":109,"props":545,"children":546},{},[547,551,553,560,561,568],{"type":60,"tag":113,"props":548,"children":549},{},[550],{"type":65,"value":408},{"type":65,"value":552}," priority of redirect options made by defu (",{"type":60,"tag":121,"props":554,"children":557},{"href":555,"rel":556},"https://github.com/nuxt-community/supabase-module/issues/256",[125],[558],{"type":65,"value":559},"#256",{"type":65,"value":319},{"type":60,"tag":121,"props":562,"children":565},{"href":563,"rel":564},"https://github.com/nuxt-community/supabase-module/commit/c4e30bf50eb7816fee3a2e46b404df5ce9f7cf4d",[125],[566],{"type":65,"value":567},"c4e30bf",{"type":65,"value":130},{"type":60,"tag":109,"props":570,"children":571},{},[572,577,579,584,585,592],{"type":60,"tag":113,"props":573,"children":574},{},[575],{"type":65,"value":576},"plugin:",{"type":65,"value":578}," retrieve user for client only page (",{"type":60,"tag":121,"props":580,"children":582},{"href":478,"rel":581},[125],[583],{"type":65,"value":482},{"type":65,"value":319},{"type":60,"tag":121,"props":586,"children":589},{"href":587,"rel":588},"https://github.com/nuxt-community/supabase-module/commit/4a35428e26542bf22b3288db6e9a9309f1310705",[125],[590],{"type":65,"value":591},"4a35428",{"type":65,"value":130},{"type":60,"tag":109,"props":594,"children":595},{},[596,601,603,610,611,618],{"type":60,"tag":113,"props":597,"children":598},{},[599],{"type":65,"value":600},"useSupabaseUser:",{"type":65,"value":602}," add explicit user type (",{"type":60,"tag":121,"props":604,"children":607},{"href":605,"rel":606},"https://github.com/nuxt-community/supabase-module/issues/254",[125],[608],{"type":65,"value":609},"#254",{"type":65,"value":319},{"type":60,"tag":121,"props":612,"children":615},{"href":613,"rel":614},"https://github.com/nuxt-community/supabase-module/commit/60d8551ee83a9c64a962b9f76b881b17d7384736",[125],[616],{"type":65,"value":617},"60d8551",{"type":65,"value":130},{"type":60,"tag":61,"props":620,"children":621},{},[622,627,629],{"type":60,"tag":113,"props":623,"children":624},{},[625],{"type":65,"value":626},"Full Changelog",{"type":65,"value":628},": ",{"type":60,"tag":121,"props":630,"children":633},{"href":631,"rel":632},"https://github.com/nuxt-community/supabase-module/compare/v1.0.2...v1.1.0",[125],[634],{"type":65,"value":631},{"type":60,"tag":61,"props":636,"children":637},{},[638,639,649,650,660,661,669,670,680,681],{"type":65,"value":332},{"type":60,"tag":121,"props":640,"children":643},{"href":641,"rel":642},"https://github.com/52cs",[125],[644],{"type":60,"tag":113,"props":645,"children":646},{},[647],{"type":65,"value":648},"@52cs",{"type":65,"value":220},{"type":60,"tag":121,"props":651,"children":654},{"href":652,"rel":653},"https://github.com/Aietes",[125],[655],{"type":60,"tag":113,"props":656,"children":657},{},[658],{"type":65,"value":659},"@Aietes",{"type":65,"value":220},{"type":60,"tag":121,"props":662,"children":664},{"href":335,"rel":663},[125],[665],{"type":60,"tag":113,"props":666,"children":667},{},[668],{"type":65,"value":342},{"type":65,"value":220},{"type":60,"tag":121,"props":671,"children":674},{"href":672,"rel":673},"https://github.com/kiri10ten",[125],[675],{"type":60,"tag":113,"props":676,"children":677},{},[678],{"type":65,"value":679},"@kiri10ten",{"type":65,"value":220},{"type":60,"tag":121,"props":682,"children":685},{"href":683,"rel":684},"https://github.com/xMorthi",[125],[686],{"type":60,"tag":113,"props":687,"children":688},{},[689],{"type":65,"value":690},"@xMorthi",{"title":53,"searchDepth":72,"depth":72,"links":692},[693],{"id":93,"depth":72,"text":96,"children":694},[695],{"id":100,"depth":268,"text":103},"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.2","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.2","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.2",{"url":700,"total_count":278,"+1":279,"-1":279,"laugh":279,"hooray":268,"confused":279,"heart":279,"rocket":279,"eyes":272},"https://api.github.com/repos/nuxt-modules/supabase/releases/120162649/reactions",{"name":281,"url":282,"avatar":283},"github:v1.1.2.md",{"name":704,"tag_name":704,"date":705,"body":706,"v":272,"url":789,"tarball":790,"zipball":791,"prerelease":54,"reactions":792,"author":794,"title":53,"description":53,"_type":74,"_id":795},"v1.0.2","2023-08-04T15:56:13Z",{"type":57,"children":707,"toc":786},[708,712,749,763],{"type":60,"tag":91,"props":709,"children":710},{"id":93},[711],{"type":65,"value":96},{"type":60,"tag":105,"props":713,"children":714},{},[715,732],{"type":60,"tag":109,"props":716,"children":717},{},[718,720,731],{"type":65,"value":719},"docs(auth): update (",{"type":60,"tag":121,"props":721,"children":724},{"href":722,"rel":723},"https://github.com/nuxt-modules/supabase/commit/df00ffe8ecc253fc23572b65465ad7928e185b13",[125],[725],{"type":60,"tag":486,"props":726,"children":728},{"className":727},[],[729],{"type":65,"value":730},"df00ffe",{"type":65,"value":130},{"type":60,"tag":109,"props":733,"children":734},{},[735,737,748],{"type":65,"value":736},"fix(client): correct provider_token assignment to cookie (",{"type":60,"tag":121,"props":738,"children":741},{"href":739,"rel":740},"https://github.com/nuxt-modules/supabase/commit/a76df3f67d6b08daf359f38130ce08aeab57317b",[125],[742],{"type":60,"tag":486,"props":743,"children":745},{"className":744},[],[746],{"type":65,"value":747},"a76df3f",{"type":65,"value":130},{"type":60,"tag":61,"props":750,"children":751},{},[752,756,757],{"type":60,"tag":113,"props":753,"children":754},{},[755],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":758,"children":761},{"href":759,"rel":760},"https://github.com/nuxt-community/supabase-module/compare/v1.0.1...v1.0.2",[125],[762],{"type":65,"value":759},{"type":60,"tag":61,"props":764,"children":765},{},[766,767,777,778],{"type":65,"value":332},{"type":60,"tag":121,"props":768,"children":771},{"href":769,"rel":770},"https://github.com/blqke",[125],[772],{"type":60,"tag":113,"props":773,"children":774},{},[775],{"type":65,"value":776},"@blqke",{"type":65,"value":220},{"type":60,"tag":121,"props":779,"children":781},{"href":652,"rel":780},[125],[782],{"type":60,"tag":113,"props":783,"children":784},{},[785],{"type":65,"value":659},{"title":53,"searchDepth":72,"depth":72,"links":787},[788],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v1.0.2","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.0.2","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.0.2",{"url":793,"total_count":268,"+1":279,"-1":279,"laugh":279,"hooray":268,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/115135546/reactions",{"name":281,"url":282,"avatar":283},"github:v1.0.2.md",{"name":797,"tag_name":797,"date":798,"body":799,"v":272,"url":1089,"tarball":1090,"zipball":1091,"prerelease":54,"reactions":1092,"author":1098,"title":53,"description":1099,"_type":74,"_id":1100},"v1.0.1","2023-08-02T15:46:15Z",{"type":57,"children":800,"toc":1086},[801,814,819,887,892,913,917,922,1052,1068,1071],{"type":60,"tag":61,"props":802,"children":803},{},[804,806,812],{"type":65,"value":805},"I am happy to announce the release of version ",{"type":60,"tag":486,"props":807,"children":809},{"className":808},[],[810],{"type":65,"value":811},"1.0.0",{"type":65,"value":813}," of this module. While the module has been production-ready for quite some time, I never had the opportunity to create the first major version until now. Given that this version incorporates significant changes, I believe it is the perfect moment to establish this initial major release.",{"type":60,"tag":91,"props":815,"children":816},{"id":93},[817],{"type":65,"value":818},"What's changed",{"type":60,"tag":105,"props":820,"children":821},{},[822,844,849],{"type":60,"tag":109,"props":823,"children":824},{},[825,827,834,836,843],{"type":65,"value":826},"Supabase introduced a new authentication flow (PKCE) a few months ago, which is now the default behavior of the module. However, you can still revert to the old (and less secure) authentication method through the module configuration. To help you seamlessly integrate this new flow, a ",{"type":60,"tag":121,"props":828,"children":831},{"href":829,"rel":830},"https://supabase.nuxtjs.org/authentication",[125],[832],{"type":65,"value":833},"dedicated section",{"type":65,"value":835}," has been added to the documentation. (",{"type":60,"tag":121,"props":837,"children":840},{"href":838,"rel":839},"https://github.com/nuxt-modules/supabase/issues/219",[125],[841],{"type":65,"value":842},"#219",{"type":65,"value":130},{"type":60,"tag":109,"props":845,"children":846},{},[847],{"type":65,"value":848},"Building upon the previous point, we have implemented substantial changes to the session management, involving alterations to how Supabase clients are instantiated and how sessions are synchronized between the server and client-side. Consequently, these changes result in some breaking changes, which are listed below.",{"type":60,"tag":109,"props":850,"children":851},{},[852,854,861,863,870,872,879,881],{"type":65,"value":853},"A brand new documentation has been built entirely using ",{"type":60,"tag":121,"props":855,"children":858},{"href":856,"rel":857},"https://nuxt.studio",[125],[859],{"type":65,"value":860},"Nuxt Studio",{"type":65,"value":862},". Feel free to create PRs to suggest fixes or add any necessary changes to further enhance the documentation. (",{"type":60,"tag":121,"props":864,"children":867},{"href":865,"rel":866},"https://github.com/nuxt-modules/supabase/issues/210",[125],[868],{"type":65,"value":869},"#210",{"type":65,"value":871}," / ",{"type":60,"tag":121,"props":873,"children":876},{"href":874,"rel":875},"https://github.com/nuxt-modules/supabase/issues/221",[125],[877],{"type":65,"value":878},"#221",{"type":65,"value":880},") => ",{"type":60,"tag":121,"props":882,"children":885},{"href":883,"rel":884},"https://supabase.nuxtjs.org",[125],[886],{"type":65,"value":883},{"type":60,"tag":61,"props":888,"children":889},{},[890],{"type":65,"value":891},"Here's documentation that can help you understand the PKCE authentication flow:",{"type":60,"tag":105,"props":893,"children":894},{},[895,904],{"type":60,"tag":109,"props":896,"children":897},{},[898],{"type":60,"tag":121,"props":899,"children":902},{"href":900,"rel":901},"https://supabase.com/blog/supabase-auth-sso-pkce#server-side-and-mobile-auth",[125],[903],{"type":65,"value":900},{"type":60,"tag":109,"props":905,"children":906},{},[907],{"type":60,"tag":121,"props":908,"children":911},{"href":909,"rel":910},"https://supabase.com/docs/guides/resources/glossary#pkce",[125],[912],{"type":65,"value":909},{"type":60,"tag":914,"props":915,"children":916},"br",{},[],{"type":60,"tag":61,"props":918,"children":919},{},[920],{"type":65,"value":921},"⚠️ BREAKING CHANGES ⚠️",{"type":60,"tag":105,"props":923,"children":924},{},[925,943,969,988,1016],{"type":60,"tag":109,"props":926,"children":927},{},[928,934,936,941],{"type":60,"tag":486,"props":929,"children":931},{"className":930},[],[932],{"type":65,"value":933},"useSupabaseAuthClient",{"type":65,"value":935}," has been removed in favor of ",{"type":60,"tag":486,"props":937,"children":939},{"className":938},[],[940],{"type":65,"value":21},{"type":65,"value":942}," in all cases",{"type":60,"tag":109,"props":944,"children":945},{},[946,951,953,959,961,967],{"type":60,"tag":486,"props":947,"children":949},{"className":948},[],[950],{"type":65,"value":31},{"type":65,"value":952}," is now returning a promise (should be called with ",{"type":60,"tag":486,"props":954,"children":956},{"className":955},[],[957],{"type":65,"value":958},"await",{"type":65,"value":960}," in an ",{"type":60,"tag":486,"props":962,"children":964},{"className":963},[],[965],{"type":65,"value":966},"async",{"type":65,"value":968}," method)",{"type":60,"tag":109,"props":970,"children":971},{},[972,978,980,986],{"type":60,"tag":486,"props":973,"children":975},{"className":974},[],[976],{"type":65,"value":977},"redirect",{"type":65,"value":979}," option is enable by default, follow this ",{"type":60,"tag":121,"props":981,"children":983},{"href":829,"rel":982},[125],[984],{"type":65,"value":985},"guide",{"type":65,"value":987}," to update your app",{"type":60,"tag":109,"props":989,"children":990},{},[991,997,999,1005,1007,1014],{"type":60,"tag":486,"props":992,"children":994},{"className":993},[],[995],{"type":65,"value":996},"client",{"type":65,"value":998}," option becomes ",{"type":60,"tag":486,"props":1000,"children":1002},{"className":1001},[],[1003],{"type":65,"value":1004},"clientOptions",{"type":65,"value":1006}," with new ",{"type":60,"tag":121,"props":1008,"children":1011},{"href":1009,"rel":1010},"https://supabase.nuxtjs.org/get-started#clientoptions",[125],[1012],{"type":65,"value":1013},"default value",{"type":65,"value":1015}," (including the PKCE flow)",{"type":60,"tag":109,"props":1017,"children":1018},{},[1019,1025,1027,1033,1035,1041,1043,1050],{"type":60,"tag":486,"props":1020,"children":1022},{"className":1021},[],[1023],{"type":65,"value":1024},"cookies",{"type":65,"value":1026}," options is split in ",{"type":60,"tag":486,"props":1028,"children":1030},{"className":1029},[],[1031],{"type":65,"value":1032},"cookieName",{"type":65,"value":1034}," and ",{"type":60,"tag":486,"props":1036,"children":1038},{"className":1037},[],[1039],{"type":65,"value":1040},"cookieOptions",{"type":65,"value":1042},", ",{"type":60,"tag":121,"props":1044,"children":1047},{"href":1045,"rel":1046},"https://supabase.nuxtjs.org/get-started#cookieoptions",[125],[1048],{"type":65,"value":1049},"default values",{"type":65,"value":1051}," have not changed",{"type":60,"tag":61,"props":1053,"children":1054},{},[1055,1057],{"type":65,"value":1056},"Here si the commit done for updating the demo with the last version: ",{"type":60,"tag":121,"props":1058,"children":1061},{"href":1059,"rel":1060},"https://github.com/nuxt-modules/supabase/commit/10e05860862b68c49817f6420d50d082452f7a7f",[125],[1062],{"type":60,"tag":486,"props":1063,"children":1065},{"className":1064},[],[1066],{"type":65,"value":1067},"10e0586",{"type":60,"tag":914,"props":1069,"children":1070},{},[],{"type":60,"tag":61,"props":1072,"children":1073},{},[1074,1076,1084],{"type":65,"value":1075},"A huge thanks to ",{"type":60,"tag":121,"props":1077,"children":1079},{"href":652,"rel":1078},[125],[1080],{"type":60,"tag":113,"props":1081,"children":1082},{},[1083],{"type":65,"value":659},{"type":65,"value":1085}," for initialising all those changes and help me built it 💚",{"title":53,"searchDepth":72,"depth":72,"links":1087},[1088],{"id":93,"depth":72,"text":818},"https://github.com/nuxt-modules/supabase/releases/tag/v1.0.1","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.0.1","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.0.1",{"url":1093,"total_count":1094,"+1":1095,"-1":279,"laugh":279,"hooray":1096,"confused":279,"heart":278,"rocket":1097,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/114843996/reactions",40,9,19,8,{"name":281,"url":282,"avatar":283},"I am happy to announce the release of version 1.0.0 of this module. While the module has been production-ready for quite some time, I never had the opportunity to create the first major version until now. Given that this version incorporates significant changes, I believe it is the perfect moment to establish this initial major release.","github:v1.0.1.md",{"name":1102,"tag_name":1102,"date":1103,"body":1104,"v":279,"url":1196,"tarball":1197,"zipball":1198,"prerelease":54,"reactions":1199,"author":1202,"title":53,"description":53,"_type":74,"_id":1203},"v0.3.8","2023-07-03T08:29:53Z",{"type":57,"children":1105,"toc":1193},[1106,1110,1167,1181],{"type":60,"tag":91,"props":1107,"children":1108},{"id":93},[1109],{"type":65,"value":96},{"type":60,"tag":105,"props":1111,"children":1112},{},[1113,1150],{"type":60,"tag":109,"props":1114,"children":1115},{},[1116,1118,1129,1131,1138,1140],{"type":65,"value":1117},"feat(session): save provider access/refresh tokens in cookies (",{"type":60,"tag":121,"props":1119,"children":1122},{"href":1120,"rel":1121},"https://github.com/nuxt-modules/supabase/commit/ea8c21f3d625984832cb27a3ae7605b16caaf94b",[125],[1123],{"type":60,"tag":486,"props":1124,"children":1126},{"className":1125},[],[1127],{"type":65,"value":1128},"ea8c21f",{"type":65,"value":1130},") in ",{"type":60,"tag":121,"props":1132,"children":1135},{"href":1133,"rel":1134},"https://github.com/nuxt-modules/supabase/issues/197",[125],[1136],{"type":65,"value":1137},"#197",{"type":65,"value":1139}," by ",{"type":60,"tag":121,"props":1141,"children":1144},{"href":1142,"rel":1143},"https://github.com/mitjans",[125],[1145],{"type":60,"tag":113,"props":1146,"children":1147},{},[1148],{"type":65,"value":1149},"@mitjans",{"type":60,"tag":109,"props":1151,"children":1152},{},[1153,1155,1166],{"type":65,"value":1154},"chore(deps): upgrade to latest (",{"type":60,"tag":121,"props":1156,"children":1159},{"href":1157,"rel":1158},"https://github.com/nuxt-modules/supabase/commit/a52abc871b6ab756c2b477f7c6b3c0f51279693c",[125],[1160],{"type":60,"tag":486,"props":1161,"children":1163},{"className":1162},[],[1164],{"type":65,"value":1165},"a52abc8",{"type":65,"value":130},{"type":60,"tag":61,"props":1168,"children":1169},{},[1170,1174,1175],{"type":60,"tag":113,"props":1171,"children":1172},{},[1173],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":1176,"children":1179},{"href":1177,"rel":1178},"https://github.com/nuxt-community/supabase-module/compare/v0.3.7...v0.3.8",[125],[1180],{"type":65,"value":1177},{"type":60,"tag":61,"props":1182,"children":1183},{},[1184,1185],{"type":65,"value":332},{"type":60,"tag":121,"props":1186,"children":1188},{"href":1142,"rel":1187},[125],[1189],{"type":60,"tag":113,"props":1190,"children":1191},{},[1192],{"type":65,"value":1149},{"title":53,"searchDepth":72,"depth":72,"links":1194},[1195],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.8","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.8","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.8",{"url":1200,"total_count":1201,"+1":279,"-1":279,"laugh":279,"hooray":1201,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/110829614/reactions",5,{"name":281,"url":282,"avatar":283},"github:v0.3.8.md",{"name":1205,"tag_name":1205,"date":1206,"body":1207,"v":279,"url":1277,"tarball":1278,"zipball":1279,"prerelease":54,"author":1280,"title":53,"description":53,"_type":74,"_id":1281},"v0.3.7","2023-06-12T07:51:13Z",{"type":57,"children":1208,"toc":1274},[1209,1213,1260],{"type":60,"tag":91,"props":1210,"children":1211},{"id":93},[1212],{"type":65,"value":96},{"type":60,"tag":105,"props":1214,"children":1215},{},[1216,1243],{"type":60,"tag":109,"props":1217,"children":1218},{},[1219,1221,1226,1227,1234,1236],{"type":65,"value":1220},"fix(client): fix persist session warning for ",{"type":60,"tag":486,"props":1222,"children":1224},{"className":1223},[],[1225],{"type":65,"value":34},{"type":65,"value":384},{"type":60,"tag":121,"props":1228,"children":1231},{"href":1229,"rel":1230},"https://github.com/nuxt-modules/supabase/issues/194",[125],[1232],{"type":65,"value":1233},"#194",{"type":65,"value":1235},") resolves ",{"type":60,"tag":121,"props":1237,"children":1240},{"href":1238,"rel":1239},"https://github.com/nuxt-modules/supabase/issues/193",[125],[1241],{"type":65,"value":1242},"#193",{"type":60,"tag":109,"props":1244,"children":1245},{},[1246,1248,1259],{"type":65,"value":1247},"docs(get-started): remove defineNuxtConfig (",{"type":60,"tag":121,"props":1249,"children":1252},{"href":1250,"rel":1251},"https://github.com/nuxt-modules/supabase/commit/0151901",[125],[1253],{"type":60,"tag":486,"props":1254,"children":1256},{"className":1255},[],[1257],{"type":65,"value":1258},"0151901",{"type":65,"value":130},{"type":60,"tag":61,"props":1261,"children":1262},{},[1263,1264],{"type":65,"value":332},{"type":60,"tag":121,"props":1265,"children":1268},{"href":1266,"rel":1267},"https://github.com/jawngee",[125],[1269],{"type":60,"tag":113,"props":1270,"children":1271},{},[1272],{"type":65,"value":1273},"@jawngee",{"title":53,"searchDepth":72,"depth":72,"links":1275},[1276],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.7","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.7","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.7",{"name":281,"url":282,"avatar":283},"github:v0.3.7.md",{"name":1283,"tag_name":1283,"date":1284,"body":1285,"v":279,"url":1341,"tarball":1342,"zipball":1343,"prerelease":54,"reactions":1344,"author":1346,"title":53,"description":53,"_type":74,"_id":1347},"v0.3.6","2023-06-02T14:33:38Z",{"type":57,"children":1286,"toc":1338},[1287,1291],{"type":60,"tag":91,"props":1288,"children":1289},{"id":93},[1290],{"type":65,"value":96},{"type":60,"tag":105,"props":1292,"children":1293},{},[1294,1299,1325],{"type":60,"tag":109,"props":1295,"children":1296},{},[1297],{"type":65,"value":1298},"chore(deps): upgrade to nuxt and supabase latest version",{"type":60,"tag":109,"props":1300,"children":1301},{},[1302,1304,1315,1317,1324],{"type":65,"value":1303},"fix(client): remove persist session warning on server side in ",{"type":60,"tag":121,"props":1305,"children":1308},{"href":1306,"rel":1307},"https://github.com/nuxt-modules/supabase/commit/227113f68fb8723f9687adfa12150f825940e0c9",[125],[1309],{"type":60,"tag":486,"props":1310,"children":1312},{"className":1311},[],[1313],{"type":65,"value":1314},"227113f",{"type":65,"value":1316}," (Resolves ",{"type":60,"tag":121,"props":1318,"children":1321},{"href":1319,"rel":1320},"https://github.com/nuxt-modules/supabase/issues/188",[125],[1322],{"type":65,"value":1323},"#188",{"type":65,"value":130},{"type":60,"tag":109,"props":1326,"children":1327},{},[1328,1330,1337],{"type":65,"value":1329},"fix(chore): resolve imports (Resolves ",{"type":60,"tag":121,"props":1331,"children":1334},{"href":1332,"rel":1333},"https://github.com/nuxt-modules/supabase/issues/190",[125],[1335],{"type":65,"value":1336},"#190",{"type":65,"value":130},{"title":53,"searchDepth":72,"depth":72,"links":1339},[1340],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.6","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.6","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.6",{"url":1345,"total_count":1201,"+1":272,"-1":279,"laugh":279,"hooray":278,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/105847469/reactions",{"name":281,"url":282,"avatar":283},"github:v0.3.6.md",{"name":1349,"tag_name":1349,"date":1350,"body":1351,"v":279,"url":1641,"tarball":1642,"zipball":1643,"prerelease":54,"reactions":1644,"author":1646,"title":53,"description":53,"_type":74,"_id":1647},"v0.3.5","2023-04-03T09:50:57Z",{"type":57,"children":1352,"toc":1638},[1353,1357,1587,1601],{"type":60,"tag":91,"props":1354,"children":1355},{"id":93},[1356],{"type":65,"value":96},{"type":60,"tag":105,"props":1358,"children":1359},{},[1360,1377,1394,1411,1428,1445,1462,1479,1496,1513,1546,1563],{"type":60,"tag":109,"props":1361,"children":1362},{},[1363,1365,1376],{"type":65,"value":1364},"chore(demo): upgrade on last version (",{"type":60,"tag":121,"props":1366,"children":1369},{"href":1367,"rel":1368},"https://github.com/nuxt-modules/supabase/commit/9bb9e2856823a0bb86c07ae7775462e02a1e430d",[125],[1370],{"type":60,"tag":486,"props":1371,"children":1373},{"className":1372},[],[1374],{"type":65,"value":1375},"9bb9e28",{"type":65,"value":130},{"type":60,"tag":109,"props":1378,"children":1379},{},[1380,1382,1393],{"type":65,"value":1381},"chore(demo): generate database types from supabase cli (",{"type":60,"tag":121,"props":1383,"children":1386},{"href":1384,"rel":1385},"https://github.com/nuxt-modules/supabase/commit/bca199292dfeb23d5e0581ab40a6994fed3d1157",[125],[1387],{"type":60,"tag":486,"props":1388,"children":1390},{"className":1389},[],[1391],{"type":65,"value":1392},"bca1992",{"type":65,"value":130},{"type":60,"tag":109,"props":1395,"children":1396},{},[1397,1399,1410],{"type":65,"value":1398},"docs(links): update nuxt & supabase links and fix typos (",{"type":60,"tag":121,"props":1400,"children":1403},{"href":1401,"rel":1402},"https://github.com/nuxt-modules/supabase/commit/5699dc6c22f9182e9593936fc1260fc785eea450",[125],[1404],{"type":60,"tag":486,"props":1405,"children":1407},{"className":1406},[],[1408],{"type":65,"value":1409},"5699dc6",{"type":65,"value":130},{"type":60,"tag":109,"props":1412,"children":1413},{},[1414,1416,1427],{"type":65,"value":1415},"chore(app): move to pnpm (",{"type":60,"tag":121,"props":1417,"children":1420},{"href":1418,"rel":1419},"https://github.com/nuxt-modules/supabase/commit/94f7e130747801584d2b0999bd2f5f904e575082",[125],[1421],{"type":60,"tag":486,"props":1422,"children":1424},{"className":1423},[],[1425],{"type":65,"value":1426},"94f7e13",{"type":65,"value":130},{"type":60,"tag":109,"props":1429,"children":1430},{},[1431,1433,1444],{"type":65,"value":1432},"chore(module): conditionally add redirect plugin (",{"type":60,"tag":121,"props":1434,"children":1437},{"href":1435,"rel":1436},"https://github.com/nuxt-modules/supabase/commit/0cad0a557934f669f2ab424ef072f6b07c098646",[125],[1438],{"type":60,"tag":486,"props":1439,"children":1441},{"className":1440},[],[1442],{"type":65,"value":1443},"0cad0a5",{"type":65,"value":130},{"type":60,"tag":109,"props":1446,"children":1447},{},[1448,1450,1461],{"type":65,"value":1449},"docs(get-started): fix typos (",{"type":60,"tag":121,"props":1451,"children":1454},{"href":1452,"rel":1453},"https://github.com/nuxt-modules/supabase/commit/ba437a8534f3dcda53f805cc34b5d6a943297354",[125],[1455],{"type":60,"tag":486,"props":1456,"children":1458},{"className":1457},[],[1459],{"type":65,"value":1460},"ba437a8",{"type":65,"value":130},{"type":60,"tag":109,"props":1463,"children":1464},{},[1465,1467,1478],{"type":65,"value":1466},"docs(composables): correct grammar errors (",{"type":60,"tag":121,"props":1468,"children":1471},{"href":1469,"rel":1470},"https://github.com/nuxt-modules/supabase/commit/034d7dfaf9f52a08da0ade4bf6d5ed31ec740734",[125],[1472],{"type":60,"tag":486,"props":1473,"children":1475},{"className":1474},[],[1476],{"type":65,"value":1477},"034d7df",{"type":65,"value":130},{"type":60,"tag":109,"props":1480,"children":1481},{},[1482,1484,1495],{"type":65,"value":1483},"feat(demo): add call from server route(",{"type":60,"tag":121,"props":1485,"children":1488},{"href":1486,"rel":1487},"https://github.com/nuxt-modules/supabase/commit/989a91eacdc471de90a2307c39cd03f23cca57ee",[125],[1489],{"type":60,"tag":486,"props":1490,"children":1492},{"className":1491},[],[1493],{"type":65,"value":1494},"989a91e",{"type":65,"value":130},{"type":60,"tag":109,"props":1497,"children":1498},{},[1499,1501,1512],{"type":65,"value":1500},"perf(useSupabaseAuthClient): avoid declaring unused variables (",{"type":60,"tag":121,"props":1502,"children":1505},{"href":1503,"rel":1504},"https://github.com/nuxt-modules/supabase/commit/8c070b9e571b3fe7870c08033ea561624a6ae575",[125],[1506],{"type":60,"tag":486,"props":1507,"children":1509},{"className":1508},[],[1510],{"type":65,"value":1511},"8c070b9",{"type":65,"value":130},{"type":60,"tag":109,"props":1514,"children":1515},{},[1516,1518,1529,1530,1537,1539],{"type":65,"value":1517},"fix(dev): optimize supabase deps (",{"type":60,"tag":121,"props":1519,"children":1522},{"href":1520,"rel":1521},"https://github.com/nuxt-modules/supabase/commit/d1da3f6b2f463e7196c69c3a580833438926a6e1",[125],[1523],{"type":60,"tag":486,"props":1524,"children":1526},{"className":1525},[],[1527],{"type":65,"value":1528},"d1da3f6",{"type":65,"value":1235},{"type":60,"tag":121,"props":1531,"children":1534},{"href":1532,"rel":1533},"https://github.com/nuxt-modules/supabase/issues/172",[125],[1535],{"type":65,"value":1536},"#172",{"type":65,"value":1538}," & ",{"type":60,"tag":121,"props":1540,"children":1543},{"href":1541,"rel":1542},"https://github.com/nuxt-modules/supabase/issues/151",[125],[1544],{"type":65,"value":1545},"#151",{"type":60,"tag":109,"props":1547,"children":1548},{},[1549,1551,1562],{"type":65,"value":1550},"chore(deps): transpile websocket lib prod only (",{"type":60,"tag":121,"props":1552,"children":1555},{"href":1553,"rel":1554},"https://github.com/nuxt-modules/supabase/commit/a1ee40c848c9da81aa41acc53dc3555b32bafd86",[125],[1556],{"type":60,"tag":486,"props":1557,"children":1559},{"className":1558},[],[1560],{"type":65,"value":1561},"a1ee40c",{"type":65,"value":130},{"type":60,"tag":109,"props":1564,"children":1565},{},[1566,1568,1579,1580,1585],{"type":65,"value":1567},"fix(deps): transpile gotrue only on client (",{"type":60,"tag":121,"props":1569,"children":1572},{"href":1570,"rel":1571},"https://github.com/nuxt-modules/supabase/commit/fcc6823e248395a513706cf67ab664f84daacb45",[125],[1573],{"type":60,"tag":486,"props":1574,"children":1576},{"className":1575},[],[1577],{"type":65,"value":1578},"fcc6823",{"type":65,"value":1235},{"type":60,"tag":121,"props":1581,"children":1583},{"href":1532,"rel":1582},[125],[1584],{"type":65,"value":1536},{"type":65,"value":1586}," on server side",{"type":60,"tag":61,"props":1588,"children":1589},{},[1590,1594,1595],{"type":60,"tag":113,"props":1591,"children":1592},{},[1593],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":1596,"children":1599},{"href":1597,"rel":1598},"https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.5",[125],[1600],{"type":65,"value":1597},{"type":60,"tag":61,"props":1602,"children":1603},{},[1604,1606,1613,1615,1622,1623,1630,1631],{"type":65,"value":1605},"💚 Thanks for the help from 💚\r\n@",{"type":60,"tag":121,"props":1607,"children":1610},{"href":1608,"rel":1609},"https://github.com/nuxt-modules/supabase/commits?author=kuizuo",[125],[1611],{"type":65,"value":1612},"kuizuo",{"type":65,"value":1614},"\r\n@",{"type":60,"tag":121,"props":1616,"children":1619},{"href":1617,"rel":1618},"https://github.com/nuxt-modules/supabase/commits?author=tnntwister",[125],[1620],{"type":65,"value":1621},"tnntwister",{"type":65,"value":1614},{"type":60,"tag":121,"props":1624,"children":1627},{"href":1625,"rel":1626},"https://github.com/nuxt-modules/supabase/commits?author=yannaufray",[125],[1628],{"type":65,"value":1629},"yannaufray",{"type":65,"value":1614},{"type":60,"tag":121,"props":1632,"children":1635},{"href":1633,"rel":1634},"https://github.com/nuxt-modules/supabase/commits?author=DamianGlowala",[125],[1636],{"type":65,"value":1637},"DamianGlowala",{"title":53,"searchDepth":72,"depth":72,"links":1639},[1640],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.5","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.5","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.5",{"url":1645,"total_count":272,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":279,"rocket":272,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/97822579/reactions",{"name":281,"url":282,"avatar":283},"github:v0.3.5.md",{"name":1649,"tag_name":1649,"date":1650,"body":1651,"v":279,"url":1914,"tarball":1915,"zipball":1916,"prerelease":1917,"reactions":1918,"author":1920,"title":53,"description":53,"_type":74,"_id":1921},"v0.3.3","2023-03-31T21:51:14Z",{"type":57,"children":1652,"toc":1911},[1653,1657,1897],{"type":60,"tag":91,"props":1654,"children":1655},{"id":93},[1656],{"type":65,"value":96},{"type":60,"tag":105,"props":1658,"children":1659},{},[1660,1683,1699,1716,1733,1756,1773,1798,1821,1844,1859,1882],{"type":60,"tag":109,"props":1661,"children":1662},{},[1663,1664,1671,1672,1682],{"type":65,"value":1500},{"type":60,"tag":121,"props":1665,"children":1668},{"href":1666,"rel":1667},"https://github.com/nuxt-modules/supabase/issues/166",[125],[1669],{"type":65,"value":1670},"#166",{"type":65,"value":319},{"type":60,"tag":121,"props":1673,"children":1676},{"href":1674,"rel":1675},"https://github.com/nuxt-modules/supabase/commit/8c070b9",[125],[1677],{"type":60,"tag":486,"props":1678,"children":1680},{"className":1679},[],[1681],{"type":65,"value":1511},{"type":65,"value":130},{"type":60,"tag":109,"props":1684,"children":1685},{},[1686,1688,1698],{"type":65,"value":1687},"feat(demo): add call from server route (",{"type":60,"tag":121,"props":1689,"children":1692},{"href":1690,"rel":1691},"https://github.com/nuxt-modules/supabase/commit/989a91e",[125],[1693],{"type":60,"tag":486,"props":1694,"children":1696},{"className":1695},[],[1697],{"type":65,"value":1494},{"type":65,"value":130},{"type":60,"tag":109,"props":1700,"children":1701},{},[1702,1704,1715],{"type":65,"value":1703},"chore(demo): upgrade deps (",{"type":60,"tag":121,"props":1705,"children":1708},{"href":1706,"rel":1707},"https://github.com/nuxt-modules/supabase/commit/9ebbc77",[125],[1709],{"type":60,"tag":486,"props":1710,"children":1712},{"className":1711},[],[1713],{"type":65,"value":1714},"9ebbc77",{"type":65,"value":130},{"type":60,"tag":109,"props":1717,"children":1718},{},[1719,1721,1732],{"type":65,"value":1720},"chore(deps): upgrade (",{"type":60,"tag":121,"props":1722,"children":1725},{"href":1723,"rel":1724},"https://github.com/nuxt-modules/supabase/commit/e274a5e",[125],[1726],{"type":60,"tag":486,"props":1727,"children":1729},{"className":1728},[],[1730],{"type":65,"value":1731},"e274a5e",{"type":65,"value":130},{"type":60,"tag":109,"props":1734,"children":1735},{},[1736,1737,1744,1745,1755],{"type":65,"value":1466},{"type":60,"tag":121,"props":1738,"children":1741},{"href":1739,"rel":1740},"https://github.com/nuxt-modules/supabase/issues/162",[125],[1742],{"type":65,"value":1743},"#162",{"type":65,"value":319},{"type":60,"tag":121,"props":1746,"children":1749},{"href":1747,"rel":1748},"https://github.com/nuxt-modules/supabase/commit/034d7df",[125],[1750],{"type":60,"tag":486,"props":1751,"children":1753},{"className":1752},[],[1754],{"type":65,"value":1477},{"type":65,"value":130},{"type":60,"tag":109,"props":1757,"children":1758},{},[1759,1761,1772],{"type":65,"value":1760},"docs(readme): add nuxt badge (",{"type":60,"tag":121,"props":1762,"children":1765},{"href":1763,"rel":1764},"https://github.com/nuxt-modules/supabase/commit/68271b8",[125],[1766],{"type":60,"tag":486,"props":1767,"children":1769},{"className":1768},[],[1770],{"type":65,"value":1771},"68271b8",{"type":65,"value":130},{"type":60,"tag":109,"props":1774,"children":1775},{},[1776,1778,1785,1786,1797],{"type":65,"value":1777},"docs(demo): fix typo (",{"type":60,"tag":121,"props":1779,"children":1782},{"href":1780,"rel":1781},"https://github.com/nuxt-modules/supabase/issues/125",[125],[1783],{"type":65,"value":1784},"#125",{"type":65,"value":319},{"type":60,"tag":121,"props":1787,"children":1790},{"href":1788,"rel":1789},"https://github.com/nuxt-modules/supabase/commit/bd33d12",[125],[1791],{"type":60,"tag":486,"props":1792,"children":1794},{"className":1793},[],[1795],{"type":65,"value":1796},"bd33d12",{"type":65,"value":130},{"type":60,"tag":109,"props":1799,"children":1800},{},[1801,1802,1809,1810,1820],{"type":65,"value":1449},{"type":60,"tag":121,"props":1803,"children":1806},{"href":1804,"rel":1805},"https://github.com/nuxt-modules/supabase/issues/154",[125],[1807],{"type":65,"value":1808},"#154",{"type":65,"value":319},{"type":60,"tag":121,"props":1811,"children":1814},{"href":1812,"rel":1813},"https://github.com/nuxt-modules/supabase/commit/ba437a8",[125],[1815],{"type":60,"tag":486,"props":1816,"children":1818},{"className":1817},[],[1819],{"type":65,"value":1460},{"type":65,"value":130},{"type":60,"tag":109,"props":1822,"children":1823},{},[1824,1825,1832,1833,1843],{"type":65,"value":1432},{"type":60,"tag":121,"props":1826,"children":1829},{"href":1827,"rel":1828},"https://github.com/nuxt-modules/supabase/issues/157",[125],[1830],{"type":65,"value":1831},"#157",{"type":65,"value":319},{"type":60,"tag":121,"props":1834,"children":1837},{"href":1835,"rel":1836},"https://github.com/nuxt-modules/supabase/commit/0cad0a5",[125],[1838],{"type":60,"tag":486,"props":1839,"children":1841},{"className":1840},[],[1842],{"type":65,"value":1443},{"type":65,"value":130},{"type":60,"tag":109,"props":1845,"children":1846},{},[1847,1848,1858],{"type":65,"value":1415},{"type":60,"tag":121,"props":1849,"children":1852},{"href":1850,"rel":1851},"https://github.com/nuxt-modules/supabase/commit/94f7e13",[125],[1853],{"type":60,"tag":486,"props":1854,"children":1856},{"className":1855},[],[1857],{"type":65,"value":1426},{"type":65,"value":130},{"type":60,"tag":109,"props":1860,"children":1861},{},[1862,1863,1870,1871,1881],{"type":65,"value":1398},{"type":60,"tag":121,"props":1864,"children":1867},{"href":1865,"rel":1866},"https://github.com/nuxt-modules/supabase/issues/126",[125],[1868],{"type":65,"value":1869},"#126",{"type":65,"value":319},{"type":60,"tag":121,"props":1872,"children":1875},{"href":1873,"rel":1874},"https://github.com/nuxt-modules/supabase/commit/5699dc6",[125],[1876],{"type":60,"tag":486,"props":1877,"children":1879},{"className":1878},[],[1880],{"type":65,"value":1409},{"type":65,"value":130},{"type":60,"tag":109,"props":1883,"children":1884},{},[1885,1886,1896],{"type":65,"value":1381},{"type":60,"tag":121,"props":1887,"children":1890},{"href":1888,"rel":1889},"https://github.com/nuxt-modules/supabase/commit/bca1992",[125],[1891],{"type":60,"tag":486,"props":1892,"children":1894},{"className":1893},[],[1895],{"type":65,"value":1392},{"type":65,"value":130},{"type":60,"tag":61,"props":1898,"children":1899},{},[1900,1904,1905],{"type":60,"tag":113,"props":1901,"children":1902},{},[1903],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":1906,"children":1909},{"href":1907,"rel":1908},"https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.3",[125],[1910],{"type":65,"value":1907},{"title":53,"searchDepth":72,"depth":72,"links":1912},[1913],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.3","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.3","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.3",true,{"url":1919,"total_count":272,"+1":272,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/97697076/reactions",{"name":281,"url":282,"avatar":283},"github:v0.3.3.md",{"name":1923,"tag_name":1923,"date":1924,"body":1925,"v":279,"url":1990,"tarball":1991,"zipball":1992,"prerelease":54,"author":1993,"title":53,"description":53,"_type":74,"_id":1994},"v0.3.1","2023-02-07T20:18:04Z",{"type":57,"children":1926,"toc":1987},[1927,1931,1973],{"type":60,"tag":91,"props":1928,"children":1929},{"id":93},[1930],{"type":65,"value":96},{"type":60,"tag":105,"props":1932,"children":1933},{},[1934,1951,1968],{"type":60,"tag":109,"props":1935,"children":1936},{},[1937,1939,1950],{"type":65,"value":1938},"chore(app): upgrade deps and fix lint (",{"type":60,"tag":121,"props":1940,"children":1943},{"href":1941,"rel":1942},"https://github.com/nuxt-modules/supabase/commit/68baf68",[125],[1944],{"type":60,"tag":486,"props":1945,"children":1947},{"className":1946},[],[1948],{"type":65,"value":1949},"68baf68",{"type":65,"value":130},{"type":60,"tag":109,"props":1952,"children":1953},{},[1954,1956,1967],{"type":65,"value":1955},"fix(client): unset user before session on logout (",{"type":60,"tag":121,"props":1957,"children":1960},{"href":1958,"rel":1959},"https://github.com/nuxt-modules/supabase/commit/ab574ef",[125],[1961],{"type":60,"tag":486,"props":1962,"children":1964},{"className":1963},[],[1965],{"type":65,"value":1966},"ab574ef",{"type":65,"value":130},{"type":60,"tag":109,"props":1969,"children":1970},{},[1971],{"type":65,"value":1972},"chore(demo): update with latest and fix logout",{"type":60,"tag":61,"props":1974,"children":1975},{},[1976,1980,1981],{"type":60,"tag":113,"props":1977,"children":1978},{},[1979],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":1982,"children":1985},{"href":1983,"rel":1984},"https://github.com/nuxt-community/supabase-module/compare/v0.3.0...v0.3.1",[125],[1986],{"type":65,"value":1983},{"title":53,"searchDepth":72,"depth":72,"links":1988},[1989],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.1","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.1","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.1",{"name":281,"url":282,"avatar":283},"github:v0.3.1.md",{"name":1996,"tag_name":1996,"date":1997,"body":1998,"v":279,"url":2120,"tarball":2121,"zipball":2122,"prerelease":54,"reactions":2123,"author":2125,"title":53,"description":921,"_type":74,"_id":2126},"v0.3.0","2022-11-22T15:26:02Z",{"type":57,"children":1999,"toc":2117},[2000,2004,2008,2029,2063,2091,2103],{"type":60,"tag":61,"props":2001,"children":2002},{},[2003],{"type":65,"value":921},{"type":60,"tag":91,"props":2005,"children":2006},{"id":93},[2007],{"type":65,"value":96},{"type":60,"tag":61,"props":2009,"children":2010},{},[2011,2013,2020,2022,2027],{"type":65,"value":2012},"In order to resolve ",{"type":60,"tag":121,"props":2014,"children":2017},{"href":2015,"rel":2016},"https://github.com/nuxt-modules/supabase/issues/114",[125],[2018],{"type":65,"value":2019},"#114",{"type":65,"value":2021},", I have made the choice to separate the ",{"type":60,"tag":486,"props":2023,"children":2025},{"className":2024},[],[2026],{"type":65,"value":21},{"type":65,"value":2028}," in two other composables:",{"type":60,"tag":105,"props":2030,"children":2031},{},[2032,2052],{"type":60,"tag":109,"props":2033,"children":2034},{},[2035,2037,2042,2044,2050],{"type":65,"value":2036},"The ",{"type":60,"tag":486,"props":2038,"children":2040},{"className":2039},[],[2041],{"type":65,"value":933},{"type":65,"value":2043}," is dedicated to authentification purpose only. It won't be recreate if your token expires, it is used in the client plugin to listen to ",{"type":60,"tag":486,"props":2045,"children":2047},{"className":2046},[],[2048],{"type":65,"value":2049},"onAuthStateChange",{"type":65,"value":2051}," events.",{"type":60,"tag":109,"props":2053,"children":2054},{},[2055,2056,2061],{"type":65,"value":2036},{"type":60,"tag":486,"props":2057,"children":2059},{"className":2058},[],[2060],{"type":65,"value":21},{"type":65,"value":2062}," is now only useful for data request.",{"type":60,"tag":61,"props":2064,"children":2065},{},[2066,2068,2073,2075,2080,2082,2089],{"type":65,"value":2067},"To avoid regression you just need to use ",{"type":60,"tag":486,"props":2069,"children":2071},{"className":2070},[],[2072],{"type":65,"value":933},{"type":65,"value":2074}," instead of ",{"type":60,"tag":486,"props":2076,"children":2078},{"className":2077},[],[2079],{"type":65,"value":21},{"type":65,"value":2081}," everywhere you use ",{"type":60,"tag":121,"props":2083,"children":2086},{"href":2084,"rel":2085},"https://supabase.com/docs/reference/javascript/auth-signup",[125],[2087],{"type":65,"value":2088},"Supabase auth methods",{"type":65,"value":2090},".",{"type":60,"tag":61,"props":2092,"children":2093},{},[2094,2101],{"type":60,"tag":121,"props":2095,"children":2098},{"href":2096,"rel":2097},"https://supabase.nuxtjs.org/usage/composables/use-supabase-auth-client",[125],[2099],{"type":65,"value":2100},"Documentation",{"type":65,"value":2102}," has been updated.",{"type":60,"tag":61,"props":2104,"children":2105},{},[2106,2110,2111],{"type":60,"tag":113,"props":2107,"children":2108},{},[2109],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2112,"children":2115},{"href":2113,"rel":2114},"https://github.com/nuxt-community/supabase-module/compare/v0.2.6...v0.3.0",[125],[2116],{"type":65,"value":2113},{"title":53,"searchDepth":72,"depth":72,"links":2118},[2119],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.0","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.0","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.0",{"url":2124,"total_count":1097,"+1":72,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":268,"rocket":268,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/83886320/reactions",{"name":281,"url":282,"avatar":283},"github:v0.3.0.md",{"name":2128,"tag_name":2128,"date":2129,"body":2130,"v":279,"url":2167,"tarball":2168,"zipball":2169,"prerelease":54,"author":2170,"title":53,"description":53,"_type":74,"_id":2171},"v0.2.6","2022-11-22T15:16:16Z",{"type":57,"children":2131,"toc":2164},[2132,2136,2150],{"type":60,"tag":91,"props":2133,"children":2134},{"id":93},[2135],{"type":65,"value":96},{"type":60,"tag":105,"props":2137,"children":2138},{},[2139],{"type":60,"tag":109,"props":2140,"children":2141},{},[2142,2144],{"type":65,"value":2143},"chore: update to Nuxt 3 stable 🚀 ",{"type":60,"tag":121,"props":2145,"children":2148},{"href":2146,"rel":2147},"https://nuxt.com/v3",[125],[2149],{"type":65,"value":2146},{"type":60,"tag":61,"props":2151,"children":2152},{},[2153,2157,2158],{"type":60,"tag":113,"props":2154,"children":2155},{},[2156],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2159,"children":2162},{"href":2160,"rel":2161},"https://github.com/nuxt-community/supabase-module/compare/v0.2.5...v0.2.6",[125],[2163],{"type":65,"value":2160},{"title":53,"searchDepth":72,"depth":72,"links":2165},[2166],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.6","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.6","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.6",{"name":281,"url":282,"avatar":283},"github:v0.2.6.md",{"name":2173,"tag_name":2173,"date":2174,"body":2175,"v":279,"url":2227,"tarball":2228,"zipball":2229,"prerelease":54,"author":2230,"title":53,"description":53,"_type":74,"_id":2231},"v0.2.5","2022-11-22T15:14:51Z",{"type":57,"children":2176,"toc":2224},[2177,2181,2210],{"type":60,"tag":91,"props":2178,"children":2179},{"id":93},[2180],{"type":65,"value":96},{"type":60,"tag":105,"props":2182,"children":2183},{},[2184],{"type":60,"tag":109,"props":2185,"children":2186},{},[2187,2189,2200,2202,2209],{"type":65,"value":2188},"fix: use Router instead of navigateTo for login redirect in ",{"type":60,"tag":121,"props":2190,"children":2193},{"href":2191,"rel":2192},"https://github.com/nuxt-modules/supabase/commit/79fc0e43655d4dee5858acf06cf1979e3ead542b",[125],[2194],{"type":60,"tag":486,"props":2195,"children":2197},{"className":2196},[],[2198],{"type":65,"value":2199},"79fc0e4",{"type":65,"value":2201}," (resolves ",{"type":60,"tag":121,"props":2203,"children":2206},{"href":2204,"rel":2205},"https://github.com/nuxt-modules/supabase/issues/89",[125],[2207],{"type":65,"value":2208},"#89",{"type":65,"value":130},{"type":60,"tag":61,"props":2211,"children":2212},{},[2213,2217,2218],{"type":60,"tag":113,"props":2214,"children":2215},{},[2216],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2219,"children":2222},{"href":2220,"rel":2221},"https://github.com/nuxt-community/supabase-module/compare/v0.2.4...v0.2.5",[125],[2223],{"type":65,"value":2220},{"title":53,"searchDepth":72,"depth":72,"links":2225},[2226],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.5","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.5","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.5",{"name":281,"url":282,"avatar":283},"github:v0.2.5.md",{"name":2233,"tag_name":2233,"date":2234,"body":2235,"v":279,"url":2277,"tarball":2278,"zipball":2279,"prerelease":54,"reactions":2280,"author":2282,"title":53,"description":53,"_type":74,"_id":2283},"v0.2.4","2022-11-13T19:36:18Z",{"type":57,"children":2236,"toc":2274},[2237,2241,2260],{"type":60,"tag":91,"props":2238,"children":2239},{"id":93},[2240],{"type":65,"value":96},{"type":60,"tag":105,"props":2242,"children":2243},{},[2244],{"type":60,"tag":109,"props":2245,"children":2246},{},[2247,2249],{"type":65,"value":2248},"fix: handle TOKEN_REFRESHED session event in ",{"type":60,"tag":121,"props":2250,"children":2253},{"href":2251,"rel":2252},"https://github.com/nuxt-modules/supabase/commit/bf503029b48113b4b66545d0d2065c899209a06a",[125],[2254],{"type":60,"tag":486,"props":2255,"children":2257},{"className":2256},[],[2258],{"type":65,"value":2259},"bf50302",{"type":60,"tag":61,"props":2261,"children":2262},{},[2263,2267,2268],{"type":60,"tag":113,"props":2264,"children":2265},{},[2266],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2269,"children":2272},{"href":2270,"rel":2271},"https://github.com/nuxt-community/supabase-module/compare/v0.2.3...v0.2.4",[125],[2273],{"type":65,"value":2270},{"title":53,"searchDepth":72,"depth":72,"links":2275},[2276],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.4","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.4","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.4",{"url":2281,"total_count":72,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":72,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/82920199/reactions",{"name":281,"url":282,"avatar":283},"github:v0.2.4.md",{"name":2285,"tag_name":2285,"date":2286,"body":2287,"v":279,"url":2425,"tarball":2426,"zipball":2427,"prerelease":54,"reactions":2428,"author":2430,"title":53,"description":53,"_type":74,"_id":2431},"v0.2.3","2022-11-11T17:27:14Z",{"type":57,"children":2288,"toc":2421},[2289,2293,2373,2379,2407],{"type":60,"tag":91,"props":2290,"children":2291},{"id":93},[2292],{"type":65,"value":96},{"type":60,"tag":105,"props":2294,"children":2295},{},[2296,2324,2336,2349],{"type":60,"tag":109,"props":2297,"children":2298},{},[2299,2301,2312,2313],{"type":65,"value":2300},"feat: typed supabase client in ",{"type":60,"tag":121,"props":2302,"children":2305},{"href":2303,"rel":2304},"https://github.com/nuxt-modules/supabase/commit/b59ff1acfbbe2cd36aea1ade2d2b538404909260",[125],[2306],{"type":60,"tag":486,"props":2307,"children":2309},{"className":2308},[],[2310],{"type":65,"value":2311},"b59ff1a",{"type":65,"value":1034},{"type":60,"tag":121,"props":2314,"children":2317},{"href":2315,"rel":2316},"https://github.com/nuxt-modules/supabase/commit/fd751d7e50c63c48df9e03763458cc826409ff35",[125],[2318],{"type":60,"tag":486,"props":2319,"children":2321},{"className":2320},[],[2322],{"type":65,"value":2323},"fd751d7",{"type":60,"tag":109,"props":2325,"children":2326},{},[2327,2329],{"type":65,"value":2328},"chore: upgrade to nuxt ",{"type":60,"tag":121,"props":2330,"children":2333},{"href":2331,"rel":2332},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.13",[125],[2334],{"type":65,"value":2335},"rc13",{"type":60,"tag":109,"props":2337,"children":2338},{},[2339,2341,2348],{"type":65,"value":2340},"fix: do not apply token if not exists (",{"type":60,"tag":121,"props":2342,"children":2345},{"href":2343,"rel":2344},"https://github.com/nuxt-modules/supabase/issues/107",[125],[2346],{"type":65,"value":2347},"#107",{"type":65,"value":130},{"type":60,"tag":109,"props":2350,"children":2351},{},[2352,2354,2360,2362],{"type":65,"value":2353},"docs: add roadmap board from ",{"type":60,"tag":121,"props":2355,"children":2358},{"href":2356,"rel":2357},"https://volta.net",[125],[2359],{"type":65,"value":2356},{"type":65,"value":2361}," in ",{"type":60,"tag":121,"props":2363,"children":2366},{"href":2364,"rel":2365},"https://github.com/nuxt-modules/supabase/commit/f8e73b535924f133e479dbc2863bb37856ff4555",[125],[2367],{"type":60,"tag":486,"props":2368,"children":2370},{"className":2369},[],[2371],{"type":65,"value":2372},"f8e73b5",{"type":60,"tag":91,"props":2374,"children":2376},{"id":2375},"contributors",[2377],{"type":65,"value":2378},"Contributors",{"type":60,"tag":61,"props":2380,"children":2381},{},[2382,2384,2394,2395,2405],{"type":65,"value":2383},"Thanks to ",{"type":60,"tag":121,"props":2385,"children":2388},{"href":2386,"rel":2387},"https://github.com/manniL",[125],[2389],{"type":60,"tag":113,"props":2390,"children":2391},{},[2392],{"type":65,"value":2393},"@manniL",{"type":65,"value":1034},{"type":60,"tag":121,"props":2396,"children":2399},{"href":2397,"rel":2398},"https://github.com/levibe",[125],[2400],{"type":60,"tag":113,"props":2401,"children":2402},{},[2403],{"type":65,"value":2404},"@levibe",{"type":65,"value":2406}," 💚",{"type":60,"tag":61,"props":2408,"children":2409},{},[2410,2414,2415],{"type":60,"tag":113,"props":2411,"children":2412},{},[2413],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2416,"children":2419},{"href":2417,"rel":2418},"https://github.com/nuxt-community/supabase-module/compare/v0.2.0...v0.2.3",[125],[2420],{"type":65,"value":2417},{"title":53,"searchDepth":72,"depth":72,"links":2422},[2423,2424],{"id":93,"depth":72,"text":96},{"id":2375,"depth":72,"text":2378},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.3","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.3","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.3",{"url":2429,"total_count":272,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":272,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/82825289/reactions",{"name":281,"url":282,"avatar":283},"github:v0.2.3.md",{"name":2433,"tag_name":2433,"date":2434,"body":2435,"v":279,"url":2526,"tarball":2527,"zipball":2528,"prerelease":54,"author":2529,"title":53,"description":53,"_type":74,"_id":2530},"v0.2.0","2022-10-17T14:18:31Z",{"type":57,"children":2436,"toc":2523},[2437,2441,2446,2459,2472,2477,2482,2509],{"type":60,"tag":91,"props":2438,"children":2439},{"id":93},[2440],{"type":65,"value":96},{"type":60,"tag":61,"props":2442,"children":2443},{},[2444],{"type":65,"value":2445},"⚠️ Breaking Changes",{"type":60,"tag":61,"props":2447,"children":2448},{},[2449,2451,2458],{"type":65,"value":2450},"Upgrade to supabase-js v2, check Supabase ",{"type":60,"tag":121,"props":2452,"children":2455},{"href":2453,"rel":2454},"https://supabase.com/docs/reference/javascript/release-notes",[125],[2456],{"type":65,"value":2457},"release notes",{"type":65,"value":2090},{"type":60,"tag":61,"props":2460,"children":2461},{},[2462,2464,2470],{"type":65,"value":2463},"Module ",{"type":60,"tag":121,"props":2465,"children":2467},{"href":883,"rel":2466},[125],[2468],{"type":65,"value":2469},"documentation",{"type":65,"value":2471}," has been updated in favor of supabase v2 syntax.",{"type":60,"tag":61,"props":2473,"children":2474},{},[2475],{"type":65,"value":2476},"Please feel free to make PR if I missed something 🙏",{"type":60,"tag":61,"props":2478,"children":2479},{},[2480],{"type":65,"value":2481},"🚀 Features",{"type":60,"tag":105,"props":2483,"children":2484},{},[2485,2497],{"type":60,"tag":109,"props":2486,"children":2487},{},[2488,2490,2496],{"type":65,"value":2489},"options: redirect user after signout or when user is not authenticated (check ",{"type":60,"tag":121,"props":2491,"children":2494},{"href":2492,"rel":2493},"https://supabase.nuxtjs.org/get-started#redirect",[125],[2495],{"type":65,"value":2469},{"type":65,"value":130},{"type":60,"tag":109,"props":2498,"children":2499},{},[2500,2502],{"type":65,"value":2501},"session: set refresh token ",{"type":60,"tag":121,"props":2503,"children":2506},{"href":2504,"rel":2505},"https://github.com/nuxt-modules/supabase/issues/18",[125],[2507],{"type":65,"value":2508},"#18",{"type":60,"tag":61,"props":2510,"children":2511},{},[2512,2516,2517],{"type":60,"tag":113,"props":2513,"children":2514},{},[2515],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2518,"children":2521},{"href":2519,"rel":2520},"https://github.com/nuxt-community/supabase-module/compare/v0.1.28...v0.2.0",[125],[2522],{"type":65,"value":2519},{"title":53,"searchDepth":72,"depth":72,"links":2524},[2525],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.0","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.0","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.0",{"name":281,"url":282,"avatar":283},"github:v0.2.0.md",{"name":2532,"tag_name":2532,"date":2533,"body":2534,"v":279,"url":2589,"tarball":2590,"zipball":2591,"prerelease":54,"author":2592,"title":53,"description":53,"_type":74,"_id":2593},"v0.1.28","2022-10-07T10:05:52Z",{"type":57,"children":2535,"toc":2586},[2536,2540,2556,2570],{"type":60,"tag":91,"props":2537,"children":2538},{"id":93},[2539],{"type":65,"value":96},{"type":60,"tag":105,"props":2541,"children":2542},{},[2543],{"type":60,"tag":109,"props":2544,"children":2545},{},[2546,2548,2555],{"type":65,"value":2547},"fix: cloudflare workers deployment (",{"type":60,"tag":121,"props":2549,"children":2552},{"href":2550,"rel":2551},"https://github.com/nuxt-modules/supabase/issues/46",[125],[2553],{"type":65,"value":2554},"#46",{"type":65,"value":130},{"type":60,"tag":61,"props":2557,"children":2558},{},[2559,2563,2564],{"type":60,"tag":113,"props":2560,"children":2561},{},[2562],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2565,"children":2568},{"href":2566,"rel":2567},"https://github.com/nuxt-community/supabase-module/compare/v0.1.27...v0.1.28",[125],[2569],{"type":65,"value":2566},{"type":60,"tag":61,"props":2571,"children":2572},{},[2573,2574,2584],{"type":65,"value":2383},{"type":60,"tag":121,"props":2575,"children":2578},{"href":2576,"rel":2577},"https://github.com/kevinmarrec",[125],[2579],{"type":60,"tag":113,"props":2580,"children":2581},{},[2582],{"type":65,"value":2583},"@kevinmarrec",{"type":65,"value":2585}," for the fix 🔥",{"title":53,"searchDepth":72,"depth":72,"links":2587},[2588],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.28","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.28","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.28",{"name":281,"url":282,"avatar":283},"github:v0.1.28.md",{"name":2595,"tag_name":2595,"date":2596,"body":2597,"v":279,"url":2640,"tarball":2641,"zipball":2642,"prerelease":54,"author":2643,"title":53,"description":53,"_type":74,"_id":2644},"v0.1.27","2022-09-23T10:19:42Z",{"type":57,"children":2598,"toc":2637},[2599,2603,2618,2623],{"type":60,"tag":91,"props":2600,"children":2601},{"id":93},[2602],{"type":65,"value":96},{"type":60,"tag":105,"props":2604,"children":2605},{},[2606],{"type":60,"tag":109,"props":2607,"children":2608},{},[2609,2611],{"type":65,"value":2610},"chore: upgrade to Nuxt ",{"type":60,"tag":121,"props":2612,"children":2615},{"href":2613,"rel":2614},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.11",[125],[2616],{"type":65,"value":2617},"rc.11",{"type":60,"tag":61,"props":2619,"children":2620},{},[2621],{"type":65,"value":2622},"Stable is coming 🚀",{"type":60,"tag":61,"props":2624,"children":2625},{},[2626,2630,2631],{"type":60,"tag":113,"props":2627,"children":2628},{},[2629],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2632,"children":2635},{"href":2633,"rel":2634},"https://github.com/nuxt-community/supabase-module/compare/v0.1.26...v0.1.27",[125],[2636],{"type":65,"value":2633},{"title":53,"searchDepth":72,"depth":72,"links":2638},[2639],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.27","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.27","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.27",{"name":281,"url":282,"avatar":283},"github:v0.1.27.md",{"name":2433,"tag_name":2646,"date":2647,"body":2648,"v":279,"url":2686,"tarball":2687,"zipball":2688,"prerelease":1917,"author":2689,"title":53,"description":53,"_type":74,"_id":2530},"v0.2.0-16","2022-08-16T14:56:45Z",{"type":57,"children":2649,"toc":2683},[2650,2654,2658,2669],{"type":60,"tag":91,"props":2651,"children":2652},{"id":93},[2653],{"type":65,"value":96},{"type":60,"tag":61,"props":2655,"children":2656},{},[2657],{"type":65,"value":2445},{"type":60,"tag":61,"props":2659,"children":2660},{},[2661,2662,2668],{"type":65,"value":2450},{"type":60,"tag":121,"props":2663,"children":2666},{"href":2664,"rel":2665},"https://supabase.com/docs/reference/javascript/next/release-notes",[125],[2667],{"type":65,"value":2457},{"type":65,"value":2090},{"type":60,"tag":61,"props":2670,"children":2671},{},[2672,2676,2677],{"type":60,"tag":113,"props":2673,"children":2674},{},[2675],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2678,"children":2681},{"href":2679,"rel":2680},"https://github.com/nuxt-community/supabase-module/compare/v0.1.22...v0.2.0",[125],[2682],{"type":65,"value":2679},{"title":53,"searchDepth":72,"depth":72,"links":2684},[2685],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.0-16","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.0-16","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.0-16",{"name":281,"url":282,"avatar":283},{"name":2691,"tag_name":2691,"date":2692,"body":2693,"v":279,"url":2735,"tarball":2736,"zipball":2737,"prerelease":54,"reactions":2738,"author":2740,"title":53,"description":53,"_type":74,"_id":2741},"v0.1.26","2022-09-16T11:17:29Z",{"type":57,"children":2694,"toc":2732},[2695,2699,2713,2718],{"type":60,"tag":91,"props":2696,"children":2697},{"id":93},[2698],{"type":65,"value":96},{"type":60,"tag":105,"props":2700,"children":2701},{},[2702],{"type":60,"tag":109,"props":2703,"children":2704},{},[2705,2706],{"type":65,"value":2610},{"type":60,"tag":121,"props":2707,"children":2710},{"href":2708,"rel":2709},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.10",[125],[2711],{"type":65,"value":2712},"rc.10",{"type":60,"tag":61,"props":2714,"children":2715},{},[2716],{"type":65,"value":2717},"Stable in coming 🚀",{"type":60,"tag":61,"props":2719,"children":2720},{},[2721,2725,2726],{"type":60,"tag":113,"props":2722,"children":2723},{},[2724],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2727,"children":2730},{"href":2728,"rel":2729},"https://github.com/nuxt-community/supabase-module/compare/v0.1.25...v0.1.26",[125],[2731],{"type":65,"value":2728},{"title":53,"searchDepth":72,"depth":72,"links":2733},[2734],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.26","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.26","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.26",{"url":2739,"total_count":272,"+1":272,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/77384555/reactions",{"name":281,"url":282,"avatar":283},"github:v0.1.26.md",{"name":2743,"tag_name":2743,"date":2744,"body":2745,"v":279,"url":2848,"tarball":2849,"zipball":2850,"prerelease":54,"reactions":2851,"author":2853,"title":53,"description":53,"_type":74,"_id":2854},"v0.1.25","2022-09-05T07:28:01Z",{"type":57,"children":2746,"toc":2845},[2747,2751,2831],{"type":60,"tag":91,"props":2748,"children":2749},{"id":93},[2750],{"type":65,"value":96},{"type":60,"tag":105,"props":2752,"children":2753},{},[2754,2790,2818],{"type":60,"tag":109,"props":2755,"children":2756},{},[2757,2759,2770,2771,2782,2784],{"type":65,"value":2758},"docs: new directory architecture + supabase module v2 coming soon in ",{"type":60,"tag":121,"props":2760,"children":2763},{"href":2761,"rel":2762},"https://github.com/nuxt-modules/supabase/commit/d48522a369bcced45dfb3d16793b33f0144ffa50",[125],[2764],{"type":60,"tag":486,"props":2765,"children":2767},{"className":2766},[],[2768],{"type":65,"value":2769},"d48522a",{"type":65,"value":1034},{"type":60,"tag":121,"props":2772,"children":2775},{"href":2773,"rel":2774},"https://github.com/nuxt-modules/supabase/commit/e69712b4862a5baa464c01ae32755473358b82d2",[125],[2776],{"type":60,"tag":486,"props":2777,"children":2779},{"className":2778},[],[2780],{"type":65,"value":2781},"e69712b",{"type":65,"value":2783},". Check out ",{"type":60,"tag":121,"props":2785,"children":2788},{"href":2786,"rel":2787},"https://supabase.nuxtjs.org/",[125],[2789],{"type":65,"value":2786},{"type":60,"tag":109,"props":2791,"children":2792},{},[2793,2795,2806,2807],{"type":65,"value":2794},"chore: upgrade to rc9 in ",{"type":60,"tag":121,"props":2796,"children":2799},{"href":2797,"rel":2798},"https://github.com/nuxt-modules/supabase/commit/3c5220bf9569d2e939a466aa4a2814e0dc38622c",[125],[2800],{"type":60,"tag":486,"props":2801,"children":2803},{"className":2802},[],[2804],{"type":65,"value":2805},"3c5220b",{"type":65,"value":1034},{"type":60,"tag":121,"props":2808,"children":2811},{"href":2809,"rel":2810},"https://github.com/nuxt-modules/supabase/commit/495e0b705622e9bda28072815c828beedea1082c",[125],[2812],{"type":60,"tag":486,"props":2813,"children":2815},{"className":2814},[],[2816],{"type":65,"value":2817},"495e0b7",{"type":60,"tag":109,"props":2819,"children":2820},{},[2821,2823,2830],{"type":65,"value":2822},"chore: fix nuxt compatibility (",{"type":60,"tag":121,"props":2824,"children":2827},{"href":2825,"rel":2826},"https://github.com/nuxt-modules/supabase/issues/70",[125],[2828],{"type":65,"value":2829},"#70",{"type":65,"value":130},{"type":60,"tag":61,"props":2832,"children":2833},{},[2834,2838,2839],{"type":60,"tag":113,"props":2835,"children":2836},{},[2837],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2840,"children":2843},{"href":2841,"rel":2842},"https://github.com/nuxt-community/supabase-module/compare/v0.1.23...v0.1.25",[125],[2844],{"type":65,"value":2841},{"title":53,"searchDepth":72,"depth":72,"links":2846},[2847],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.25","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.25","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.25",{"url":2852,"total_count":1201,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":1201,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/76259131/reactions",{"name":281,"url":282,"avatar":283},"github:v0.1.25.md",{"name":2856,"tag_name":2856,"date":2857,"body":2858,"v":279,"url":2926,"tarball":2927,"zipball":2928,"prerelease":54,"author":2929,"title":53,"description":53,"_type":74,"_id":2930},"v0.1.23","2022-08-16T10:12:13Z",{"type":57,"children":2859,"toc":2923},[2860,2864,2909],{"type":60,"tag":91,"props":2861,"children":2862},{"id":93},[2863],{"type":65,"value":96},{"type":60,"tag":105,"props":2865,"children":2866},{},[2867],{"type":60,"tag":109,"props":2868,"children":2869},{},[2870,2872,2885,2887,2899,2901,2908],{"type":65,"value":2871},"fix: transpile supabase packages in ",{"type":60,"tag":121,"props":2873,"children":2876},{"href":2874,"rel":2875},"https://github.com/nuxt-community/supabase-module/commit/66020204e8aad98db94a83964f1bb988642c90f3",[125],[2877,2879],{"type":65,"value":2878},"nuxt-community/supabase-module@",{"type":60,"tag":486,"props":2880,"children":2882},{"className":2881},[],[2883],{"type":65,"value":2884},"6602020",{"type":65,"value":2886}," ",{"type":60,"tag":121,"props":2888,"children":2891},{"href":2889,"rel":2890},"https://github.com/nuxt-community/supabase-module/commit/237ddf2cf83079e39748b6252182ca1d2f62cc54",[125],[2892,2893],{"type":65,"value":2878},{"type":60,"tag":486,"props":2894,"children":2896},{"className":2895},[],[2897],{"type":65,"value":2898},"237ddf2",{"type":65,"value":2900}," and (",{"type":60,"tag":121,"props":2902,"children":2905},{"href":2903,"rel":2904},"https://github.com/nuxt-modules/supabase/issues/62",[125],[2906],{"type":65,"value":2907},"#62",{"type":65,"value":130},{"type":60,"tag":61,"props":2910,"children":2911},{},[2912,2916,2917],{"type":60,"tag":113,"props":2913,"children":2914},{},[2915],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2918,"children":2921},{"href":2919,"rel":2920},"https://github.com/nuxt-community/supabase-module/compare/v0.1.20...v0.1.23",[125],[2922],{"type":65,"value":2919},{"title":53,"searchDepth":72,"depth":72,"links":2924},[2925],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.23","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.23","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.23",{"name":281,"url":282,"avatar":283},"github:v0.1.23.md",{"name":2932,"tag_name":2932,"date":2933,"body":2934,"v":279,"url":3004,"tarball":3005,"zipball":3006,"prerelease":54,"author":3007,"title":53,"description":53,"_type":74,"_id":3008},"v0.1.20","2022-08-16T09:12:14Z",{"type":57,"children":2935,"toc":3000},[2936,2940,2955,2969,2975],{"type":60,"tag":91,"props":2937,"children":2938},{"id":93},[2939],{"type":65,"value":96},{"type":60,"tag":105,"props":2941,"children":2942},{},[2943],{"type":60,"tag":109,"props":2944,"children":2945},{},[2946,2948],{"type":65,"value":2947},"chore: upgrade to ",{"type":60,"tag":121,"props":2949,"children":2952},{"href":2950,"rel":2951},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.8",[125],[2953],{"type":65,"value":2954},"nuxt rc.8",{"type":60,"tag":61,"props":2956,"children":2957},{},[2958,2962,2963],{"type":60,"tag":113,"props":2959,"children":2960},{},[2961],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2964,"children":2967},{"href":2965,"rel":2966},"https://github.com/nuxt-community/supabase-module/compare/v0.1.19...v0.1.20",[125],[2968],{"type":65,"value":2965},{"type":60,"tag":91,"props":2970,"children":2972},{"id":2971},"new-contributors",[2973],{"type":65,"value":2974},"New Contributors",{"type":60,"tag":105,"props":2976,"children":2977},{},[2978],{"type":60,"tag":109,"props":2979,"children":2980},{},[2981,2991,2993],{"type":60,"tag":121,"props":2982,"children":2985},{"href":2983,"rel":2984},"https://github.com/josuemartinezz",[125],[2986],{"type":60,"tag":113,"props":2987,"children":2988},{},[2989],{"type":65,"value":2990},"@josuemartinezz",{"type":65,"value":2992}," made his first contribution in ",{"type":60,"tag":121,"props":2994,"children":2997},{"href":2995,"rel":2996},"https://github.com/nuxt-modules/supabase/issues/59",[125],[2998],{"type":65,"value":2999},"#59",{"title":53,"searchDepth":72,"depth":72,"links":3001},[3002,3003],{"id":93,"depth":72,"text":96},{"id":2971,"depth":72,"text":2974},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.20","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.20","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.20",{"name":281,"url":282,"avatar":283},"github:v0.1.20.md",{"name":3010,"tag_name":3010,"date":3011,"body":3012,"v":279,"url":3066,"tarball":3067,"zipball":3068,"prerelease":54,"reactions":3069,"author":3071,"title":53,"description":53,"_type":74,"_id":3072},"v0.1.19","2022-07-18T08:18:42Z",{"type":57,"children":3013,"toc":3063},[3014,3018,3049],{"type":60,"tag":91,"props":3015,"children":3016},{"id":93},[3017],{"type":65,"value":96},{"type":60,"tag":105,"props":3019,"children":3020},{},[3021,3032],{"type":60,"tag":109,"props":3022,"children":3023},{},[3024,3025],{"type":65,"value":2947},{"type":60,"tag":121,"props":3026,"children":3029},{"href":3027,"rel":3028},"https://github.com/nuxt/framework/pull/5825",[125],[3030],{"type":65,"value":3031},"nuxt rc.5",{"type":60,"tag":109,"props":3033,"children":3034},{},[3035,3037],{"type":65,"value":3036},"doc: add supabase icon in ",{"type":60,"tag":121,"props":3038,"children":3041},{"href":3039,"rel":3040},"https://github.com/nuxt-community/supabase-module/commit/c0cce016eae809fd64acc9a503b4807750280b39",[125],[3042,3043],{"type":65,"value":2878},{"type":60,"tag":486,"props":3044,"children":3046},{"className":3045},[],[3047],{"type":65,"value":3048},"c0cce01",{"type":60,"tag":61,"props":3050,"children":3051},{},[3052,3056,3057],{"type":60,"tag":113,"props":3053,"children":3054},{},[3055],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3058,"children":3061},{"href":3059,"rel":3060},"https://github.com/nuxt-community/supabase-module/compare/v0.1.18...v0.1.19",[125],[3062],{"type":65,"value":3059},{"title":53,"searchDepth":72,"depth":72,"links":3064},[3065],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.19","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.19","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.19",{"url":3070,"total_count":272,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":279,"rocket":272,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/72200550/reactions",{"name":281,"url":282,"avatar":283},"github:v0.1.19.md",{"name":3074,"tag_name":3074,"date":3075,"body":3076,"v":279,"url":3153,"tarball":3154,"zipball":3155,"prerelease":54,"author":3156,"title":53,"description":53,"_type":74,"_id":3157},"v0.1.18","2022-06-29T09:23:26Z",{"type":57,"children":3077,"toc":3150},[3078,3082,3136],{"type":60,"tag":91,"props":3079,"children":3080},{"id":93},[3081],{"type":65,"value":96},{"type":60,"tag":105,"props":3083,"children":3084},{},[3085,3111],{"type":60,"tag":109,"props":3086,"children":3087},{},[3088,3090,3102,3103,3110],{"type":65,"value":3089},"doc: update logo & social preview in ",{"type":60,"tag":121,"props":3091,"children":3094},{"href":3092,"rel":3093},"https://github.com/nuxt-community/supabase-module/commit/9b0b2fbee1f2fed50e903c2b368b817568d7ab1f",[125],[3095,3096],{"type":65,"value":2878},{"type":60,"tag":486,"props":3097,"children":3099},{"className":3098},[],[3100],{"type":65,"value":3101},"9b0b2fb",{"type":65,"value":384},{"type":60,"tag":121,"props":3104,"children":3107},{"href":3105,"rel":3106},"https://github.com/nuxt-modules/supabase/issues/53",[125],[3108],{"type":65,"value":3109},"#53",{"type":65,"value":130},{"type":60,"tag":109,"props":3112,"children":3113},{},[3114,3115,3127,3128,3135],{"type":65,"value":2871},{"type":60,"tag":121,"props":3116,"children":3119},{"href":3117,"rel":3118},"https://github.com/nuxt-community/supabase-module/commit/309c137f7ae23985f0ed9947fb85cb75cbfbfca2",[125],[3120,3121],{"type":65,"value":2878},{"type":60,"tag":486,"props":3122,"children":3124},{"className":3123},[],[3125],{"type":65,"value":3126},"309c137",{"type":65,"value":384},{"type":60,"tag":121,"props":3129,"children":3132},{"href":3130,"rel":3131},"https://github.com/nuxt-modules/supabase/issues/55",[125],[3133],{"type":65,"value":3134},"#55",{"type":65,"value":130},{"type":60,"tag":61,"props":3137,"children":3138},{},[3139,3143,3144],{"type":60,"tag":113,"props":3140,"children":3141},{},[3142],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3145,"children":3148},{"href":3146,"rel":3147},"https://github.com/nuxt-community/supabase-module/compare/v0.1.17...v0.1.18",[125],[3149],{"type":65,"value":3146},{"title":53,"searchDepth":72,"depth":72,"links":3151},[3152],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.18","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.18","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.18",{"name":281,"url":282,"avatar":283},"github:v0.1.18.md",{"name":3159,"tag_name":3159,"date":3160,"body":3161,"v":279,"url":3253,"tarball":3254,"zipball":3255,"prerelease":54,"reactions":3256,"author":3258,"title":53,"description":53,"_type":74,"_id":3259},"v0.1.17","2022-06-17T07:01:12Z",{"type":57,"children":3162,"toc":3250},[3163,3167,3223,3236],{"type":60,"tag":91,"props":3164,"children":3165},{"id":93},[3166],{"type":65,"value":96},{"type":60,"tag":105,"props":3168,"children":3169},{},[3170,3181,3206],{"type":60,"tag":109,"props":3171,"children":3172},{},[3173,3174],{"type":65,"value":2947},{"type":60,"tag":121,"props":3175,"children":3178},{"href":3176,"rel":3177},"https://github.com/nuxt/framework/discussions/5445",[125],[3179],{"type":65,"value":3180},"nuxt rc.4",{"type":60,"tag":109,"props":3182,"children":3183},{},[3184,3186,3193,3194],{"type":65,"value":3185},"doc: update ",{"type":60,"tag":121,"props":3187,"children":3190},{"href":3188,"rel":3189},"https://docus.com/",[125],[3191],{"type":65,"value":3192},"docus theme",{"type":65,"value":2361},{"type":60,"tag":121,"props":3195,"children":3198},{"href":3196,"rel":3197},"https://github.com/nuxt-community/supabase-module/commit/64a5add3db5e0416a8a3b7f9708d27148797e958",[125],[3199,3200],{"type":65,"value":2878},{"type":60,"tag":486,"props":3201,"children":3203},{"className":3202},[],[3204],{"type":65,"value":3205},"64a5add",{"type":60,"tag":109,"props":3207,"children":3208},{},[3209,3211],{"type":65,"value":3210},"doc: add advanced usage with supabase realtime ",{"type":60,"tag":121,"props":3212,"children":3215},{"href":3213,"rel":3214},"https://github.com/nuxt-community/supabase-module/commit/8047e311e5526a4597b81a99dc8045114348172f",[125],[3216,3217],{"type":65,"value":2878},{"type":60,"tag":486,"props":3218,"children":3220},{"className":3219},[],[3221],{"type":65,"value":3222},"8047e31",{"type":60,"tag":61,"props":3224,"children":3225},{},[3226,3228,3234],{"type":65,"value":3227},"Checkout the ",{"type":60,"tag":121,"props":3229,"children":3232},{"href":3230,"rel":3231},"https://supabase.nuxtjs.org/advanced#realtime",[125],[3233],{"type":65,"value":2469},{"type":65,"value":3235}," for supabase realtime!",{"type":60,"tag":61,"props":3237,"children":3238},{},[3239,3243,3244],{"type":60,"tag":113,"props":3240,"children":3241},{},[3242],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3245,"children":3248},{"href":3246,"rel":3247},"https://github.com/nuxt-community/supabase-module/compare/v0.1.16...v0.1.17",[125],[3249],{"type":65,"value":3246},{"title":53,"searchDepth":72,"depth":72,"links":3251},[3252],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.17","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.17","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.17",{"url":3257,"total_count":272,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":272,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/69689480/reactions",{"name":281,"url":282,"avatar":283},"github:v0.1.17.md",{"name":3261,"tag_name":3261,"date":3262,"body":3263,"v":279,"url":3361,"tarball":3362,"zipball":3363,"prerelease":54,"author":3364,"title":53,"description":53,"_type":74,"_id":3365},"v0.1.16","2022-06-01T10:51:45Z",{"type":57,"children":3264,"toc":3358},[3265,3269,3332,3344],{"type":60,"tag":91,"props":3266,"children":3267},{"id":93},[3268],{"type":65,"value":96},{"type":60,"tag":105,"props":3270,"children":3271},{},[3272,3306],{"type":60,"tag":109,"props":3273,"children":3274},{},[3275,3277,3284,3285,3297,3298,3305],{"type":65,"value":3276},"doc: use docus theme (public release coming soon) powered by ",{"type":60,"tag":121,"props":3278,"children":3281},{"href":3279,"rel":3280},"https://content.nuxtjs.org/",[125],[3282],{"type":65,"value":3283},"nuxt content v2",{"type":65,"value":2361},{"type":60,"tag":121,"props":3286,"children":3289},{"href":3287,"rel":3288},"https://github.com/nuxt-community/supabase-module/commit/c24a16ff0bc94221adc021231a2206b6db8f293c",[125],[3290,3291],{"type":65,"value":2878},{"type":60,"tag":486,"props":3292,"children":3294},{"className":3293},[],[3295],{"type":65,"value":3296},"c24a16f",{"type":65,"value":384},{"type":60,"tag":121,"props":3299,"children":3302},{"href":3300,"rel":3301},"https://github.com/nuxt-modules/supabase/issues/41",[125],[3303],{"type":65,"value":3304},"#41",{"type":65,"value":130},{"type":60,"tag":109,"props":3307,"children":3308},{},[3309,3311,3323,3324,3331],{"type":65,"value":3310},"feat: service role client to bypass RLS in ",{"type":60,"tag":121,"props":3312,"children":3315},{"href":3313,"rel":3314},"https://github.com/nuxt-community/supabase-module/commit/ba70a976be97acb3c438d59e45b789ee917bee6b",[125],[3316,3317],{"type":65,"value":2878},{"type":60,"tag":486,"props":3318,"children":3320},{"className":3319},[],[3321],{"type":65,"value":3322},"ba70a97",{"type":65,"value":384},{"type":60,"tag":121,"props":3325,"children":3328},{"href":3326,"rel":3327},"https://github.com/nuxt-modules/supabase/issues/43",[125],[3329],{"type":65,"value":3330},"#43",{"type":65,"value":130},{"type":60,"tag":61,"props":3333,"children":3334},{},[3335,3337,3342],{"type":65,"value":3336},"Checkout the new ",{"type":60,"tag":121,"props":3338,"children":3340},{"href":883,"rel":3339},[125],[3341],{"type":65,"value":2469},{"type":65,"value":3343}," !",{"type":60,"tag":61,"props":3345,"children":3346},{},[3347,3351,3352],{"type":60,"tag":113,"props":3348,"children":3349},{},[3350],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3353,"children":3356},{"href":3354,"rel":3355},"https://github.com/nuxt-community/supabase-module/compare/v0.1.14...v0.1.16",[125],[3357],{"type":65,"value":3354},{"title":53,"searchDepth":72,"depth":72,"links":3359},[3360],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.16","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.16","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.16",{"name":281,"url":282,"avatar":283},"github:v0.1.16.md",{"name":3367,"tag_name":3367,"date":3368,"body":3369,"v":279,"url":3477,"tarball":3478,"zipball":3479,"prerelease":54,"author":3480,"title":53,"description":53,"_type":74,"_id":3481},"v0.1.14","2022-05-13T16:48:40Z",{"type":57,"children":3370,"toc":3474},[3371,3375,3438,3460],{"type":60,"tag":91,"props":3372,"children":3373},{"id":93},[3374],{"type":65,"value":96},{"type":60,"tag":105,"props":3376,"children":3377},{},[3378,3395,3412],{"type":60,"tag":109,"props":3379,"children":3380},{},[3381,3383],{"type":65,"value":3382},"feat: add playground folder in ",{"type":60,"tag":121,"props":3384,"children":3387},{"href":3385,"rel":3386},"https://github.com/nuxt-community/supabase-module/commit/339cf31cf48d4059ba0e4470d6e5e2aa9ef184c7",[125],[3388,3389],{"type":65,"value":2878},{"type":60,"tag":486,"props":3390,"children":3392},{"className":3391},[],[3393],{"type":65,"value":3394},"339cf31",{"type":60,"tag":109,"props":3396,"children":3397},{},[3398,3400],{"type":65,"value":3399},"fix: client options in ",{"type":60,"tag":121,"props":3401,"children":3404},{"href":3402,"rel":3403},"https://github.com/nuxt-community/supabase-module/commit/4c5595c11caf7a55621d297f6a0183a756175473",[125],[3405,3406],{"type":65,"value":2878},{"type":60,"tag":486,"props":3407,"children":3409},{"className":3408},[],[3410],{"type":65,"value":3411},"4c5595c",{"type":60,"tag":109,"props":3413,"children":3414},{},[3415,3417,3429,3430,3437],{"type":65,"value":3416},"feat: add server routes services in ",{"type":60,"tag":121,"props":3418,"children":3421},{"href":3419,"rel":3420},"https://github.com/nuxt-community/supabase-module/commit/696d3e8d19b8db79c85e86b79a3ba4dd31bb2343",[125],[3422,3423],{"type":65,"value":2878},{"type":60,"tag":486,"props":3424,"children":3426},{"className":3425},[],[3427],{"type":65,"value":3428},"696d3e8",{"type":65,"value":384},{"type":60,"tag":121,"props":3431,"children":3434},{"href":3432,"rel":3433},"https://github.com/nuxt-modules/supabase/issues/36",[125],[3435],{"type":65,"value":3436},"#36",{"type":65,"value":130},{"type":60,"tag":61,"props":3439,"children":3440},{},[3441,3443,3450,3452,3458],{"type":65,"value":3442},"You can check the ",{"type":60,"tag":121,"props":3444,"children":3447},{"href":3445,"rel":3446},"https://supabase.nuxtjs.org/usage#server-routes-services",[125],[3448],{"type":65,"value":3449},"documentation updated",{"type":65,"value":3451}," for the use of ",{"type":60,"tag":486,"props":3453,"children":3455},{"className":3454},[],[3456],{"type":65,"value":3457},"services",{"type":65,"value":3459}," in server routes.",{"type":60,"tag":61,"props":3461,"children":3462},{},[3463,3467,3468],{"type":60,"tag":113,"props":3464,"children":3465},{},[3466],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3469,"children":3472},{"href":3470,"rel":3471},"https://github.com/nuxt-community/supabase-module/compare/v0.1.11...v0.1.14",[125],[3473],{"type":65,"value":3470},{"title":53,"searchDepth":72,"depth":72,"links":3475},[3476],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.14","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.14","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.14",{"name":281,"url":282,"avatar":283},"github:v0.1.14.md",{"name":3483,"tag_name":3483,"date":3484,"body":3485,"v":279,"url":3511,"tarball":3512,"zipball":3513,"prerelease":54,"author":3514,"title":53,"description":53,"_type":74,"_id":3515},"v0.1.11","2022-05-06T08:51:02Z",{"type":57,"children":3486,"toc":3509},[3487,3495],{"type":60,"tag":105,"props":3488,"children":3489},{},[3490],{"type":60,"tag":109,"props":3491,"children":3492},{},[3493],{"type":65,"value":3494},"chore: upgrade deps",{"type":60,"tag":61,"props":3496,"children":3497},{},[3498,3502,3503],{"type":60,"tag":113,"props":3499,"children":3500},{},[3501],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3504,"children":3507},{"href":3505,"rel":3506},"https://github.com/nuxt-community/supabase-module/compare/v0.1.9...v0.1.11",[125],[3508],{"type":65,"value":3505},{"title":53,"searchDepth":72,"depth":72,"links":3510},[],"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.11","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.11","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.11",{"name":281,"url":282,"avatar":283},"github:v0.1.11.md",{"name":3517,"tag_name":3517,"date":3518,"body":3519,"v":279,"url":3572,"tarball":3573,"zipball":3574,"prerelease":54,"author":3575,"title":53,"description":53,"_type":74,"_id":3579},"v0.1.9","2022-04-20T11:07:23Z",{"type":57,"children":3520,"toc":3570},[3521,3556],{"type":60,"tag":105,"props":3522,"children":3523},{},[3524],{"type":60,"tag":109,"props":3525,"children":3526},{},[3527,3529,3535,3536,3542,3543,3555],{"type":65,"value":3528},"fix: use ",{"type":60,"tag":486,"props":3530,"children":3532},{"className":3531},[],[3533],{"type":65,"value":3534},"#imports",{"type":65,"value":2074},{"type":60,"tag":486,"props":3537,"children":3539},{"className":3538},[],[3540],{"type":65,"value":3541},"#nitro",{"type":65,"value":384},{"type":60,"tag":121,"props":3544,"children":3547},{"href":3545,"rel":3546},"https://github.com/nuxt-community/supabase-module/commit/42af598b7d9f3adf2c577c20e9cfb68bbb17d52b",[125],[3548,3549],{"type":65,"value":2878},{"type":60,"tag":486,"props":3550,"children":3552},{"className":3551},[],[3553],{"type":65,"value":3554},"42af598",{"type":65,"value":130},{"type":60,"tag":61,"props":3557,"children":3558},{},[3559,3563,3564],{"type":60,"tag":113,"props":3560,"children":3561},{},[3562],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3565,"children":3568},{"href":3566,"rel":3567},"https://github.com/nuxt-community/supabase-module/compare/v0.1.8...v0.1.9",[125],[3569],{"type":65,"value":3566},{"title":53,"searchDepth":72,"depth":72,"links":3571},[],"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.9","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.9","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.9",{"name":3576,"url":3577,"avatar":3578},"Atinux","https://github.com/Atinux","https://avatars.githubusercontent.com/u/904724?v=4","github:v0.1.9.md",{"name":3581,"tag_name":3581,"date":3582,"body":3583,"v":279,"url":3639,"tarball":3640,"zipball":3641,"prerelease":54,"author":3642,"title":53,"description":53,"_type":74,"_id":3643},"v0.1.8","2022-04-13T12:26:33Z",{"type":57,"children":3584,"toc":3636},[3585,3589],{"type":60,"tag":91,"props":3586,"children":3587},{"id":93},[3588],{"type":65,"value":96},{"type":60,"tag":105,"props":3590,"children":3591},{},[3592,3609],{"type":60,"tag":109,"props":3593,"children":3594},{},[3595,3597],{"type":65,"value":3596},"fix: update runtime config fetch and override in ",{"type":60,"tag":121,"props":3598,"children":3601},{"href":3599,"rel":3600},"https://github.com/nuxt-community/supabase-module/commit/260ebc7be39dfa65902ad4fe6a49639c99a69da8",[125],[3602,3603],{"type":65,"value":2878},{"type":60,"tag":486,"props":3604,"children":3606},{"className":3605},[],[3607],{"type":65,"value":3608},"260ebc7",{"type":60,"tag":109,"props":3610,"children":3611},{},[3612,3614,3626,3628,3635],{"type":65,"value":3613},"feat: handle session with defineEventHandler in ",{"type":60,"tag":121,"props":3615,"children":3618},{"href":3616,"rel":3617},"https://github.com/nuxt-community/supabase-module/commit/e646b1ce03773bf44932824726f280ad15455ec2",[125],[3619,3620],{"type":65,"value":2878},{"type":60,"tag":486,"props":3621,"children":3623},{"className":3622},[],[3624],{"type":65,"value":3625},"e646b1c",{"type":65,"value":3627}," (Check ",{"type":60,"tag":121,"props":3629,"children":3632},{"href":3630,"rel":3631},"https://v3.nuxtjs.org/guide/features/server-routes",[125],[3633],{"type":65,"value":3634},"Nuxt doc",{"type":65,"value":130},{"title":53,"searchDepth":72,"depth":72,"links":3637},[3638],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.8","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.8","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.8",{"name":281,"url":282,"avatar":283},"github:v0.1.8.md",{"name":3645,"tag_name":3645,"date":3646,"body":3647,"v":279,"url":3725,"tarball":3726,"zipball":3727,"prerelease":54,"reactions":3728,"author":3730,"title":53,"description":53,"_type":74,"_id":3731},"v0.1.7","2022-04-07T21:31:24Z",{"type":57,"children":3648,"toc":3721},[3649,3653,3696,3700],{"type":60,"tag":91,"props":3650,"children":3651},{"id":93},[3652],{"type":65,"value":96},{"type":60,"tag":105,"props":3654,"children":3655},{},[3656,3673],{"type":60,"tag":109,"props":3657,"children":3658},{},[3659,3661],{"type":65,"value":3660},"fix: assert method and use correct key for server middleware in ",{"type":60,"tag":121,"props":3662,"children":3665},{"href":3663,"rel":3664},"https://github.com/nuxt-community/supabase-module/commit/8a4d63101e6d2bc24563f7944988909ec7dcc6e5",[125],[3666,3667],{"type":65,"value":2878},{"type":60,"tag":486,"props":3668,"children":3670},{"className":3669},[],[3671],{"type":65,"value":3672},"8a4d631",{"type":60,"tag":109,"props":3674,"children":3675},{},[3676,3678,3688,3689],{"type":65,"value":3677},"fix: replace #config with #nitro by ",{"type":60,"tag":121,"props":3679,"children":3682},{"href":3680,"rel":3681},"https://github.com/psto",[125],[3683],{"type":60,"tag":113,"props":3684,"children":3685},{},[3686],{"type":65,"value":3687},"@psto",{"type":65,"value":2361},{"type":60,"tag":121,"props":3690,"children":3693},{"href":3691,"rel":3692},"https://github.com/nuxt-community/supabase-module/pull/23",[125],[3694],{"type":65,"value":3695},"nuxt-community/supabase-module#23",{"type":60,"tag":91,"props":3697,"children":3698},{"id":2971},[3699],{"type":65,"value":2974},{"type":60,"tag":105,"props":3701,"children":3702},{},[3703],{"type":60,"tag":109,"props":3704,"children":3705},{},[3706,3714,3716],{"type":60,"tag":121,"props":3707,"children":3709},{"href":3680,"rel":3708},[125],[3710],{"type":60,"tag":113,"props":3711,"children":3712},{},[3713],{"type":65,"value":3687},{"type":65,"value":3715}," made their first contribution in ",{"type":60,"tag":121,"props":3717,"children":3719},{"href":3691,"rel":3718},[125],[3720],{"type":65,"value":3695},{"title":53,"searchDepth":72,"depth":72,"links":3722},[3723,3724],{"id":93,"depth":72,"text":96},{"id":2971,"depth":72,"text":2974},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.7","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.7","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.7",{"url":3729,"total_count":268,"+1":279,"-1":279,"laugh":279,"hooray":268,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/63922233/reactions",{"name":3576,"url":3577,"avatar":3578},"github:v0.1.7.md",{"name":3733,"tag_name":3733,"date":3734,"body":3735,"v":279,"url":3782,"tarball":3783,"zipball":3784,"prerelease":54,"reactions":3785,"author":3788,"title":53,"description":53,"_type":74,"_id":3789},"v0.1.5","2022-04-04T10:15:21Z",{"type":57,"children":3736,"toc":3779},[3737,3741,3765],{"type":60,"tag":98,"props":3738,"children":3739},{"id":100},[3740],{"type":65,"value":103},{"type":60,"tag":105,"props":3742,"children":3743},{},[3744],{"type":60,"tag":109,"props":3745,"children":3746},{},[3747,3749,3756,3758],{"type":65,"value":3748},"remove lodash.clonedeep (",{"type":60,"tag":121,"props":3750,"children":3753},{"href":3751,"rel":3752},"https://github.com/nuxt-community/supabase-module/commit/b5c5c60358ab192b98c8a63185f58a2eb0ab706a",[125],[3754],{"type":65,"value":3755},"b5c5c60",{"type":65,"value":3757},"), resolved ",{"type":60,"tag":121,"props":3759,"children":3762},{"href":3760,"rel":3761},"https://github.com/nuxt-modules/supabase/issues/21",[125],[3763],{"type":65,"value":3764},"#21",{"type":60,"tag":61,"props":3766,"children":3767},{},[3768,3772,3773],{"type":60,"tag":113,"props":3769,"children":3770},{},[3771],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3774,"children":3777},{"href":3775,"rel":3776},"https://github.com/nuxt-community/supabase-module/compare/v0.1.4...v0.1.5",[125],[3778],{"type":65,"value":3775},{"title":53,"searchDepth":72,"depth":72,"links":3780},[3781],{"id":100,"depth":268,"text":103},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.5","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.5","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.5",{"url":3786,"total_count":3787,"+1":279,"-1":279,"laugh":279,"hooray":278,"confused":279,"heart":72,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/63507078/reactions",6,{"name":3576,"url":3577,"avatar":3578},"github:v0.1.5.md",1706280924809] \ No newline at end of file +[{"data":1,"prerenderedAt":3790},["Reactive",2],{"navigation":3,"/changelog":52,"/changelog-surround":79,"releases":84},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":46,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":45,"description":55,"icon":47,"body":56,"_type":74,"_id":75,"_source":76,"_file":77,"_extension":78},"",false,"Discover the latest updates of the Supabase Module",{"type":57,"children":58,"toc":71},"root",[59,67],{"type":60,"tag":61,"props":62,"children":63},"element","p",{},[64],{"type":65,"value":66},"text","Discover the lastest updates.",{"type":60,"tag":68,"props":69,"children":70},"releases",{},[],{"title":53,"searchDepth":72,"depth":72,"links":73},2,[],"markdown","content:6.changelog.md","content","6.changelog.md","md",[80,82],{"_path":42,"title":41,"description":81},"Demonstration of using Supabase with Nuxt.",{"_path":50,"title":49,"description":83},"Discover our kaban board for the next release of the Supabase module.",[85,285,355,462,703,796,1101,1204,1282,1348,1648,1922,1995,2127,2172,2232,2284,2432,2531,2594,2645,2690,2742,2855,2931,3009,3073,3158,3260,3366,3482,3516,3580,3644,3732],{"name":86,"tag_name":86,"date":87,"body":88,"v":272,"url":273,"tarball":274,"zipball":275,"prerelease":54,"reactions":276,"author":280,"title":53,"description":53,"_type":74,"_id":284},"v1.1.5","2023-12-28T14:29:18Z",{"type":57,"children":89,"toc":263},[90,97,104,131,137,157,163,200,206,253],{"type":60,"tag":91,"props":92,"children":94},"h2",{"id":93},"whats-changed",[95],{"type":65,"value":96},"What's Changed",{"type":60,"tag":98,"props":99,"children":101},"h3",{"id":100},"bug-fixes",[102],{"type":65,"value":103},"Bug Fixes",{"type":60,"tag":105,"props":106,"children":107},"ul",{},[108],{"type":60,"tag":109,"props":110,"children":111},"li",{},[112,118,120,129],{"type":60,"tag":113,"props":114,"children":115},"strong",{},[116],{"type":65,"value":117},"server:",{"type":65,"value":119}," fetch user from session (",{"type":60,"tag":121,"props":122,"children":126},"a",{"href":123,"rel":124},"https://github.com/nuxt-community/supabase-module/commit/7a3b73c36cc9aea10100a0ff37b0e0e7ecefe2a8",[125],"nofollow",[127],{"type":65,"value":128},"7a3b73c",{"type":65,"value":130},")",{"type":60,"tag":98,"props":132,"children":134},{"id":133},"improvements",[135],{"type":65,"value":136},"Improvements",{"type":60,"tag":105,"props":138,"children":139},{},[140],{"type":60,"tag":109,"props":141,"children":142},{},[143,148,150],{"type":60,"tag":113,"props":144,"children":145},{},[146],{"type":65,"value":147},"app:",{"type":65,"value":149}," use module-builder stub mode for more accurate types ",{"type":60,"tag":121,"props":151,"children":154},{"href":152,"rel":153},"https://github.com/nuxt-modules/supabase/issues/315",[125],[155],{"type":65,"value":156},"#315",{"type":60,"tag":98,"props":158,"children":160},{"id":159},"docs",[161],{"type":65,"value":162},"Docs",{"type":60,"tag":105,"props":164,"children":165},{},[166,183],{"type":60,"tag":109,"props":167,"children":168},{},[169,174,176],{"type":60,"tag":113,"props":170,"children":171},{},[172],{"type":65,"value":173},"get-started:",{"type":65,"value":175}," bun command ",{"type":60,"tag":121,"props":177,"children":180},{"href":178,"rel":179},"https://github.com/nuxt-modules/supabase/issues/317",[125],[181],{"type":65,"value":182},"#317",{"type":60,"tag":109,"props":184,"children":185},{},[186,191,193],{"type":60,"tag":113,"props":187,"children":188},{},[189],{"type":65,"value":190},"readme:",{"type":65,"value":192}," typo in #dev section ",{"type":60,"tag":121,"props":194,"children":197},{"href":195,"rel":196},"https://github.com/nuxt-modules/supabase/issues/316",[125],[198],{"type":65,"value":199},"#316",{"type":60,"tag":98,"props":201,"children":203},{"id":202},"thanks-for-the-help-from",[204],{"type":65,"value":205},"💚 Thanks for the help from",{"type":60,"tag":61,"props":207,"children":208},{},[209,219,221,231,232,242,243],{"type":60,"tag":121,"props":210,"children":213},{"href":211,"rel":212},"https://github.com/danielroe",[125],[214],{"type":60,"tag":113,"props":215,"children":216},{},[217],{"type":65,"value":218},"@danielroe",{"type":65,"value":220},"\r\n",{"type":60,"tag":121,"props":222,"children":225},{"href":223,"rel":224},"https://github.com/joshuabyler",[125],[226],{"type":60,"tag":113,"props":227,"children":228},{},[229],{"type":65,"value":230},"@joshuabyler",{"type":65,"value":220},{"type":60,"tag":121,"props":233,"children":236},{"href":234,"rel":235},"https://github.com/hafizjavaid",[125],[237],{"type":60,"tag":113,"props":238,"children":239},{},[240],{"type":65,"value":241},"@hafizjavaid",{"type":65,"value":220},{"type":60,"tag":121,"props":244,"children":247},{"href":245,"rel":246},"https://github.com/relisora",[125],[248],{"type":60,"tag":113,"props":249,"children":250},{},[251],{"type":65,"value":252},"@relisora",{"type":60,"tag":61,"props":254,"children":255},{},[256],{"type":60,"tag":121,"props":257,"children":260},{"href":258,"rel":259},"https://github.com/nuxt-community/supabase-module/compare/v1.1.4...v1.1.5",[125],[261],{"type":65,"value":262},"Full changelog",{"title":53,"searchDepth":72,"depth":72,"links":264},[265],{"id":93,"depth":72,"text":96,"children":266},[267,269,270,271],{"id":100,"depth":268,"text":103},3,{"id":133,"depth":268,"text":136},{"id":159,"depth":268,"text":162},{"id":202,"depth":268,"text":205},1,"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.5","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.5","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.5",{"url":277,"total_count":278,"+1":268,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":272,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/135279818/reactions",4,0,{"name":281,"url":282,"avatar":283},"larbish","https://github.com/larbish","https://avatars.githubusercontent.com/u/7290030?v=4","github:v1.1.5.md",{"name":286,"tag_name":286,"date":287,"body":288,"v":272,"url":348,"tarball":349,"zipball":350,"prerelease":54,"reactions":351,"author":353,"title":53,"description":53,"_type":74,"_id":354},"v1.1.4","2023-11-17T14:42:47Z",{"type":57,"children":289,"toc":343},[290,294,298,328],{"type":60,"tag":91,"props":291,"children":292},{"id":93},[293],{"type":65,"value":96},{"type":60,"tag":98,"props":295,"children":296},{"id":100},[297],{"type":65,"value":103},{"type":60,"tag":105,"props":299,"children":300},{},[301],{"type":60,"tag":109,"props":302,"children":303},{},[304,309,311,318,320,327],{"type":60,"tag":113,"props":305,"children":306},{},[307],{"type":65,"value":308},"client:",{"type":65,"value":310}," prevent useCookie usage outside of effect scope (",{"type":60,"tag":121,"props":312,"children":315},{"href":313,"rel":314},"https://github.com/nuxt-community/supabase-module/issues/309",[125],[316],{"type":65,"value":317},"#309",{"type":65,"value":319},") (",{"type":60,"tag":121,"props":321,"children":324},{"href":322,"rel":323},"https://github.com/nuxt-community/supabase-module/commit/bb55bed870efb68c39f255ddbcbe0b5446965399",[125],[325],{"type":65,"value":326},"bb55bed",{"type":65,"value":130},{"type":60,"tag":61,"props":329,"children":330},{},[331,333],{"type":65,"value":332},"💚 Thanks for the help from 💚\r\n",{"type":60,"tag":121,"props":334,"children":337},{"href":335,"rel":336},"https://github.com/AlbertBrand",[125],[338],{"type":60,"tag":113,"props":339,"children":340},{},[341],{"type":65,"value":342},"@AlbertBrand",{"title":53,"searchDepth":72,"depth":72,"links":344},[345],{"id":93,"depth":72,"text":96,"children":346},[347],{"id":100,"depth":268,"text":103},"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.4","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.4","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.4",{"url":352,"total_count":272,"+1":272,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/129966845/reactions",{"name":281,"url":282,"avatar":283},"github:v1.1.4.md",{"name":356,"tag_name":356,"date":357,"body":358,"v":272,"url":455,"tarball":456,"zipball":457,"prerelease":54,"reactions":458,"author":460,"title":53,"description":53,"_type":74,"_id":461},"v1.1.3","2023-10-06T07:51:37Z",{"type":57,"children":359,"toc":452},[360,364,427],{"type":60,"tag":91,"props":361,"children":362},{"id":93},[363],{"type":65,"value":96},{"type":60,"tag":105,"props":365,"children":366},{},[367,401],{"type":60,"tag":109,"props":368,"children":369},{},[370,374,376,383,385,392,393,400],{"type":60,"tag":113,"props":371,"children":372},{},[373],{"type":65,"value":308},{"type":65,"value":375}," clientOptions merge",{"type":60,"tag":121,"props":377,"children":380},{"href":378,"rel":379},"https://github.com/nuxt-community/supabase-module/issues/275",[125],[381],{"type":65,"value":382},"#275",{"type":65,"value":384}," (",{"type":60,"tag":121,"props":386,"children":389},{"href":387,"rel":388},"https://github.com/nuxt-community/supabase-module/issues/277",[125],[390],{"type":65,"value":391},"#277",{"type":65,"value":319},{"type":60,"tag":121,"props":394,"children":397},{"href":395,"rel":396},"https://github.com/nuxt-community/supabase-module/commit/c0097a355b859cb6a2d97884a7648284128acca2",[125],[398],{"type":65,"value":399},"c0097a3",{"type":65,"value":130},{"type":60,"tag":109,"props":402,"children":403},{},[404,409,411,418,419,426],{"type":60,"tag":113,"props":405,"children":406},{},[407],{"type":65,"value":408},"module:",{"type":65,"value":410}," do not warn when using runtimeConfig to set url and key (",{"type":60,"tag":121,"props":412,"children":415},{"href":413,"rel":414},"https://github.com/nuxt-community/supabase-module/issues/281",[125],[416],{"type":65,"value":417},"#281",{"type":65,"value":319},{"type":60,"tag":121,"props":420,"children":423},{"href":421,"rel":422},"https://github.com/nuxt-community/supabase-module/commit/8c151737b55738c68fc24b5e4db2517c4e866693",[125],[424],{"type":65,"value":425},"8c15173",{"type":65,"value":130},{"type":60,"tag":61,"props":428,"children":429},{},[430,431,441,442],{"type":65,"value":332},{"type":60,"tag":121,"props":432,"children":435},{"href":433,"rel":434},"https://github.com/stafyniaksacha",[125],[436],{"type":60,"tag":113,"props":437,"children":438},{},[439],{"type":65,"value":440},"@stafyniaksacha",{"type":65,"value":220},{"type":60,"tag":121,"props":443,"children":446},{"href":444,"rel":445},"https://github.com/jonesisg1",[125],[447],{"type":60,"tag":113,"props":448,"children":449},{},[450],{"type":65,"value":451},"@jonesisg1",{"title":53,"searchDepth":72,"depth":72,"links":453},[454],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.3","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.3","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.3",{"url":459,"total_count":278,"+1":72,"-1":279,"laugh":279,"hooray":72,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/123992311/reactions",{"name":281,"url":282,"avatar":283},"github:v1.1.3.md",{"name":463,"tag_name":463,"date":464,"body":465,"v":272,"url":696,"tarball":697,"zipball":698,"prerelease":54,"reactions":699,"author":701,"title":53,"description":53,"_type":74,"_id":702},"v1.1.2","2023-09-06T17:44:35Z",{"type":57,"children":466,"toc":691},[467,471,494,537,541,619,635],{"type":60,"tag":91,"props":468,"children":469},{"id":93},[470],{"type":65,"value":96},{"type":60,"tag":61,"props":472,"children":473},{},[474,476,483,485,492],{"type":65,"value":475},"⚠️ BREAKING CHANGE ⚠️\r\nBreaking change is related to ",{"type":60,"tag":121,"props":477,"children":480},{"href":478,"rel":479},"https://github.com/nuxt-modules/supabase/issues/244",[125],[481],{"type":65,"value":482},"#244",{"type":65,"value":484}," and was first adressed in the ",{"type":60,"tag":486,"props":487,"children":489},"code",{"className":488},[],[490],{"type":65,"value":491},"v1.1.0",{"type":65,"value":493}," but patch has been necessary to fix the version.",{"type":60,"tag":61,"props":495,"children":496},{},[497,499,505,507,513,515,521,523,529,531],{"type":65,"value":498},"On the confirm page, configured in ",{"type":60,"tag":486,"props":500,"children":502},{"className":501},[],[503],{"type":65,"value":504},"redirect.callback",{"type":65,"value":506}," option (default to ",{"type":60,"tag":486,"props":508,"children":510},{"className":509},[],[511],{"type":65,"value":512},"/confirm",{"type":65,"value":514},"), ensure to set the ",{"type":60,"tag":486,"props":516,"children":518},{"className":517},[],[519],{"type":65,"value":520},"immediate",{"type":65,"value":522}," option in the watch.\r\nCheck out the doc: ",{"type":60,"tag":121,"props":524,"children":527},{"href":525,"rel":526},"http://supabase.nuxtjs.org/authentication#confirm-page-confirm",[125],[528],{"type":65,"value":525},{"type":65,"value":530},"\r\nCheck out the demo code: ",{"type":60,"tag":121,"props":532,"children":535},{"href":533,"rel":534},"https://github.com/nuxt-modules/supabase/blob/main/demo/pages/confirm.vue",[125],[536],{"type":65,"value":533},{"type":60,"tag":98,"props":538,"children":539},{"id":100},[540],{"type":65,"value":103},{"type":60,"tag":105,"props":542,"children":543},{},[544,569,593],{"type":60,"tag":109,"props":545,"children":546},{},[547,551,553,560,561,568],{"type":60,"tag":113,"props":548,"children":549},{},[550],{"type":65,"value":408},{"type":65,"value":552}," priority of redirect options made by defu (",{"type":60,"tag":121,"props":554,"children":557},{"href":555,"rel":556},"https://github.com/nuxt-community/supabase-module/issues/256",[125],[558],{"type":65,"value":559},"#256",{"type":65,"value":319},{"type":60,"tag":121,"props":562,"children":565},{"href":563,"rel":564},"https://github.com/nuxt-community/supabase-module/commit/c4e30bf50eb7816fee3a2e46b404df5ce9f7cf4d",[125],[566],{"type":65,"value":567},"c4e30bf",{"type":65,"value":130},{"type":60,"tag":109,"props":570,"children":571},{},[572,577,579,584,585,592],{"type":60,"tag":113,"props":573,"children":574},{},[575],{"type":65,"value":576},"plugin:",{"type":65,"value":578}," retrieve user for client only page (",{"type":60,"tag":121,"props":580,"children":582},{"href":478,"rel":581},[125],[583],{"type":65,"value":482},{"type":65,"value":319},{"type":60,"tag":121,"props":586,"children":589},{"href":587,"rel":588},"https://github.com/nuxt-community/supabase-module/commit/4a35428e26542bf22b3288db6e9a9309f1310705",[125],[590],{"type":65,"value":591},"4a35428",{"type":65,"value":130},{"type":60,"tag":109,"props":594,"children":595},{},[596,601,603,610,611,618],{"type":60,"tag":113,"props":597,"children":598},{},[599],{"type":65,"value":600},"useSupabaseUser:",{"type":65,"value":602}," add explicit user type (",{"type":60,"tag":121,"props":604,"children":607},{"href":605,"rel":606},"https://github.com/nuxt-community/supabase-module/issues/254",[125],[608],{"type":65,"value":609},"#254",{"type":65,"value":319},{"type":60,"tag":121,"props":612,"children":615},{"href":613,"rel":614},"https://github.com/nuxt-community/supabase-module/commit/60d8551ee83a9c64a962b9f76b881b17d7384736",[125],[616],{"type":65,"value":617},"60d8551",{"type":65,"value":130},{"type":60,"tag":61,"props":620,"children":621},{},[622,627,629],{"type":60,"tag":113,"props":623,"children":624},{},[625],{"type":65,"value":626},"Full Changelog",{"type":65,"value":628},": ",{"type":60,"tag":121,"props":630,"children":633},{"href":631,"rel":632},"https://github.com/nuxt-community/supabase-module/compare/v1.0.2...v1.1.0",[125],[634],{"type":65,"value":631},{"type":60,"tag":61,"props":636,"children":637},{},[638,639,649,650,660,661,669,670,680,681],{"type":65,"value":332},{"type":60,"tag":121,"props":640,"children":643},{"href":641,"rel":642},"https://github.com/52cs",[125],[644],{"type":60,"tag":113,"props":645,"children":646},{},[647],{"type":65,"value":648},"@52cs",{"type":65,"value":220},{"type":60,"tag":121,"props":651,"children":654},{"href":652,"rel":653},"https://github.com/Aietes",[125],[655],{"type":60,"tag":113,"props":656,"children":657},{},[658],{"type":65,"value":659},"@Aietes",{"type":65,"value":220},{"type":60,"tag":121,"props":662,"children":664},{"href":335,"rel":663},[125],[665],{"type":60,"tag":113,"props":666,"children":667},{},[668],{"type":65,"value":342},{"type":65,"value":220},{"type":60,"tag":121,"props":671,"children":674},{"href":672,"rel":673},"https://github.com/kiri10ten",[125],[675],{"type":60,"tag":113,"props":676,"children":677},{},[678],{"type":65,"value":679},"@kiri10ten",{"type":65,"value":220},{"type":60,"tag":121,"props":682,"children":685},{"href":683,"rel":684},"https://github.com/xMorthi",[125],[686],{"type":60,"tag":113,"props":687,"children":688},{},[689],{"type":65,"value":690},"@xMorthi",{"title":53,"searchDepth":72,"depth":72,"links":692},[693],{"id":93,"depth":72,"text":96,"children":694},[695],{"id":100,"depth":268,"text":103},"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.2","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.2","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.2",{"url":700,"total_count":278,"+1":279,"-1":279,"laugh":279,"hooray":268,"confused":279,"heart":279,"rocket":279,"eyes":272},"https://api.github.com/repos/nuxt-modules/supabase/releases/120162649/reactions",{"name":281,"url":282,"avatar":283},"github:v1.1.2.md",{"name":704,"tag_name":704,"date":705,"body":706,"v":272,"url":789,"tarball":790,"zipball":791,"prerelease":54,"reactions":792,"author":794,"title":53,"description":53,"_type":74,"_id":795},"v1.0.2","2023-08-04T15:56:13Z",{"type":57,"children":707,"toc":786},[708,712,749,763],{"type":60,"tag":91,"props":709,"children":710},{"id":93},[711],{"type":65,"value":96},{"type":60,"tag":105,"props":713,"children":714},{},[715,732],{"type":60,"tag":109,"props":716,"children":717},{},[718,720,731],{"type":65,"value":719},"docs(auth): update (",{"type":60,"tag":121,"props":721,"children":724},{"href":722,"rel":723},"https://github.com/nuxt-modules/supabase/commit/df00ffe8ecc253fc23572b65465ad7928e185b13",[125],[725],{"type":60,"tag":486,"props":726,"children":728},{"className":727},[],[729],{"type":65,"value":730},"df00ffe",{"type":65,"value":130},{"type":60,"tag":109,"props":733,"children":734},{},[735,737,748],{"type":65,"value":736},"fix(client): correct provider_token assignment to cookie (",{"type":60,"tag":121,"props":738,"children":741},{"href":739,"rel":740},"https://github.com/nuxt-modules/supabase/commit/a76df3f67d6b08daf359f38130ce08aeab57317b",[125],[742],{"type":60,"tag":486,"props":743,"children":745},{"className":744},[],[746],{"type":65,"value":747},"a76df3f",{"type":65,"value":130},{"type":60,"tag":61,"props":750,"children":751},{},[752,756,757],{"type":60,"tag":113,"props":753,"children":754},{},[755],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":758,"children":761},{"href":759,"rel":760},"https://github.com/nuxt-community/supabase-module/compare/v1.0.1...v1.0.2",[125],[762],{"type":65,"value":759},{"type":60,"tag":61,"props":764,"children":765},{},[766,767,777,778],{"type":65,"value":332},{"type":60,"tag":121,"props":768,"children":771},{"href":769,"rel":770},"https://github.com/blqke",[125],[772],{"type":60,"tag":113,"props":773,"children":774},{},[775],{"type":65,"value":776},"@blqke",{"type":65,"value":220},{"type":60,"tag":121,"props":779,"children":781},{"href":652,"rel":780},[125],[782],{"type":60,"tag":113,"props":783,"children":784},{},[785],{"type":65,"value":659},{"title":53,"searchDepth":72,"depth":72,"links":787},[788],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v1.0.2","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.0.2","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.0.2",{"url":793,"total_count":268,"+1":279,"-1":279,"laugh":279,"hooray":268,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/115135546/reactions",{"name":281,"url":282,"avatar":283},"github:v1.0.2.md",{"name":797,"tag_name":797,"date":798,"body":799,"v":272,"url":1089,"tarball":1090,"zipball":1091,"prerelease":54,"reactions":1092,"author":1098,"title":53,"description":1099,"_type":74,"_id":1100},"v1.0.1","2023-08-02T15:46:15Z",{"type":57,"children":800,"toc":1086},[801,814,819,887,892,913,917,922,1052,1068,1071],{"type":60,"tag":61,"props":802,"children":803},{},[804,806,812],{"type":65,"value":805},"I am happy to announce the release of version ",{"type":60,"tag":486,"props":807,"children":809},{"className":808},[],[810],{"type":65,"value":811},"1.0.0",{"type":65,"value":813}," of this module. While the module has been production-ready for quite some time, I never had the opportunity to create the first major version until now. Given that this version incorporates significant changes, I believe it is the perfect moment to establish this initial major release.",{"type":60,"tag":91,"props":815,"children":816},{"id":93},[817],{"type":65,"value":818},"What's changed",{"type":60,"tag":105,"props":820,"children":821},{},[822,844,849],{"type":60,"tag":109,"props":823,"children":824},{},[825,827,834,836,843],{"type":65,"value":826},"Supabase introduced a new authentication flow (PKCE) a few months ago, which is now the default behavior of the module. However, you can still revert to the old (and less secure) authentication method through the module configuration. To help you seamlessly integrate this new flow, a ",{"type":60,"tag":121,"props":828,"children":831},{"href":829,"rel":830},"https://supabase.nuxtjs.org/authentication",[125],[832],{"type":65,"value":833},"dedicated section",{"type":65,"value":835}," has been added to the documentation. (",{"type":60,"tag":121,"props":837,"children":840},{"href":838,"rel":839},"https://github.com/nuxt-modules/supabase/issues/219",[125],[841],{"type":65,"value":842},"#219",{"type":65,"value":130},{"type":60,"tag":109,"props":845,"children":846},{},[847],{"type":65,"value":848},"Building upon the previous point, we have implemented substantial changes to the session management, involving alterations to how Supabase clients are instantiated and how sessions are synchronized between the server and client-side. Consequently, these changes result in some breaking changes, which are listed below.",{"type":60,"tag":109,"props":850,"children":851},{},[852,854,861,863,870,872,879,881],{"type":65,"value":853},"A brand new documentation has been built entirely using ",{"type":60,"tag":121,"props":855,"children":858},{"href":856,"rel":857},"https://nuxt.studio",[125],[859],{"type":65,"value":860},"Nuxt Studio",{"type":65,"value":862},". Feel free to create PRs to suggest fixes or add any necessary changes to further enhance the documentation. (",{"type":60,"tag":121,"props":864,"children":867},{"href":865,"rel":866},"https://github.com/nuxt-modules/supabase/issues/210",[125],[868],{"type":65,"value":869},"#210",{"type":65,"value":871}," / ",{"type":60,"tag":121,"props":873,"children":876},{"href":874,"rel":875},"https://github.com/nuxt-modules/supabase/issues/221",[125],[877],{"type":65,"value":878},"#221",{"type":65,"value":880},") => ",{"type":60,"tag":121,"props":882,"children":885},{"href":883,"rel":884},"https://supabase.nuxtjs.org",[125],[886],{"type":65,"value":883},{"type":60,"tag":61,"props":888,"children":889},{},[890],{"type":65,"value":891},"Here's documentation that can help you understand the PKCE authentication flow:",{"type":60,"tag":105,"props":893,"children":894},{},[895,904],{"type":60,"tag":109,"props":896,"children":897},{},[898],{"type":60,"tag":121,"props":899,"children":902},{"href":900,"rel":901},"https://supabase.com/blog/supabase-auth-sso-pkce#server-side-and-mobile-auth",[125],[903],{"type":65,"value":900},{"type":60,"tag":109,"props":905,"children":906},{},[907],{"type":60,"tag":121,"props":908,"children":911},{"href":909,"rel":910},"https://supabase.com/docs/guides/resources/glossary#pkce",[125],[912],{"type":65,"value":909},{"type":60,"tag":914,"props":915,"children":916},"br",{},[],{"type":60,"tag":61,"props":918,"children":919},{},[920],{"type":65,"value":921},"⚠️ BREAKING CHANGES ⚠️",{"type":60,"tag":105,"props":923,"children":924},{},[925,943,969,988,1016],{"type":60,"tag":109,"props":926,"children":927},{},[928,934,936,941],{"type":60,"tag":486,"props":929,"children":931},{"className":930},[],[932],{"type":65,"value":933},"useSupabaseAuthClient",{"type":65,"value":935}," has been removed in favor of ",{"type":60,"tag":486,"props":937,"children":939},{"className":938},[],[940],{"type":65,"value":21},{"type":65,"value":942}," in all cases",{"type":60,"tag":109,"props":944,"children":945},{},[946,951,953,959,961,967],{"type":60,"tag":486,"props":947,"children":949},{"className":948},[],[950],{"type":65,"value":31},{"type":65,"value":952}," is now returning a promise (should be called with ",{"type":60,"tag":486,"props":954,"children":956},{"className":955},[],[957],{"type":65,"value":958},"await",{"type":65,"value":960}," in an ",{"type":60,"tag":486,"props":962,"children":964},{"className":963},[],[965],{"type":65,"value":966},"async",{"type":65,"value":968}," method)",{"type":60,"tag":109,"props":970,"children":971},{},[972,978,980,986],{"type":60,"tag":486,"props":973,"children":975},{"className":974},[],[976],{"type":65,"value":977},"redirect",{"type":65,"value":979}," option is enable by default, follow this ",{"type":60,"tag":121,"props":981,"children":983},{"href":829,"rel":982},[125],[984],{"type":65,"value":985},"guide",{"type":65,"value":987}," to update your app",{"type":60,"tag":109,"props":989,"children":990},{},[991,997,999,1005,1007,1014],{"type":60,"tag":486,"props":992,"children":994},{"className":993},[],[995],{"type":65,"value":996},"client",{"type":65,"value":998}," option becomes ",{"type":60,"tag":486,"props":1000,"children":1002},{"className":1001},[],[1003],{"type":65,"value":1004},"clientOptions",{"type":65,"value":1006}," with new ",{"type":60,"tag":121,"props":1008,"children":1011},{"href":1009,"rel":1010},"https://supabase.nuxtjs.org/get-started#clientoptions",[125],[1012],{"type":65,"value":1013},"default value",{"type":65,"value":1015}," (including the PKCE flow)",{"type":60,"tag":109,"props":1017,"children":1018},{},[1019,1025,1027,1033,1035,1041,1043,1050],{"type":60,"tag":486,"props":1020,"children":1022},{"className":1021},[],[1023],{"type":65,"value":1024},"cookies",{"type":65,"value":1026}," options is split in ",{"type":60,"tag":486,"props":1028,"children":1030},{"className":1029},[],[1031],{"type":65,"value":1032},"cookieName",{"type":65,"value":1034}," and ",{"type":60,"tag":486,"props":1036,"children":1038},{"className":1037},[],[1039],{"type":65,"value":1040},"cookieOptions",{"type":65,"value":1042},", ",{"type":60,"tag":121,"props":1044,"children":1047},{"href":1045,"rel":1046},"https://supabase.nuxtjs.org/get-started#cookieoptions",[125],[1048],{"type":65,"value":1049},"default values",{"type":65,"value":1051}," have not changed",{"type":60,"tag":61,"props":1053,"children":1054},{},[1055,1057],{"type":65,"value":1056},"Here si the commit done for updating the demo with the last version: ",{"type":60,"tag":121,"props":1058,"children":1061},{"href":1059,"rel":1060},"https://github.com/nuxt-modules/supabase/commit/10e05860862b68c49817f6420d50d082452f7a7f",[125],[1062],{"type":60,"tag":486,"props":1063,"children":1065},{"className":1064},[],[1066],{"type":65,"value":1067},"10e0586",{"type":60,"tag":914,"props":1069,"children":1070},{},[],{"type":60,"tag":61,"props":1072,"children":1073},{},[1074,1076,1084],{"type":65,"value":1075},"A huge thanks to ",{"type":60,"tag":121,"props":1077,"children":1079},{"href":652,"rel":1078},[125],[1080],{"type":60,"tag":113,"props":1081,"children":1082},{},[1083],{"type":65,"value":659},{"type":65,"value":1085}," for initialising all those changes and help me built it 💚",{"title":53,"searchDepth":72,"depth":72,"links":1087},[1088],{"id":93,"depth":72,"text":818},"https://github.com/nuxt-modules/supabase/releases/tag/v1.0.1","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.0.1","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.0.1",{"url":1093,"total_count":1094,"+1":1095,"-1":279,"laugh":279,"hooray":1096,"confused":279,"heart":278,"rocket":1097,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/114843996/reactions",40,9,19,8,{"name":281,"url":282,"avatar":283},"I am happy to announce the release of version 1.0.0 of this module. While the module has been production-ready for quite some time, I never had the opportunity to create the first major version until now. Given that this version incorporates significant changes, I believe it is the perfect moment to establish this initial major release.","github:v1.0.1.md",{"name":1102,"tag_name":1102,"date":1103,"body":1104,"v":279,"url":1196,"tarball":1197,"zipball":1198,"prerelease":54,"reactions":1199,"author":1202,"title":53,"description":53,"_type":74,"_id":1203},"v0.3.8","2023-07-03T08:29:53Z",{"type":57,"children":1105,"toc":1193},[1106,1110,1167,1181],{"type":60,"tag":91,"props":1107,"children":1108},{"id":93},[1109],{"type":65,"value":96},{"type":60,"tag":105,"props":1111,"children":1112},{},[1113,1150],{"type":60,"tag":109,"props":1114,"children":1115},{},[1116,1118,1129,1131,1138,1140],{"type":65,"value":1117},"feat(session): save provider access/refresh tokens in cookies (",{"type":60,"tag":121,"props":1119,"children":1122},{"href":1120,"rel":1121},"https://github.com/nuxt-modules/supabase/commit/ea8c21f3d625984832cb27a3ae7605b16caaf94b",[125],[1123],{"type":60,"tag":486,"props":1124,"children":1126},{"className":1125},[],[1127],{"type":65,"value":1128},"ea8c21f",{"type":65,"value":1130},") in ",{"type":60,"tag":121,"props":1132,"children":1135},{"href":1133,"rel":1134},"https://github.com/nuxt-modules/supabase/issues/197",[125],[1136],{"type":65,"value":1137},"#197",{"type":65,"value":1139}," by ",{"type":60,"tag":121,"props":1141,"children":1144},{"href":1142,"rel":1143},"https://github.com/mitjans",[125],[1145],{"type":60,"tag":113,"props":1146,"children":1147},{},[1148],{"type":65,"value":1149},"@mitjans",{"type":60,"tag":109,"props":1151,"children":1152},{},[1153,1155,1166],{"type":65,"value":1154},"chore(deps): upgrade to latest (",{"type":60,"tag":121,"props":1156,"children":1159},{"href":1157,"rel":1158},"https://github.com/nuxt-modules/supabase/commit/a52abc871b6ab756c2b477f7c6b3c0f51279693c",[125],[1160],{"type":60,"tag":486,"props":1161,"children":1163},{"className":1162},[],[1164],{"type":65,"value":1165},"a52abc8",{"type":65,"value":130},{"type":60,"tag":61,"props":1168,"children":1169},{},[1170,1174,1175],{"type":60,"tag":113,"props":1171,"children":1172},{},[1173],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":1176,"children":1179},{"href":1177,"rel":1178},"https://github.com/nuxt-community/supabase-module/compare/v0.3.7...v0.3.8",[125],[1180],{"type":65,"value":1177},{"type":60,"tag":61,"props":1182,"children":1183},{},[1184,1185],{"type":65,"value":332},{"type":60,"tag":121,"props":1186,"children":1188},{"href":1142,"rel":1187},[125],[1189],{"type":60,"tag":113,"props":1190,"children":1191},{},[1192],{"type":65,"value":1149},{"title":53,"searchDepth":72,"depth":72,"links":1194},[1195],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.8","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.8","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.8",{"url":1200,"total_count":1201,"+1":279,"-1":279,"laugh":279,"hooray":1201,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/110829614/reactions",5,{"name":281,"url":282,"avatar":283},"github:v0.3.8.md",{"name":1205,"tag_name":1205,"date":1206,"body":1207,"v":279,"url":1277,"tarball":1278,"zipball":1279,"prerelease":54,"author":1280,"title":53,"description":53,"_type":74,"_id":1281},"v0.3.7","2023-06-12T07:51:13Z",{"type":57,"children":1208,"toc":1274},[1209,1213,1260],{"type":60,"tag":91,"props":1210,"children":1211},{"id":93},[1212],{"type":65,"value":96},{"type":60,"tag":105,"props":1214,"children":1215},{},[1216,1243],{"type":60,"tag":109,"props":1217,"children":1218},{},[1219,1221,1226,1227,1234,1236],{"type":65,"value":1220},"fix(client): fix persist session warning for ",{"type":60,"tag":486,"props":1222,"children":1224},{"className":1223},[],[1225],{"type":65,"value":34},{"type":65,"value":384},{"type":60,"tag":121,"props":1228,"children":1231},{"href":1229,"rel":1230},"https://github.com/nuxt-modules/supabase/issues/194",[125],[1232],{"type":65,"value":1233},"#194",{"type":65,"value":1235},") resolves ",{"type":60,"tag":121,"props":1237,"children":1240},{"href":1238,"rel":1239},"https://github.com/nuxt-modules/supabase/issues/193",[125],[1241],{"type":65,"value":1242},"#193",{"type":60,"tag":109,"props":1244,"children":1245},{},[1246,1248,1259],{"type":65,"value":1247},"docs(get-started): remove defineNuxtConfig (",{"type":60,"tag":121,"props":1249,"children":1252},{"href":1250,"rel":1251},"https://github.com/nuxt-modules/supabase/commit/0151901",[125],[1253],{"type":60,"tag":486,"props":1254,"children":1256},{"className":1255},[],[1257],{"type":65,"value":1258},"0151901",{"type":65,"value":130},{"type":60,"tag":61,"props":1261,"children":1262},{},[1263,1264],{"type":65,"value":332},{"type":60,"tag":121,"props":1265,"children":1268},{"href":1266,"rel":1267},"https://github.com/jawngee",[125],[1269],{"type":60,"tag":113,"props":1270,"children":1271},{},[1272],{"type":65,"value":1273},"@jawngee",{"title":53,"searchDepth":72,"depth":72,"links":1275},[1276],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.7","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.7","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.7",{"name":281,"url":282,"avatar":283},"github:v0.3.7.md",{"name":1283,"tag_name":1283,"date":1284,"body":1285,"v":279,"url":1341,"tarball":1342,"zipball":1343,"prerelease":54,"reactions":1344,"author":1346,"title":53,"description":53,"_type":74,"_id":1347},"v0.3.6","2023-06-02T14:33:38Z",{"type":57,"children":1286,"toc":1338},[1287,1291],{"type":60,"tag":91,"props":1288,"children":1289},{"id":93},[1290],{"type":65,"value":96},{"type":60,"tag":105,"props":1292,"children":1293},{},[1294,1299,1325],{"type":60,"tag":109,"props":1295,"children":1296},{},[1297],{"type":65,"value":1298},"chore(deps): upgrade to nuxt and supabase latest version",{"type":60,"tag":109,"props":1300,"children":1301},{},[1302,1304,1315,1317,1324],{"type":65,"value":1303},"fix(client): remove persist session warning on server side in ",{"type":60,"tag":121,"props":1305,"children":1308},{"href":1306,"rel":1307},"https://github.com/nuxt-modules/supabase/commit/227113f68fb8723f9687adfa12150f825940e0c9",[125],[1309],{"type":60,"tag":486,"props":1310,"children":1312},{"className":1311},[],[1313],{"type":65,"value":1314},"227113f",{"type":65,"value":1316}," (Resolves ",{"type":60,"tag":121,"props":1318,"children":1321},{"href":1319,"rel":1320},"https://github.com/nuxt-modules/supabase/issues/188",[125],[1322],{"type":65,"value":1323},"#188",{"type":65,"value":130},{"type":60,"tag":109,"props":1326,"children":1327},{},[1328,1330,1337],{"type":65,"value":1329},"fix(chore): resolve imports (Resolves ",{"type":60,"tag":121,"props":1331,"children":1334},{"href":1332,"rel":1333},"https://github.com/nuxt-modules/supabase/issues/190",[125],[1335],{"type":65,"value":1336},"#190",{"type":65,"value":130},{"title":53,"searchDepth":72,"depth":72,"links":1339},[1340],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.6","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.6","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.6",{"url":1345,"total_count":1201,"+1":272,"-1":279,"laugh":279,"hooray":278,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/105847469/reactions",{"name":281,"url":282,"avatar":283},"github:v0.3.6.md",{"name":1349,"tag_name":1349,"date":1350,"body":1351,"v":279,"url":1641,"tarball":1642,"zipball":1643,"prerelease":54,"reactions":1644,"author":1646,"title":53,"description":53,"_type":74,"_id":1647},"v0.3.5","2023-04-03T09:50:57Z",{"type":57,"children":1352,"toc":1638},[1353,1357,1587,1601],{"type":60,"tag":91,"props":1354,"children":1355},{"id":93},[1356],{"type":65,"value":96},{"type":60,"tag":105,"props":1358,"children":1359},{},[1360,1377,1394,1411,1428,1445,1462,1479,1496,1513,1546,1563],{"type":60,"tag":109,"props":1361,"children":1362},{},[1363,1365,1376],{"type":65,"value":1364},"chore(demo): upgrade on last version (",{"type":60,"tag":121,"props":1366,"children":1369},{"href":1367,"rel":1368},"https://github.com/nuxt-modules/supabase/commit/9bb9e2856823a0bb86c07ae7775462e02a1e430d",[125],[1370],{"type":60,"tag":486,"props":1371,"children":1373},{"className":1372},[],[1374],{"type":65,"value":1375},"9bb9e28",{"type":65,"value":130},{"type":60,"tag":109,"props":1378,"children":1379},{},[1380,1382,1393],{"type":65,"value":1381},"chore(demo): generate database types from supabase cli (",{"type":60,"tag":121,"props":1383,"children":1386},{"href":1384,"rel":1385},"https://github.com/nuxt-modules/supabase/commit/bca199292dfeb23d5e0581ab40a6994fed3d1157",[125],[1387],{"type":60,"tag":486,"props":1388,"children":1390},{"className":1389},[],[1391],{"type":65,"value":1392},"bca1992",{"type":65,"value":130},{"type":60,"tag":109,"props":1395,"children":1396},{},[1397,1399,1410],{"type":65,"value":1398},"docs(links): update nuxt & supabase links and fix typos (",{"type":60,"tag":121,"props":1400,"children":1403},{"href":1401,"rel":1402},"https://github.com/nuxt-modules/supabase/commit/5699dc6c22f9182e9593936fc1260fc785eea450",[125],[1404],{"type":60,"tag":486,"props":1405,"children":1407},{"className":1406},[],[1408],{"type":65,"value":1409},"5699dc6",{"type":65,"value":130},{"type":60,"tag":109,"props":1412,"children":1413},{},[1414,1416,1427],{"type":65,"value":1415},"chore(app): move to pnpm (",{"type":60,"tag":121,"props":1417,"children":1420},{"href":1418,"rel":1419},"https://github.com/nuxt-modules/supabase/commit/94f7e130747801584d2b0999bd2f5f904e575082",[125],[1421],{"type":60,"tag":486,"props":1422,"children":1424},{"className":1423},[],[1425],{"type":65,"value":1426},"94f7e13",{"type":65,"value":130},{"type":60,"tag":109,"props":1429,"children":1430},{},[1431,1433,1444],{"type":65,"value":1432},"chore(module): conditionally add redirect plugin (",{"type":60,"tag":121,"props":1434,"children":1437},{"href":1435,"rel":1436},"https://github.com/nuxt-modules/supabase/commit/0cad0a557934f669f2ab424ef072f6b07c098646",[125],[1438],{"type":60,"tag":486,"props":1439,"children":1441},{"className":1440},[],[1442],{"type":65,"value":1443},"0cad0a5",{"type":65,"value":130},{"type":60,"tag":109,"props":1446,"children":1447},{},[1448,1450,1461],{"type":65,"value":1449},"docs(get-started): fix typos (",{"type":60,"tag":121,"props":1451,"children":1454},{"href":1452,"rel":1453},"https://github.com/nuxt-modules/supabase/commit/ba437a8534f3dcda53f805cc34b5d6a943297354",[125],[1455],{"type":60,"tag":486,"props":1456,"children":1458},{"className":1457},[],[1459],{"type":65,"value":1460},"ba437a8",{"type":65,"value":130},{"type":60,"tag":109,"props":1463,"children":1464},{},[1465,1467,1478],{"type":65,"value":1466},"docs(composables): correct grammar errors (",{"type":60,"tag":121,"props":1468,"children":1471},{"href":1469,"rel":1470},"https://github.com/nuxt-modules/supabase/commit/034d7dfaf9f52a08da0ade4bf6d5ed31ec740734",[125],[1472],{"type":60,"tag":486,"props":1473,"children":1475},{"className":1474},[],[1476],{"type":65,"value":1477},"034d7df",{"type":65,"value":130},{"type":60,"tag":109,"props":1480,"children":1481},{},[1482,1484,1495],{"type":65,"value":1483},"feat(demo): add call from server route(",{"type":60,"tag":121,"props":1485,"children":1488},{"href":1486,"rel":1487},"https://github.com/nuxt-modules/supabase/commit/989a91eacdc471de90a2307c39cd03f23cca57ee",[125],[1489],{"type":60,"tag":486,"props":1490,"children":1492},{"className":1491},[],[1493],{"type":65,"value":1494},"989a91e",{"type":65,"value":130},{"type":60,"tag":109,"props":1497,"children":1498},{},[1499,1501,1512],{"type":65,"value":1500},"perf(useSupabaseAuthClient): avoid declaring unused variables (",{"type":60,"tag":121,"props":1502,"children":1505},{"href":1503,"rel":1504},"https://github.com/nuxt-modules/supabase/commit/8c070b9e571b3fe7870c08033ea561624a6ae575",[125],[1506],{"type":60,"tag":486,"props":1507,"children":1509},{"className":1508},[],[1510],{"type":65,"value":1511},"8c070b9",{"type":65,"value":130},{"type":60,"tag":109,"props":1514,"children":1515},{},[1516,1518,1529,1530,1537,1539],{"type":65,"value":1517},"fix(dev): optimize supabase deps (",{"type":60,"tag":121,"props":1519,"children":1522},{"href":1520,"rel":1521},"https://github.com/nuxt-modules/supabase/commit/d1da3f6b2f463e7196c69c3a580833438926a6e1",[125],[1523],{"type":60,"tag":486,"props":1524,"children":1526},{"className":1525},[],[1527],{"type":65,"value":1528},"d1da3f6",{"type":65,"value":1235},{"type":60,"tag":121,"props":1531,"children":1534},{"href":1532,"rel":1533},"https://github.com/nuxt-modules/supabase/issues/172",[125],[1535],{"type":65,"value":1536},"#172",{"type":65,"value":1538}," & ",{"type":60,"tag":121,"props":1540,"children":1543},{"href":1541,"rel":1542},"https://github.com/nuxt-modules/supabase/issues/151",[125],[1544],{"type":65,"value":1545},"#151",{"type":60,"tag":109,"props":1547,"children":1548},{},[1549,1551,1562],{"type":65,"value":1550},"chore(deps): transpile websocket lib prod only (",{"type":60,"tag":121,"props":1552,"children":1555},{"href":1553,"rel":1554},"https://github.com/nuxt-modules/supabase/commit/a1ee40c848c9da81aa41acc53dc3555b32bafd86",[125],[1556],{"type":60,"tag":486,"props":1557,"children":1559},{"className":1558},[],[1560],{"type":65,"value":1561},"a1ee40c",{"type":65,"value":130},{"type":60,"tag":109,"props":1564,"children":1565},{},[1566,1568,1579,1580,1585],{"type":65,"value":1567},"fix(deps): transpile gotrue only on client (",{"type":60,"tag":121,"props":1569,"children":1572},{"href":1570,"rel":1571},"https://github.com/nuxt-modules/supabase/commit/fcc6823e248395a513706cf67ab664f84daacb45",[125],[1573],{"type":60,"tag":486,"props":1574,"children":1576},{"className":1575},[],[1577],{"type":65,"value":1578},"fcc6823",{"type":65,"value":1235},{"type":60,"tag":121,"props":1581,"children":1583},{"href":1532,"rel":1582},[125],[1584],{"type":65,"value":1536},{"type":65,"value":1586}," on server side",{"type":60,"tag":61,"props":1588,"children":1589},{},[1590,1594,1595],{"type":60,"tag":113,"props":1591,"children":1592},{},[1593],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":1596,"children":1599},{"href":1597,"rel":1598},"https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.5",[125],[1600],{"type":65,"value":1597},{"type":60,"tag":61,"props":1602,"children":1603},{},[1604,1606,1613,1615,1622,1623,1630,1631],{"type":65,"value":1605},"💚 Thanks for the help from 💚\r\n@",{"type":60,"tag":121,"props":1607,"children":1610},{"href":1608,"rel":1609},"https://github.com/nuxt-modules/supabase/commits?author=kuizuo",[125],[1611],{"type":65,"value":1612},"kuizuo",{"type":65,"value":1614},"\r\n@",{"type":60,"tag":121,"props":1616,"children":1619},{"href":1617,"rel":1618},"https://github.com/nuxt-modules/supabase/commits?author=tnntwister",[125],[1620],{"type":65,"value":1621},"tnntwister",{"type":65,"value":1614},{"type":60,"tag":121,"props":1624,"children":1627},{"href":1625,"rel":1626},"https://github.com/nuxt-modules/supabase/commits?author=yannaufray",[125],[1628],{"type":65,"value":1629},"yannaufray",{"type":65,"value":1614},{"type":60,"tag":121,"props":1632,"children":1635},{"href":1633,"rel":1634},"https://github.com/nuxt-modules/supabase/commits?author=DamianGlowala",[125],[1636],{"type":65,"value":1637},"DamianGlowala",{"title":53,"searchDepth":72,"depth":72,"links":1639},[1640],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.5","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.5","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.5",{"url":1645,"total_count":272,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":279,"rocket":272,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/97822579/reactions",{"name":281,"url":282,"avatar":283},"github:v0.3.5.md",{"name":1649,"tag_name":1649,"date":1650,"body":1651,"v":279,"url":1914,"tarball":1915,"zipball":1916,"prerelease":1917,"reactions":1918,"author":1920,"title":53,"description":53,"_type":74,"_id":1921},"v0.3.3","2023-03-31T21:51:14Z",{"type":57,"children":1652,"toc":1911},[1653,1657,1897],{"type":60,"tag":91,"props":1654,"children":1655},{"id":93},[1656],{"type":65,"value":96},{"type":60,"tag":105,"props":1658,"children":1659},{},[1660,1683,1699,1716,1733,1756,1773,1798,1821,1844,1859,1882],{"type":60,"tag":109,"props":1661,"children":1662},{},[1663,1664,1671,1672,1682],{"type":65,"value":1500},{"type":60,"tag":121,"props":1665,"children":1668},{"href":1666,"rel":1667},"https://github.com/nuxt-modules/supabase/issues/166",[125],[1669],{"type":65,"value":1670},"#166",{"type":65,"value":319},{"type":60,"tag":121,"props":1673,"children":1676},{"href":1674,"rel":1675},"https://github.com/nuxt-modules/supabase/commit/8c070b9",[125],[1677],{"type":60,"tag":486,"props":1678,"children":1680},{"className":1679},[],[1681],{"type":65,"value":1511},{"type":65,"value":130},{"type":60,"tag":109,"props":1684,"children":1685},{},[1686,1688,1698],{"type":65,"value":1687},"feat(demo): add call from server route (",{"type":60,"tag":121,"props":1689,"children":1692},{"href":1690,"rel":1691},"https://github.com/nuxt-modules/supabase/commit/989a91e",[125],[1693],{"type":60,"tag":486,"props":1694,"children":1696},{"className":1695},[],[1697],{"type":65,"value":1494},{"type":65,"value":130},{"type":60,"tag":109,"props":1700,"children":1701},{},[1702,1704,1715],{"type":65,"value":1703},"chore(demo): upgrade deps (",{"type":60,"tag":121,"props":1705,"children":1708},{"href":1706,"rel":1707},"https://github.com/nuxt-modules/supabase/commit/9ebbc77",[125],[1709],{"type":60,"tag":486,"props":1710,"children":1712},{"className":1711},[],[1713],{"type":65,"value":1714},"9ebbc77",{"type":65,"value":130},{"type":60,"tag":109,"props":1717,"children":1718},{},[1719,1721,1732],{"type":65,"value":1720},"chore(deps): upgrade (",{"type":60,"tag":121,"props":1722,"children":1725},{"href":1723,"rel":1724},"https://github.com/nuxt-modules/supabase/commit/e274a5e",[125],[1726],{"type":60,"tag":486,"props":1727,"children":1729},{"className":1728},[],[1730],{"type":65,"value":1731},"e274a5e",{"type":65,"value":130},{"type":60,"tag":109,"props":1734,"children":1735},{},[1736,1737,1744,1745,1755],{"type":65,"value":1466},{"type":60,"tag":121,"props":1738,"children":1741},{"href":1739,"rel":1740},"https://github.com/nuxt-modules/supabase/issues/162",[125],[1742],{"type":65,"value":1743},"#162",{"type":65,"value":319},{"type":60,"tag":121,"props":1746,"children":1749},{"href":1747,"rel":1748},"https://github.com/nuxt-modules/supabase/commit/034d7df",[125],[1750],{"type":60,"tag":486,"props":1751,"children":1753},{"className":1752},[],[1754],{"type":65,"value":1477},{"type":65,"value":130},{"type":60,"tag":109,"props":1757,"children":1758},{},[1759,1761,1772],{"type":65,"value":1760},"docs(readme): add nuxt badge (",{"type":60,"tag":121,"props":1762,"children":1765},{"href":1763,"rel":1764},"https://github.com/nuxt-modules/supabase/commit/68271b8",[125],[1766],{"type":60,"tag":486,"props":1767,"children":1769},{"className":1768},[],[1770],{"type":65,"value":1771},"68271b8",{"type":65,"value":130},{"type":60,"tag":109,"props":1774,"children":1775},{},[1776,1778,1785,1786,1797],{"type":65,"value":1777},"docs(demo): fix typo (",{"type":60,"tag":121,"props":1779,"children":1782},{"href":1780,"rel":1781},"https://github.com/nuxt-modules/supabase/issues/125",[125],[1783],{"type":65,"value":1784},"#125",{"type":65,"value":319},{"type":60,"tag":121,"props":1787,"children":1790},{"href":1788,"rel":1789},"https://github.com/nuxt-modules/supabase/commit/bd33d12",[125],[1791],{"type":60,"tag":486,"props":1792,"children":1794},{"className":1793},[],[1795],{"type":65,"value":1796},"bd33d12",{"type":65,"value":130},{"type":60,"tag":109,"props":1799,"children":1800},{},[1801,1802,1809,1810,1820],{"type":65,"value":1449},{"type":60,"tag":121,"props":1803,"children":1806},{"href":1804,"rel":1805},"https://github.com/nuxt-modules/supabase/issues/154",[125],[1807],{"type":65,"value":1808},"#154",{"type":65,"value":319},{"type":60,"tag":121,"props":1811,"children":1814},{"href":1812,"rel":1813},"https://github.com/nuxt-modules/supabase/commit/ba437a8",[125],[1815],{"type":60,"tag":486,"props":1816,"children":1818},{"className":1817},[],[1819],{"type":65,"value":1460},{"type":65,"value":130},{"type":60,"tag":109,"props":1822,"children":1823},{},[1824,1825,1832,1833,1843],{"type":65,"value":1432},{"type":60,"tag":121,"props":1826,"children":1829},{"href":1827,"rel":1828},"https://github.com/nuxt-modules/supabase/issues/157",[125],[1830],{"type":65,"value":1831},"#157",{"type":65,"value":319},{"type":60,"tag":121,"props":1834,"children":1837},{"href":1835,"rel":1836},"https://github.com/nuxt-modules/supabase/commit/0cad0a5",[125],[1838],{"type":60,"tag":486,"props":1839,"children":1841},{"className":1840},[],[1842],{"type":65,"value":1443},{"type":65,"value":130},{"type":60,"tag":109,"props":1845,"children":1846},{},[1847,1848,1858],{"type":65,"value":1415},{"type":60,"tag":121,"props":1849,"children":1852},{"href":1850,"rel":1851},"https://github.com/nuxt-modules/supabase/commit/94f7e13",[125],[1853],{"type":60,"tag":486,"props":1854,"children":1856},{"className":1855},[],[1857],{"type":65,"value":1426},{"type":65,"value":130},{"type":60,"tag":109,"props":1860,"children":1861},{},[1862,1863,1870,1871,1881],{"type":65,"value":1398},{"type":60,"tag":121,"props":1864,"children":1867},{"href":1865,"rel":1866},"https://github.com/nuxt-modules/supabase/issues/126",[125],[1868],{"type":65,"value":1869},"#126",{"type":65,"value":319},{"type":60,"tag":121,"props":1872,"children":1875},{"href":1873,"rel":1874},"https://github.com/nuxt-modules/supabase/commit/5699dc6",[125],[1876],{"type":60,"tag":486,"props":1877,"children":1879},{"className":1878},[],[1880],{"type":65,"value":1409},{"type":65,"value":130},{"type":60,"tag":109,"props":1883,"children":1884},{},[1885,1886,1896],{"type":65,"value":1381},{"type":60,"tag":121,"props":1887,"children":1890},{"href":1888,"rel":1889},"https://github.com/nuxt-modules/supabase/commit/bca1992",[125],[1891],{"type":60,"tag":486,"props":1892,"children":1894},{"className":1893},[],[1895],{"type":65,"value":1392},{"type":65,"value":130},{"type":60,"tag":61,"props":1898,"children":1899},{},[1900,1904,1905],{"type":60,"tag":113,"props":1901,"children":1902},{},[1903],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":1906,"children":1909},{"href":1907,"rel":1908},"https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.3",[125],[1910],{"type":65,"value":1907},{"title":53,"searchDepth":72,"depth":72,"links":1912},[1913],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.3","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.3","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.3",true,{"url":1919,"total_count":272,"+1":272,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/97697076/reactions",{"name":281,"url":282,"avatar":283},"github:v0.3.3.md",{"name":1923,"tag_name":1923,"date":1924,"body":1925,"v":279,"url":1990,"tarball":1991,"zipball":1992,"prerelease":54,"author":1993,"title":53,"description":53,"_type":74,"_id":1994},"v0.3.1","2023-02-07T20:18:04Z",{"type":57,"children":1926,"toc":1987},[1927,1931,1973],{"type":60,"tag":91,"props":1928,"children":1929},{"id":93},[1930],{"type":65,"value":96},{"type":60,"tag":105,"props":1932,"children":1933},{},[1934,1951,1968],{"type":60,"tag":109,"props":1935,"children":1936},{},[1937,1939,1950],{"type":65,"value":1938},"chore(app): upgrade deps and fix lint (",{"type":60,"tag":121,"props":1940,"children":1943},{"href":1941,"rel":1942},"https://github.com/nuxt-modules/supabase/commit/68baf68",[125],[1944],{"type":60,"tag":486,"props":1945,"children":1947},{"className":1946},[],[1948],{"type":65,"value":1949},"68baf68",{"type":65,"value":130},{"type":60,"tag":109,"props":1952,"children":1953},{},[1954,1956,1967],{"type":65,"value":1955},"fix(client): unset user before session on logout (",{"type":60,"tag":121,"props":1957,"children":1960},{"href":1958,"rel":1959},"https://github.com/nuxt-modules/supabase/commit/ab574ef",[125],[1961],{"type":60,"tag":486,"props":1962,"children":1964},{"className":1963},[],[1965],{"type":65,"value":1966},"ab574ef",{"type":65,"value":130},{"type":60,"tag":109,"props":1969,"children":1970},{},[1971],{"type":65,"value":1972},"chore(demo): update with latest and fix logout",{"type":60,"tag":61,"props":1974,"children":1975},{},[1976,1980,1981],{"type":60,"tag":113,"props":1977,"children":1978},{},[1979],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":1982,"children":1985},{"href":1983,"rel":1984},"https://github.com/nuxt-community/supabase-module/compare/v0.3.0...v0.3.1",[125],[1986],{"type":65,"value":1983},{"title":53,"searchDepth":72,"depth":72,"links":1988},[1989],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.1","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.1","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.1",{"name":281,"url":282,"avatar":283},"github:v0.3.1.md",{"name":1996,"tag_name":1996,"date":1997,"body":1998,"v":279,"url":2120,"tarball":2121,"zipball":2122,"prerelease":54,"reactions":2123,"author":2125,"title":53,"description":921,"_type":74,"_id":2126},"v0.3.0","2022-11-22T15:26:02Z",{"type":57,"children":1999,"toc":2117},[2000,2004,2008,2029,2063,2091,2103],{"type":60,"tag":61,"props":2001,"children":2002},{},[2003],{"type":65,"value":921},{"type":60,"tag":91,"props":2005,"children":2006},{"id":93},[2007],{"type":65,"value":96},{"type":60,"tag":61,"props":2009,"children":2010},{},[2011,2013,2020,2022,2027],{"type":65,"value":2012},"In order to resolve ",{"type":60,"tag":121,"props":2014,"children":2017},{"href":2015,"rel":2016},"https://github.com/nuxt-modules/supabase/issues/114",[125],[2018],{"type":65,"value":2019},"#114",{"type":65,"value":2021},", I have made the choice to separate the ",{"type":60,"tag":486,"props":2023,"children":2025},{"className":2024},[],[2026],{"type":65,"value":21},{"type":65,"value":2028}," in two other composables:",{"type":60,"tag":105,"props":2030,"children":2031},{},[2032,2052],{"type":60,"tag":109,"props":2033,"children":2034},{},[2035,2037,2042,2044,2050],{"type":65,"value":2036},"The ",{"type":60,"tag":486,"props":2038,"children":2040},{"className":2039},[],[2041],{"type":65,"value":933},{"type":65,"value":2043}," is dedicated to authentification purpose only. It won't be recreate if your token expires, it is used in the client plugin to listen to ",{"type":60,"tag":486,"props":2045,"children":2047},{"className":2046},[],[2048],{"type":65,"value":2049},"onAuthStateChange",{"type":65,"value":2051}," events.",{"type":60,"tag":109,"props":2053,"children":2054},{},[2055,2056,2061],{"type":65,"value":2036},{"type":60,"tag":486,"props":2057,"children":2059},{"className":2058},[],[2060],{"type":65,"value":21},{"type":65,"value":2062}," is now only useful for data request.",{"type":60,"tag":61,"props":2064,"children":2065},{},[2066,2068,2073,2075,2080,2082,2089],{"type":65,"value":2067},"To avoid regression you just need to use ",{"type":60,"tag":486,"props":2069,"children":2071},{"className":2070},[],[2072],{"type":65,"value":933},{"type":65,"value":2074}," instead of ",{"type":60,"tag":486,"props":2076,"children":2078},{"className":2077},[],[2079],{"type":65,"value":21},{"type":65,"value":2081}," everywhere you use ",{"type":60,"tag":121,"props":2083,"children":2086},{"href":2084,"rel":2085},"https://supabase.com/docs/reference/javascript/auth-signup",[125],[2087],{"type":65,"value":2088},"Supabase auth methods",{"type":65,"value":2090},".",{"type":60,"tag":61,"props":2092,"children":2093},{},[2094,2101],{"type":60,"tag":121,"props":2095,"children":2098},{"href":2096,"rel":2097},"https://supabase.nuxtjs.org/usage/composables/use-supabase-auth-client",[125],[2099],{"type":65,"value":2100},"Documentation",{"type":65,"value":2102}," has been updated.",{"type":60,"tag":61,"props":2104,"children":2105},{},[2106,2110,2111],{"type":60,"tag":113,"props":2107,"children":2108},{},[2109],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2112,"children":2115},{"href":2113,"rel":2114},"https://github.com/nuxt-community/supabase-module/compare/v0.2.6...v0.3.0",[125],[2116],{"type":65,"value":2113},{"title":53,"searchDepth":72,"depth":72,"links":2118},[2119],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.0","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.0","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.0",{"url":2124,"total_count":1097,"+1":72,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":268,"rocket":268,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/83886320/reactions",{"name":281,"url":282,"avatar":283},"github:v0.3.0.md",{"name":2128,"tag_name":2128,"date":2129,"body":2130,"v":279,"url":2167,"tarball":2168,"zipball":2169,"prerelease":54,"author":2170,"title":53,"description":53,"_type":74,"_id":2171},"v0.2.6","2022-11-22T15:16:16Z",{"type":57,"children":2131,"toc":2164},[2132,2136,2150],{"type":60,"tag":91,"props":2133,"children":2134},{"id":93},[2135],{"type":65,"value":96},{"type":60,"tag":105,"props":2137,"children":2138},{},[2139],{"type":60,"tag":109,"props":2140,"children":2141},{},[2142,2144],{"type":65,"value":2143},"chore: update to Nuxt 3 stable 🚀 ",{"type":60,"tag":121,"props":2145,"children":2148},{"href":2146,"rel":2147},"https://nuxt.com/v3",[125],[2149],{"type":65,"value":2146},{"type":60,"tag":61,"props":2151,"children":2152},{},[2153,2157,2158],{"type":60,"tag":113,"props":2154,"children":2155},{},[2156],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2159,"children":2162},{"href":2160,"rel":2161},"https://github.com/nuxt-community/supabase-module/compare/v0.2.5...v0.2.6",[125],[2163],{"type":65,"value":2160},{"title":53,"searchDepth":72,"depth":72,"links":2165},[2166],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.6","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.6","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.6",{"name":281,"url":282,"avatar":283},"github:v0.2.6.md",{"name":2173,"tag_name":2173,"date":2174,"body":2175,"v":279,"url":2227,"tarball":2228,"zipball":2229,"prerelease":54,"author":2230,"title":53,"description":53,"_type":74,"_id":2231},"v0.2.5","2022-11-22T15:14:51Z",{"type":57,"children":2176,"toc":2224},[2177,2181,2210],{"type":60,"tag":91,"props":2178,"children":2179},{"id":93},[2180],{"type":65,"value":96},{"type":60,"tag":105,"props":2182,"children":2183},{},[2184],{"type":60,"tag":109,"props":2185,"children":2186},{},[2187,2189,2200,2202,2209],{"type":65,"value":2188},"fix: use Router instead of navigateTo for login redirect in ",{"type":60,"tag":121,"props":2190,"children":2193},{"href":2191,"rel":2192},"https://github.com/nuxt-modules/supabase/commit/79fc0e43655d4dee5858acf06cf1979e3ead542b",[125],[2194],{"type":60,"tag":486,"props":2195,"children":2197},{"className":2196},[],[2198],{"type":65,"value":2199},"79fc0e4",{"type":65,"value":2201}," (resolves ",{"type":60,"tag":121,"props":2203,"children":2206},{"href":2204,"rel":2205},"https://github.com/nuxt-modules/supabase/issues/89",[125],[2207],{"type":65,"value":2208},"#89",{"type":65,"value":130},{"type":60,"tag":61,"props":2211,"children":2212},{},[2213,2217,2218],{"type":60,"tag":113,"props":2214,"children":2215},{},[2216],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2219,"children":2222},{"href":2220,"rel":2221},"https://github.com/nuxt-community/supabase-module/compare/v0.2.4...v0.2.5",[125],[2223],{"type":65,"value":2220},{"title":53,"searchDepth":72,"depth":72,"links":2225},[2226],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.5","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.5","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.5",{"name":281,"url":282,"avatar":283},"github:v0.2.5.md",{"name":2233,"tag_name":2233,"date":2234,"body":2235,"v":279,"url":2277,"tarball":2278,"zipball":2279,"prerelease":54,"reactions":2280,"author":2282,"title":53,"description":53,"_type":74,"_id":2283},"v0.2.4","2022-11-13T19:36:18Z",{"type":57,"children":2236,"toc":2274},[2237,2241,2260],{"type":60,"tag":91,"props":2238,"children":2239},{"id":93},[2240],{"type":65,"value":96},{"type":60,"tag":105,"props":2242,"children":2243},{},[2244],{"type":60,"tag":109,"props":2245,"children":2246},{},[2247,2249],{"type":65,"value":2248},"fix: handle TOKEN_REFRESHED session event in ",{"type":60,"tag":121,"props":2250,"children":2253},{"href":2251,"rel":2252},"https://github.com/nuxt-modules/supabase/commit/bf503029b48113b4b66545d0d2065c899209a06a",[125],[2254],{"type":60,"tag":486,"props":2255,"children":2257},{"className":2256},[],[2258],{"type":65,"value":2259},"bf50302",{"type":60,"tag":61,"props":2261,"children":2262},{},[2263,2267,2268],{"type":60,"tag":113,"props":2264,"children":2265},{},[2266],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2269,"children":2272},{"href":2270,"rel":2271},"https://github.com/nuxt-community/supabase-module/compare/v0.2.3...v0.2.4",[125],[2273],{"type":65,"value":2270},{"title":53,"searchDepth":72,"depth":72,"links":2275},[2276],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.4","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.4","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.4",{"url":2281,"total_count":72,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":72,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/82920199/reactions",{"name":281,"url":282,"avatar":283},"github:v0.2.4.md",{"name":2285,"tag_name":2285,"date":2286,"body":2287,"v":279,"url":2425,"tarball":2426,"zipball":2427,"prerelease":54,"reactions":2428,"author":2430,"title":53,"description":53,"_type":74,"_id":2431},"v0.2.3","2022-11-11T17:27:14Z",{"type":57,"children":2288,"toc":2421},[2289,2293,2373,2379,2407],{"type":60,"tag":91,"props":2290,"children":2291},{"id":93},[2292],{"type":65,"value":96},{"type":60,"tag":105,"props":2294,"children":2295},{},[2296,2324,2336,2349],{"type":60,"tag":109,"props":2297,"children":2298},{},[2299,2301,2312,2313],{"type":65,"value":2300},"feat: typed supabase client in ",{"type":60,"tag":121,"props":2302,"children":2305},{"href":2303,"rel":2304},"https://github.com/nuxt-modules/supabase/commit/b59ff1acfbbe2cd36aea1ade2d2b538404909260",[125],[2306],{"type":60,"tag":486,"props":2307,"children":2309},{"className":2308},[],[2310],{"type":65,"value":2311},"b59ff1a",{"type":65,"value":1034},{"type":60,"tag":121,"props":2314,"children":2317},{"href":2315,"rel":2316},"https://github.com/nuxt-modules/supabase/commit/fd751d7e50c63c48df9e03763458cc826409ff35",[125],[2318],{"type":60,"tag":486,"props":2319,"children":2321},{"className":2320},[],[2322],{"type":65,"value":2323},"fd751d7",{"type":60,"tag":109,"props":2325,"children":2326},{},[2327,2329],{"type":65,"value":2328},"chore: upgrade to nuxt ",{"type":60,"tag":121,"props":2330,"children":2333},{"href":2331,"rel":2332},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.13",[125],[2334],{"type":65,"value":2335},"rc13",{"type":60,"tag":109,"props":2337,"children":2338},{},[2339,2341,2348],{"type":65,"value":2340},"fix: do not apply token if not exists (",{"type":60,"tag":121,"props":2342,"children":2345},{"href":2343,"rel":2344},"https://github.com/nuxt-modules/supabase/issues/107",[125],[2346],{"type":65,"value":2347},"#107",{"type":65,"value":130},{"type":60,"tag":109,"props":2350,"children":2351},{},[2352,2354,2360,2362],{"type":65,"value":2353},"docs: add roadmap board from ",{"type":60,"tag":121,"props":2355,"children":2358},{"href":2356,"rel":2357},"https://volta.net",[125],[2359],{"type":65,"value":2356},{"type":65,"value":2361}," in ",{"type":60,"tag":121,"props":2363,"children":2366},{"href":2364,"rel":2365},"https://github.com/nuxt-modules/supabase/commit/f8e73b535924f133e479dbc2863bb37856ff4555",[125],[2367],{"type":60,"tag":486,"props":2368,"children":2370},{"className":2369},[],[2371],{"type":65,"value":2372},"f8e73b5",{"type":60,"tag":91,"props":2374,"children":2376},{"id":2375},"contributors",[2377],{"type":65,"value":2378},"Contributors",{"type":60,"tag":61,"props":2380,"children":2381},{},[2382,2384,2394,2395,2405],{"type":65,"value":2383},"Thanks to ",{"type":60,"tag":121,"props":2385,"children":2388},{"href":2386,"rel":2387},"https://github.com/manniL",[125],[2389],{"type":60,"tag":113,"props":2390,"children":2391},{},[2392],{"type":65,"value":2393},"@manniL",{"type":65,"value":1034},{"type":60,"tag":121,"props":2396,"children":2399},{"href":2397,"rel":2398},"https://github.com/levibe",[125],[2400],{"type":60,"tag":113,"props":2401,"children":2402},{},[2403],{"type":65,"value":2404},"@levibe",{"type":65,"value":2406}," 💚",{"type":60,"tag":61,"props":2408,"children":2409},{},[2410,2414,2415],{"type":60,"tag":113,"props":2411,"children":2412},{},[2413],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2416,"children":2419},{"href":2417,"rel":2418},"https://github.com/nuxt-community/supabase-module/compare/v0.2.0...v0.2.3",[125],[2420],{"type":65,"value":2417},{"title":53,"searchDepth":72,"depth":72,"links":2422},[2423,2424],{"id":93,"depth":72,"text":96},{"id":2375,"depth":72,"text":2378},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.3","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.3","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.3",{"url":2429,"total_count":272,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":272,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/82825289/reactions",{"name":281,"url":282,"avatar":283},"github:v0.2.3.md",{"name":2433,"tag_name":2433,"date":2434,"body":2435,"v":279,"url":2526,"tarball":2527,"zipball":2528,"prerelease":54,"author":2529,"title":53,"description":53,"_type":74,"_id":2530},"v0.2.0","2022-10-17T14:18:31Z",{"type":57,"children":2436,"toc":2523},[2437,2441,2446,2459,2472,2477,2482,2509],{"type":60,"tag":91,"props":2438,"children":2439},{"id":93},[2440],{"type":65,"value":96},{"type":60,"tag":61,"props":2442,"children":2443},{},[2444],{"type":65,"value":2445},"⚠️ Breaking Changes",{"type":60,"tag":61,"props":2447,"children":2448},{},[2449,2451,2458],{"type":65,"value":2450},"Upgrade to supabase-js v2, check Supabase ",{"type":60,"tag":121,"props":2452,"children":2455},{"href":2453,"rel":2454},"https://supabase.com/docs/reference/javascript/release-notes",[125],[2456],{"type":65,"value":2457},"release notes",{"type":65,"value":2090},{"type":60,"tag":61,"props":2460,"children":2461},{},[2462,2464,2470],{"type":65,"value":2463},"Module ",{"type":60,"tag":121,"props":2465,"children":2467},{"href":883,"rel":2466},[125],[2468],{"type":65,"value":2469},"documentation",{"type":65,"value":2471}," has been updated in favor of supabase v2 syntax.",{"type":60,"tag":61,"props":2473,"children":2474},{},[2475],{"type":65,"value":2476},"Please feel free to make PR if I missed something 🙏",{"type":60,"tag":61,"props":2478,"children":2479},{},[2480],{"type":65,"value":2481},"🚀 Features",{"type":60,"tag":105,"props":2483,"children":2484},{},[2485,2497],{"type":60,"tag":109,"props":2486,"children":2487},{},[2488,2490,2496],{"type":65,"value":2489},"options: redirect user after signout or when user is not authenticated (check ",{"type":60,"tag":121,"props":2491,"children":2494},{"href":2492,"rel":2493},"https://supabase.nuxtjs.org/get-started#redirect",[125],[2495],{"type":65,"value":2469},{"type":65,"value":130},{"type":60,"tag":109,"props":2498,"children":2499},{},[2500,2502],{"type":65,"value":2501},"session: set refresh token ",{"type":60,"tag":121,"props":2503,"children":2506},{"href":2504,"rel":2505},"https://github.com/nuxt-modules/supabase/issues/18",[125],[2507],{"type":65,"value":2508},"#18",{"type":60,"tag":61,"props":2510,"children":2511},{},[2512,2516,2517],{"type":60,"tag":113,"props":2513,"children":2514},{},[2515],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2518,"children":2521},{"href":2519,"rel":2520},"https://github.com/nuxt-community/supabase-module/compare/v0.1.28...v0.2.0",[125],[2522],{"type":65,"value":2519},{"title":53,"searchDepth":72,"depth":72,"links":2524},[2525],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.0","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.0","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.0",{"name":281,"url":282,"avatar":283},"github:v0.2.0.md",{"name":2532,"tag_name":2532,"date":2533,"body":2534,"v":279,"url":2589,"tarball":2590,"zipball":2591,"prerelease":54,"author":2592,"title":53,"description":53,"_type":74,"_id":2593},"v0.1.28","2022-10-07T10:05:52Z",{"type":57,"children":2535,"toc":2586},[2536,2540,2556,2570],{"type":60,"tag":91,"props":2537,"children":2538},{"id":93},[2539],{"type":65,"value":96},{"type":60,"tag":105,"props":2541,"children":2542},{},[2543],{"type":60,"tag":109,"props":2544,"children":2545},{},[2546,2548,2555],{"type":65,"value":2547},"fix: cloudflare workers deployment (",{"type":60,"tag":121,"props":2549,"children":2552},{"href":2550,"rel":2551},"https://github.com/nuxt-modules/supabase/issues/46",[125],[2553],{"type":65,"value":2554},"#46",{"type":65,"value":130},{"type":60,"tag":61,"props":2557,"children":2558},{},[2559,2563,2564],{"type":60,"tag":113,"props":2560,"children":2561},{},[2562],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2565,"children":2568},{"href":2566,"rel":2567},"https://github.com/nuxt-community/supabase-module/compare/v0.1.27...v0.1.28",[125],[2569],{"type":65,"value":2566},{"type":60,"tag":61,"props":2571,"children":2572},{},[2573,2574,2584],{"type":65,"value":2383},{"type":60,"tag":121,"props":2575,"children":2578},{"href":2576,"rel":2577},"https://github.com/kevinmarrec",[125],[2579],{"type":60,"tag":113,"props":2580,"children":2581},{},[2582],{"type":65,"value":2583},"@kevinmarrec",{"type":65,"value":2585}," for the fix 🔥",{"title":53,"searchDepth":72,"depth":72,"links":2587},[2588],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.28","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.28","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.28",{"name":281,"url":282,"avatar":283},"github:v0.1.28.md",{"name":2595,"tag_name":2595,"date":2596,"body":2597,"v":279,"url":2640,"tarball":2641,"zipball":2642,"prerelease":54,"author":2643,"title":53,"description":53,"_type":74,"_id":2644},"v0.1.27","2022-09-23T10:19:42Z",{"type":57,"children":2598,"toc":2637},[2599,2603,2618,2623],{"type":60,"tag":91,"props":2600,"children":2601},{"id":93},[2602],{"type":65,"value":96},{"type":60,"tag":105,"props":2604,"children":2605},{},[2606],{"type":60,"tag":109,"props":2607,"children":2608},{},[2609,2611],{"type":65,"value":2610},"chore: upgrade to Nuxt ",{"type":60,"tag":121,"props":2612,"children":2615},{"href":2613,"rel":2614},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.11",[125],[2616],{"type":65,"value":2617},"rc.11",{"type":60,"tag":61,"props":2619,"children":2620},{},[2621],{"type":65,"value":2622},"Stable is coming 🚀",{"type":60,"tag":61,"props":2624,"children":2625},{},[2626,2630,2631],{"type":60,"tag":113,"props":2627,"children":2628},{},[2629],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2632,"children":2635},{"href":2633,"rel":2634},"https://github.com/nuxt-community/supabase-module/compare/v0.1.26...v0.1.27",[125],[2636],{"type":65,"value":2633},{"title":53,"searchDepth":72,"depth":72,"links":2638},[2639],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.27","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.27","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.27",{"name":281,"url":282,"avatar":283},"github:v0.1.27.md",{"name":2433,"tag_name":2646,"date":2647,"body":2648,"v":279,"url":2686,"tarball":2687,"zipball":2688,"prerelease":1917,"author":2689,"title":53,"description":53,"_type":74,"_id":2530},"v0.2.0-16","2022-08-16T14:56:45Z",{"type":57,"children":2649,"toc":2683},[2650,2654,2658,2669],{"type":60,"tag":91,"props":2651,"children":2652},{"id":93},[2653],{"type":65,"value":96},{"type":60,"tag":61,"props":2655,"children":2656},{},[2657],{"type":65,"value":2445},{"type":60,"tag":61,"props":2659,"children":2660},{},[2661,2662,2668],{"type":65,"value":2450},{"type":60,"tag":121,"props":2663,"children":2666},{"href":2664,"rel":2665},"https://supabase.com/docs/reference/javascript/next/release-notes",[125],[2667],{"type":65,"value":2457},{"type":65,"value":2090},{"type":60,"tag":61,"props":2670,"children":2671},{},[2672,2676,2677],{"type":60,"tag":113,"props":2673,"children":2674},{},[2675],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2678,"children":2681},{"href":2679,"rel":2680},"https://github.com/nuxt-community/supabase-module/compare/v0.1.22...v0.2.0",[125],[2682],{"type":65,"value":2679},{"title":53,"searchDepth":72,"depth":72,"links":2684},[2685],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.0-16","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.0-16","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.0-16",{"name":281,"url":282,"avatar":283},{"name":2691,"tag_name":2691,"date":2692,"body":2693,"v":279,"url":2735,"tarball":2736,"zipball":2737,"prerelease":54,"reactions":2738,"author":2740,"title":53,"description":53,"_type":74,"_id":2741},"v0.1.26","2022-09-16T11:17:29Z",{"type":57,"children":2694,"toc":2732},[2695,2699,2713,2718],{"type":60,"tag":91,"props":2696,"children":2697},{"id":93},[2698],{"type":65,"value":96},{"type":60,"tag":105,"props":2700,"children":2701},{},[2702],{"type":60,"tag":109,"props":2703,"children":2704},{},[2705,2706],{"type":65,"value":2610},{"type":60,"tag":121,"props":2707,"children":2710},{"href":2708,"rel":2709},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.10",[125],[2711],{"type":65,"value":2712},"rc.10",{"type":60,"tag":61,"props":2714,"children":2715},{},[2716],{"type":65,"value":2717},"Stable in coming 🚀",{"type":60,"tag":61,"props":2719,"children":2720},{},[2721,2725,2726],{"type":60,"tag":113,"props":2722,"children":2723},{},[2724],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2727,"children":2730},{"href":2728,"rel":2729},"https://github.com/nuxt-community/supabase-module/compare/v0.1.25...v0.1.26",[125],[2731],{"type":65,"value":2728},{"title":53,"searchDepth":72,"depth":72,"links":2733},[2734],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.26","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.26","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.26",{"url":2739,"total_count":272,"+1":272,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/77384555/reactions",{"name":281,"url":282,"avatar":283},"github:v0.1.26.md",{"name":2743,"tag_name":2743,"date":2744,"body":2745,"v":279,"url":2848,"tarball":2849,"zipball":2850,"prerelease":54,"reactions":2851,"author":2853,"title":53,"description":53,"_type":74,"_id":2854},"v0.1.25","2022-09-05T07:28:01Z",{"type":57,"children":2746,"toc":2845},[2747,2751,2831],{"type":60,"tag":91,"props":2748,"children":2749},{"id":93},[2750],{"type":65,"value":96},{"type":60,"tag":105,"props":2752,"children":2753},{},[2754,2790,2818],{"type":60,"tag":109,"props":2755,"children":2756},{},[2757,2759,2770,2771,2782,2784],{"type":65,"value":2758},"docs: new directory architecture + supabase module v2 coming soon in ",{"type":60,"tag":121,"props":2760,"children":2763},{"href":2761,"rel":2762},"https://github.com/nuxt-modules/supabase/commit/d48522a369bcced45dfb3d16793b33f0144ffa50",[125],[2764],{"type":60,"tag":486,"props":2765,"children":2767},{"className":2766},[],[2768],{"type":65,"value":2769},"d48522a",{"type":65,"value":1034},{"type":60,"tag":121,"props":2772,"children":2775},{"href":2773,"rel":2774},"https://github.com/nuxt-modules/supabase/commit/e69712b4862a5baa464c01ae32755473358b82d2",[125],[2776],{"type":60,"tag":486,"props":2777,"children":2779},{"className":2778},[],[2780],{"type":65,"value":2781},"e69712b",{"type":65,"value":2783},". Check out ",{"type":60,"tag":121,"props":2785,"children":2788},{"href":2786,"rel":2787},"https://supabase.nuxtjs.org/",[125],[2789],{"type":65,"value":2786},{"type":60,"tag":109,"props":2791,"children":2792},{},[2793,2795,2806,2807],{"type":65,"value":2794},"chore: upgrade to rc9 in ",{"type":60,"tag":121,"props":2796,"children":2799},{"href":2797,"rel":2798},"https://github.com/nuxt-modules/supabase/commit/3c5220bf9569d2e939a466aa4a2814e0dc38622c",[125],[2800],{"type":60,"tag":486,"props":2801,"children":2803},{"className":2802},[],[2804],{"type":65,"value":2805},"3c5220b",{"type":65,"value":1034},{"type":60,"tag":121,"props":2808,"children":2811},{"href":2809,"rel":2810},"https://github.com/nuxt-modules/supabase/commit/495e0b705622e9bda28072815c828beedea1082c",[125],[2812],{"type":60,"tag":486,"props":2813,"children":2815},{"className":2814},[],[2816],{"type":65,"value":2817},"495e0b7",{"type":60,"tag":109,"props":2819,"children":2820},{},[2821,2823,2830],{"type":65,"value":2822},"chore: fix nuxt compatibility (",{"type":60,"tag":121,"props":2824,"children":2827},{"href":2825,"rel":2826},"https://github.com/nuxt-modules/supabase/issues/70",[125],[2828],{"type":65,"value":2829},"#70",{"type":65,"value":130},{"type":60,"tag":61,"props":2832,"children":2833},{},[2834,2838,2839],{"type":60,"tag":113,"props":2835,"children":2836},{},[2837],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2840,"children":2843},{"href":2841,"rel":2842},"https://github.com/nuxt-community/supabase-module/compare/v0.1.23...v0.1.25",[125],[2844],{"type":65,"value":2841},{"title":53,"searchDepth":72,"depth":72,"links":2846},[2847],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.25","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.25","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.25",{"url":2852,"total_count":1201,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":1201,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/76259131/reactions",{"name":281,"url":282,"avatar":283},"github:v0.1.25.md",{"name":2856,"tag_name":2856,"date":2857,"body":2858,"v":279,"url":2926,"tarball":2927,"zipball":2928,"prerelease":54,"author":2929,"title":53,"description":53,"_type":74,"_id":2930},"v0.1.23","2022-08-16T10:12:13Z",{"type":57,"children":2859,"toc":2923},[2860,2864,2909],{"type":60,"tag":91,"props":2861,"children":2862},{"id":93},[2863],{"type":65,"value":96},{"type":60,"tag":105,"props":2865,"children":2866},{},[2867],{"type":60,"tag":109,"props":2868,"children":2869},{},[2870,2872,2885,2887,2899,2901,2908],{"type":65,"value":2871},"fix: transpile supabase packages in ",{"type":60,"tag":121,"props":2873,"children":2876},{"href":2874,"rel":2875},"https://github.com/nuxt-community/supabase-module/commit/66020204e8aad98db94a83964f1bb988642c90f3",[125],[2877,2879],{"type":65,"value":2878},"nuxt-community/supabase-module@",{"type":60,"tag":486,"props":2880,"children":2882},{"className":2881},[],[2883],{"type":65,"value":2884},"6602020",{"type":65,"value":2886}," ",{"type":60,"tag":121,"props":2888,"children":2891},{"href":2889,"rel":2890},"https://github.com/nuxt-community/supabase-module/commit/237ddf2cf83079e39748b6252182ca1d2f62cc54",[125],[2892,2893],{"type":65,"value":2878},{"type":60,"tag":486,"props":2894,"children":2896},{"className":2895},[],[2897],{"type":65,"value":2898},"237ddf2",{"type":65,"value":2900}," and (",{"type":60,"tag":121,"props":2902,"children":2905},{"href":2903,"rel":2904},"https://github.com/nuxt-modules/supabase/issues/62",[125],[2906],{"type":65,"value":2907},"#62",{"type":65,"value":130},{"type":60,"tag":61,"props":2910,"children":2911},{},[2912,2916,2917],{"type":60,"tag":113,"props":2913,"children":2914},{},[2915],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2918,"children":2921},{"href":2919,"rel":2920},"https://github.com/nuxt-community/supabase-module/compare/v0.1.20...v0.1.23",[125],[2922],{"type":65,"value":2919},{"title":53,"searchDepth":72,"depth":72,"links":2924},[2925],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.23","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.23","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.23",{"name":281,"url":282,"avatar":283},"github:v0.1.23.md",{"name":2932,"tag_name":2932,"date":2933,"body":2934,"v":279,"url":3004,"tarball":3005,"zipball":3006,"prerelease":54,"author":3007,"title":53,"description":53,"_type":74,"_id":3008},"v0.1.20","2022-08-16T09:12:14Z",{"type":57,"children":2935,"toc":3000},[2936,2940,2955,2969,2975],{"type":60,"tag":91,"props":2937,"children":2938},{"id":93},[2939],{"type":65,"value":96},{"type":60,"tag":105,"props":2941,"children":2942},{},[2943],{"type":60,"tag":109,"props":2944,"children":2945},{},[2946,2948],{"type":65,"value":2947},"chore: upgrade to ",{"type":60,"tag":121,"props":2949,"children":2952},{"href":2950,"rel":2951},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.8",[125],[2953],{"type":65,"value":2954},"nuxt rc.8",{"type":60,"tag":61,"props":2956,"children":2957},{},[2958,2962,2963],{"type":60,"tag":113,"props":2959,"children":2960},{},[2961],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":2964,"children":2967},{"href":2965,"rel":2966},"https://github.com/nuxt-community/supabase-module/compare/v0.1.19...v0.1.20",[125],[2968],{"type":65,"value":2965},{"type":60,"tag":91,"props":2970,"children":2972},{"id":2971},"new-contributors",[2973],{"type":65,"value":2974},"New Contributors",{"type":60,"tag":105,"props":2976,"children":2977},{},[2978],{"type":60,"tag":109,"props":2979,"children":2980},{},[2981,2991,2993],{"type":60,"tag":121,"props":2982,"children":2985},{"href":2983,"rel":2984},"https://github.com/josuemartinezz",[125],[2986],{"type":60,"tag":113,"props":2987,"children":2988},{},[2989],{"type":65,"value":2990},"@josuemartinezz",{"type":65,"value":2992}," made his first contribution in ",{"type":60,"tag":121,"props":2994,"children":2997},{"href":2995,"rel":2996},"https://github.com/nuxt-modules/supabase/issues/59",[125],[2998],{"type":65,"value":2999},"#59",{"title":53,"searchDepth":72,"depth":72,"links":3001},[3002,3003],{"id":93,"depth":72,"text":96},{"id":2971,"depth":72,"text":2974},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.20","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.20","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.20",{"name":281,"url":282,"avatar":283},"github:v0.1.20.md",{"name":3010,"tag_name":3010,"date":3011,"body":3012,"v":279,"url":3066,"tarball":3067,"zipball":3068,"prerelease":54,"reactions":3069,"author":3071,"title":53,"description":53,"_type":74,"_id":3072},"v0.1.19","2022-07-18T08:18:42Z",{"type":57,"children":3013,"toc":3063},[3014,3018,3049],{"type":60,"tag":91,"props":3015,"children":3016},{"id":93},[3017],{"type":65,"value":96},{"type":60,"tag":105,"props":3019,"children":3020},{},[3021,3032],{"type":60,"tag":109,"props":3022,"children":3023},{},[3024,3025],{"type":65,"value":2947},{"type":60,"tag":121,"props":3026,"children":3029},{"href":3027,"rel":3028},"https://github.com/nuxt/framework/pull/5825",[125],[3030],{"type":65,"value":3031},"nuxt rc.5",{"type":60,"tag":109,"props":3033,"children":3034},{},[3035,3037],{"type":65,"value":3036},"doc: add supabase icon in ",{"type":60,"tag":121,"props":3038,"children":3041},{"href":3039,"rel":3040},"https://github.com/nuxt-community/supabase-module/commit/c0cce016eae809fd64acc9a503b4807750280b39",[125],[3042,3043],{"type":65,"value":2878},{"type":60,"tag":486,"props":3044,"children":3046},{"className":3045},[],[3047],{"type":65,"value":3048},"c0cce01",{"type":60,"tag":61,"props":3050,"children":3051},{},[3052,3056,3057],{"type":60,"tag":113,"props":3053,"children":3054},{},[3055],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3058,"children":3061},{"href":3059,"rel":3060},"https://github.com/nuxt-community/supabase-module/compare/v0.1.18...v0.1.19",[125],[3062],{"type":65,"value":3059},{"title":53,"searchDepth":72,"depth":72,"links":3064},[3065],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.19","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.19","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.19",{"url":3070,"total_count":272,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":279,"rocket":272,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/72200550/reactions",{"name":281,"url":282,"avatar":283},"github:v0.1.19.md",{"name":3074,"tag_name":3074,"date":3075,"body":3076,"v":279,"url":3153,"tarball":3154,"zipball":3155,"prerelease":54,"author":3156,"title":53,"description":53,"_type":74,"_id":3157},"v0.1.18","2022-06-29T09:23:26Z",{"type":57,"children":3077,"toc":3150},[3078,3082,3136],{"type":60,"tag":91,"props":3079,"children":3080},{"id":93},[3081],{"type":65,"value":96},{"type":60,"tag":105,"props":3083,"children":3084},{},[3085,3111],{"type":60,"tag":109,"props":3086,"children":3087},{},[3088,3090,3102,3103,3110],{"type":65,"value":3089},"doc: update logo & social preview in ",{"type":60,"tag":121,"props":3091,"children":3094},{"href":3092,"rel":3093},"https://github.com/nuxt-community/supabase-module/commit/9b0b2fbee1f2fed50e903c2b368b817568d7ab1f",[125],[3095,3096],{"type":65,"value":2878},{"type":60,"tag":486,"props":3097,"children":3099},{"className":3098},[],[3100],{"type":65,"value":3101},"9b0b2fb",{"type":65,"value":384},{"type":60,"tag":121,"props":3104,"children":3107},{"href":3105,"rel":3106},"https://github.com/nuxt-modules/supabase/issues/53",[125],[3108],{"type":65,"value":3109},"#53",{"type":65,"value":130},{"type":60,"tag":109,"props":3112,"children":3113},{},[3114,3115,3127,3128,3135],{"type":65,"value":2871},{"type":60,"tag":121,"props":3116,"children":3119},{"href":3117,"rel":3118},"https://github.com/nuxt-community/supabase-module/commit/309c137f7ae23985f0ed9947fb85cb75cbfbfca2",[125],[3120,3121],{"type":65,"value":2878},{"type":60,"tag":486,"props":3122,"children":3124},{"className":3123},[],[3125],{"type":65,"value":3126},"309c137",{"type":65,"value":384},{"type":60,"tag":121,"props":3129,"children":3132},{"href":3130,"rel":3131},"https://github.com/nuxt-modules/supabase/issues/55",[125],[3133],{"type":65,"value":3134},"#55",{"type":65,"value":130},{"type":60,"tag":61,"props":3137,"children":3138},{},[3139,3143,3144],{"type":60,"tag":113,"props":3140,"children":3141},{},[3142],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3145,"children":3148},{"href":3146,"rel":3147},"https://github.com/nuxt-community/supabase-module/compare/v0.1.17...v0.1.18",[125],[3149],{"type":65,"value":3146},{"title":53,"searchDepth":72,"depth":72,"links":3151},[3152],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.18","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.18","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.18",{"name":281,"url":282,"avatar":283},"github:v0.1.18.md",{"name":3159,"tag_name":3159,"date":3160,"body":3161,"v":279,"url":3253,"tarball":3254,"zipball":3255,"prerelease":54,"reactions":3256,"author":3258,"title":53,"description":53,"_type":74,"_id":3259},"v0.1.17","2022-06-17T07:01:12Z",{"type":57,"children":3162,"toc":3250},[3163,3167,3223,3236],{"type":60,"tag":91,"props":3164,"children":3165},{"id":93},[3166],{"type":65,"value":96},{"type":60,"tag":105,"props":3168,"children":3169},{},[3170,3181,3206],{"type":60,"tag":109,"props":3171,"children":3172},{},[3173,3174],{"type":65,"value":2947},{"type":60,"tag":121,"props":3175,"children":3178},{"href":3176,"rel":3177},"https://github.com/nuxt/framework/discussions/5445",[125],[3179],{"type":65,"value":3180},"nuxt rc.4",{"type":60,"tag":109,"props":3182,"children":3183},{},[3184,3186,3193,3194],{"type":65,"value":3185},"doc: update ",{"type":60,"tag":121,"props":3187,"children":3190},{"href":3188,"rel":3189},"https://docus.com/",[125],[3191],{"type":65,"value":3192},"docus theme",{"type":65,"value":2361},{"type":60,"tag":121,"props":3195,"children":3198},{"href":3196,"rel":3197},"https://github.com/nuxt-community/supabase-module/commit/64a5add3db5e0416a8a3b7f9708d27148797e958",[125],[3199,3200],{"type":65,"value":2878},{"type":60,"tag":486,"props":3201,"children":3203},{"className":3202},[],[3204],{"type":65,"value":3205},"64a5add",{"type":60,"tag":109,"props":3207,"children":3208},{},[3209,3211],{"type":65,"value":3210},"doc: add advanced usage with supabase realtime ",{"type":60,"tag":121,"props":3212,"children":3215},{"href":3213,"rel":3214},"https://github.com/nuxt-community/supabase-module/commit/8047e311e5526a4597b81a99dc8045114348172f",[125],[3216,3217],{"type":65,"value":2878},{"type":60,"tag":486,"props":3218,"children":3220},{"className":3219},[],[3221],{"type":65,"value":3222},"8047e31",{"type":60,"tag":61,"props":3224,"children":3225},{},[3226,3228,3234],{"type":65,"value":3227},"Checkout the ",{"type":60,"tag":121,"props":3229,"children":3232},{"href":3230,"rel":3231},"https://supabase.nuxtjs.org/advanced#realtime",[125],[3233],{"type":65,"value":2469},{"type":65,"value":3235}," for supabase realtime!",{"type":60,"tag":61,"props":3237,"children":3238},{},[3239,3243,3244],{"type":60,"tag":113,"props":3240,"children":3241},{},[3242],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3245,"children":3248},{"href":3246,"rel":3247},"https://github.com/nuxt-community/supabase-module/compare/v0.1.16...v0.1.17",[125],[3249],{"type":65,"value":3246},{"title":53,"searchDepth":72,"depth":72,"links":3251},[3252],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.17","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.17","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.17",{"url":3257,"total_count":272,"+1":279,"-1":279,"laugh":279,"hooray":279,"confused":279,"heart":272,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/69689480/reactions",{"name":281,"url":282,"avatar":283},"github:v0.1.17.md",{"name":3261,"tag_name":3261,"date":3262,"body":3263,"v":279,"url":3361,"tarball":3362,"zipball":3363,"prerelease":54,"author":3364,"title":53,"description":53,"_type":74,"_id":3365},"v0.1.16","2022-06-01T10:51:45Z",{"type":57,"children":3264,"toc":3358},[3265,3269,3332,3344],{"type":60,"tag":91,"props":3266,"children":3267},{"id":93},[3268],{"type":65,"value":96},{"type":60,"tag":105,"props":3270,"children":3271},{},[3272,3306],{"type":60,"tag":109,"props":3273,"children":3274},{},[3275,3277,3284,3285,3297,3298,3305],{"type":65,"value":3276},"doc: use docus theme (public release coming soon) powered by ",{"type":60,"tag":121,"props":3278,"children":3281},{"href":3279,"rel":3280},"https://content.nuxtjs.org/",[125],[3282],{"type":65,"value":3283},"nuxt content v2",{"type":65,"value":2361},{"type":60,"tag":121,"props":3286,"children":3289},{"href":3287,"rel":3288},"https://github.com/nuxt-community/supabase-module/commit/c24a16ff0bc94221adc021231a2206b6db8f293c",[125],[3290,3291],{"type":65,"value":2878},{"type":60,"tag":486,"props":3292,"children":3294},{"className":3293},[],[3295],{"type":65,"value":3296},"c24a16f",{"type":65,"value":384},{"type":60,"tag":121,"props":3299,"children":3302},{"href":3300,"rel":3301},"https://github.com/nuxt-modules/supabase/issues/41",[125],[3303],{"type":65,"value":3304},"#41",{"type":65,"value":130},{"type":60,"tag":109,"props":3307,"children":3308},{},[3309,3311,3323,3324,3331],{"type":65,"value":3310},"feat: service role client to bypass RLS in ",{"type":60,"tag":121,"props":3312,"children":3315},{"href":3313,"rel":3314},"https://github.com/nuxt-community/supabase-module/commit/ba70a976be97acb3c438d59e45b789ee917bee6b",[125],[3316,3317],{"type":65,"value":2878},{"type":60,"tag":486,"props":3318,"children":3320},{"className":3319},[],[3321],{"type":65,"value":3322},"ba70a97",{"type":65,"value":384},{"type":60,"tag":121,"props":3325,"children":3328},{"href":3326,"rel":3327},"https://github.com/nuxt-modules/supabase/issues/43",[125],[3329],{"type":65,"value":3330},"#43",{"type":65,"value":130},{"type":60,"tag":61,"props":3333,"children":3334},{},[3335,3337,3342],{"type":65,"value":3336},"Checkout the new ",{"type":60,"tag":121,"props":3338,"children":3340},{"href":883,"rel":3339},[125],[3341],{"type":65,"value":2469},{"type":65,"value":3343}," !",{"type":60,"tag":61,"props":3345,"children":3346},{},[3347,3351,3352],{"type":60,"tag":113,"props":3348,"children":3349},{},[3350],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3353,"children":3356},{"href":3354,"rel":3355},"https://github.com/nuxt-community/supabase-module/compare/v0.1.14...v0.1.16",[125],[3357],{"type":65,"value":3354},{"title":53,"searchDepth":72,"depth":72,"links":3359},[3360],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.16","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.16","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.16",{"name":281,"url":282,"avatar":283},"github:v0.1.16.md",{"name":3367,"tag_name":3367,"date":3368,"body":3369,"v":279,"url":3477,"tarball":3478,"zipball":3479,"prerelease":54,"author":3480,"title":53,"description":53,"_type":74,"_id":3481},"v0.1.14","2022-05-13T16:48:40Z",{"type":57,"children":3370,"toc":3474},[3371,3375,3438,3460],{"type":60,"tag":91,"props":3372,"children":3373},{"id":93},[3374],{"type":65,"value":96},{"type":60,"tag":105,"props":3376,"children":3377},{},[3378,3395,3412],{"type":60,"tag":109,"props":3379,"children":3380},{},[3381,3383],{"type":65,"value":3382},"feat: add playground folder in ",{"type":60,"tag":121,"props":3384,"children":3387},{"href":3385,"rel":3386},"https://github.com/nuxt-community/supabase-module/commit/339cf31cf48d4059ba0e4470d6e5e2aa9ef184c7",[125],[3388,3389],{"type":65,"value":2878},{"type":60,"tag":486,"props":3390,"children":3392},{"className":3391},[],[3393],{"type":65,"value":3394},"339cf31",{"type":60,"tag":109,"props":3396,"children":3397},{},[3398,3400],{"type":65,"value":3399},"fix: client options in ",{"type":60,"tag":121,"props":3401,"children":3404},{"href":3402,"rel":3403},"https://github.com/nuxt-community/supabase-module/commit/4c5595c11caf7a55621d297f6a0183a756175473",[125],[3405,3406],{"type":65,"value":2878},{"type":60,"tag":486,"props":3407,"children":3409},{"className":3408},[],[3410],{"type":65,"value":3411},"4c5595c",{"type":60,"tag":109,"props":3413,"children":3414},{},[3415,3417,3429,3430,3437],{"type":65,"value":3416},"feat: add server routes services in ",{"type":60,"tag":121,"props":3418,"children":3421},{"href":3419,"rel":3420},"https://github.com/nuxt-community/supabase-module/commit/696d3e8d19b8db79c85e86b79a3ba4dd31bb2343",[125],[3422,3423],{"type":65,"value":2878},{"type":60,"tag":486,"props":3424,"children":3426},{"className":3425},[],[3427],{"type":65,"value":3428},"696d3e8",{"type":65,"value":384},{"type":60,"tag":121,"props":3431,"children":3434},{"href":3432,"rel":3433},"https://github.com/nuxt-modules/supabase/issues/36",[125],[3435],{"type":65,"value":3436},"#36",{"type":65,"value":130},{"type":60,"tag":61,"props":3439,"children":3440},{},[3441,3443,3450,3452,3458],{"type":65,"value":3442},"You can check the ",{"type":60,"tag":121,"props":3444,"children":3447},{"href":3445,"rel":3446},"https://supabase.nuxtjs.org/usage#server-routes-services",[125],[3448],{"type":65,"value":3449},"documentation updated",{"type":65,"value":3451}," for the use of ",{"type":60,"tag":486,"props":3453,"children":3455},{"className":3454},[],[3456],{"type":65,"value":3457},"services",{"type":65,"value":3459}," in server routes.",{"type":60,"tag":61,"props":3461,"children":3462},{},[3463,3467,3468],{"type":60,"tag":113,"props":3464,"children":3465},{},[3466],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3469,"children":3472},{"href":3470,"rel":3471},"https://github.com/nuxt-community/supabase-module/compare/v0.1.11...v0.1.14",[125],[3473],{"type":65,"value":3470},{"title":53,"searchDepth":72,"depth":72,"links":3475},[3476],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.14","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.14","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.14",{"name":281,"url":282,"avatar":283},"github:v0.1.14.md",{"name":3483,"tag_name":3483,"date":3484,"body":3485,"v":279,"url":3511,"tarball":3512,"zipball":3513,"prerelease":54,"author":3514,"title":53,"description":53,"_type":74,"_id":3515},"v0.1.11","2022-05-06T08:51:02Z",{"type":57,"children":3486,"toc":3509},[3487,3495],{"type":60,"tag":105,"props":3488,"children":3489},{},[3490],{"type":60,"tag":109,"props":3491,"children":3492},{},[3493],{"type":65,"value":3494},"chore: upgrade deps",{"type":60,"tag":61,"props":3496,"children":3497},{},[3498,3502,3503],{"type":60,"tag":113,"props":3499,"children":3500},{},[3501],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3504,"children":3507},{"href":3505,"rel":3506},"https://github.com/nuxt-community/supabase-module/compare/v0.1.9...v0.1.11",[125],[3508],{"type":65,"value":3505},{"title":53,"searchDepth":72,"depth":72,"links":3510},[],"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.11","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.11","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.11",{"name":281,"url":282,"avatar":283},"github:v0.1.11.md",{"name":3517,"tag_name":3517,"date":3518,"body":3519,"v":279,"url":3572,"tarball":3573,"zipball":3574,"prerelease":54,"author":3575,"title":53,"description":53,"_type":74,"_id":3579},"v0.1.9","2022-04-20T11:07:23Z",{"type":57,"children":3520,"toc":3570},[3521,3556],{"type":60,"tag":105,"props":3522,"children":3523},{},[3524],{"type":60,"tag":109,"props":3525,"children":3526},{},[3527,3529,3535,3536,3542,3543,3555],{"type":65,"value":3528},"fix: use ",{"type":60,"tag":486,"props":3530,"children":3532},{"className":3531},[],[3533],{"type":65,"value":3534},"#imports",{"type":65,"value":2074},{"type":60,"tag":486,"props":3537,"children":3539},{"className":3538},[],[3540],{"type":65,"value":3541},"#nitro",{"type":65,"value":384},{"type":60,"tag":121,"props":3544,"children":3547},{"href":3545,"rel":3546},"https://github.com/nuxt-community/supabase-module/commit/42af598b7d9f3adf2c577c20e9cfb68bbb17d52b",[125],[3548,3549],{"type":65,"value":2878},{"type":60,"tag":486,"props":3550,"children":3552},{"className":3551},[],[3553],{"type":65,"value":3554},"42af598",{"type":65,"value":130},{"type":60,"tag":61,"props":3557,"children":3558},{},[3559,3563,3564],{"type":60,"tag":113,"props":3560,"children":3561},{},[3562],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3565,"children":3568},{"href":3566,"rel":3567},"https://github.com/nuxt-community/supabase-module/compare/v0.1.8...v0.1.9",[125],[3569],{"type":65,"value":3566},{"title":53,"searchDepth":72,"depth":72,"links":3571},[],"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.9","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.9","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.9",{"name":3576,"url":3577,"avatar":3578},"Atinux","https://github.com/Atinux","https://avatars.githubusercontent.com/u/904724?v=4","github:v0.1.9.md",{"name":3581,"tag_name":3581,"date":3582,"body":3583,"v":279,"url":3639,"tarball":3640,"zipball":3641,"prerelease":54,"author":3642,"title":53,"description":53,"_type":74,"_id":3643},"v0.1.8","2022-04-13T12:26:33Z",{"type":57,"children":3584,"toc":3636},[3585,3589],{"type":60,"tag":91,"props":3586,"children":3587},{"id":93},[3588],{"type":65,"value":96},{"type":60,"tag":105,"props":3590,"children":3591},{},[3592,3609],{"type":60,"tag":109,"props":3593,"children":3594},{},[3595,3597],{"type":65,"value":3596},"fix: update runtime config fetch and override in ",{"type":60,"tag":121,"props":3598,"children":3601},{"href":3599,"rel":3600},"https://github.com/nuxt-community/supabase-module/commit/260ebc7be39dfa65902ad4fe6a49639c99a69da8",[125],[3602,3603],{"type":65,"value":2878},{"type":60,"tag":486,"props":3604,"children":3606},{"className":3605},[],[3607],{"type":65,"value":3608},"260ebc7",{"type":60,"tag":109,"props":3610,"children":3611},{},[3612,3614,3626,3628,3635],{"type":65,"value":3613},"feat: handle session with defineEventHandler in ",{"type":60,"tag":121,"props":3615,"children":3618},{"href":3616,"rel":3617},"https://github.com/nuxt-community/supabase-module/commit/e646b1ce03773bf44932824726f280ad15455ec2",[125],[3619,3620],{"type":65,"value":2878},{"type":60,"tag":486,"props":3621,"children":3623},{"className":3622},[],[3624],{"type":65,"value":3625},"e646b1c",{"type":65,"value":3627}," (Check ",{"type":60,"tag":121,"props":3629,"children":3632},{"href":3630,"rel":3631},"https://v3.nuxtjs.org/guide/features/server-routes",[125],[3633],{"type":65,"value":3634},"Nuxt doc",{"type":65,"value":130},{"title":53,"searchDepth":72,"depth":72,"links":3637},[3638],{"id":93,"depth":72,"text":96},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.8","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.8","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.8",{"name":281,"url":282,"avatar":283},"github:v0.1.8.md",{"name":3645,"tag_name":3645,"date":3646,"body":3647,"v":279,"url":3725,"tarball":3726,"zipball":3727,"prerelease":54,"reactions":3728,"author":3730,"title":53,"description":53,"_type":74,"_id":3731},"v0.1.7","2022-04-07T21:31:24Z",{"type":57,"children":3648,"toc":3721},[3649,3653,3696,3700],{"type":60,"tag":91,"props":3650,"children":3651},{"id":93},[3652],{"type":65,"value":96},{"type":60,"tag":105,"props":3654,"children":3655},{},[3656,3673],{"type":60,"tag":109,"props":3657,"children":3658},{},[3659,3661],{"type":65,"value":3660},"fix: assert method and use correct key for server middleware in ",{"type":60,"tag":121,"props":3662,"children":3665},{"href":3663,"rel":3664},"https://github.com/nuxt-community/supabase-module/commit/8a4d63101e6d2bc24563f7944988909ec7dcc6e5",[125],[3666,3667],{"type":65,"value":2878},{"type":60,"tag":486,"props":3668,"children":3670},{"className":3669},[],[3671],{"type":65,"value":3672},"8a4d631",{"type":60,"tag":109,"props":3674,"children":3675},{},[3676,3678,3688,3689],{"type":65,"value":3677},"fix: replace #config with #nitro by ",{"type":60,"tag":121,"props":3679,"children":3682},{"href":3680,"rel":3681},"https://github.com/psto",[125],[3683],{"type":60,"tag":113,"props":3684,"children":3685},{},[3686],{"type":65,"value":3687},"@psto",{"type":65,"value":2361},{"type":60,"tag":121,"props":3690,"children":3693},{"href":3691,"rel":3692},"https://github.com/nuxt-community/supabase-module/pull/23",[125],[3694],{"type":65,"value":3695},"nuxt-community/supabase-module#23",{"type":60,"tag":91,"props":3697,"children":3698},{"id":2971},[3699],{"type":65,"value":2974},{"type":60,"tag":105,"props":3701,"children":3702},{},[3703],{"type":60,"tag":109,"props":3704,"children":3705},{},[3706,3714,3716],{"type":60,"tag":121,"props":3707,"children":3709},{"href":3680,"rel":3708},[125],[3710],{"type":60,"tag":113,"props":3711,"children":3712},{},[3713],{"type":65,"value":3687},{"type":65,"value":3715}," made their first contribution in ",{"type":60,"tag":121,"props":3717,"children":3719},{"href":3691,"rel":3718},[125],[3720],{"type":65,"value":3695},{"title":53,"searchDepth":72,"depth":72,"links":3722},[3723,3724],{"id":93,"depth":72,"text":96},{"id":2971,"depth":72,"text":2974},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.7","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.7","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.7",{"url":3729,"total_count":268,"+1":279,"-1":279,"laugh":279,"hooray":268,"confused":279,"heart":279,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/63922233/reactions",{"name":3576,"url":3577,"avatar":3578},"github:v0.1.7.md",{"name":3733,"tag_name":3733,"date":3734,"body":3735,"v":279,"url":3782,"tarball":3783,"zipball":3784,"prerelease":54,"reactions":3785,"author":3788,"title":53,"description":53,"_type":74,"_id":3789},"v0.1.5","2022-04-04T10:15:21Z",{"type":57,"children":3736,"toc":3779},[3737,3741,3765],{"type":60,"tag":98,"props":3738,"children":3739},{"id":100},[3740],{"type":65,"value":103},{"type":60,"tag":105,"props":3742,"children":3743},{},[3744],{"type":60,"tag":109,"props":3745,"children":3746},{},[3747,3749,3756,3758],{"type":65,"value":3748},"remove lodash.clonedeep (",{"type":60,"tag":121,"props":3750,"children":3753},{"href":3751,"rel":3752},"https://github.com/nuxt-community/supabase-module/commit/b5c5c60358ab192b98c8a63185f58a2eb0ab706a",[125],[3754],{"type":65,"value":3755},"b5c5c60",{"type":65,"value":3757},"), resolved ",{"type":60,"tag":121,"props":3759,"children":3762},{"href":3760,"rel":3761},"https://github.com/nuxt-modules/supabase/issues/21",[125],[3763],{"type":65,"value":3764},"#21",{"type":60,"tag":61,"props":3766,"children":3767},{},[3768,3772,3773],{"type":60,"tag":113,"props":3769,"children":3770},{},[3771],{"type":65,"value":626},{"type":65,"value":628},{"type":60,"tag":121,"props":3774,"children":3777},{"href":3775,"rel":3776},"https://github.com/nuxt-community/supabase-module/compare/v0.1.4...v0.1.5",[125],[3778],{"type":65,"value":3775},{"title":53,"searchDepth":72,"depth":72,"links":3780},[3781],{"id":100,"depth":268,"text":103},"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.5","https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.5","https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.5",{"url":3786,"total_count":3787,"+1":279,"-1":279,"laugh":279,"hooray":278,"confused":279,"heart":72,"rocket":279,"eyes":279},"https://api.github.com/repos/nuxt-modules/supabase/releases/63507078/reactions",6,{"name":3576,"url":3577,"avatar":3578},"github:v0.1.5.md",1706281080432] \ No newline at end of file diff --git a/changelog/index.html b/changelog/index.html index f3fb1aab..d828757e 100644 --- a/changelog/index.html +++ b/changelog/index.html @@ -65,41 +65,41 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + - - + + - -
mobile favicon

Changelog

Discover the latest updates of the Supabase Module

Discover the lastest updates.

v1.1.5 December 28, 2023

What's Changed

Bug Fixes

  • server: fetch user from session (7a3b73c)

Improvements

  • app: use module-builder stub mode for more accurate types #315

Docs

  • get-started: bun command #317
  • readme: typo in #dev section #316

💚 Thanks for the help from

@danielroe @joshuabyler @hafizjavaid @@ -123,5 +123,5 @@ @tnntwister @yannaufray @DamianGlowala

v0.3.3 March 31, 2023

What's Changed

  • perf(useSupabaseAuthClient): avoid declaring unused variables (#166) (8c070b9)
  • feat(demo): add call from server route (989a91e)
  • chore(demo): upgrade deps (9ebbc77)
  • chore(deps): upgrade (e274a5e)
  • docs(composables): correct grammar errors (#162) (034d7df)
  • docs(readme): add nuxt badge (68271b8)
  • docs(demo): fix typo (#125) (bd33d12)
  • docs(get-started): fix typos (#154) (ba437a8)
  • chore(module): conditionally add redirect plugin (#157) (0cad0a5)
  • chore(app): move to pnpm (94f7e13)
  • docs(links): update nuxt & supabase links and fix typos (#126) (5699dc6)
  • chore(demo): generate database types from supabase cli (bca1992)

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.3

v0.3.1 February 7, 2023

What's Changed

  • chore(app): upgrade deps and fix lint (68baf68)
  • fix(client): unset user before session on logout (ab574ef)
  • chore(demo): update with latest and fix logout

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.3.0...v0.3.1

v0.3.0 November 22, 2022

⚠️ BREAKING CHANGES ⚠️

What's Changed

In order to resolve #114, I have made the choice to separate the useSupabaseClient in two other composables:

  • The useSupabaseAuthClient is dedicated to authentification purpose only. It won't be recreate if your token expires, it is used in the client plugin to listen to onAuthStateChange events.
  • The useSupabaseClient is now only useful for data request.

To avoid regression you just need to use useSupabaseAuthClient instead of useSupabaseClient everywhere you use Supabase auth methods.

Documentation has been updated.

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.2.6...v0.3.0

v0.2.5 November 22, 2022

What's Changed

  • fix: use Router instead of navigateTo for login redirect in 79fc0e4 (resolves #89)

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.2.4...v0.2.5

v0.2.3 November 11, 2022

What's Changed

Contributors

Thanks to @manniL and @levibe 💚

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.2.0...v0.2.3

v0.2.0 October 17, 2022

What's Changed

⚠️ Breaking Changes

Upgrade to supabase-js v2, check Supabase release notes.

Module documentation has been updated in favor of supabase v2 syntax.

Please feel free to make PR if I missed something 🙏

🚀 Features

  • options: redirect user after signout or when user is not authenticated (check documentation)
  • session: set refresh token #18

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.28...v0.2.0

v0.2.0 August 16, 2022

What's Changed

⚠️ Breaking Changes

Upgrade to supabase-js v2, check Supabase release notes.

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.22...v0.2.0

v0.1.25 September 5, 2022

What's Changed

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.23...v0.1.25

v0.1.16 June 1, 2022

What's Changed

Checkout the new documentation !

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.14...v0.1.16

v0.1.14 May 13, 2022

What's Changed

You can check the documentation updated for the use of services in server routes.

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.11...v0.1.14

v0.1.8 April 13, 2022

What's Changed

v0.1.7 April 7, 2022

What's Changed

New Contributors


Made with Nuxt Studio
- - \ No newline at end of file + + \ No newline at end of file diff --git a/demo/_payload.json b/demo/_payload.json index cb08ee0f..07638472 100644 --- a/demo/_payload.json +++ b/demo/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":154},["Reactive",2],{"navigation":3,"/demo":52,"/demo-surround":149},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":42,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":41,"description":55,"icon":43,"body":56,"_type":144,"_id":145,"_source":146,"_file":147,"_extension":148},"",false,"Demonstration of using Supabase with Nuxt.",{"type":57,"children":58,"toc":138},"root",[59,66,82,89,100,106,120,126],{"type":60,"tag":61,"props":62,"children":63},"element","p",{},[64],{"type":65,"value":55},"text",{"type":60,"tag":61,"props":67,"children":68},{},[69],{"type":60,"tag":70,"props":71,"children":75},"a",{"href":72,"rel":73},"https://n3-supabase.netlify.app",[74],"nofollow",[76],{"type":60,"tag":77,"props":78,"children":81},"img",{"alt":79,"src":80},"Supabase demo with Nuxt 3","https://user-images.githubusercontent.com/904724/160422461-8f87500a-8dec-4413-86b2-ba04e1b2d17b.png",[],{"type":60,"tag":83,"props":84,"children":86},"h2",{"id":85},"live-demo",[87],{"type":65,"value":88},"Live demo",{"type":60,"tag":61,"props":90,"children":91},{},[92,94],{"type":65,"value":93},"You can play with the demo on ",{"type":60,"tag":70,"props":95,"children":97},{"href":72,"rel":96},[74],[98],{"type":65,"value":99},"n3-supabase.netlify.app",{"type":60,"tag":83,"props":101,"children":103},{"id":102},"running-locally",[104],{"type":65,"value":105},"Running locally",{"type":60,"tag":61,"props":107,"children":108},{},[109,111,118],{"type":65,"value":110},"Follow the instruction in the ",{"type":60,"tag":70,"props":112,"children":115},{"href":113,"rel":114},"https://github.com/nuxt-community/supabase-module/tree/main/demo",[74],[116],{"type":65,"value":117},"demo Readme",{"type":65,"value":119},".",{"type":60,"tag":83,"props":121,"children":123},{"id":122},"source-code",[124],{"type":65,"value":125},"Source code",{"type":60,"tag":61,"props":127,"children":128},{},[129,131,137],{"type":65,"value":130},"The source code is available on Github in the ",{"type":60,"tag":70,"props":132,"children":134},{"href":113,"rel":133},[74],[135],{"type":65,"value":136},"demo/ directory",{"type":65,"value":119},{"title":53,"searchDepth":139,"depth":139,"links":140},2,[141,142,143],{"id":85,"depth":139,"text":88},{"id":102,"depth":139,"text":105},{"id":122,"depth":139,"text":125},"markdown","content:5.demo.md","content","5.demo.md","md",[150,152],{"_path":38,"title":37,"description":151},"Get your Supabase user from serverside with the serverSupabaseUser service",{"_path":46,"title":45,"description":153},"Discover the latest updates of the Supabase Module",1706280924807] \ No newline at end of file +[{"data":1,"prerenderedAt":154},["Reactive",2],{"navigation":3,"/demo":52,"/demo-surround":149},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":42,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":41,"description":55,"icon":43,"body":56,"_type":144,"_id":145,"_source":146,"_file":147,"_extension":148},"",false,"Demonstration of using Supabase with Nuxt.",{"type":57,"children":58,"toc":138},"root",[59,66,82,89,100,106,120,126],{"type":60,"tag":61,"props":62,"children":63},"element","p",{},[64],{"type":65,"value":55},"text",{"type":60,"tag":61,"props":67,"children":68},{},[69],{"type":60,"tag":70,"props":71,"children":75},"a",{"href":72,"rel":73},"https://n3-supabase.netlify.app",[74],"nofollow",[76],{"type":60,"tag":77,"props":78,"children":81},"img",{"alt":79,"src":80},"Supabase demo with Nuxt 3","https://user-images.githubusercontent.com/904724/160422461-8f87500a-8dec-4413-86b2-ba04e1b2d17b.png",[],{"type":60,"tag":83,"props":84,"children":86},"h2",{"id":85},"live-demo",[87],{"type":65,"value":88},"Live demo",{"type":60,"tag":61,"props":90,"children":91},{},[92,94],{"type":65,"value":93},"You can play with the demo on ",{"type":60,"tag":70,"props":95,"children":97},{"href":72,"rel":96},[74],[98],{"type":65,"value":99},"n3-supabase.netlify.app",{"type":60,"tag":83,"props":101,"children":103},{"id":102},"running-locally",[104],{"type":65,"value":105},"Running locally",{"type":60,"tag":61,"props":107,"children":108},{},[109,111,118],{"type":65,"value":110},"Follow the instruction in the ",{"type":60,"tag":70,"props":112,"children":115},{"href":113,"rel":114},"https://github.com/nuxt-community/supabase-module/tree/main/demo",[74],[116],{"type":65,"value":117},"demo Readme",{"type":65,"value":119},".",{"type":60,"tag":83,"props":121,"children":123},{"id":122},"source-code",[124],{"type":65,"value":125},"Source code",{"type":60,"tag":61,"props":127,"children":128},{},[129,131,137],{"type":65,"value":130},"The source code is available on Github in the ",{"type":60,"tag":70,"props":132,"children":134},{"href":113,"rel":133},[74],[135],{"type":65,"value":136},"demo/ directory",{"type":65,"value":119},{"title":53,"searchDepth":139,"depth":139,"links":140},2,[141,142,143],{"id":85,"depth":139,"text":88},{"id":102,"depth":139,"text":105},{"id":122,"depth":139,"text":125},"markdown","content:5.demo.md","content","5.demo.md","md",[150,152],{"_path":38,"title":37,"description":151},"Get your Supabase user from serverside with the serverSupabaseUser service",{"_path":46,"title":45,"description":153},"Discover the latest updates of the Supabase Module",1706281080429] \ No newline at end of file diff --git a/demo/index.html b/demo/index.html index 5d0e8bb6..fb963737 100644 --- a/demo/index.html +++ b/demo/index.html @@ -65,35 +65,35 @@ - - - - - - - - - - - - + + + + + + + + + + + + - + - - - - - - - + + + + + + + - - + + - -
- - \ No newline at end of file + + \ No newline at end of file diff --git a/get-started/_payload.json b/get-started/_payload.json index 85368ea1..0a9213b3 100644 --- a/get-started/_payload.json +++ b/get-started/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":1443},["Reactive",2],{"navigation":3,"/get-started":52,"/get-started-surround":1439},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":6,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":5,"description":55,"icon":7,"body":56,"_type":1434,"_id":1435,"_source":1436,"_file":1437,"_extension":1438},"",false,"@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.",{"type":57,"children":58,"toc":1419},"root",[59,76,99,119,126,139,267,294,391,417,476,493,499,519,602,612,632,637,646,656,661,671,681,686,695,705,710,720,725,857,966,976,986,1012,1018,1134,1147,1157,1161,1303,1316,1322,1340,1344,1361,1366,1386,1399,1413],{"type":60,"tag":61,"props":62,"children":63},"element","p",{},[64,74],{"type":60,"tag":65,"props":66,"children":70},"a",{"href":67,"rel":68},"https://github.com/nuxt-modules/supabase",[69],"nofollow",[71],{"type":72,"value":73},"text","@nuxtjs/supabase",{"type":72,"value":75}," is a Nuxt module for first class integration with Supabase.",{"type":60,"tag":61,"props":77,"children":78},{},[79,81,88,90,97],{"type":72,"value":80},"Checkout the ",{"type":60,"tag":65,"props":82,"children":85},{"href":83,"rel":84},"https://v3.nuxtjs.org",[69],[86],{"type":72,"value":87},"Nuxt 3",{"type":72,"value":89}," documentation and ",{"type":60,"tag":65,"props":91,"children":94},{"href":92,"rel":93},"https://supabase.com",[69],[95],{"type":72,"value":96},"Supabase",{"type":72,"value":98}," to learn more.",{"type":60,"tag":100,"props":101,"children":104},"callout",{"icon":102,"color":103},"i-heroicons-exclamation-triangle-20-solid","amber",[105],{"type":60,"tag":61,"props":106,"children":107},{},[108,110,117],{"type":72,"value":109},"For integrating Supabase with Nuxt 2, checkout ",{"type":60,"tag":65,"props":111,"children":114},{"href":112,"rel":113},"https://github.com/supabase-community/nuxt-supabase",[69],[115],{"type":72,"value":116},"supabase-community/nuxt-supabase",{"type":72,"value":118},".",{"type":60,"tag":120,"props":121,"children":123},"h2",{"id":122},"installation",[124],{"type":72,"value":125},"Installation",{"type":60,"tag":61,"props":127,"children":128},{},[129,131,137],{"type":72,"value":130},"Add ",{"type":60,"tag":132,"props":133,"children":135},"code",{"className":134},[],[136],{"type":72,"value":73},{"type":72,"value":138}," dev dependency to your project:",{"type":60,"tag":140,"props":141,"children":142},"code-group",{},[143,181,209,240],{"type":60,"tag":144,"props":145,"children":150},"pre",{"className":146,"code":147,"filename":148,"language":149,"meta":53,"style":53},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add -D @nuxtjs/supabase\n","pnpm","bash",[151],{"type":60,"tag":132,"props":152,"children":153},{"__ignoreMap":53},[154],{"type":60,"tag":155,"props":156,"children":159},"span",{"class":157,"line":158},"line",1,[160,165,171,176],{"type":60,"tag":155,"props":161,"children":163},{"style":162},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[164],{"type":72,"value":148},{"type":60,"tag":155,"props":166,"children":168},{"style":167},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[169],{"type":72,"value":170}," add",{"type":60,"tag":155,"props":172,"children":173},{"style":167},[174],{"type":72,"value":175}," -D",{"type":60,"tag":155,"props":177,"children":178},{"style":167},[179],{"type":72,"value":180}," @nuxtjs/supabase\n",{"type":60,"tag":144,"props":182,"children":185},{"className":146,"code":183,"filename":184,"language":149,"meta":53,"style":53},"yarn add --dev @nuxtjs/supabase\n","yarn",[186],{"type":60,"tag":132,"props":187,"children":188},{"__ignoreMap":53},[189],{"type":60,"tag":155,"props":190,"children":191},{"class":157,"line":158},[192,196,200,205],{"type":60,"tag":155,"props":193,"children":194},{"style":162},[195],{"type":72,"value":184},{"type":60,"tag":155,"props":197,"children":198},{"style":167},[199],{"type":72,"value":170},{"type":60,"tag":155,"props":201,"children":202},{"style":167},[203],{"type":72,"value":204}," --dev",{"type":60,"tag":155,"props":206,"children":207},{"style":167},[208],{"type":72,"value":180},{"type":60,"tag":144,"props":210,"children":213},{"className":146,"code":211,"filename":212,"language":149,"meta":53,"style":53},"npm install @nuxtjs/supabase --save-dev\n","NPM",[214],{"type":60,"tag":132,"props":215,"children":216},{"__ignoreMap":53},[217],{"type":60,"tag":155,"props":218,"children":219},{"class":157,"line":158},[220,225,230,235],{"type":60,"tag":155,"props":221,"children":222},{"style":162},[223],{"type":72,"value":224},"npm",{"type":60,"tag":155,"props":226,"children":227},{"style":167},[228],{"type":72,"value":229}," install",{"type":60,"tag":155,"props":231,"children":232},{"style":167},[233],{"type":72,"value":234}," @nuxtjs/supabase",{"type":60,"tag":155,"props":236,"children":237},{"style":167},[238],{"type":72,"value":239}," --save-dev\n",{"type":60,"tag":144,"props":241,"children":244},{"className":146,"code":242,"filename":243,"language":149,"meta":53,"style":53},"bun add -D @nuxtjs/supabase\n","bun",[245],{"type":60,"tag":132,"props":246,"children":247},{"__ignoreMap":53},[248],{"type":60,"tag":155,"props":249,"children":250},{"class":157,"line":158},[251,255,259,263],{"type":60,"tag":155,"props":252,"children":253},{"style":162},[254],{"type":72,"value":243},{"type":60,"tag":155,"props":256,"children":257},{"style":167},[258],{"type":72,"value":170},{"type":60,"tag":155,"props":260,"children":261},{"style":167},[262],{"type":72,"value":175},{"type":60,"tag":155,"props":264,"children":265},{"style":167},[266],{"type":72,"value":180},{"type":60,"tag":61,"props":268,"children":269},{},[270,271,276,278,284,286,292],{"type":72,"value":130},{"type":60,"tag":132,"props":272,"children":274},{"className":273},[],[275],{"type":72,"value":73},{"type":72,"value":277}," to the ",{"type":60,"tag":132,"props":279,"children":281},{"className":280},[],[282],{"type":72,"value":283},"modules",{"type":72,"value":285}," section of ",{"type":60,"tag":132,"props":287,"children":289},{"className":288},[],[290],{"type":72,"value":291},"nuxt.config.ts",{"type":72,"value":293},":",{"type":60,"tag":144,"props":295,"children":299},{"className":296,"code":297,"filename":291,"language":298,"meta":53,"style":53},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n modules: ['@nuxtjs/supabase'],\n})\n","ts",[300],{"type":60,"tag":132,"props":301,"children":302},{"__ignoreMap":53},[303,335,377],{"type":60,"tag":155,"props":304,"children":305},{"class":157,"line":158},[306,312,317,323,329],{"type":60,"tag":155,"props":307,"children":309},{"style":308},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[310],{"type":72,"value":311},"export",{"type":60,"tag":155,"props":313,"children":314},{"style":308},[315],{"type":72,"value":316}," default",{"type":60,"tag":155,"props":318,"children":320},{"style":319},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[321],{"type":72,"value":322}," defineNuxtConfig",{"type":60,"tag":155,"props":324,"children":326},{"style":325},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[327],{"type":72,"value":328},"(",{"type":60,"tag":155,"props":330,"children":332},{"style":331},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[333],{"type":72,"value":334},"{\n",{"type":60,"tag":155,"props":336,"children":338},{"class":157,"line":337},2,[339,345,349,354,359,363,367,372],{"type":60,"tag":155,"props":340,"children":342},{"style":341},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[343],{"type":72,"value":344}," modules",{"type":60,"tag":155,"props":346,"children":347},{"style":331},[348],{"type":72,"value":293},{"type":60,"tag":155,"props":350,"children":351},{"style":325},[352],{"type":72,"value":353}," [",{"type":60,"tag":155,"props":355,"children":356},{"style":331},[357],{"type":72,"value":358},"'",{"type":60,"tag":155,"props":360,"children":361},{"style":167},[362],{"type":72,"value":73},{"type":60,"tag":155,"props":364,"children":365},{"style":331},[366],{"type":72,"value":358},{"type":60,"tag":155,"props":368,"children":369},{"style":325},[370],{"type":72,"value":371},"]",{"type":60,"tag":155,"props":373,"children":374},{"style":331},[375],{"type":72,"value":376},",\n",{"type":60,"tag":155,"props":378,"children":380},{"class":157,"line":379},3,[381,386],{"type":60,"tag":155,"props":382,"children":383},{"style":331},[384],{"type":72,"value":385},"}",{"type":60,"tag":155,"props":387,"children":388},{"style":325},[389],{"type":72,"value":390},")\n",{"type":60,"tag":61,"props":392,"children":393},{},[394,395,401,403,409,410,416],{"type":72,"value":130},{"type":60,"tag":132,"props":396,"children":398},{"className":397},[],[399],{"type":72,"value":400},"SUPABASE_URL",{"type":72,"value":402}," and ",{"type":60,"tag":132,"props":404,"children":406},{"className":405},[],[407],{"type":72,"value":408},"SUPABASE_KEY",{"type":72,"value":277},{"type":60,"tag":132,"props":411,"children":413},{"className":412},[],[414],{"type":72,"value":415},".env",{"type":72,"value":293},{"type":60,"tag":144,"props":418,"children":421},{"className":146,"code":419,"filename":420,"language":149,"meta":53,"style":53},"SUPABASE_URL=\"https://example.supabase.co\"\nSUPABASE_KEY=\"\u003Cyour_key>\"\n","env",[422],{"type":60,"tag":132,"props":423,"children":424},{"__ignoreMap":53},[425,452],{"type":60,"tag":155,"props":426,"children":427},{"class":157,"line":158},[428,432,437,442,447],{"type":60,"tag":155,"props":429,"children":430},{"style":325},[431],{"type":72,"value":400},{"type":60,"tag":155,"props":433,"children":434},{"style":331},[435],{"type":72,"value":436},"=",{"type":60,"tag":155,"props":438,"children":439},{"style":331},[440],{"type":72,"value":441},"\"",{"type":60,"tag":155,"props":443,"children":444},{"style":167},[445],{"type":72,"value":446},"https://example.supabase.co",{"type":60,"tag":155,"props":448,"children":449},{"style":331},[450],{"type":72,"value":451},"\"\n",{"type":60,"tag":155,"props":453,"children":454},{"class":157,"line":337},[455,459,463,467,472],{"type":60,"tag":155,"props":456,"children":457},{"style":325},[458],{"type":72,"value":408},{"type":60,"tag":155,"props":460,"children":461},{"style":331},[462],{"type":72,"value":436},{"type":60,"tag":155,"props":464,"children":465},{"style":331},[466],{"type":72,"value":441},{"type":60,"tag":155,"props":468,"children":469},{"style":167},[470],{"type":72,"value":471},"\u003Cyour_key>",{"type":60,"tag":155,"props":473,"children":474},{"style":331},[475],{"type":72,"value":451},{"type":60,"tag":100,"props":477,"children":479},{"icon":478},"i-heroicons-light-bulb",[480],{"type":60,"tag":61,"props":481,"children":482},{},[483,485,491],{"type":72,"value":484},"Alternatively, you can prefix the env variables with ",{"type":60,"tag":132,"props":486,"children":488},{"className":487},[],[489],{"type":72,"value":490},"NUXT_PUBLIC_",{"type":72,"value":492}," in order to use runtimeConfig.",{"type":60,"tag":120,"props":494,"children":496},{"id":495},"options",[497],{"type":72,"value":498},"Options",{"type":60,"tag":61,"props":500,"children":501},{},[502,504,510,512,518],{"type":72,"value":503},"You can configure the supabase module by using the ",{"type":60,"tag":132,"props":505,"children":507},{"className":506},[],[508],{"type":72,"value":509},"supabase",{"type":72,"value":511}," key in ",{"type":60,"tag":132,"props":513,"children":515},{"className":514},[],[516],{"type":72,"value":517},"nuxt.config",{"type":72,"value":293},{"type":60,"tag":144,"props":520,"children":522},{"className":296,"code":521,"filename":291,"language":298,"meta":53,"style":53},"export default defineNuxtConfig({\n // ...\n supabase: {\n // Options\n }\n}\n",[523],{"type":60,"tag":132,"props":524,"children":525},{"__ignoreMap":53},[526,549,558,575,584,593],{"type":60,"tag":155,"props":527,"children":528},{"class":157,"line":158},[529,533,537,541,545],{"type":60,"tag":155,"props":530,"children":531},{"style":308},[532],{"type":72,"value":311},{"type":60,"tag":155,"props":534,"children":535},{"style":308},[536],{"type":72,"value":316},{"type":60,"tag":155,"props":538,"children":539},{"style":319},[540],{"type":72,"value":322},{"type":60,"tag":155,"props":542,"children":543},{"style":325},[544],{"type":72,"value":328},{"type":60,"tag":155,"props":546,"children":547},{"style":331},[548],{"type":72,"value":334},{"type":60,"tag":155,"props":550,"children":551},{"class":157,"line":337},[552],{"type":60,"tag":155,"props":553,"children":555},{"style":554},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[556],{"type":72,"value":557}," // ...\n",{"type":60,"tag":155,"props":559,"children":560},{"class":157,"line":379},[561,566,570],{"type":60,"tag":155,"props":562,"children":563},{"style":341},[564],{"type":72,"value":565}," supabase",{"type":60,"tag":155,"props":567,"children":568},{"style":331},[569],{"type":72,"value":293},{"type":60,"tag":155,"props":571,"children":572},{"style":331},[573],{"type":72,"value":574}," {\n",{"type":60,"tag":155,"props":576,"children":578},{"class":157,"line":577},4,[579],{"type":60,"tag":155,"props":580,"children":581},{"style":554},[582],{"type":72,"value":583}," // Options\n",{"type":60,"tag":155,"props":585,"children":587},{"class":157,"line":586},5,[588],{"type":60,"tag":155,"props":589,"children":590},{"style":331},[591],{"type":72,"value":592}," }\n",{"type":60,"tag":155,"props":594,"children":596},{"class":157,"line":595},6,[597],{"type":60,"tag":155,"props":598,"children":599},{"style":331},[600],{"type":72,"value":601},"}\n",{"type":60,"tag":603,"props":604,"children":606},"h3",{"id":605},"url",[607],{"type":60,"tag":132,"props":608,"children":610},{"className":609},[],[611],{"type":72,"value":605},{"type":60,"tag":61,"props":613,"children":614},{},[615,617,623,625,630],{"type":72,"value":616},"Default: ",{"type":60,"tag":132,"props":618,"children":620},{"className":619},[],[621],{"type":72,"value":622},"process.env.SUPABASE_URL",{"type":72,"value":624}," (ex: ",{"type":60,"tag":65,"props":626,"children":628},{"href":446,"rel":627},[69],[629],{"type":72,"value":446},{"type":72,"value":631},")",{"type":60,"tag":61,"props":633,"children":634},{},[635],{"type":72,"value":636},"The unique Supabase URL which is supplied when you create a new project in your project dashboard.",{"type":60,"tag":603,"props":638,"children":640},{"id":639},"key",[641],{"type":60,"tag":132,"props":642,"children":644},{"className":643},[],[645],{"type":72,"value":639},{"type":60,"tag":61,"props":647,"children":648},{},[649,650],{"type":72,"value":616},{"type":60,"tag":132,"props":651,"children":653},{"className":652},[],[654],{"type":72,"value":655},"process.env.SUPABASE_KEY",{"type":60,"tag":61,"props":657,"children":658},{},[659],{"type":72,"value":660},"Supabase 'anon key', used to bypass the Supabase API gateway and interact with your Supabase database making use of user JWT to apply RLS Policies.",{"type":60,"tag":603,"props":662,"children":664},{"id":663},"servicekey",[665],{"type":60,"tag":132,"props":666,"children":668},{"className":667},[],[669],{"type":72,"value":670},"serviceKey",{"type":60,"tag":61,"props":672,"children":673},{},[674,675],{"type":72,"value":616},{"type":60,"tag":132,"props":676,"children":678},{"className":677},[],[679],{"type":72,"value":680},"process.env.SUPABASE_SERVICE_KEY",{"type":60,"tag":61,"props":682,"children":683},{},[684],{"type":72,"value":685},"Supabase 'service role key', has super admin rights and can bypass your Row Level Security.",{"type":60,"tag":603,"props":687,"children":689},{"id":688},"redirect",[690],{"type":60,"tag":132,"props":691,"children":693},{"className":692},[],[694],{"type":72,"value":688},{"type":60,"tag":61,"props":696,"children":697},{},[698,699],{"type":72,"value":616},{"type":60,"tag":132,"props":700,"children":702},{"className":701},[],[703],{"type":72,"value":704},"true",{"type":60,"tag":61,"props":706,"children":707},{},[708],{"type":72,"value":709},"Redirect automatically to the configured login page if a non authenticated user is trying to access a guarded. You can disable all redirects by setting this option to false.",{"type":60,"tag":603,"props":711,"children":713},{"id":712},"redirectoptions",[714],{"type":60,"tag":132,"props":715,"children":717},{"className":716},[],[718],{"type":72,"value":719},"redirectOptions",{"type":60,"tag":61,"props":721,"children":722},{},[723],{"type":72,"value":724},"Default:",{"type":60,"tag":144,"props":726,"children":728},{"className":296,"code":727,"filename":291,"language":298,"meta":53,"style":53}," redirectOptions: {\n login: '/login',\n callback: '/confirm',\n exclude: [],\n cookieRedirect: false,\n }\n",[729],{"type":60,"tag":132,"props":730,"children":731},{"__ignoreMap":53},[732,748,778,807,828,850],{"type":60,"tag":155,"props":733,"children":734},{"class":157,"line":158},[735,740,744],{"type":60,"tag":155,"props":736,"children":737},{"style":162},[738],{"type":72,"value":739}," redirectOptions",{"type":60,"tag":155,"props":741,"children":742},{"style":331},[743],{"type":72,"value":293},{"type":60,"tag":155,"props":745,"children":746},{"style":331},[747],{"type":72,"value":574},{"type":60,"tag":155,"props":749,"children":750},{"class":157,"line":337},[751,756,760,765,770,774],{"type":60,"tag":155,"props":752,"children":753},{"style":162},[754],{"type":72,"value":755}," login",{"type":60,"tag":155,"props":757,"children":758},{"style":331},[759],{"type":72,"value":293},{"type":60,"tag":155,"props":761,"children":762},{"style":331},[763],{"type":72,"value":764}," '",{"type":60,"tag":155,"props":766,"children":767},{"style":167},[768],{"type":72,"value":769},"/login",{"type":60,"tag":155,"props":771,"children":772},{"style":331},[773],{"type":72,"value":358},{"type":60,"tag":155,"props":775,"children":776},{"style":331},[777],{"type":72,"value":376},{"type":60,"tag":155,"props":779,"children":780},{"class":157,"line":379},[781,786,790,794,799,803],{"type":60,"tag":155,"props":782,"children":783},{"style":162},[784],{"type":72,"value":785}," callback",{"type":60,"tag":155,"props":787,"children":788},{"style":331},[789],{"type":72,"value":293},{"type":60,"tag":155,"props":791,"children":792},{"style":331},[793],{"type":72,"value":764},{"type":60,"tag":155,"props":795,"children":796},{"style":167},[797],{"type":72,"value":798},"/confirm",{"type":60,"tag":155,"props":800,"children":801},{"style":331},[802],{"type":72,"value":358},{"type":60,"tag":155,"props":804,"children":805},{"style":331},[806],{"type":72,"value":376},{"type":60,"tag":155,"props":808,"children":809},{"class":157,"line":577},[810,815,819,824],{"type":60,"tag":155,"props":811,"children":812},{"style":162},[813],{"type":72,"value":814}," exclude",{"type":60,"tag":155,"props":816,"children":817},{"style":331},[818],{"type":72,"value":293},{"type":60,"tag":155,"props":820,"children":821},{"style":341},[822],{"type":72,"value":823}," []",{"type":60,"tag":155,"props":825,"children":826},{"style":331},[827],{"type":72,"value":376},{"type":60,"tag":155,"props":829,"children":830},{"class":157,"line":586},[831,836,840,846],{"type":60,"tag":155,"props":832,"children":833},{"style":162},[834],{"type":72,"value":835}," cookieRedirect",{"type":60,"tag":155,"props":837,"children":838},{"style":331},[839],{"type":72,"value":293},{"type":60,"tag":155,"props":841,"children":843},{"style":842},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[844],{"type":72,"value":845}," false",{"type":60,"tag":155,"props":847,"children":848},{"style":331},[849],{"type":72,"value":376},{"type":60,"tag":155,"props":851,"children":852},{"class":157,"line":595},[853],{"type":60,"tag":155,"props":854,"children":855},{"style":331},[856],{"type":72,"value":592},{"type":60,"tag":858,"props":859,"children":860},"ul",{},[861,873,908,943],{"type":60,"tag":862,"props":863,"children":864},"li",{},[865,871],{"type":60,"tag":132,"props":866,"children":868},{"className":867},[],[869],{"type":72,"value":870},"login",{"type":72,"value":872},": User will be redirected to this path if not authenticated or after logout.",{"type":60,"tag":862,"props":874,"children":875},{},[876,882,884,890,892,899,901,907],{"type":60,"tag":132,"props":877,"children":879},{"className":878},[],[880],{"type":72,"value":881},"callback",{"type":72,"value":883},": This is the path the user will be redirect to after supabase login redirection. Should match configured ",{"type":60,"tag":132,"props":885,"children":887},{"className":886},[],[888],{"type":72,"value":889},"redirectTo",{"type":72,"value":891}," option of your ",{"type":60,"tag":65,"props":893,"children":896},{"href":894,"rel":895},"https://supabase.com/docs/reference/javascript/auth-signinwithoauth",[69],[897],{"type":72,"value":898},"signIn method",{"type":72,"value":900},". Should also be configured in your Supabase dashboard under ",{"type":60,"tag":132,"props":902,"children":904},{"className":903},[],[905],{"type":72,"value":906},"Authentication -> URL Configuration -> Redirect URLs",{"type":72,"value":118},{"type":60,"tag":862,"props":909,"children":910},{},[911,917,919,925,927,933,935,941],{"type":60,"tag":132,"props":912,"children":914},{"className":913},[],[915],{"type":72,"value":916},"exclude",{"type":72,"value":918},": Routes to exclude from the redirect. ",{"type":60,"tag":132,"props":920,"children":922},{"className":921},[],[923],{"type":72,"value":924},"['/foo', '/bar/*']",{"type":72,"value":926}," will exclude the ",{"type":60,"tag":132,"props":928,"children":930},{"className":929},[],[931],{"type":72,"value":932},"foo",{"type":72,"value":934}," page and all pages in your ",{"type":60,"tag":132,"props":936,"children":938},{"className":937},[],[939],{"type":72,"value":940},"bar",{"type":72,"value":942}," folder.",{"type":60,"tag":862,"props":944,"children":945},{},[946,952,954,964],{"type":60,"tag":132,"props":947,"children":949},{"className":948},[],[950],{"type":72,"value":951},"cookieRedirect",{"type":72,"value":953},": Sets a cookie containing the path an unauthenticated user tried to access. The cookie can then be used on the ",{"type":60,"tag":65,"props":955,"children":958},{"href":956,"rel":957},"https://supabase.nuxtjs.org/authentication#confirm-page-confirm",[69],[959],{"type":60,"tag":132,"props":960,"children":962},{"className":961},[],[963],{"type":72,"value":798},{"type":72,"value":965}," page to redirect the user to the page they previously tried to visit.",{"type":60,"tag":603,"props":967,"children":969},{"id":968},"cookiename",[970],{"type":60,"tag":132,"props":971,"children":973},{"className":972},[],[974],{"type":72,"value":975},"cookieName",{"type":60,"tag":61,"props":977,"children":978},{},[979,980],{"type":72,"value":616},{"type":60,"tag":132,"props":981,"children":983},{"className":982},[],[984],{"type":72,"value":985},"sb",{"type":60,"tag":61,"props":987,"children":988},{},[989,991,997,998,1004,1006],{"type":72,"value":990},"Cookie name used for storing access and refresh tokens, added in front of ",{"type":60,"tag":132,"props":992,"children":994},{"className":993},[],[995],{"type":72,"value":996},"-access-token",{"type":72,"value":402},{"type":60,"tag":132,"props":999,"children":1001},{"className":1000},[],[1002],{"type":72,"value":1003},"-refresh-token",{"type":72,"value":1005}," to form the full cookie name e.g. ",{"type":60,"tag":132,"props":1007,"children":1009},{"className":1008},[],[1010],{"type":72,"value":1011},"sb-access-token",{"type":60,"tag":603,"props":1013,"children":1015},{"id":1014},"cookieoptions",[1016],{"type":72,"value":1017},"cookieOptions",{"type":60,"tag":144,"props":1019,"children":1021},{"className":296,"code":1020,"language":298,"meta":53,"style":53}," cookieOptions: {\n maxAge: 60 * 60 * 8,\n sameSite: 'lax',\n secure: true\n }\n",[1022],{"type":60,"tag":132,"props":1023,"children":1024},{"__ignoreMap":53},[1025,1041,1081,1110,1127],{"type":60,"tag":155,"props":1026,"children":1027},{"class":157,"line":158},[1028,1033,1037],{"type":60,"tag":155,"props":1029,"children":1030},{"style":162},[1031],{"type":72,"value":1032}," cookieOptions",{"type":60,"tag":155,"props":1034,"children":1035},{"style":331},[1036],{"type":72,"value":293},{"type":60,"tag":155,"props":1038,"children":1039},{"style":331},[1040],{"type":72,"value":574},{"type":60,"tag":155,"props":1042,"children":1043},{"class":157,"line":337},[1044,1049,1053,1059,1064,1068,1072,1077],{"type":60,"tag":155,"props":1045,"children":1046},{"style":162},[1047],{"type":72,"value":1048}," maxAge",{"type":60,"tag":155,"props":1050,"children":1051},{"style":331},[1052],{"type":72,"value":293},{"type":60,"tag":155,"props":1054,"children":1056},{"style":1055},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1057],{"type":72,"value":1058}," 60",{"type":60,"tag":155,"props":1060,"children":1061},{"style":331},[1062],{"type":72,"value":1063}," *",{"type":60,"tag":155,"props":1065,"children":1066},{"style":1055},[1067],{"type":72,"value":1058},{"type":60,"tag":155,"props":1069,"children":1070},{"style":331},[1071],{"type":72,"value":1063},{"type":60,"tag":155,"props":1073,"children":1074},{"style":1055},[1075],{"type":72,"value":1076}," 8",{"type":60,"tag":155,"props":1078,"children":1079},{"style":331},[1080],{"type":72,"value":376},{"type":60,"tag":155,"props":1082,"children":1083},{"class":157,"line":379},[1084,1089,1093,1097,1102,1106],{"type":60,"tag":155,"props":1085,"children":1086},{"style":162},[1087],{"type":72,"value":1088}," sameSite",{"type":60,"tag":155,"props":1090,"children":1091},{"style":331},[1092],{"type":72,"value":293},{"type":60,"tag":155,"props":1094,"children":1095},{"style":331},[1096],{"type":72,"value":764},{"type":60,"tag":155,"props":1098,"children":1099},{"style":167},[1100],{"type":72,"value":1101},"lax",{"type":60,"tag":155,"props":1103,"children":1104},{"style":331},[1105],{"type":72,"value":358},{"type":60,"tag":155,"props":1107,"children":1108},{"style":331},[1109],{"type":72,"value":376},{"type":60,"tag":155,"props":1111,"children":1112},{"class":157,"line":577},[1113,1118,1122],{"type":60,"tag":155,"props":1114,"children":1115},{"style":162},[1116],{"type":72,"value":1117}," secure",{"type":60,"tag":155,"props":1119,"children":1120},{"style":331},[1121],{"type":72,"value":293},{"type":60,"tag":155,"props":1123,"children":1124},{"style":842},[1125],{"type":72,"value":1126}," true\n",{"type":60,"tag":155,"props":1128,"children":1129},{"class":157,"line":586},[1130],{"type":60,"tag":155,"props":1131,"children":1132},{"style":331},[1133],{"type":72,"value":592},{"type":60,"tag":61,"props":1135,"children":1136},{},[1137,1139,1145],{"type":72,"value":1138},"Options for cookies used to share tokens between server and client, refer to ",{"type":60,"tag":65,"props":1140,"children":1143},{"href":1141,"rel":1142},"https://nuxt.com/docs/api/composables/use-cookie#options",[69],[1144],{"type":72,"value":1017},{"type":72,"value":1146}," for available settings. Please note that the lifetime set here does not determine the Supabase session lifetime.",{"type":60,"tag":603,"props":1148,"children":1150},{"id":1149},"clientoptions",[1151],{"type":60,"tag":132,"props":1152,"children":1154},{"className":1153},[],[1155],{"type":72,"value":1156},"clientOptions",{"type":60,"tag":61,"props":1158,"children":1159},{},[1160],{"type":72,"value":724},{"type":60,"tag":144,"props":1162,"children":1164},{"className":296,"code":1163,"language":298,"meta":53,"style":53}," clientOptions: {\n auth: {\n flowType: 'pkce',\n detectSessionInUrl: true,\n persistSession: true,\n autoRefreshToken: true\n },\n }\n",[1165],{"type":60,"tag":132,"props":1166,"children":1167},{"__ignoreMap":53},[1168,1184,1200,1229,1250,1270,1286,1295],{"type":60,"tag":155,"props":1169,"children":1170},{"class":157,"line":158},[1171,1176,1180],{"type":60,"tag":155,"props":1172,"children":1173},{"style":162},[1174],{"type":72,"value":1175}," clientOptions",{"type":60,"tag":155,"props":1177,"children":1178},{"style":331},[1179],{"type":72,"value":293},{"type":60,"tag":155,"props":1181,"children":1182},{"style":331},[1183],{"type":72,"value":574},{"type":60,"tag":155,"props":1185,"children":1186},{"class":157,"line":337},[1187,1192,1196],{"type":60,"tag":155,"props":1188,"children":1189},{"style":162},[1190],{"type":72,"value":1191}," auth",{"type":60,"tag":155,"props":1193,"children":1194},{"style":331},[1195],{"type":72,"value":293},{"type":60,"tag":155,"props":1197,"children":1198},{"style":331},[1199],{"type":72,"value":574},{"type":60,"tag":155,"props":1201,"children":1202},{"class":157,"line":379},[1203,1208,1212,1216,1221,1225],{"type":60,"tag":155,"props":1204,"children":1205},{"style":162},[1206],{"type":72,"value":1207}," flowType",{"type":60,"tag":155,"props":1209,"children":1210},{"style":331},[1211],{"type":72,"value":293},{"type":60,"tag":155,"props":1213,"children":1214},{"style":331},[1215],{"type":72,"value":764},{"type":60,"tag":155,"props":1217,"children":1218},{"style":167},[1219],{"type":72,"value":1220},"pkce",{"type":60,"tag":155,"props":1222,"children":1223},{"style":331},[1224],{"type":72,"value":358},{"type":60,"tag":155,"props":1226,"children":1227},{"style":331},[1228],{"type":72,"value":376},{"type":60,"tag":155,"props":1230,"children":1231},{"class":157,"line":577},[1232,1237,1241,1246],{"type":60,"tag":155,"props":1233,"children":1234},{"style":162},[1235],{"type":72,"value":1236}," detectSessionInUrl",{"type":60,"tag":155,"props":1238,"children":1239},{"style":331},[1240],{"type":72,"value":293},{"type":60,"tag":155,"props":1242,"children":1243},{"style":842},[1244],{"type":72,"value":1245}," true",{"type":60,"tag":155,"props":1247,"children":1248},{"style":331},[1249],{"type":72,"value":376},{"type":60,"tag":155,"props":1251,"children":1252},{"class":157,"line":586},[1253,1258,1262,1266],{"type":60,"tag":155,"props":1254,"children":1255},{"style":162},[1256],{"type":72,"value":1257}," persistSession",{"type":60,"tag":155,"props":1259,"children":1260},{"style":331},[1261],{"type":72,"value":293},{"type":60,"tag":155,"props":1263,"children":1264},{"style":842},[1265],{"type":72,"value":1245},{"type":60,"tag":155,"props":1267,"children":1268},{"style":331},[1269],{"type":72,"value":376},{"type":60,"tag":155,"props":1271,"children":1272},{"class":157,"line":595},[1273,1278,1282],{"type":60,"tag":155,"props":1274,"children":1275},{"style":162},[1276],{"type":72,"value":1277}," autoRefreshToken",{"type":60,"tag":155,"props":1279,"children":1280},{"style":331},[1281],{"type":72,"value":293},{"type":60,"tag":155,"props":1283,"children":1284},{"style":842},[1285],{"type":72,"value":1126},{"type":60,"tag":155,"props":1287,"children":1289},{"class":157,"line":1288},7,[1290],{"type":60,"tag":155,"props":1291,"children":1292},{"style":331},[1293],{"type":72,"value":1294}," },\n",{"type":60,"tag":155,"props":1296,"children":1298},{"class":157,"line":1297},8,[1299],{"type":60,"tag":155,"props":1300,"children":1301},{"style":331},[1302],{"type":72,"value":592},{"type":60,"tag":61,"props":1304,"children":1305},{},[1306,1308,1315],{"type":72,"value":1307},"Supabase client options ",{"type":60,"tag":65,"props":1309,"children":1312},{"href":1310,"rel":1311},"https://supabase.com/docs/reference/javascript/initializing#parameters",[69],[1313],{"type":72,"value":1314},"available here",{"type":72,"value":118},{"type":60,"tag":120,"props":1317,"children":1319},{"id":1318},"versions",[1320],{"type":72,"value":1321},"Versions",{"type":60,"tag":61,"props":1323,"children":1324},{},[1325,1331,1333,1339],{"type":60,"tag":132,"props":1326,"children":1328},{"className":1327},[],[1329],{"type":72,"value":1330},"0.1.x",{"type":72,"value":1332}," versions are wrapped around ",{"type":60,"tag":132,"props":1334,"children":1336},{"className":1335},[],[1337],{"type":72,"value":1338},"supabase-js v1",{"type":72,"value":118},{"type":60,"tag":1341,"props":1342,"children":1343},"br",{},[],{"type":60,"tag":61,"props":1345,"children":1346},{},[1347,1353,1354,1360],{"type":60,"tag":132,"props":1348,"children":1350},{"className":1349},[],[1351],{"type":72,"value":1352},"1.x.x",{"type":72,"value":1332},{"type":60,"tag":132,"props":1355,"children":1357},{"className":1356},[],[1358],{"type":72,"value":1359},"supabase-js v2",{"type":72,"value":118},{"type":60,"tag":120,"props":1362,"children":1364},{"id":1363},"demo",[1365],{"type":72,"value":41},{"type":60,"tag":61,"props":1367,"children":1368},{},[1369,1371,1378,1380,1385],{"type":72,"value":1370},"A live demo is made for see this module in action on ",{"type":60,"tag":65,"props":1372,"children":1375},{"href":1373,"rel":1374},"https://n3-supabase.netlify.app",[69],[1376],{"type":72,"value":1377},"n3-supabase.netlify.app",{"type":72,"value":1379},", read more in the ",{"type":60,"tag":65,"props":1381,"children":1382},{"href":42},[1383],{"type":72,"value":1384},"demo section",{"type":72,"value":118},{"type":60,"tag":61,"props":1387,"children":1388},{},[1389],{"type":60,"tag":65,"props":1390,"children":1392},{"href":1373,"rel":1391},[69],[1393],{"type":60,"tag":1394,"props":1395,"children":1398},"img",{"alt":1396,"src":1397},"Supabase demo with Nuxt 3","https://user-images.githubusercontent.com/904724/160422461-8f87500a-8dec-4413-86b2-ba04e1b2d17b.png",[],{"type":60,"tag":61,"props":1400,"children":1401},{},[1402,1404,1411],{"type":72,"value":1403},"Also checkout the ",{"type":60,"tag":65,"props":1405,"children":1408},{"href":1406,"rel":1407},"https://www.youtube.com/watch?v=jIyiRT6zT8Q",[69],[1409],{"type":72,"value":1410},"YouTube video",{"type":72,"value":1412}," about its usage in a live demo.",{"type":60,"tag":1414,"props":1415,"children":1416},"style",{},[1417],{"type":72,"value":1418},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":53,"searchDepth":337,"depth":337,"links":1420},[1421,1422,1432,1433],{"id":122,"depth":337,"text":125},{"id":495,"depth":337,"text":498,"children":1423},[1424,1425,1426,1427,1428,1429,1430,1431],{"id":605,"depth":379,"text":605},{"id":639,"depth":379,"text":639},{"id":663,"depth":379,"text":670},{"id":688,"depth":379,"text":688},{"id":712,"depth":379,"text":719},{"id":968,"depth":379,"text":975},{"id":1014,"depth":379,"text":1017},{"id":1149,"depth":379,"text":1156},{"id":1318,"depth":337,"text":1321},{"id":1363,"depth":337,"text":41},"markdown","content:2.get-started.md","content","2.get-started.md","md",[1440,1441],null,{"_path":10,"title":9,"description":1442},"Authenticate your user thanks to the PKCE Oauth protocol that enables secure exchange of refresh and access tokens between an application and the authorization server",1706280924376] \ No newline at end of file +[{"data":1,"prerenderedAt":1443},["Reactive",2],{"navigation":3,"/get-started":52,"/get-started-surround":1439},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":6,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":5,"description":55,"icon":7,"body":56,"_type":1434,"_id":1435,"_source":1436,"_file":1437,"_extension":1438},"",false,"@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.",{"type":57,"children":58,"toc":1419},"root",[59,76,99,119,126,139,267,294,391,417,476,493,499,519,602,612,632,637,646,656,661,671,681,686,695,705,710,720,725,857,966,976,986,1012,1018,1134,1147,1157,1161,1303,1316,1322,1340,1344,1361,1366,1386,1399,1413],{"type":60,"tag":61,"props":62,"children":63},"element","p",{},[64,74],{"type":60,"tag":65,"props":66,"children":70},"a",{"href":67,"rel":68},"https://github.com/nuxt-modules/supabase",[69],"nofollow",[71],{"type":72,"value":73},"text","@nuxtjs/supabase",{"type":72,"value":75}," is a Nuxt module for first class integration with Supabase.",{"type":60,"tag":61,"props":77,"children":78},{},[79,81,88,90,97],{"type":72,"value":80},"Checkout the ",{"type":60,"tag":65,"props":82,"children":85},{"href":83,"rel":84},"https://v3.nuxtjs.org",[69],[86],{"type":72,"value":87},"Nuxt 3",{"type":72,"value":89}," documentation and ",{"type":60,"tag":65,"props":91,"children":94},{"href":92,"rel":93},"https://supabase.com",[69],[95],{"type":72,"value":96},"Supabase",{"type":72,"value":98}," to learn more.",{"type":60,"tag":100,"props":101,"children":104},"callout",{"icon":102,"color":103},"i-heroicons-exclamation-triangle-20-solid","amber",[105],{"type":60,"tag":61,"props":106,"children":107},{},[108,110,117],{"type":72,"value":109},"For integrating Supabase with Nuxt 2, checkout ",{"type":60,"tag":65,"props":111,"children":114},{"href":112,"rel":113},"https://github.com/supabase-community/nuxt-supabase",[69],[115],{"type":72,"value":116},"supabase-community/nuxt-supabase",{"type":72,"value":118},".",{"type":60,"tag":120,"props":121,"children":123},"h2",{"id":122},"installation",[124],{"type":72,"value":125},"Installation",{"type":60,"tag":61,"props":127,"children":128},{},[129,131,137],{"type":72,"value":130},"Add ",{"type":60,"tag":132,"props":133,"children":135},"code",{"className":134},[],[136],{"type":72,"value":73},{"type":72,"value":138}," dev dependency to your project:",{"type":60,"tag":140,"props":141,"children":142},"code-group",{},[143,181,209,240],{"type":60,"tag":144,"props":145,"children":150},"pre",{"className":146,"code":147,"filename":148,"language":149,"meta":53,"style":53},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add -D @nuxtjs/supabase\n","pnpm","bash",[151],{"type":60,"tag":132,"props":152,"children":153},{"__ignoreMap":53},[154],{"type":60,"tag":155,"props":156,"children":159},"span",{"class":157,"line":158},"line",1,[160,165,171,176],{"type":60,"tag":155,"props":161,"children":163},{"style":162},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[164],{"type":72,"value":148},{"type":60,"tag":155,"props":166,"children":168},{"style":167},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[169],{"type":72,"value":170}," add",{"type":60,"tag":155,"props":172,"children":173},{"style":167},[174],{"type":72,"value":175}," -D",{"type":60,"tag":155,"props":177,"children":178},{"style":167},[179],{"type":72,"value":180}," @nuxtjs/supabase\n",{"type":60,"tag":144,"props":182,"children":185},{"className":146,"code":183,"filename":184,"language":149,"meta":53,"style":53},"yarn add --dev @nuxtjs/supabase\n","yarn",[186],{"type":60,"tag":132,"props":187,"children":188},{"__ignoreMap":53},[189],{"type":60,"tag":155,"props":190,"children":191},{"class":157,"line":158},[192,196,200,205],{"type":60,"tag":155,"props":193,"children":194},{"style":162},[195],{"type":72,"value":184},{"type":60,"tag":155,"props":197,"children":198},{"style":167},[199],{"type":72,"value":170},{"type":60,"tag":155,"props":201,"children":202},{"style":167},[203],{"type":72,"value":204}," --dev",{"type":60,"tag":155,"props":206,"children":207},{"style":167},[208],{"type":72,"value":180},{"type":60,"tag":144,"props":210,"children":213},{"className":146,"code":211,"filename":212,"language":149,"meta":53,"style":53},"npm install @nuxtjs/supabase --save-dev\n","NPM",[214],{"type":60,"tag":132,"props":215,"children":216},{"__ignoreMap":53},[217],{"type":60,"tag":155,"props":218,"children":219},{"class":157,"line":158},[220,225,230,235],{"type":60,"tag":155,"props":221,"children":222},{"style":162},[223],{"type":72,"value":224},"npm",{"type":60,"tag":155,"props":226,"children":227},{"style":167},[228],{"type":72,"value":229}," install",{"type":60,"tag":155,"props":231,"children":232},{"style":167},[233],{"type":72,"value":234}," @nuxtjs/supabase",{"type":60,"tag":155,"props":236,"children":237},{"style":167},[238],{"type":72,"value":239}," --save-dev\n",{"type":60,"tag":144,"props":241,"children":244},{"className":146,"code":242,"filename":243,"language":149,"meta":53,"style":53},"bun add -D @nuxtjs/supabase\n","bun",[245],{"type":60,"tag":132,"props":246,"children":247},{"__ignoreMap":53},[248],{"type":60,"tag":155,"props":249,"children":250},{"class":157,"line":158},[251,255,259,263],{"type":60,"tag":155,"props":252,"children":253},{"style":162},[254],{"type":72,"value":243},{"type":60,"tag":155,"props":256,"children":257},{"style":167},[258],{"type":72,"value":170},{"type":60,"tag":155,"props":260,"children":261},{"style":167},[262],{"type":72,"value":175},{"type":60,"tag":155,"props":264,"children":265},{"style":167},[266],{"type":72,"value":180},{"type":60,"tag":61,"props":268,"children":269},{},[270,271,276,278,284,286,292],{"type":72,"value":130},{"type":60,"tag":132,"props":272,"children":274},{"className":273},[],[275],{"type":72,"value":73},{"type":72,"value":277}," to the ",{"type":60,"tag":132,"props":279,"children":281},{"className":280},[],[282],{"type":72,"value":283},"modules",{"type":72,"value":285}," section of ",{"type":60,"tag":132,"props":287,"children":289},{"className":288},[],[290],{"type":72,"value":291},"nuxt.config.ts",{"type":72,"value":293},":",{"type":60,"tag":144,"props":295,"children":299},{"className":296,"code":297,"filename":291,"language":298,"meta":53,"style":53},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n modules: ['@nuxtjs/supabase'],\n})\n","ts",[300],{"type":60,"tag":132,"props":301,"children":302},{"__ignoreMap":53},[303,335,377],{"type":60,"tag":155,"props":304,"children":305},{"class":157,"line":158},[306,312,317,323,329],{"type":60,"tag":155,"props":307,"children":309},{"style":308},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[310],{"type":72,"value":311},"export",{"type":60,"tag":155,"props":313,"children":314},{"style":308},[315],{"type":72,"value":316}," default",{"type":60,"tag":155,"props":318,"children":320},{"style":319},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[321],{"type":72,"value":322}," defineNuxtConfig",{"type":60,"tag":155,"props":324,"children":326},{"style":325},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[327],{"type":72,"value":328},"(",{"type":60,"tag":155,"props":330,"children":332},{"style":331},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[333],{"type":72,"value":334},"{\n",{"type":60,"tag":155,"props":336,"children":338},{"class":157,"line":337},2,[339,345,349,354,359,363,367,372],{"type":60,"tag":155,"props":340,"children":342},{"style":341},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[343],{"type":72,"value":344}," modules",{"type":60,"tag":155,"props":346,"children":347},{"style":331},[348],{"type":72,"value":293},{"type":60,"tag":155,"props":350,"children":351},{"style":325},[352],{"type":72,"value":353}," [",{"type":60,"tag":155,"props":355,"children":356},{"style":331},[357],{"type":72,"value":358},"'",{"type":60,"tag":155,"props":360,"children":361},{"style":167},[362],{"type":72,"value":73},{"type":60,"tag":155,"props":364,"children":365},{"style":331},[366],{"type":72,"value":358},{"type":60,"tag":155,"props":368,"children":369},{"style":325},[370],{"type":72,"value":371},"]",{"type":60,"tag":155,"props":373,"children":374},{"style":331},[375],{"type":72,"value":376},",\n",{"type":60,"tag":155,"props":378,"children":380},{"class":157,"line":379},3,[381,386],{"type":60,"tag":155,"props":382,"children":383},{"style":331},[384],{"type":72,"value":385},"}",{"type":60,"tag":155,"props":387,"children":388},{"style":325},[389],{"type":72,"value":390},")\n",{"type":60,"tag":61,"props":392,"children":393},{},[394,395,401,403,409,410,416],{"type":72,"value":130},{"type":60,"tag":132,"props":396,"children":398},{"className":397},[],[399],{"type":72,"value":400},"SUPABASE_URL",{"type":72,"value":402}," and ",{"type":60,"tag":132,"props":404,"children":406},{"className":405},[],[407],{"type":72,"value":408},"SUPABASE_KEY",{"type":72,"value":277},{"type":60,"tag":132,"props":411,"children":413},{"className":412},[],[414],{"type":72,"value":415},".env",{"type":72,"value":293},{"type":60,"tag":144,"props":418,"children":421},{"className":146,"code":419,"filename":420,"language":149,"meta":53,"style":53},"SUPABASE_URL=\"https://example.supabase.co\"\nSUPABASE_KEY=\"\u003Cyour_key>\"\n","env",[422],{"type":60,"tag":132,"props":423,"children":424},{"__ignoreMap":53},[425,452],{"type":60,"tag":155,"props":426,"children":427},{"class":157,"line":158},[428,432,437,442,447],{"type":60,"tag":155,"props":429,"children":430},{"style":325},[431],{"type":72,"value":400},{"type":60,"tag":155,"props":433,"children":434},{"style":331},[435],{"type":72,"value":436},"=",{"type":60,"tag":155,"props":438,"children":439},{"style":331},[440],{"type":72,"value":441},"\"",{"type":60,"tag":155,"props":443,"children":444},{"style":167},[445],{"type":72,"value":446},"https://example.supabase.co",{"type":60,"tag":155,"props":448,"children":449},{"style":331},[450],{"type":72,"value":451},"\"\n",{"type":60,"tag":155,"props":453,"children":454},{"class":157,"line":337},[455,459,463,467,472],{"type":60,"tag":155,"props":456,"children":457},{"style":325},[458],{"type":72,"value":408},{"type":60,"tag":155,"props":460,"children":461},{"style":331},[462],{"type":72,"value":436},{"type":60,"tag":155,"props":464,"children":465},{"style":331},[466],{"type":72,"value":441},{"type":60,"tag":155,"props":468,"children":469},{"style":167},[470],{"type":72,"value":471},"\u003Cyour_key>",{"type":60,"tag":155,"props":473,"children":474},{"style":331},[475],{"type":72,"value":451},{"type":60,"tag":100,"props":477,"children":479},{"icon":478},"i-heroicons-light-bulb",[480],{"type":60,"tag":61,"props":481,"children":482},{},[483,485,491],{"type":72,"value":484},"Alternatively, you can prefix the env variables with ",{"type":60,"tag":132,"props":486,"children":488},{"className":487},[],[489],{"type":72,"value":490},"NUXT_PUBLIC_",{"type":72,"value":492}," in order to use runtimeConfig.",{"type":60,"tag":120,"props":494,"children":496},{"id":495},"options",[497],{"type":72,"value":498},"Options",{"type":60,"tag":61,"props":500,"children":501},{},[502,504,510,512,518],{"type":72,"value":503},"You can configure the supabase module by using the ",{"type":60,"tag":132,"props":505,"children":507},{"className":506},[],[508],{"type":72,"value":509},"supabase",{"type":72,"value":511}," key in ",{"type":60,"tag":132,"props":513,"children":515},{"className":514},[],[516],{"type":72,"value":517},"nuxt.config",{"type":72,"value":293},{"type":60,"tag":144,"props":520,"children":522},{"className":296,"code":521,"filename":291,"language":298,"meta":53,"style":53},"export default defineNuxtConfig({\n // ...\n supabase: {\n // Options\n }\n}\n",[523],{"type":60,"tag":132,"props":524,"children":525},{"__ignoreMap":53},[526,549,558,575,584,593],{"type":60,"tag":155,"props":527,"children":528},{"class":157,"line":158},[529,533,537,541,545],{"type":60,"tag":155,"props":530,"children":531},{"style":308},[532],{"type":72,"value":311},{"type":60,"tag":155,"props":534,"children":535},{"style":308},[536],{"type":72,"value":316},{"type":60,"tag":155,"props":538,"children":539},{"style":319},[540],{"type":72,"value":322},{"type":60,"tag":155,"props":542,"children":543},{"style":325},[544],{"type":72,"value":328},{"type":60,"tag":155,"props":546,"children":547},{"style":331},[548],{"type":72,"value":334},{"type":60,"tag":155,"props":550,"children":551},{"class":157,"line":337},[552],{"type":60,"tag":155,"props":553,"children":555},{"style":554},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[556],{"type":72,"value":557}," // ...\n",{"type":60,"tag":155,"props":559,"children":560},{"class":157,"line":379},[561,566,570],{"type":60,"tag":155,"props":562,"children":563},{"style":341},[564],{"type":72,"value":565}," supabase",{"type":60,"tag":155,"props":567,"children":568},{"style":331},[569],{"type":72,"value":293},{"type":60,"tag":155,"props":571,"children":572},{"style":331},[573],{"type":72,"value":574}," {\n",{"type":60,"tag":155,"props":576,"children":578},{"class":157,"line":577},4,[579],{"type":60,"tag":155,"props":580,"children":581},{"style":554},[582],{"type":72,"value":583}," // Options\n",{"type":60,"tag":155,"props":585,"children":587},{"class":157,"line":586},5,[588],{"type":60,"tag":155,"props":589,"children":590},{"style":331},[591],{"type":72,"value":592}," }\n",{"type":60,"tag":155,"props":594,"children":596},{"class":157,"line":595},6,[597],{"type":60,"tag":155,"props":598,"children":599},{"style":331},[600],{"type":72,"value":601},"}\n",{"type":60,"tag":603,"props":604,"children":606},"h3",{"id":605},"url",[607],{"type":60,"tag":132,"props":608,"children":610},{"className":609},[],[611],{"type":72,"value":605},{"type":60,"tag":61,"props":613,"children":614},{},[615,617,623,625,630],{"type":72,"value":616},"Default: ",{"type":60,"tag":132,"props":618,"children":620},{"className":619},[],[621],{"type":72,"value":622},"process.env.SUPABASE_URL",{"type":72,"value":624}," (ex: ",{"type":60,"tag":65,"props":626,"children":628},{"href":446,"rel":627},[69],[629],{"type":72,"value":446},{"type":72,"value":631},")",{"type":60,"tag":61,"props":633,"children":634},{},[635],{"type":72,"value":636},"The unique Supabase URL which is supplied when you create a new project in your project dashboard.",{"type":60,"tag":603,"props":638,"children":640},{"id":639},"key",[641],{"type":60,"tag":132,"props":642,"children":644},{"className":643},[],[645],{"type":72,"value":639},{"type":60,"tag":61,"props":647,"children":648},{},[649,650],{"type":72,"value":616},{"type":60,"tag":132,"props":651,"children":653},{"className":652},[],[654],{"type":72,"value":655},"process.env.SUPABASE_KEY",{"type":60,"tag":61,"props":657,"children":658},{},[659],{"type":72,"value":660},"Supabase 'anon key', used to bypass the Supabase API gateway and interact with your Supabase database making use of user JWT to apply RLS Policies.",{"type":60,"tag":603,"props":662,"children":664},{"id":663},"servicekey",[665],{"type":60,"tag":132,"props":666,"children":668},{"className":667},[],[669],{"type":72,"value":670},"serviceKey",{"type":60,"tag":61,"props":672,"children":673},{},[674,675],{"type":72,"value":616},{"type":60,"tag":132,"props":676,"children":678},{"className":677},[],[679],{"type":72,"value":680},"process.env.SUPABASE_SERVICE_KEY",{"type":60,"tag":61,"props":682,"children":683},{},[684],{"type":72,"value":685},"Supabase 'service role key', has super admin rights and can bypass your Row Level Security.",{"type":60,"tag":603,"props":687,"children":689},{"id":688},"redirect",[690],{"type":60,"tag":132,"props":691,"children":693},{"className":692},[],[694],{"type":72,"value":688},{"type":60,"tag":61,"props":696,"children":697},{},[698,699],{"type":72,"value":616},{"type":60,"tag":132,"props":700,"children":702},{"className":701},[],[703],{"type":72,"value":704},"true",{"type":60,"tag":61,"props":706,"children":707},{},[708],{"type":72,"value":709},"Redirect automatically to the configured login page if a non authenticated user is trying to access a guarded. You can disable all redirects by setting this option to false.",{"type":60,"tag":603,"props":711,"children":713},{"id":712},"redirectoptions",[714],{"type":60,"tag":132,"props":715,"children":717},{"className":716},[],[718],{"type":72,"value":719},"redirectOptions",{"type":60,"tag":61,"props":721,"children":722},{},[723],{"type":72,"value":724},"Default:",{"type":60,"tag":144,"props":726,"children":728},{"className":296,"code":727,"filename":291,"language":298,"meta":53,"style":53}," redirectOptions: {\n login: '/login',\n callback: '/confirm',\n exclude: [],\n cookieRedirect: false,\n }\n",[729],{"type":60,"tag":132,"props":730,"children":731},{"__ignoreMap":53},[732,748,778,807,828,850],{"type":60,"tag":155,"props":733,"children":734},{"class":157,"line":158},[735,740,744],{"type":60,"tag":155,"props":736,"children":737},{"style":162},[738],{"type":72,"value":739}," redirectOptions",{"type":60,"tag":155,"props":741,"children":742},{"style":331},[743],{"type":72,"value":293},{"type":60,"tag":155,"props":745,"children":746},{"style":331},[747],{"type":72,"value":574},{"type":60,"tag":155,"props":749,"children":750},{"class":157,"line":337},[751,756,760,765,770,774],{"type":60,"tag":155,"props":752,"children":753},{"style":162},[754],{"type":72,"value":755}," login",{"type":60,"tag":155,"props":757,"children":758},{"style":331},[759],{"type":72,"value":293},{"type":60,"tag":155,"props":761,"children":762},{"style":331},[763],{"type":72,"value":764}," '",{"type":60,"tag":155,"props":766,"children":767},{"style":167},[768],{"type":72,"value":769},"/login",{"type":60,"tag":155,"props":771,"children":772},{"style":331},[773],{"type":72,"value":358},{"type":60,"tag":155,"props":775,"children":776},{"style":331},[777],{"type":72,"value":376},{"type":60,"tag":155,"props":779,"children":780},{"class":157,"line":379},[781,786,790,794,799,803],{"type":60,"tag":155,"props":782,"children":783},{"style":162},[784],{"type":72,"value":785}," callback",{"type":60,"tag":155,"props":787,"children":788},{"style":331},[789],{"type":72,"value":293},{"type":60,"tag":155,"props":791,"children":792},{"style":331},[793],{"type":72,"value":764},{"type":60,"tag":155,"props":795,"children":796},{"style":167},[797],{"type":72,"value":798},"/confirm",{"type":60,"tag":155,"props":800,"children":801},{"style":331},[802],{"type":72,"value":358},{"type":60,"tag":155,"props":804,"children":805},{"style":331},[806],{"type":72,"value":376},{"type":60,"tag":155,"props":808,"children":809},{"class":157,"line":577},[810,815,819,824],{"type":60,"tag":155,"props":811,"children":812},{"style":162},[813],{"type":72,"value":814}," exclude",{"type":60,"tag":155,"props":816,"children":817},{"style":331},[818],{"type":72,"value":293},{"type":60,"tag":155,"props":820,"children":821},{"style":341},[822],{"type":72,"value":823}," []",{"type":60,"tag":155,"props":825,"children":826},{"style":331},[827],{"type":72,"value":376},{"type":60,"tag":155,"props":829,"children":830},{"class":157,"line":586},[831,836,840,846],{"type":60,"tag":155,"props":832,"children":833},{"style":162},[834],{"type":72,"value":835}," cookieRedirect",{"type":60,"tag":155,"props":837,"children":838},{"style":331},[839],{"type":72,"value":293},{"type":60,"tag":155,"props":841,"children":843},{"style":842},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[844],{"type":72,"value":845}," false",{"type":60,"tag":155,"props":847,"children":848},{"style":331},[849],{"type":72,"value":376},{"type":60,"tag":155,"props":851,"children":852},{"class":157,"line":595},[853],{"type":60,"tag":155,"props":854,"children":855},{"style":331},[856],{"type":72,"value":592},{"type":60,"tag":858,"props":859,"children":860},"ul",{},[861,873,908,943],{"type":60,"tag":862,"props":863,"children":864},"li",{},[865,871],{"type":60,"tag":132,"props":866,"children":868},{"className":867},[],[869],{"type":72,"value":870},"login",{"type":72,"value":872},": User will be redirected to this path if not authenticated or after logout.",{"type":60,"tag":862,"props":874,"children":875},{},[876,882,884,890,892,899,901,907],{"type":60,"tag":132,"props":877,"children":879},{"className":878},[],[880],{"type":72,"value":881},"callback",{"type":72,"value":883},": This is the path the user will be redirect to after supabase login redirection. Should match configured ",{"type":60,"tag":132,"props":885,"children":887},{"className":886},[],[888],{"type":72,"value":889},"redirectTo",{"type":72,"value":891}," option of your ",{"type":60,"tag":65,"props":893,"children":896},{"href":894,"rel":895},"https://supabase.com/docs/reference/javascript/auth-signinwithoauth",[69],[897],{"type":72,"value":898},"signIn method",{"type":72,"value":900},". Should also be configured in your Supabase dashboard under ",{"type":60,"tag":132,"props":902,"children":904},{"className":903},[],[905],{"type":72,"value":906},"Authentication -> URL Configuration -> Redirect URLs",{"type":72,"value":118},{"type":60,"tag":862,"props":909,"children":910},{},[911,917,919,925,927,933,935,941],{"type":60,"tag":132,"props":912,"children":914},{"className":913},[],[915],{"type":72,"value":916},"exclude",{"type":72,"value":918},": Routes to exclude from the redirect. ",{"type":60,"tag":132,"props":920,"children":922},{"className":921},[],[923],{"type":72,"value":924},"['/foo', '/bar/*']",{"type":72,"value":926}," will exclude the ",{"type":60,"tag":132,"props":928,"children":930},{"className":929},[],[931],{"type":72,"value":932},"foo",{"type":72,"value":934}," page and all pages in your ",{"type":60,"tag":132,"props":936,"children":938},{"className":937},[],[939],{"type":72,"value":940},"bar",{"type":72,"value":942}," folder.",{"type":60,"tag":862,"props":944,"children":945},{},[946,952,954,964],{"type":60,"tag":132,"props":947,"children":949},{"className":948},[],[950],{"type":72,"value":951},"cookieRedirect",{"type":72,"value":953},": Sets a cookie containing the path an unauthenticated user tried to access. The cookie can then be used on the ",{"type":60,"tag":65,"props":955,"children":958},{"href":956,"rel":957},"https://supabase.nuxtjs.org/authentication#confirm-page-confirm",[69],[959],{"type":60,"tag":132,"props":960,"children":962},{"className":961},[],[963],{"type":72,"value":798},{"type":72,"value":965}," page to redirect the user to the page they previously tried to visit.",{"type":60,"tag":603,"props":967,"children":969},{"id":968},"cookiename",[970],{"type":60,"tag":132,"props":971,"children":973},{"className":972},[],[974],{"type":72,"value":975},"cookieName",{"type":60,"tag":61,"props":977,"children":978},{},[979,980],{"type":72,"value":616},{"type":60,"tag":132,"props":981,"children":983},{"className":982},[],[984],{"type":72,"value":985},"sb",{"type":60,"tag":61,"props":987,"children":988},{},[989,991,997,998,1004,1006],{"type":72,"value":990},"Cookie name used for storing access and refresh tokens, added in front of ",{"type":60,"tag":132,"props":992,"children":994},{"className":993},[],[995],{"type":72,"value":996},"-access-token",{"type":72,"value":402},{"type":60,"tag":132,"props":999,"children":1001},{"className":1000},[],[1002],{"type":72,"value":1003},"-refresh-token",{"type":72,"value":1005}," to form the full cookie name e.g. ",{"type":60,"tag":132,"props":1007,"children":1009},{"className":1008},[],[1010],{"type":72,"value":1011},"sb-access-token",{"type":60,"tag":603,"props":1013,"children":1015},{"id":1014},"cookieoptions",[1016],{"type":72,"value":1017},"cookieOptions",{"type":60,"tag":144,"props":1019,"children":1021},{"className":296,"code":1020,"language":298,"meta":53,"style":53}," cookieOptions: {\n maxAge: 60 * 60 * 8,\n sameSite: 'lax',\n secure: true\n }\n",[1022],{"type":60,"tag":132,"props":1023,"children":1024},{"__ignoreMap":53},[1025,1041,1081,1110,1127],{"type":60,"tag":155,"props":1026,"children":1027},{"class":157,"line":158},[1028,1033,1037],{"type":60,"tag":155,"props":1029,"children":1030},{"style":162},[1031],{"type":72,"value":1032}," cookieOptions",{"type":60,"tag":155,"props":1034,"children":1035},{"style":331},[1036],{"type":72,"value":293},{"type":60,"tag":155,"props":1038,"children":1039},{"style":331},[1040],{"type":72,"value":574},{"type":60,"tag":155,"props":1042,"children":1043},{"class":157,"line":337},[1044,1049,1053,1059,1064,1068,1072,1077],{"type":60,"tag":155,"props":1045,"children":1046},{"style":162},[1047],{"type":72,"value":1048}," maxAge",{"type":60,"tag":155,"props":1050,"children":1051},{"style":331},[1052],{"type":72,"value":293},{"type":60,"tag":155,"props":1054,"children":1056},{"style":1055},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1057],{"type":72,"value":1058}," 60",{"type":60,"tag":155,"props":1060,"children":1061},{"style":331},[1062],{"type":72,"value":1063}," *",{"type":60,"tag":155,"props":1065,"children":1066},{"style":1055},[1067],{"type":72,"value":1058},{"type":60,"tag":155,"props":1069,"children":1070},{"style":331},[1071],{"type":72,"value":1063},{"type":60,"tag":155,"props":1073,"children":1074},{"style":1055},[1075],{"type":72,"value":1076}," 8",{"type":60,"tag":155,"props":1078,"children":1079},{"style":331},[1080],{"type":72,"value":376},{"type":60,"tag":155,"props":1082,"children":1083},{"class":157,"line":379},[1084,1089,1093,1097,1102,1106],{"type":60,"tag":155,"props":1085,"children":1086},{"style":162},[1087],{"type":72,"value":1088}," sameSite",{"type":60,"tag":155,"props":1090,"children":1091},{"style":331},[1092],{"type":72,"value":293},{"type":60,"tag":155,"props":1094,"children":1095},{"style":331},[1096],{"type":72,"value":764},{"type":60,"tag":155,"props":1098,"children":1099},{"style":167},[1100],{"type":72,"value":1101},"lax",{"type":60,"tag":155,"props":1103,"children":1104},{"style":331},[1105],{"type":72,"value":358},{"type":60,"tag":155,"props":1107,"children":1108},{"style":331},[1109],{"type":72,"value":376},{"type":60,"tag":155,"props":1111,"children":1112},{"class":157,"line":577},[1113,1118,1122],{"type":60,"tag":155,"props":1114,"children":1115},{"style":162},[1116],{"type":72,"value":1117}," secure",{"type":60,"tag":155,"props":1119,"children":1120},{"style":331},[1121],{"type":72,"value":293},{"type":60,"tag":155,"props":1123,"children":1124},{"style":842},[1125],{"type":72,"value":1126}," true\n",{"type":60,"tag":155,"props":1128,"children":1129},{"class":157,"line":586},[1130],{"type":60,"tag":155,"props":1131,"children":1132},{"style":331},[1133],{"type":72,"value":592},{"type":60,"tag":61,"props":1135,"children":1136},{},[1137,1139,1145],{"type":72,"value":1138},"Options for cookies used to share tokens between server and client, refer to ",{"type":60,"tag":65,"props":1140,"children":1143},{"href":1141,"rel":1142},"https://nuxt.com/docs/api/composables/use-cookie#options",[69],[1144],{"type":72,"value":1017},{"type":72,"value":1146}," for available settings. Please note that the lifetime set here does not determine the Supabase session lifetime.",{"type":60,"tag":603,"props":1148,"children":1150},{"id":1149},"clientoptions",[1151],{"type":60,"tag":132,"props":1152,"children":1154},{"className":1153},[],[1155],{"type":72,"value":1156},"clientOptions",{"type":60,"tag":61,"props":1158,"children":1159},{},[1160],{"type":72,"value":724},{"type":60,"tag":144,"props":1162,"children":1164},{"className":296,"code":1163,"language":298,"meta":53,"style":53}," clientOptions: {\n auth: {\n flowType: 'pkce',\n detectSessionInUrl: true,\n persistSession: true,\n autoRefreshToken: true\n },\n }\n",[1165],{"type":60,"tag":132,"props":1166,"children":1167},{"__ignoreMap":53},[1168,1184,1200,1229,1250,1270,1286,1295],{"type":60,"tag":155,"props":1169,"children":1170},{"class":157,"line":158},[1171,1176,1180],{"type":60,"tag":155,"props":1172,"children":1173},{"style":162},[1174],{"type":72,"value":1175}," clientOptions",{"type":60,"tag":155,"props":1177,"children":1178},{"style":331},[1179],{"type":72,"value":293},{"type":60,"tag":155,"props":1181,"children":1182},{"style":331},[1183],{"type":72,"value":574},{"type":60,"tag":155,"props":1185,"children":1186},{"class":157,"line":337},[1187,1192,1196],{"type":60,"tag":155,"props":1188,"children":1189},{"style":162},[1190],{"type":72,"value":1191}," auth",{"type":60,"tag":155,"props":1193,"children":1194},{"style":331},[1195],{"type":72,"value":293},{"type":60,"tag":155,"props":1197,"children":1198},{"style":331},[1199],{"type":72,"value":574},{"type":60,"tag":155,"props":1201,"children":1202},{"class":157,"line":379},[1203,1208,1212,1216,1221,1225],{"type":60,"tag":155,"props":1204,"children":1205},{"style":162},[1206],{"type":72,"value":1207}," flowType",{"type":60,"tag":155,"props":1209,"children":1210},{"style":331},[1211],{"type":72,"value":293},{"type":60,"tag":155,"props":1213,"children":1214},{"style":331},[1215],{"type":72,"value":764},{"type":60,"tag":155,"props":1217,"children":1218},{"style":167},[1219],{"type":72,"value":1220},"pkce",{"type":60,"tag":155,"props":1222,"children":1223},{"style":331},[1224],{"type":72,"value":358},{"type":60,"tag":155,"props":1226,"children":1227},{"style":331},[1228],{"type":72,"value":376},{"type":60,"tag":155,"props":1230,"children":1231},{"class":157,"line":577},[1232,1237,1241,1246],{"type":60,"tag":155,"props":1233,"children":1234},{"style":162},[1235],{"type":72,"value":1236}," detectSessionInUrl",{"type":60,"tag":155,"props":1238,"children":1239},{"style":331},[1240],{"type":72,"value":293},{"type":60,"tag":155,"props":1242,"children":1243},{"style":842},[1244],{"type":72,"value":1245}," true",{"type":60,"tag":155,"props":1247,"children":1248},{"style":331},[1249],{"type":72,"value":376},{"type":60,"tag":155,"props":1251,"children":1252},{"class":157,"line":586},[1253,1258,1262,1266],{"type":60,"tag":155,"props":1254,"children":1255},{"style":162},[1256],{"type":72,"value":1257}," persistSession",{"type":60,"tag":155,"props":1259,"children":1260},{"style":331},[1261],{"type":72,"value":293},{"type":60,"tag":155,"props":1263,"children":1264},{"style":842},[1265],{"type":72,"value":1245},{"type":60,"tag":155,"props":1267,"children":1268},{"style":331},[1269],{"type":72,"value":376},{"type":60,"tag":155,"props":1271,"children":1272},{"class":157,"line":595},[1273,1278,1282],{"type":60,"tag":155,"props":1274,"children":1275},{"style":162},[1276],{"type":72,"value":1277}," autoRefreshToken",{"type":60,"tag":155,"props":1279,"children":1280},{"style":331},[1281],{"type":72,"value":293},{"type":60,"tag":155,"props":1283,"children":1284},{"style":842},[1285],{"type":72,"value":1126},{"type":60,"tag":155,"props":1287,"children":1289},{"class":157,"line":1288},7,[1290],{"type":60,"tag":155,"props":1291,"children":1292},{"style":331},[1293],{"type":72,"value":1294}," },\n",{"type":60,"tag":155,"props":1296,"children":1298},{"class":157,"line":1297},8,[1299],{"type":60,"tag":155,"props":1300,"children":1301},{"style":331},[1302],{"type":72,"value":592},{"type":60,"tag":61,"props":1304,"children":1305},{},[1306,1308,1315],{"type":72,"value":1307},"Supabase client options ",{"type":60,"tag":65,"props":1309,"children":1312},{"href":1310,"rel":1311},"https://supabase.com/docs/reference/javascript/initializing#parameters",[69],[1313],{"type":72,"value":1314},"available here",{"type":72,"value":118},{"type":60,"tag":120,"props":1317,"children":1319},{"id":1318},"versions",[1320],{"type":72,"value":1321},"Versions",{"type":60,"tag":61,"props":1323,"children":1324},{},[1325,1331,1333,1339],{"type":60,"tag":132,"props":1326,"children":1328},{"className":1327},[],[1329],{"type":72,"value":1330},"0.1.x",{"type":72,"value":1332}," versions are wrapped around ",{"type":60,"tag":132,"props":1334,"children":1336},{"className":1335},[],[1337],{"type":72,"value":1338},"supabase-js v1",{"type":72,"value":118},{"type":60,"tag":1341,"props":1342,"children":1343},"br",{},[],{"type":60,"tag":61,"props":1345,"children":1346},{},[1347,1353,1354,1360],{"type":60,"tag":132,"props":1348,"children":1350},{"className":1349},[],[1351],{"type":72,"value":1352},"1.x.x",{"type":72,"value":1332},{"type":60,"tag":132,"props":1355,"children":1357},{"className":1356},[],[1358],{"type":72,"value":1359},"supabase-js v2",{"type":72,"value":118},{"type":60,"tag":120,"props":1362,"children":1364},{"id":1363},"demo",[1365],{"type":72,"value":41},{"type":60,"tag":61,"props":1367,"children":1368},{},[1369,1371,1378,1380,1385],{"type":72,"value":1370},"A live demo is made for see this module in action on ",{"type":60,"tag":65,"props":1372,"children":1375},{"href":1373,"rel":1374},"https://n3-supabase.netlify.app",[69],[1376],{"type":72,"value":1377},"n3-supabase.netlify.app",{"type":72,"value":1379},", read more in the ",{"type":60,"tag":65,"props":1381,"children":1382},{"href":42},[1383],{"type":72,"value":1384},"demo section",{"type":72,"value":118},{"type":60,"tag":61,"props":1387,"children":1388},{},[1389],{"type":60,"tag":65,"props":1390,"children":1392},{"href":1373,"rel":1391},[69],[1393],{"type":60,"tag":1394,"props":1395,"children":1398},"img",{"alt":1396,"src":1397},"Supabase demo with Nuxt 3","https://user-images.githubusercontent.com/904724/160422461-8f87500a-8dec-4413-86b2-ba04e1b2d17b.png",[],{"type":60,"tag":61,"props":1400,"children":1401},{},[1402,1404,1411],{"type":72,"value":1403},"Also checkout the ",{"type":60,"tag":65,"props":1405,"children":1408},{"href":1406,"rel":1407},"https://www.youtube.com/watch?v=jIyiRT6zT8Q",[69],[1409],{"type":72,"value":1410},"YouTube video",{"type":72,"value":1412}," about its usage in a live demo.",{"type":60,"tag":1414,"props":1415,"children":1416},"style",{},[1417],{"type":72,"value":1418},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":53,"searchDepth":337,"depth":337,"links":1420},[1421,1422,1432,1433],{"id":122,"depth":337,"text":125},{"id":495,"depth":337,"text":498,"children":1423},[1424,1425,1426,1427,1428,1429,1430,1431],{"id":605,"depth":379,"text":605},{"id":639,"depth":379,"text":639},{"id":663,"depth":379,"text":670},{"id":688,"depth":379,"text":688},{"id":712,"depth":379,"text":719},{"id":968,"depth":379,"text":975},{"id":1014,"depth":379,"text":1017},{"id":1149,"depth":379,"text":1156},{"id":1318,"depth":337,"text":1321},{"id":1363,"depth":337,"text":41},"markdown","content:2.get-started.md","content","2.get-started.md","md",[1440,1441],null,{"_path":10,"title":9,"description":1442},"Authenticate your user thanks to the PKCE Oauth protocol that enables secure exchange of refresh and access tokens between an application and the authorization server",1706281079975] \ No newline at end of file diff --git a/get-started/index.html b/get-started/index.html index 68e7bad6..680f4385 100644 --- a/get-started/index.html +++ b/get-started/index.html @@ -67,49 +67,49 @@ - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + - - + + - -
mobile favicon

Get Started

@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.

@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.

Checkout the Nuxt 3 documentation and Supabase to learn more.

For integrating Supabase with Nuxt 2, checkout supabase-community/nuxt-supabase.

Installation

Add @nuxtjs/supabase dev dependency to your project:

pnpm add -D @nuxtjs/supabase
 

Add @nuxtjs/supabase to the modules section of nuxt.config.ts:

nuxt.config.ts
export default defineNuxtConfig({
   modules: ['@nuxtjs/supabase'],
@@ -142,5 +142,5 @@
     },
   }
 

Supabase client options available here.

Versions

0.1.x versions are wrapped around supabase-js v1.


1.x.x versions are wrapped around supabase-js v2.

Demo

A live demo is made for see this module in action on n3-supabase.netlify.app, read more in the demo section.

Supabase demo with Nuxt 3

Also checkout the YouTube video about its usage in a live demo.


Made with Nuxt Studio
- - \ No newline at end of file + + \ No newline at end of file diff --git a/index.html b/index.html index 3acd8665..618f394d 100644 --- a/index.html +++ b/index.html @@ -62,33 +62,33 @@ - - - - - - - - + + + + + + + + - - + + - - - - - - - - + + + + + + + + - - + + - -
mobile favicon
email: email.value, }) } -

Shipped with many features

Nuxt 3 ready

Vue 3 composables

Supabase-js V2

Usage in API server routes

Authentication support

TypeScript support

Made with Nuxt Studio
- \ No newline at end of file +

Shipped with many features

Nuxt 3 ready

Vue 3 composables

Supabase-js V2

Usage in API server routes

Authentication support

TypeScript support

Made with Nuxt Studio
+ \ No newline at end of file diff --git a/roadmap/_payload.json b/roadmap/_payload.json index 40aacd4a..f214c7e6 100644 --- a/roadmap/_payload.json +++ b/roadmap/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":77},["Reactive",2],{"navigation":3,"/roadmap":52,"/roadmap-surround":73},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":50,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":49,"description":55,"icon":51,"body":56,"_type":68,"_id":69,"_source":70,"_file":71,"_extension":72},"",false,"Discover our kaban board for the next release of the Supabase module.",{"type":57,"children":58,"toc":65},"root",[59],{"type":60,"tag":61,"props":62,"children":64},"element","volta-board",{"token":63},"eyJzdGF0dXNlcyI6WyJ0cmlhZ2UiLCJiYWNrbG9nIiwidG9kbyIsImluX3Byb2dyZXNzIiwiaW5fcmV2aWV3IiwiZG9uZSIsInJlbGVhc2VkIiwiY2FuY2VsbGVkIl0sImZpbHRlcnMiOnt9LCJvd25lciI6Im51eHQtbW9kdWxlcyIsIm5hbWUiOiJzdXBhYmFzZSJ9",[],{"title":53,"searchDepth":66,"depth":66,"links":67},2,[],"markdown","content:7.roadmap.md","content","7.roadmap.md","md",[74,76],{"_path":46,"title":45,"description":75},"Discover the latest updates of the Supabase Module",null,1706280924811] \ No newline at end of file +[{"data":1,"prerenderedAt":77},["Reactive",2],{"navigation":3,"/roadmap":52,"/roadmap-surround":73},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":50,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":49,"description":55,"icon":51,"body":56,"_type":68,"_id":69,"_source":70,"_file":71,"_extension":72},"",false,"Discover our kaban board for the next release of the Supabase module.",{"type":57,"children":58,"toc":65},"root",[59],{"type":60,"tag":61,"props":62,"children":64},"element","volta-board",{"token":63},"eyJzdGF0dXNlcyI6WyJ0cmlhZ2UiLCJiYWNrbG9nIiwidG9kbyIsImluX3Byb2dyZXNzIiwiaW5fcmV2aWV3IiwiZG9uZSIsInJlbGVhc2VkIiwiY2FuY2VsbGVkIl0sImZpbHRlcnMiOnt9LCJvd25lciI6Im51eHQtbW9kdWxlcyIsIm5hbWUiOiJzdXBhYmFzZSJ9",[],{"title":53,"searchDepth":66,"depth":66,"links":67},2,[],"markdown","content:7.roadmap.md","content","7.roadmap.md","md",[74,76],{"_path":46,"title":45,"description":75},"Discover the latest updates of the Supabase Module",null,1706281080433] \ No newline at end of file diff --git a/roadmap/index.html b/roadmap/index.html index bc9073ea..5fdaf433 100644 --- a/roadmap/index.html +++ b/roadmap/index.html @@ -65,31 +65,31 @@ - - - - - - - - + + + + + + + + - + - - - - - - - + + + + + + + - - + + - -
- - \ No newline at end of file + + \ No newline at end of file diff --git a/usage/composables/usesupabaseclient/_payload.json b/usage/composables/usesupabaseclient/_payload.json index c4b2ac61..9e236044 100644 --- a/usage/composables/usesupabaseclient/_payload.json +++ b/usage/composables/usesupabaseclient/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":2103},["Reactive",2],{"navigation":3,"/usage/composables/usesupabaseclient":52,"/usage/composables/usesupabaseclient-surround":2098},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":22,"_dir":53,"_draft":54,"_partial":54,"_locale":55,"title":21,"description":56,"body":57,"_type":2093,"_id":2094,"_source":2095,"_file":2096,"_extension":2097},"composables",false,"","Make requests to the Supabase API with the useSupabaseClient composable",{"type":58,"children":59,"toc":2087},"root",[60,77,100,140,146,168,185,710,721,727,741,763,1123,1129,1143,1157,1162,1922,1928,1942,2081],{"type":61,"tag":62,"props":63,"children":64},"element","p",{},[65,75],{"type":61,"tag":66,"props":67,"children":71},"a",{"href":68,"rel":69},"https://nuxt.com/docs/guide/directory-structure/composables",[70],"nofollow",[72],{"type":73,"value":74},"text","Auto-import",{"type":73,"value":76}," your client inside your vue files.",{"type":61,"tag":62,"props":78,"children":79},{},[80,82,89,91,98],{"type":73,"value":81},"This composable is using ",{"type":61,"tag":66,"props":83,"children":86},{"href":84,"rel":85},"https://github.com/supabase/supabase-js/",[70],[87],{"type":73,"value":88},"supabase-js",{"type":73,"value":90}," under the hood, it gives access to the ",{"type":61,"tag":66,"props":92,"children":95},{"href":93,"rel":94},"https://supabase.com/docs/reference/javascript/initializing",[70],[96],{"type":73,"value":97},"Supabase client",{"type":73,"value":99},".",{"type":61,"tag":101,"props":102,"children":103},"blockquote",{},[104],{"type":61,"tag":62,"props":105,"children":106},{},[107,109,116,118,124,126,133,135,139],{"type":73,"value":108},"The client is initialized with the ",{"type":61,"tag":110,"props":111,"children":113},"code",{"className":112},[],[114],{"type":73,"value":115},"SUPABASE_KEY",{"type":73,"value":117}," you must have in your ",{"type":61,"tag":110,"props":119,"children":121},{"className":120},[],[122],{"type":73,"value":123},".env",{"type":73,"value":125}," file. It establishes the connection with the database and make use of user JWT to apply ",{"type":61,"tag":66,"props":127,"children":130},{"href":128,"rel":129},"https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security",[70],[131],{"type":73,"value":132},"RLS Policies",{"type":73,"value":134}," implemented in Supabase. If you want to bypass policies, you can use the ",{"type":61,"tag":66,"props":136,"children":137},{"href":35},[138],{"type":73,"value":34},{"type":73,"value":99},{"type":61,"tag":141,"props":142,"children":144},"h2",{"id":143},"authentication",[145],{"type":73,"value":9},{"type":61,"tag":62,"props":147,"children":148},{},[149,151,157,159,166],{"type":73,"value":150},"The useSupabaseClient composable is providing all methods to manage authorization under ",{"type":61,"tag":110,"props":152,"children":154},{"className":153},[],[155],{"type":73,"value":156},"useSupabaseClient().auth",{"type":73,"value":158},". For more details please see the ",{"type":61,"tag":66,"props":160,"children":163},{"href":161,"rel":162},"https://supabase.com/docs/reference/javascript/auth-api",[70],[164],{"type":73,"value":165},"supabase-js auth documentation",{"type":73,"value":167},". Here is an example for signing in and out:",{"type":61,"tag":169,"props":170,"children":172},"callout",{"icon":171},"i-heroicons-light-bulb",[173],{"type":61,"tag":62,"props":174,"children":175},{},[176,178,184],{"type":73,"value":177},"If you want a full explanation on how to handle the authentication process, please read this ",{"type":61,"tag":66,"props":179,"children":181},{"href":180},"/get-started#handle-authentication",[182],{"type":73,"value":183},"section",{"type":73,"value":99},{"type":61,"tag":186,"props":187,"children":191},"pre",{"className":188,"code":189,"language":190,"meta":55,"style":55},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst supabase = useSupabaseClient()\n\nconst signInWithOAuth = async () => {\n const { error } = await supabase.auth.signInWithOAuth({\n provider: 'github',\n options: {\n redirectTo: 'http://localhost:3000/confirm',\n },\n })\n if (error) console.log(error)\n}\n\nconst signOut = async () => {\n const { error } = await supabase.auth.signOut()\n if (error) console.log(error)\n}\n\u003C/script>\n","ts",[192],{"type":61,"tag":110,"props":193,"children":194},{"__ignoreMap":55},[195,237,267,277,314,383,417,434,464,473,487,537,546,554,587,640,684,692],{"type":61,"tag":196,"props":197,"children":200},"span",{"class":198,"line":199},"line",1,[201,207,213,218,223,228,232],{"type":61,"tag":196,"props":202,"children":204},{"style":203},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[205],{"type":73,"value":206},"\u003C",{"type":61,"tag":196,"props":208,"children":210},{"style":209},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[211],{"type":73,"value":212},"script setup lang",{"type":61,"tag":196,"props":214,"children":215},{"style":203},[216],{"type":73,"value":217},"=",{"type":61,"tag":196,"props":219,"children":220},{"style":203},[221],{"type":73,"value":222},"\"",{"type":61,"tag":196,"props":224,"children":226},{"style":225},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[227],{"type":73,"value":190},{"type":61,"tag":196,"props":229,"children":230},{"style":203},[231],{"type":73,"value":222},{"type":61,"tag":196,"props":233,"children":234},{"style":203},[235],{"type":73,"value":236},">\n",{"type":61,"tag":196,"props":238,"children":240},{"class":198,"line":239},2,[241,247,252,256,262],{"type":61,"tag":196,"props":242,"children":244},{"style":243},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[245],{"type":73,"value":246},"const",{"type":61,"tag":196,"props":248,"children":249},{"style":209},[250],{"type":73,"value":251}," supabase ",{"type":61,"tag":196,"props":253,"children":254},{"style":203},[255],{"type":73,"value":217},{"type":61,"tag":196,"props":257,"children":259},{"style":258},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[260],{"type":73,"value":261}," useSupabaseClient",{"type":61,"tag":196,"props":263,"children":264},{"style":209},[265],{"type":73,"value":266},"()\n",{"type":61,"tag":196,"props":268,"children":270},{"class":198,"line":269},3,[271],{"type":61,"tag":196,"props":272,"children":274},{"emptyLinePlaceholder":273},true,[275],{"type":73,"value":276},"\n",{"type":61,"tag":196,"props":278,"children":280},{"class":198,"line":279},4,[281,285,290,294,299,304,309],{"type":61,"tag":196,"props":282,"children":283},{"style":243},[284],{"type":73,"value":246},{"type":61,"tag":196,"props":286,"children":287},{"style":209},[288],{"type":73,"value":289}," signInWithOAuth ",{"type":61,"tag":196,"props":291,"children":292},{"style":203},[293],{"type":73,"value":217},{"type":61,"tag":196,"props":295,"children":296},{"style":243},[297],{"type":73,"value":298}," async",{"type":61,"tag":196,"props":300,"children":301},{"style":203},[302],{"type":73,"value":303}," ()",{"type":61,"tag":196,"props":305,"children":306},{"style":243},[307],{"type":73,"value":308}," =>",{"type":61,"tag":196,"props":310,"children":311},{"style":203},[312],{"type":73,"value":313}," {\n",{"type":61,"tag":196,"props":315,"children":317},{"class":198,"line":316},5,[318,323,328,333,338,343,349,354,358,363,367,372,378],{"type":61,"tag":196,"props":319,"children":320},{"style":243},[321],{"type":73,"value":322}," const",{"type":61,"tag":196,"props":324,"children":325},{"style":203},[326],{"type":73,"value":327}," {",{"type":61,"tag":196,"props":329,"children":330},{"style":209},[331],{"type":73,"value":332}," error",{"type":61,"tag":196,"props":334,"children":335},{"style":203},[336],{"type":73,"value":337}," }",{"type":61,"tag":196,"props":339,"children":340},{"style":203},[341],{"type":73,"value":342}," =",{"type":61,"tag":196,"props":344,"children":346},{"style":345},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[347],{"type":73,"value":348}," await",{"type":61,"tag":196,"props":350,"children":351},{"style":209},[352],{"type":73,"value":353}," supabase",{"type":61,"tag":196,"props":355,"children":356},{"style":203},[357],{"type":73,"value":99},{"type":61,"tag":196,"props":359,"children":360},{"style":209},[361],{"type":73,"value":362},"auth",{"type":61,"tag":196,"props":364,"children":365},{"style":203},[366],{"type":73,"value":99},{"type":61,"tag":196,"props":368,"children":369},{"style":258},[370],{"type":73,"value":371},"signInWithOAuth",{"type":61,"tag":196,"props":373,"children":375},{"style":374},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[376],{"type":73,"value":377},"(",{"type":61,"tag":196,"props":379,"children":380},{"style":203},[381],{"type":73,"value":382},"{\n",{"type":61,"tag":196,"props":384,"children":386},{"class":198,"line":385},6,[387,392,397,402,407,412],{"type":61,"tag":196,"props":388,"children":389},{"style":374},[390],{"type":73,"value":391}," provider",{"type":61,"tag":196,"props":393,"children":394},{"style":203},[395],{"type":73,"value":396},":",{"type":61,"tag":196,"props":398,"children":399},{"style":203},[400],{"type":73,"value":401}," '",{"type":61,"tag":196,"props":403,"children":404},{"style":225},[405],{"type":73,"value":406},"github",{"type":61,"tag":196,"props":408,"children":409},{"style":203},[410],{"type":73,"value":411},"'",{"type":61,"tag":196,"props":413,"children":414},{"style":203},[415],{"type":73,"value":416},",\n",{"type":61,"tag":196,"props":418,"children":420},{"class":198,"line":419},7,[421,426,430],{"type":61,"tag":196,"props":422,"children":423},{"style":374},[424],{"type":73,"value":425}," options",{"type":61,"tag":196,"props":427,"children":428},{"style":203},[429],{"type":73,"value":396},{"type":61,"tag":196,"props":431,"children":432},{"style":203},[433],{"type":73,"value":313},{"type":61,"tag":196,"props":435,"children":437},{"class":198,"line":436},8,[438,443,447,451,456,460],{"type":61,"tag":196,"props":439,"children":440},{"style":374},[441],{"type":73,"value":442}," redirectTo",{"type":61,"tag":196,"props":444,"children":445},{"style":203},[446],{"type":73,"value":396},{"type":61,"tag":196,"props":448,"children":449},{"style":203},[450],{"type":73,"value":401},{"type":61,"tag":196,"props":452,"children":453},{"style":225},[454],{"type":73,"value":455},"http://localhost:3000/confirm",{"type":61,"tag":196,"props":457,"children":458},{"style":203},[459],{"type":73,"value":411},{"type":61,"tag":196,"props":461,"children":462},{"style":203},[463],{"type":73,"value":416},{"type":61,"tag":196,"props":465,"children":467},{"class":198,"line":466},9,[468],{"type":61,"tag":196,"props":469,"children":470},{"style":203},[471],{"type":73,"value":472}," },\n",{"type":61,"tag":196,"props":474,"children":476},{"class":198,"line":475},10,[477,482],{"type":61,"tag":196,"props":478,"children":479},{"style":203},[480],{"type":73,"value":481}," }",{"type":61,"tag":196,"props":483,"children":484},{"style":374},[485],{"type":73,"value":486},")\n",{"type":61,"tag":196,"props":488,"children":490},{"class":198,"line":489},11,[491,496,501,506,511,516,520,525,529,533],{"type":61,"tag":196,"props":492,"children":493},{"style":345},[494],{"type":73,"value":495}," if",{"type":61,"tag":196,"props":497,"children":498},{"style":374},[499],{"type":73,"value":500}," (",{"type":61,"tag":196,"props":502,"children":503},{"style":209},[504],{"type":73,"value":505},"error",{"type":61,"tag":196,"props":507,"children":508},{"style":374},[509],{"type":73,"value":510},") ",{"type":61,"tag":196,"props":512,"children":513},{"style":209},[514],{"type":73,"value":515},"console",{"type":61,"tag":196,"props":517,"children":518},{"style":203},[519],{"type":73,"value":99},{"type":61,"tag":196,"props":521,"children":522},{"style":258},[523],{"type":73,"value":524},"log",{"type":61,"tag":196,"props":526,"children":527},{"style":374},[528],{"type":73,"value":377},{"type":61,"tag":196,"props":530,"children":531},{"style":209},[532],{"type":73,"value":505},{"type":61,"tag":196,"props":534,"children":535},{"style":374},[536],{"type":73,"value":486},{"type":61,"tag":196,"props":538,"children":540},{"class":198,"line":539},12,[541],{"type":61,"tag":196,"props":542,"children":543},{"style":203},[544],{"type":73,"value":545},"}\n",{"type":61,"tag":196,"props":547,"children":549},{"class":198,"line":548},13,[550],{"type":61,"tag":196,"props":551,"children":552},{"emptyLinePlaceholder":273},[553],{"type":73,"value":276},{"type":61,"tag":196,"props":555,"children":557},{"class":198,"line":556},14,[558,562,567,571,575,579,583],{"type":61,"tag":196,"props":559,"children":560},{"style":243},[561],{"type":73,"value":246},{"type":61,"tag":196,"props":563,"children":564},{"style":209},[565],{"type":73,"value":566}," signOut ",{"type":61,"tag":196,"props":568,"children":569},{"style":203},[570],{"type":73,"value":217},{"type":61,"tag":196,"props":572,"children":573},{"style":243},[574],{"type":73,"value":298},{"type":61,"tag":196,"props":576,"children":577},{"style":203},[578],{"type":73,"value":303},{"type":61,"tag":196,"props":580,"children":581},{"style":243},[582],{"type":73,"value":308},{"type":61,"tag":196,"props":584,"children":585},{"style":203},[586],{"type":73,"value":313},{"type":61,"tag":196,"props":588,"children":590},{"class":198,"line":589},15,[591,595,599,603,607,611,615,619,623,627,631,636],{"type":61,"tag":196,"props":592,"children":593},{"style":243},[594],{"type":73,"value":322},{"type":61,"tag":196,"props":596,"children":597},{"style":203},[598],{"type":73,"value":327},{"type":61,"tag":196,"props":600,"children":601},{"style":209},[602],{"type":73,"value":332},{"type":61,"tag":196,"props":604,"children":605},{"style":203},[606],{"type":73,"value":337},{"type":61,"tag":196,"props":608,"children":609},{"style":203},[610],{"type":73,"value":342},{"type":61,"tag":196,"props":612,"children":613},{"style":345},[614],{"type":73,"value":348},{"type":61,"tag":196,"props":616,"children":617},{"style":209},[618],{"type":73,"value":353},{"type":61,"tag":196,"props":620,"children":621},{"style":203},[622],{"type":73,"value":99},{"type":61,"tag":196,"props":624,"children":625},{"style":209},[626],{"type":73,"value":362},{"type":61,"tag":196,"props":628,"children":629},{"style":203},[630],{"type":73,"value":99},{"type":61,"tag":196,"props":632,"children":633},{"style":258},[634],{"type":73,"value":635},"signOut",{"type":61,"tag":196,"props":637,"children":638},{"style":374},[639],{"type":73,"value":266},{"type":61,"tag":196,"props":641,"children":643},{"class":198,"line":642},16,[644,648,652,656,660,664,668,672,676,680],{"type":61,"tag":196,"props":645,"children":646},{"style":345},[647],{"type":73,"value":495},{"type":61,"tag":196,"props":649,"children":650},{"style":374},[651],{"type":73,"value":500},{"type":61,"tag":196,"props":653,"children":654},{"style":209},[655],{"type":73,"value":505},{"type":61,"tag":196,"props":657,"children":658},{"style":374},[659],{"type":73,"value":510},{"type":61,"tag":196,"props":661,"children":662},{"style":209},[663],{"type":73,"value":515},{"type":61,"tag":196,"props":665,"children":666},{"style":203},[667],{"type":73,"value":99},{"type":61,"tag":196,"props":669,"children":670},{"style":258},[671],{"type":73,"value":524},{"type":61,"tag":196,"props":673,"children":674},{"style":374},[675],{"type":73,"value":377},{"type":61,"tag":196,"props":677,"children":678},{"style":209},[679],{"type":73,"value":505},{"type":61,"tag":196,"props":681,"children":682},{"style":374},[683],{"type":73,"value":486},{"type":61,"tag":196,"props":685,"children":687},{"class":198,"line":686},17,[688],{"type":61,"tag":196,"props":689,"children":690},{"style":203},[691],{"type":73,"value":545},{"type":61,"tag":196,"props":693,"children":695},{"class":198,"line":694},18,[696,701,706],{"type":61,"tag":196,"props":697,"children":698},{"style":203},[699],{"type":73,"value":700},"\u003C/",{"type":61,"tag":196,"props":702,"children":703},{"style":209},[704],{"type":73,"value":705},"script",{"type":61,"tag":196,"props":707,"children":708},{"style":203},[709],{"type":73,"value":236},{"type":61,"tag":62,"props":711,"children":712},{},[713,715,719],{"type":73,"value":714},"Please also take a look at ",{"type":61,"tag":66,"props":716,"children":717},{"href":6},[718],{"type":73,"value":5},{"type":73,"value":720}," for the authorization flow.",{"type":61,"tag":141,"props":722,"children":724},{"id":723},"database-request",[725],{"type":73,"value":726},"Database Request",{"type":61,"tag":62,"props":728,"children":729},{},[730,732,739],{"type":73,"value":731},"Please check ",{"type":61,"tag":66,"props":733,"children":736},{"href":734,"rel":735},"https://supabase.com/docs/reference/javascript/select",[70],[737],{"type":73,"value":738},"Supabase",{"type":73,"value":740}," documentation to fully use the power of Supabase client.",{"type":61,"tag":62,"props":742,"children":743},{},[744,746,752,754,761],{"type":73,"value":745},"Here is an example of a fetch using the ",{"type":61,"tag":110,"props":747,"children":749},{"className":748},[],[750],{"type":73,"value":751},"select",{"type":73,"value":753}," method with Nuxt 3 ",{"type":61,"tag":66,"props":755,"children":758},{"href":756,"rel":757},"https://nuxt.com/docs/getting-started/data-fetching#useasyncdata",[70],[759],{"type":73,"value":760},"useAsyncData",{"type":73,"value":762}," composable.",{"type":61,"tag":186,"props":764,"children":768},{"className":765,"code":766,"language":767,"meta":55,"style":55},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst client = useSupabaseClient()\n\nconst { data: restaurant } = await useAsyncData('restaurant', async () => {\n const { data } = await client.from('restaurants').select('name, location').eq('name', 'My Restaurant Name').single()\n\n return data\n})\n\u003C/script>\n","vue",[769],{"type":61,"tag":110,"props":770,"children":771},{"__ignoreMap":55},[772,813,837,844,925,1077,1084,1097,1108],{"type":61,"tag":196,"props":773,"children":774},{"class":198,"line":199},[775,779,783,788,793,797,801,805,809],{"type":61,"tag":196,"props":776,"children":777},{"style":203},[778],{"type":73,"value":206},{"type":61,"tag":196,"props":780,"children":781},{"style":374},[782],{"type":73,"value":705},{"type":61,"tag":196,"props":784,"children":785},{"style":243},[786],{"type":73,"value":787}," setup",{"type":61,"tag":196,"props":789,"children":790},{"style":243},[791],{"type":73,"value":792}," lang",{"type":61,"tag":196,"props":794,"children":795},{"style":203},[796],{"type":73,"value":217},{"type":61,"tag":196,"props":798,"children":799},{"style":203},[800],{"type":73,"value":222},{"type":61,"tag":196,"props":802,"children":803},{"style":225},[804],{"type":73,"value":190},{"type":61,"tag":196,"props":806,"children":807},{"style":203},[808],{"type":73,"value":222},{"type":61,"tag":196,"props":810,"children":811},{"style":203},[812],{"type":73,"value":236},{"type":61,"tag":196,"props":814,"children":815},{"class":198,"line":239},[816,820,825,829,833],{"type":61,"tag":196,"props":817,"children":818},{"style":243},[819],{"type":73,"value":246},{"type":61,"tag":196,"props":821,"children":822},{"style":209},[823],{"type":73,"value":824}," client ",{"type":61,"tag":196,"props":826,"children":827},{"style":203},[828],{"type":73,"value":217},{"type":61,"tag":196,"props":830,"children":831},{"style":258},[832],{"type":73,"value":261},{"type":61,"tag":196,"props":834,"children":835},{"style":209},[836],{"type":73,"value":266},{"type":61,"tag":196,"props":838,"children":839},{"class":198,"line":269},[840],{"type":61,"tag":196,"props":841,"children":842},{"emptyLinePlaceholder":273},[843],{"type":73,"value":276},{"type":61,"tag":196,"props":845,"children":846},{"class":198,"line":279},[847,851,855,860,864,869,874,878,882,887,891,895,900,904,909,913,917,921],{"type":61,"tag":196,"props":848,"children":849},{"style":243},[850],{"type":73,"value":246},{"type":61,"tag":196,"props":852,"children":853},{"style":203},[854],{"type":73,"value":327},{"type":61,"tag":196,"props":856,"children":857},{"style":374},[858],{"type":73,"value":859}," data",{"type":61,"tag":196,"props":861,"children":862},{"style":203},[863],{"type":73,"value":396},{"type":61,"tag":196,"props":865,"children":866},{"style":209},[867],{"type":73,"value":868}," restaurant ",{"type":61,"tag":196,"props":870,"children":871},{"style":203},[872],{"type":73,"value":873},"}",{"type":61,"tag":196,"props":875,"children":876},{"style":203},[877],{"type":73,"value":342},{"type":61,"tag":196,"props":879,"children":880},{"style":345},[881],{"type":73,"value":348},{"type":61,"tag":196,"props":883,"children":884},{"style":258},[885],{"type":73,"value":886}," useAsyncData",{"type":61,"tag":196,"props":888,"children":889},{"style":209},[890],{"type":73,"value":377},{"type":61,"tag":196,"props":892,"children":893},{"style":203},[894],{"type":73,"value":411},{"type":61,"tag":196,"props":896,"children":897},{"style":225},[898],{"type":73,"value":899},"restaurant",{"type":61,"tag":196,"props":901,"children":902},{"style":203},[903],{"type":73,"value":411},{"type":61,"tag":196,"props":905,"children":906},{"style":203},[907],{"type":73,"value":908},",",{"type":61,"tag":196,"props":910,"children":911},{"style":243},[912],{"type":73,"value":298},{"type":61,"tag":196,"props":914,"children":915},{"style":203},[916],{"type":73,"value":303},{"type":61,"tag":196,"props":918,"children":919},{"style":243},[920],{"type":73,"value":308},{"type":61,"tag":196,"props":922,"children":923},{"style":203},[924],{"type":73,"value":313},{"type":61,"tag":196,"props":926,"children":927},{"class":198,"line":316},[928,932,936,940,944,948,952,957,961,966,970,974,979,983,988,992,996,1000,1004,1009,1013,1017,1021,1026,1030,1034,1039,1043,1047,1051,1056,1060,1064,1068,1073],{"type":61,"tag":196,"props":929,"children":930},{"style":243},[931],{"type":73,"value":322},{"type":61,"tag":196,"props":933,"children":934},{"style":203},[935],{"type":73,"value":327},{"type":61,"tag":196,"props":937,"children":938},{"style":209},[939],{"type":73,"value":859},{"type":61,"tag":196,"props":941,"children":942},{"style":203},[943],{"type":73,"value":337},{"type":61,"tag":196,"props":945,"children":946},{"style":203},[947],{"type":73,"value":342},{"type":61,"tag":196,"props":949,"children":950},{"style":345},[951],{"type":73,"value":348},{"type":61,"tag":196,"props":953,"children":954},{"style":209},[955],{"type":73,"value":956}," client",{"type":61,"tag":196,"props":958,"children":959},{"style":203},[960],{"type":73,"value":99},{"type":61,"tag":196,"props":962,"children":963},{"style":258},[964],{"type":73,"value":965},"from",{"type":61,"tag":196,"props":967,"children":968},{"style":374},[969],{"type":73,"value":377},{"type":61,"tag":196,"props":971,"children":972},{"style":203},[973],{"type":73,"value":411},{"type":61,"tag":196,"props":975,"children":976},{"style":225},[977],{"type":73,"value":978},"restaurants",{"type":61,"tag":196,"props":980,"children":981},{"style":203},[982],{"type":73,"value":411},{"type":61,"tag":196,"props":984,"children":985},{"style":374},[986],{"type":73,"value":987},")",{"type":61,"tag":196,"props":989,"children":990},{"style":203},[991],{"type":73,"value":99},{"type":61,"tag":196,"props":993,"children":994},{"style":258},[995],{"type":73,"value":751},{"type":61,"tag":196,"props":997,"children":998},{"style":374},[999],{"type":73,"value":377},{"type":61,"tag":196,"props":1001,"children":1002},{"style":203},[1003],{"type":73,"value":411},{"type":61,"tag":196,"props":1005,"children":1006},{"style":225},[1007],{"type":73,"value":1008},"name, location",{"type":61,"tag":196,"props":1010,"children":1011},{"style":203},[1012],{"type":73,"value":411},{"type":61,"tag":196,"props":1014,"children":1015},{"style":374},[1016],{"type":73,"value":987},{"type":61,"tag":196,"props":1018,"children":1019},{"style":203},[1020],{"type":73,"value":99},{"type":61,"tag":196,"props":1022,"children":1023},{"style":258},[1024],{"type":73,"value":1025},"eq",{"type":61,"tag":196,"props":1027,"children":1028},{"style":374},[1029],{"type":73,"value":377},{"type":61,"tag":196,"props":1031,"children":1032},{"style":203},[1033],{"type":73,"value":411},{"type":61,"tag":196,"props":1035,"children":1036},{"style":225},[1037],{"type":73,"value":1038},"name",{"type":61,"tag":196,"props":1040,"children":1041},{"style":203},[1042],{"type":73,"value":411},{"type":61,"tag":196,"props":1044,"children":1045},{"style":203},[1046],{"type":73,"value":908},{"type":61,"tag":196,"props":1048,"children":1049},{"style":203},[1050],{"type":73,"value":401},{"type":61,"tag":196,"props":1052,"children":1053},{"style":225},[1054],{"type":73,"value":1055},"My Restaurant Name",{"type":61,"tag":196,"props":1057,"children":1058},{"style":203},[1059],{"type":73,"value":411},{"type":61,"tag":196,"props":1061,"children":1062},{"style":374},[1063],{"type":73,"value":987},{"type":61,"tag":196,"props":1065,"children":1066},{"style":203},[1067],{"type":73,"value":99},{"type":61,"tag":196,"props":1069,"children":1070},{"style":258},[1071],{"type":73,"value":1072},"single",{"type":61,"tag":196,"props":1074,"children":1075},{"style":374},[1076],{"type":73,"value":266},{"type":61,"tag":196,"props":1078,"children":1079},{"class":198,"line":385},[1080],{"type":61,"tag":196,"props":1081,"children":1082},{"emptyLinePlaceholder":273},[1083],{"type":73,"value":276},{"type":61,"tag":196,"props":1085,"children":1086},{"class":198,"line":419},[1087,1092],{"type":61,"tag":196,"props":1088,"children":1089},{"style":345},[1090],{"type":73,"value":1091}," return",{"type":61,"tag":196,"props":1093,"children":1094},{"style":209},[1095],{"type":73,"value":1096}," data\n",{"type":61,"tag":196,"props":1098,"children":1099},{"class":198,"line":436},[1100,1104],{"type":61,"tag":196,"props":1101,"children":1102},{"style":203},[1103],{"type":73,"value":873},{"type":61,"tag":196,"props":1105,"children":1106},{"style":209},[1107],{"type":73,"value":486},{"type":61,"tag":196,"props":1109,"children":1110},{"class":198,"line":466},[1111,1115,1119],{"type":61,"tag":196,"props":1112,"children":1113},{"style":203},[1114],{"type":73,"value":700},{"type":61,"tag":196,"props":1116,"children":1117},{"style":374},[1118],{"type":73,"value":705},{"type":61,"tag":196,"props":1120,"children":1121},{"style":203},[1122],{"type":73,"value":236},{"type":61,"tag":141,"props":1124,"children":1126},{"id":1125},"realtime",[1127],{"type":73,"value":1128},"Realtime",{"type":61,"tag":62,"props":1130,"children":1131},{},[1132,1134,1141],{"type":73,"value":1133},"Based on ",{"type":61,"tag":66,"props":1135,"children":1138},{"href":1136,"rel":1137},"https://github.com/supabase/realtime",[70],[1139],{"type":73,"value":1140},"Supabase Realtime",{"type":73,"value":1142},", listen to changes in your PostgreSQL Database and broadcasts them over WebSockets.",{"type":61,"tag":62,"props":1144,"children":1145},{},[1146,1148,1155],{"type":73,"value":1147},"To enable it, make sure you have turned on the ",{"type":61,"tag":66,"props":1149,"children":1152},{"href":1150,"rel":1151},"https://supabase.com/docs/guides/api#realtime-api",[70],[1153],{"type":73,"value":1154},"Realtime API",{"type":73,"value":1156}," for your table.",{"type":61,"tag":62,"props":1158,"children":1159},{},[1160],{"type":73,"value":1161},"Then, listen to changes directly in your vue page / component:",{"type":61,"tag":186,"props":1163,"children":1165},{"className":765,"code":1164,"language":767,"meta":55,"style":55},"\u003Cscript setup lang=\"ts\">\nimport type { RealtimeChannel } from '@supabase/supabase-js'\n\nconst client = useSupabaseClient()\n\nlet realtimeChannel: RealtimeChannel\n\n// Fetch collaborators and get the refresh method provided by useAsyncData\nconst { data: collaborators, refresh: refreshCollaborators } = await useAsyncData('collaborators', async () => {\n const { data } = await client.from('collaborators').select('name')\n return data\n})\n\n// Once page is mounted, listen to changes on the `collaborators` table and refresh collaborators when receiving event\nonMounted(() => {\n // Real time listener for new workouts\n realtimeChannel = client.channel('public:collaborators').on(\n 'postgres_changes',\n { event: '*', schema: 'public', table: 'collaborators' },\n () => refreshCollaborators()\n )\n\n realtimeChannel.subscribe()\n})\n\n // Don't forget to unsubscribe when user left the page\nonUnmounted(() => {\n client.removeChannel(realtimeChannel)\n})\n\u003C/script>\n",[1166],{"type":61,"tag":110,"props":1167,"children":1168},{"__ignoreMap":55},[1169,1208,1253,1260,1283,1290,1313,1320,1329,1424,1511,1522,1533,1540,1548,1573,1581,1641,1662,1749,1771,1780,1788,1809,1821,1829,1838,1863,1894,1906],{"type":61,"tag":196,"props":1170,"children":1171},{"class":198,"line":199},[1172,1176,1180,1184,1188,1192,1196,1200,1204],{"type":61,"tag":196,"props":1173,"children":1174},{"style":203},[1175],{"type":73,"value":206},{"type":61,"tag":196,"props":1177,"children":1178},{"style":374},[1179],{"type":73,"value":705},{"type":61,"tag":196,"props":1181,"children":1182},{"style":243},[1183],{"type":73,"value":787},{"type":61,"tag":196,"props":1185,"children":1186},{"style":243},[1187],{"type":73,"value":792},{"type":61,"tag":196,"props":1189,"children":1190},{"style":203},[1191],{"type":73,"value":217},{"type":61,"tag":196,"props":1193,"children":1194},{"style":203},[1195],{"type":73,"value":222},{"type":61,"tag":196,"props":1197,"children":1198},{"style":225},[1199],{"type":73,"value":190},{"type":61,"tag":196,"props":1201,"children":1202},{"style":203},[1203],{"type":73,"value":222},{"type":61,"tag":196,"props":1205,"children":1206},{"style":203},[1207],{"type":73,"value":236},{"type":61,"tag":196,"props":1209,"children":1210},{"class":198,"line":239},[1211,1216,1221,1225,1230,1234,1239,1243,1248],{"type":61,"tag":196,"props":1212,"children":1213},{"style":345},[1214],{"type":73,"value":1215},"import",{"type":61,"tag":196,"props":1217,"children":1218},{"style":345},[1219],{"type":73,"value":1220}," type",{"type":61,"tag":196,"props":1222,"children":1223},{"style":203},[1224],{"type":73,"value":327},{"type":61,"tag":196,"props":1226,"children":1227},{"style":209},[1228],{"type":73,"value":1229}," RealtimeChannel",{"type":61,"tag":196,"props":1231,"children":1232},{"style":203},[1233],{"type":73,"value":337},{"type":61,"tag":196,"props":1235,"children":1236},{"style":345},[1237],{"type":73,"value":1238}," from",{"type":61,"tag":196,"props":1240,"children":1241},{"style":203},[1242],{"type":73,"value":401},{"type":61,"tag":196,"props":1244,"children":1245},{"style":225},[1246],{"type":73,"value":1247},"@supabase/supabase-js",{"type":61,"tag":196,"props":1249,"children":1250},{"style":203},[1251],{"type":73,"value":1252},"'\n",{"type":61,"tag":196,"props":1254,"children":1255},{"class":198,"line":269},[1256],{"type":61,"tag":196,"props":1257,"children":1258},{"emptyLinePlaceholder":273},[1259],{"type":73,"value":276},{"type":61,"tag":196,"props":1261,"children":1262},{"class":198,"line":279},[1263,1267,1271,1275,1279],{"type":61,"tag":196,"props":1264,"children":1265},{"style":243},[1266],{"type":73,"value":246},{"type":61,"tag":196,"props":1268,"children":1269},{"style":209},[1270],{"type":73,"value":824},{"type":61,"tag":196,"props":1272,"children":1273},{"style":203},[1274],{"type":73,"value":217},{"type":61,"tag":196,"props":1276,"children":1277},{"style":258},[1278],{"type":73,"value":261},{"type":61,"tag":196,"props":1280,"children":1281},{"style":209},[1282],{"type":73,"value":266},{"type":61,"tag":196,"props":1284,"children":1285},{"class":198,"line":316},[1286],{"type":61,"tag":196,"props":1287,"children":1288},{"emptyLinePlaceholder":273},[1289],{"type":73,"value":276},{"type":61,"tag":196,"props":1291,"children":1292},{"class":198,"line":385},[1293,1298,1303,1307],{"type":61,"tag":196,"props":1294,"children":1295},{"style":243},[1296],{"type":73,"value":1297},"let",{"type":61,"tag":196,"props":1299,"children":1300},{"style":209},[1301],{"type":73,"value":1302}," realtimeChannel",{"type":61,"tag":196,"props":1304,"children":1305},{"style":203},[1306],{"type":73,"value":396},{"type":61,"tag":196,"props":1308,"children":1310},{"style":1309},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1311],{"type":73,"value":1312}," RealtimeChannel\n",{"type":61,"tag":196,"props":1314,"children":1315},{"class":198,"line":419},[1316],{"type":61,"tag":196,"props":1317,"children":1318},{"emptyLinePlaceholder":273},[1319],{"type":73,"value":276},{"type":61,"tag":196,"props":1321,"children":1322},{"class":198,"line":436},[1323],{"type":61,"tag":196,"props":1324,"children":1326},{"style":1325},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[1327],{"type":73,"value":1328},"// Fetch collaborators and get the refresh method provided by useAsyncData\n",{"type":61,"tag":196,"props":1330,"children":1331},{"class":198,"line":466},[1332,1336,1340,1344,1348,1353,1357,1362,1366,1371,1375,1379,1383,1387,1391,1395,1400,1404,1408,1412,1416,1420],{"type":61,"tag":196,"props":1333,"children":1334},{"style":243},[1335],{"type":73,"value":246},{"type":61,"tag":196,"props":1337,"children":1338},{"style":203},[1339],{"type":73,"value":327},{"type":61,"tag":196,"props":1341,"children":1342},{"style":374},[1343],{"type":73,"value":859},{"type":61,"tag":196,"props":1345,"children":1346},{"style":203},[1347],{"type":73,"value":396},{"type":61,"tag":196,"props":1349,"children":1350},{"style":209},[1351],{"type":73,"value":1352}," collaborators",{"type":61,"tag":196,"props":1354,"children":1355},{"style":203},[1356],{"type":73,"value":908},{"type":61,"tag":196,"props":1358,"children":1359},{"style":374},[1360],{"type":73,"value":1361}," refresh",{"type":61,"tag":196,"props":1363,"children":1364},{"style":203},[1365],{"type":73,"value":396},{"type":61,"tag":196,"props":1367,"children":1368},{"style":209},[1369],{"type":73,"value":1370}," refreshCollaborators ",{"type":61,"tag":196,"props":1372,"children":1373},{"style":203},[1374],{"type":73,"value":873},{"type":61,"tag":196,"props":1376,"children":1377},{"style":203},[1378],{"type":73,"value":342},{"type":61,"tag":196,"props":1380,"children":1381},{"style":345},[1382],{"type":73,"value":348},{"type":61,"tag":196,"props":1384,"children":1385},{"style":258},[1386],{"type":73,"value":886},{"type":61,"tag":196,"props":1388,"children":1389},{"style":209},[1390],{"type":73,"value":377},{"type":61,"tag":196,"props":1392,"children":1393},{"style":203},[1394],{"type":73,"value":411},{"type":61,"tag":196,"props":1396,"children":1397},{"style":225},[1398],{"type":73,"value":1399},"collaborators",{"type":61,"tag":196,"props":1401,"children":1402},{"style":203},[1403],{"type":73,"value":411},{"type":61,"tag":196,"props":1405,"children":1406},{"style":203},[1407],{"type":73,"value":908},{"type":61,"tag":196,"props":1409,"children":1410},{"style":243},[1411],{"type":73,"value":298},{"type":61,"tag":196,"props":1413,"children":1414},{"style":203},[1415],{"type":73,"value":303},{"type":61,"tag":196,"props":1417,"children":1418},{"style":243},[1419],{"type":73,"value":308},{"type":61,"tag":196,"props":1421,"children":1422},{"style":203},[1423],{"type":73,"value":313},{"type":61,"tag":196,"props":1425,"children":1426},{"class":198,"line":475},[1427,1431,1435,1439,1443,1447,1451,1455,1459,1463,1467,1471,1475,1479,1483,1487,1491,1495,1499,1503,1507],{"type":61,"tag":196,"props":1428,"children":1429},{"style":243},[1430],{"type":73,"value":322},{"type":61,"tag":196,"props":1432,"children":1433},{"style":203},[1434],{"type":73,"value":327},{"type":61,"tag":196,"props":1436,"children":1437},{"style":209},[1438],{"type":73,"value":859},{"type":61,"tag":196,"props":1440,"children":1441},{"style":203},[1442],{"type":73,"value":337},{"type":61,"tag":196,"props":1444,"children":1445},{"style":203},[1446],{"type":73,"value":342},{"type":61,"tag":196,"props":1448,"children":1449},{"style":345},[1450],{"type":73,"value":348},{"type":61,"tag":196,"props":1452,"children":1453},{"style":209},[1454],{"type":73,"value":956},{"type":61,"tag":196,"props":1456,"children":1457},{"style":203},[1458],{"type":73,"value":99},{"type":61,"tag":196,"props":1460,"children":1461},{"style":258},[1462],{"type":73,"value":965},{"type":61,"tag":196,"props":1464,"children":1465},{"style":374},[1466],{"type":73,"value":377},{"type":61,"tag":196,"props":1468,"children":1469},{"style":203},[1470],{"type":73,"value":411},{"type":61,"tag":196,"props":1472,"children":1473},{"style":225},[1474],{"type":73,"value":1399},{"type":61,"tag":196,"props":1476,"children":1477},{"style":203},[1478],{"type":73,"value":411},{"type":61,"tag":196,"props":1480,"children":1481},{"style":374},[1482],{"type":73,"value":987},{"type":61,"tag":196,"props":1484,"children":1485},{"style":203},[1486],{"type":73,"value":99},{"type":61,"tag":196,"props":1488,"children":1489},{"style":258},[1490],{"type":73,"value":751},{"type":61,"tag":196,"props":1492,"children":1493},{"style":374},[1494],{"type":73,"value":377},{"type":61,"tag":196,"props":1496,"children":1497},{"style":203},[1498],{"type":73,"value":411},{"type":61,"tag":196,"props":1500,"children":1501},{"style":225},[1502],{"type":73,"value":1038},{"type":61,"tag":196,"props":1504,"children":1505},{"style":203},[1506],{"type":73,"value":411},{"type":61,"tag":196,"props":1508,"children":1509},{"style":374},[1510],{"type":73,"value":486},{"type":61,"tag":196,"props":1512,"children":1513},{"class":198,"line":489},[1514,1518],{"type":61,"tag":196,"props":1515,"children":1516},{"style":345},[1517],{"type":73,"value":1091},{"type":61,"tag":196,"props":1519,"children":1520},{"style":209},[1521],{"type":73,"value":1096},{"type":61,"tag":196,"props":1523,"children":1524},{"class":198,"line":539},[1525,1529],{"type":61,"tag":196,"props":1526,"children":1527},{"style":203},[1528],{"type":73,"value":873},{"type":61,"tag":196,"props":1530,"children":1531},{"style":209},[1532],{"type":73,"value":486},{"type":61,"tag":196,"props":1534,"children":1535},{"class":198,"line":548},[1536],{"type":61,"tag":196,"props":1537,"children":1538},{"emptyLinePlaceholder":273},[1539],{"type":73,"value":276},{"type":61,"tag":196,"props":1541,"children":1542},{"class":198,"line":556},[1543],{"type":61,"tag":196,"props":1544,"children":1545},{"style":1325},[1546],{"type":73,"value":1547},"// Once page is mounted, listen to changes on the `collaborators` table and refresh collaborators when receiving event\n",{"type":61,"tag":196,"props":1549,"children":1550},{"class":198,"line":589},[1551,1556,1560,1565,1569],{"type":61,"tag":196,"props":1552,"children":1553},{"style":258},[1554],{"type":73,"value":1555},"onMounted",{"type":61,"tag":196,"props":1557,"children":1558},{"style":209},[1559],{"type":73,"value":377},{"type":61,"tag":196,"props":1561,"children":1562},{"style":203},[1563],{"type":73,"value":1564},"()",{"type":61,"tag":196,"props":1566,"children":1567},{"style":243},[1568],{"type":73,"value":308},{"type":61,"tag":196,"props":1570,"children":1571},{"style":203},[1572],{"type":73,"value":313},{"type":61,"tag":196,"props":1574,"children":1575},{"class":198,"line":642},[1576],{"type":61,"tag":196,"props":1577,"children":1578},{"style":1325},[1579],{"type":73,"value":1580}," // Real time listener for new workouts\n",{"type":61,"tag":196,"props":1582,"children":1583},{"class":198,"line":686},[1584,1589,1593,1597,1601,1606,1610,1614,1619,1623,1627,1631,1636],{"type":61,"tag":196,"props":1585,"children":1586},{"style":209},[1587],{"type":73,"value":1588}," realtimeChannel",{"type":61,"tag":196,"props":1590,"children":1591},{"style":203},[1592],{"type":73,"value":342},{"type":61,"tag":196,"props":1594,"children":1595},{"style":209},[1596],{"type":73,"value":956},{"type":61,"tag":196,"props":1598,"children":1599},{"style":203},[1600],{"type":73,"value":99},{"type":61,"tag":196,"props":1602,"children":1603},{"style":258},[1604],{"type":73,"value":1605},"channel",{"type":61,"tag":196,"props":1607,"children":1608},{"style":374},[1609],{"type":73,"value":377},{"type":61,"tag":196,"props":1611,"children":1612},{"style":203},[1613],{"type":73,"value":411},{"type":61,"tag":196,"props":1615,"children":1616},{"style":225},[1617],{"type":73,"value":1618},"public:collaborators",{"type":61,"tag":196,"props":1620,"children":1621},{"style":203},[1622],{"type":73,"value":411},{"type":61,"tag":196,"props":1624,"children":1625},{"style":374},[1626],{"type":73,"value":987},{"type":61,"tag":196,"props":1628,"children":1629},{"style":203},[1630],{"type":73,"value":99},{"type":61,"tag":196,"props":1632,"children":1633},{"style":258},[1634],{"type":73,"value":1635},"on",{"type":61,"tag":196,"props":1637,"children":1638},{"style":374},[1639],{"type":73,"value":1640},"(\n",{"type":61,"tag":196,"props":1642,"children":1643},{"class":198,"line":694},[1644,1649,1654,1658],{"type":61,"tag":196,"props":1645,"children":1646},{"style":203},[1647],{"type":73,"value":1648}," '",{"type":61,"tag":196,"props":1650,"children":1651},{"style":225},[1652],{"type":73,"value":1653},"postgres_changes",{"type":61,"tag":196,"props":1655,"children":1656},{"style":203},[1657],{"type":73,"value":411},{"type":61,"tag":196,"props":1659,"children":1660},{"style":203},[1661],{"type":73,"value":416},{"type":61,"tag":196,"props":1663,"children":1665},{"class":198,"line":1664},19,[1666,1671,1676,1680,1684,1689,1693,1697,1702,1706,1710,1715,1719,1723,1728,1732,1736,1740,1744],{"type":61,"tag":196,"props":1667,"children":1668},{"style":203},[1669],{"type":73,"value":1670}," {",{"type":61,"tag":196,"props":1672,"children":1673},{"style":374},[1674],{"type":73,"value":1675}," event",{"type":61,"tag":196,"props":1677,"children":1678},{"style":203},[1679],{"type":73,"value":396},{"type":61,"tag":196,"props":1681,"children":1682},{"style":203},[1683],{"type":73,"value":401},{"type":61,"tag":196,"props":1685,"children":1686},{"style":225},[1687],{"type":73,"value":1688},"*",{"type":61,"tag":196,"props":1690,"children":1691},{"style":203},[1692],{"type":73,"value":411},{"type":61,"tag":196,"props":1694,"children":1695},{"style":203},[1696],{"type":73,"value":908},{"type":61,"tag":196,"props":1698,"children":1699},{"style":374},[1700],{"type":73,"value":1701}," schema",{"type":61,"tag":196,"props":1703,"children":1704},{"style":203},[1705],{"type":73,"value":396},{"type":61,"tag":196,"props":1707,"children":1708},{"style":203},[1709],{"type":73,"value":401},{"type":61,"tag":196,"props":1711,"children":1712},{"style":225},[1713],{"type":73,"value":1714},"public",{"type":61,"tag":196,"props":1716,"children":1717},{"style":203},[1718],{"type":73,"value":411},{"type":61,"tag":196,"props":1720,"children":1721},{"style":203},[1722],{"type":73,"value":908},{"type":61,"tag":196,"props":1724,"children":1725},{"style":374},[1726],{"type":73,"value":1727}," table",{"type":61,"tag":196,"props":1729,"children":1730},{"style":203},[1731],{"type":73,"value":396},{"type":61,"tag":196,"props":1733,"children":1734},{"style":203},[1735],{"type":73,"value":401},{"type":61,"tag":196,"props":1737,"children":1738},{"style":225},[1739],{"type":73,"value":1399},{"type":61,"tag":196,"props":1741,"children":1742},{"style":203},[1743],{"type":73,"value":411},{"type":61,"tag":196,"props":1745,"children":1746},{"style":203},[1747],{"type":73,"value":1748}," },\n",{"type":61,"tag":196,"props":1750,"children":1752},{"class":198,"line":1751},20,[1753,1758,1762,1767],{"type":61,"tag":196,"props":1754,"children":1755},{"style":203},[1756],{"type":73,"value":1757}," ()",{"type":61,"tag":196,"props":1759,"children":1760},{"style":243},[1761],{"type":73,"value":308},{"type":61,"tag":196,"props":1763,"children":1764},{"style":258},[1765],{"type":73,"value":1766}," refreshCollaborators",{"type":61,"tag":196,"props":1768,"children":1769},{"style":374},[1770],{"type":73,"value":266},{"type":61,"tag":196,"props":1772,"children":1774},{"class":198,"line":1773},21,[1775],{"type":61,"tag":196,"props":1776,"children":1777},{"style":374},[1778],{"type":73,"value":1779}," )\n",{"type":61,"tag":196,"props":1781,"children":1783},{"class":198,"line":1782},22,[1784],{"type":61,"tag":196,"props":1785,"children":1786},{"emptyLinePlaceholder":273},[1787],{"type":73,"value":276},{"type":61,"tag":196,"props":1789,"children":1791},{"class":198,"line":1790},23,[1792,1796,1800,1805],{"type":61,"tag":196,"props":1793,"children":1794},{"style":209},[1795],{"type":73,"value":1588},{"type":61,"tag":196,"props":1797,"children":1798},{"style":203},[1799],{"type":73,"value":99},{"type":61,"tag":196,"props":1801,"children":1802},{"style":258},[1803],{"type":73,"value":1804},"subscribe",{"type":61,"tag":196,"props":1806,"children":1807},{"style":374},[1808],{"type":73,"value":266},{"type":61,"tag":196,"props":1810,"children":1812},{"class":198,"line":1811},24,[1813,1817],{"type":61,"tag":196,"props":1814,"children":1815},{"style":203},[1816],{"type":73,"value":873},{"type":61,"tag":196,"props":1818,"children":1819},{"style":209},[1820],{"type":73,"value":486},{"type":61,"tag":196,"props":1822,"children":1824},{"class":198,"line":1823},25,[1825],{"type":61,"tag":196,"props":1826,"children":1827},{"emptyLinePlaceholder":273},[1828],{"type":73,"value":276},{"type":61,"tag":196,"props":1830,"children":1832},{"class":198,"line":1831},26,[1833],{"type":61,"tag":196,"props":1834,"children":1835},{"style":1325},[1836],{"type":73,"value":1837}," // Don't forget to unsubscribe when user left the page\n",{"type":61,"tag":196,"props":1839,"children":1841},{"class":198,"line":1840},27,[1842,1847,1851,1855,1859],{"type":61,"tag":196,"props":1843,"children":1844},{"style":258},[1845],{"type":73,"value":1846},"onUnmounted",{"type":61,"tag":196,"props":1848,"children":1849},{"style":209},[1850],{"type":73,"value":377},{"type":61,"tag":196,"props":1852,"children":1853},{"style":203},[1854],{"type":73,"value":1564},{"type":61,"tag":196,"props":1856,"children":1857},{"style":243},[1858],{"type":73,"value":308},{"type":61,"tag":196,"props":1860,"children":1861},{"style":203},[1862],{"type":73,"value":313},{"type":61,"tag":196,"props":1864,"children":1866},{"class":198,"line":1865},28,[1867,1872,1876,1881,1885,1890],{"type":61,"tag":196,"props":1868,"children":1869},{"style":209},[1870],{"type":73,"value":1871}," client",{"type":61,"tag":196,"props":1873,"children":1874},{"style":203},[1875],{"type":73,"value":99},{"type":61,"tag":196,"props":1877,"children":1878},{"style":258},[1879],{"type":73,"value":1880},"removeChannel",{"type":61,"tag":196,"props":1882,"children":1883},{"style":374},[1884],{"type":73,"value":377},{"type":61,"tag":196,"props":1886,"children":1887},{"style":209},[1888],{"type":73,"value":1889},"realtimeChannel",{"type":61,"tag":196,"props":1891,"children":1892},{"style":374},[1893],{"type":73,"value":486},{"type":61,"tag":196,"props":1895,"children":1897},{"class":198,"line":1896},29,[1898,1902],{"type":61,"tag":196,"props":1899,"children":1900},{"style":203},[1901],{"type":73,"value":873},{"type":61,"tag":196,"props":1903,"children":1904},{"style":209},[1905],{"type":73,"value":486},{"type":61,"tag":196,"props":1907,"children":1909},{"class":198,"line":1908},30,[1910,1914,1918],{"type":61,"tag":196,"props":1911,"children":1912},{"style":203},[1913],{"type":73,"value":700},{"type":61,"tag":196,"props":1915,"children":1916},{"style":374},[1917],{"type":73,"value":705},{"type":61,"tag":196,"props":1919,"children":1920},{"style":203},[1921],{"type":73,"value":236},{"type":61,"tag":141,"props":1923,"children":1925},{"id":1924},"typescript",[1926],{"type":73,"value":1927},"Typescript",{"type":61,"tag":62,"props":1929,"children":1930},{},[1931,1933,1940],{"type":73,"value":1932},"You can pass Database typings to the client. Check Supabase ",{"type":61,"tag":66,"props":1934,"children":1937},{"href":1935,"rel":1936},"https://supabase.com/docs/reference/javascript/release-notes#typescript-support",[70],[1938],{"type":73,"value":1939},"documentation",{"type":73,"value":1941}," for further information.",{"type":61,"tag":186,"props":1943,"children":1945},{"className":765,"code":1944,"language":767,"meta":55,"style":55},"\u003Cscript setup lang=\"ts\">\nimport type { Database } from '~/types'\nconst client = useSupabaseClient\u003CDatabase>()\n\u003C/script>\n",[1946],{"type":61,"tag":110,"props":1947,"children":1948},{"__ignoreMap":55},[1949,1988,2029,2066],{"type":61,"tag":196,"props":1950,"children":1951},{"class":198,"line":199},[1952,1956,1960,1964,1968,1972,1976,1980,1984],{"type":61,"tag":196,"props":1953,"children":1954},{"style":203},[1955],{"type":73,"value":206},{"type":61,"tag":196,"props":1957,"children":1958},{"style":374},[1959],{"type":73,"value":705},{"type":61,"tag":196,"props":1961,"children":1962},{"style":243},[1963],{"type":73,"value":787},{"type":61,"tag":196,"props":1965,"children":1966},{"style":243},[1967],{"type":73,"value":792},{"type":61,"tag":196,"props":1969,"children":1970},{"style":203},[1971],{"type":73,"value":217},{"type":61,"tag":196,"props":1973,"children":1974},{"style":203},[1975],{"type":73,"value":222},{"type":61,"tag":196,"props":1977,"children":1978},{"style":225},[1979],{"type":73,"value":190},{"type":61,"tag":196,"props":1981,"children":1982},{"style":203},[1983],{"type":73,"value":222},{"type":61,"tag":196,"props":1985,"children":1986},{"style":203},[1987],{"type":73,"value":236},{"type":61,"tag":196,"props":1989,"children":1990},{"class":198,"line":239},[1991,1995,1999,2003,2008,2012,2016,2020,2025],{"type":61,"tag":196,"props":1992,"children":1993},{"style":345},[1994],{"type":73,"value":1215},{"type":61,"tag":196,"props":1996,"children":1997},{"style":345},[1998],{"type":73,"value":1220},{"type":61,"tag":196,"props":2000,"children":2001},{"style":203},[2002],{"type":73,"value":327},{"type":61,"tag":196,"props":2004,"children":2005},{"style":209},[2006],{"type":73,"value":2007}," Database",{"type":61,"tag":196,"props":2009,"children":2010},{"style":203},[2011],{"type":73,"value":337},{"type":61,"tag":196,"props":2013,"children":2014},{"style":345},[2015],{"type":73,"value":1238},{"type":61,"tag":196,"props":2017,"children":2018},{"style":203},[2019],{"type":73,"value":401},{"type":61,"tag":196,"props":2021,"children":2022},{"style":225},[2023],{"type":73,"value":2024},"~/types",{"type":61,"tag":196,"props":2026,"children":2027},{"style":203},[2028],{"type":73,"value":1252},{"type":61,"tag":196,"props":2030,"children":2031},{"class":198,"line":269},[2032,2036,2040,2044,2048,2052,2057,2062],{"type":61,"tag":196,"props":2033,"children":2034},{"style":243},[2035],{"type":73,"value":246},{"type":61,"tag":196,"props":2037,"children":2038},{"style":209},[2039],{"type":73,"value":824},{"type":61,"tag":196,"props":2041,"children":2042},{"style":203},[2043],{"type":73,"value":217},{"type":61,"tag":196,"props":2045,"children":2046},{"style":258},[2047],{"type":73,"value":261},{"type":61,"tag":196,"props":2049,"children":2050},{"style":203},[2051],{"type":73,"value":206},{"type":61,"tag":196,"props":2053,"children":2054},{"style":1309},[2055],{"type":73,"value":2056},"Database",{"type":61,"tag":196,"props":2058,"children":2059},{"style":203},[2060],{"type":73,"value":2061},">",{"type":61,"tag":196,"props":2063,"children":2064},{"style":209},[2065],{"type":73,"value":266},{"type":61,"tag":196,"props":2067,"children":2068},{"class":198,"line":279},[2069,2073,2077],{"type":61,"tag":196,"props":2070,"children":2071},{"style":203},[2072],{"type":73,"value":700},{"type":61,"tag":196,"props":2074,"children":2075},{"style":374},[2076],{"type":73,"value":705},{"type":61,"tag":196,"props":2078,"children":2079},{"style":203},[2080],{"type":73,"value":236},{"type":61,"tag":2082,"props":2083,"children":2084},"style",{},[2085],{"type":73,"value":2086},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":55,"searchDepth":239,"depth":239,"links":2088},[2089,2090,2091,2092],{"id":143,"depth":239,"text":9},{"id":723,"depth":239,"text":726},{"id":1125,"depth":239,"text":1128},{"id":1924,"depth":239,"text":1927},"markdown","content:4.usage:composables:useSupabaseClient.md","content","4.usage/composables/useSupabaseClient.md","md",[2099,2101],{"_path":10,"title":9,"description":2100},"Authenticate your user thanks to the PKCE Oauth protocol that enables secure exchange of refresh and access tokens between an application and the authorization server",{"_path":25,"title":24,"description":2102},"Auto import and use your Supabase user with the useSupabaseUser composable",1706280924799] \ No newline at end of file +[{"data":1,"prerenderedAt":2103},["Reactive",2],{"navigation":3,"/usage/composables/usesupabaseclient":52,"/usage/composables/usesupabaseclient-surround":2098},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":22,"_dir":53,"_draft":54,"_partial":54,"_locale":55,"title":21,"description":56,"body":57,"_type":2093,"_id":2094,"_source":2095,"_file":2096,"_extension":2097},"composables",false,"","Make requests to the Supabase API with the useSupabaseClient composable",{"type":58,"children":59,"toc":2087},"root",[60,77,100,140,146,168,185,710,721,727,741,763,1123,1129,1143,1157,1162,1922,1928,1942,2081],{"type":61,"tag":62,"props":63,"children":64},"element","p",{},[65,75],{"type":61,"tag":66,"props":67,"children":71},"a",{"href":68,"rel":69},"https://nuxt.com/docs/guide/directory-structure/composables",[70],"nofollow",[72],{"type":73,"value":74},"text","Auto-import",{"type":73,"value":76}," your client inside your vue files.",{"type":61,"tag":62,"props":78,"children":79},{},[80,82,89,91,98],{"type":73,"value":81},"This composable is using ",{"type":61,"tag":66,"props":83,"children":86},{"href":84,"rel":85},"https://github.com/supabase/supabase-js/",[70],[87],{"type":73,"value":88},"supabase-js",{"type":73,"value":90}," under the hood, it gives access to the ",{"type":61,"tag":66,"props":92,"children":95},{"href":93,"rel":94},"https://supabase.com/docs/reference/javascript/initializing",[70],[96],{"type":73,"value":97},"Supabase client",{"type":73,"value":99},".",{"type":61,"tag":101,"props":102,"children":103},"blockquote",{},[104],{"type":61,"tag":62,"props":105,"children":106},{},[107,109,116,118,124,126,133,135,139],{"type":73,"value":108},"The client is initialized with the ",{"type":61,"tag":110,"props":111,"children":113},"code",{"className":112},[],[114],{"type":73,"value":115},"SUPABASE_KEY",{"type":73,"value":117}," you must have in your ",{"type":61,"tag":110,"props":119,"children":121},{"className":120},[],[122],{"type":73,"value":123},".env",{"type":73,"value":125}," file. It establishes the connection with the database and make use of user JWT to apply ",{"type":61,"tag":66,"props":127,"children":130},{"href":128,"rel":129},"https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security",[70],[131],{"type":73,"value":132},"RLS Policies",{"type":73,"value":134}," implemented in Supabase. If you want to bypass policies, you can use the ",{"type":61,"tag":66,"props":136,"children":137},{"href":35},[138],{"type":73,"value":34},{"type":73,"value":99},{"type":61,"tag":141,"props":142,"children":144},"h2",{"id":143},"authentication",[145],{"type":73,"value":9},{"type":61,"tag":62,"props":147,"children":148},{},[149,151,157,159,166],{"type":73,"value":150},"The useSupabaseClient composable is providing all methods to manage authorization under ",{"type":61,"tag":110,"props":152,"children":154},{"className":153},[],[155],{"type":73,"value":156},"useSupabaseClient().auth",{"type":73,"value":158},". For more details please see the ",{"type":61,"tag":66,"props":160,"children":163},{"href":161,"rel":162},"https://supabase.com/docs/reference/javascript/auth-api",[70],[164],{"type":73,"value":165},"supabase-js auth documentation",{"type":73,"value":167},". Here is an example for signing in and out:",{"type":61,"tag":169,"props":170,"children":172},"callout",{"icon":171},"i-heroicons-light-bulb",[173],{"type":61,"tag":62,"props":174,"children":175},{},[176,178,184],{"type":73,"value":177},"If you want a full explanation on how to handle the authentication process, please read this ",{"type":61,"tag":66,"props":179,"children":181},{"href":180},"/get-started#handle-authentication",[182],{"type":73,"value":183},"section",{"type":73,"value":99},{"type":61,"tag":186,"props":187,"children":191},"pre",{"className":188,"code":189,"language":190,"meta":55,"style":55},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst supabase = useSupabaseClient()\n\nconst signInWithOAuth = async () => {\n const { error } = await supabase.auth.signInWithOAuth({\n provider: 'github',\n options: {\n redirectTo: 'http://localhost:3000/confirm',\n },\n })\n if (error) console.log(error)\n}\n\nconst signOut = async () => {\n const { error } = await supabase.auth.signOut()\n if (error) console.log(error)\n}\n\u003C/script>\n","ts",[192],{"type":61,"tag":110,"props":193,"children":194},{"__ignoreMap":55},[195,237,267,277,314,383,417,434,464,473,487,537,546,554,587,640,684,692],{"type":61,"tag":196,"props":197,"children":200},"span",{"class":198,"line":199},"line",1,[201,207,213,218,223,228,232],{"type":61,"tag":196,"props":202,"children":204},{"style":203},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[205],{"type":73,"value":206},"\u003C",{"type":61,"tag":196,"props":208,"children":210},{"style":209},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[211],{"type":73,"value":212},"script setup lang",{"type":61,"tag":196,"props":214,"children":215},{"style":203},[216],{"type":73,"value":217},"=",{"type":61,"tag":196,"props":219,"children":220},{"style":203},[221],{"type":73,"value":222},"\"",{"type":61,"tag":196,"props":224,"children":226},{"style":225},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[227],{"type":73,"value":190},{"type":61,"tag":196,"props":229,"children":230},{"style":203},[231],{"type":73,"value":222},{"type":61,"tag":196,"props":233,"children":234},{"style":203},[235],{"type":73,"value":236},">\n",{"type":61,"tag":196,"props":238,"children":240},{"class":198,"line":239},2,[241,247,252,256,262],{"type":61,"tag":196,"props":242,"children":244},{"style":243},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[245],{"type":73,"value":246},"const",{"type":61,"tag":196,"props":248,"children":249},{"style":209},[250],{"type":73,"value":251}," supabase ",{"type":61,"tag":196,"props":253,"children":254},{"style":203},[255],{"type":73,"value":217},{"type":61,"tag":196,"props":257,"children":259},{"style":258},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[260],{"type":73,"value":261}," useSupabaseClient",{"type":61,"tag":196,"props":263,"children":264},{"style":209},[265],{"type":73,"value":266},"()\n",{"type":61,"tag":196,"props":268,"children":270},{"class":198,"line":269},3,[271],{"type":61,"tag":196,"props":272,"children":274},{"emptyLinePlaceholder":273},true,[275],{"type":73,"value":276},"\n",{"type":61,"tag":196,"props":278,"children":280},{"class":198,"line":279},4,[281,285,290,294,299,304,309],{"type":61,"tag":196,"props":282,"children":283},{"style":243},[284],{"type":73,"value":246},{"type":61,"tag":196,"props":286,"children":287},{"style":209},[288],{"type":73,"value":289}," signInWithOAuth ",{"type":61,"tag":196,"props":291,"children":292},{"style":203},[293],{"type":73,"value":217},{"type":61,"tag":196,"props":295,"children":296},{"style":243},[297],{"type":73,"value":298}," async",{"type":61,"tag":196,"props":300,"children":301},{"style":203},[302],{"type":73,"value":303}," ()",{"type":61,"tag":196,"props":305,"children":306},{"style":243},[307],{"type":73,"value":308}," =>",{"type":61,"tag":196,"props":310,"children":311},{"style":203},[312],{"type":73,"value":313}," {\n",{"type":61,"tag":196,"props":315,"children":317},{"class":198,"line":316},5,[318,323,328,333,338,343,349,354,358,363,367,372,378],{"type":61,"tag":196,"props":319,"children":320},{"style":243},[321],{"type":73,"value":322}," const",{"type":61,"tag":196,"props":324,"children":325},{"style":203},[326],{"type":73,"value":327}," {",{"type":61,"tag":196,"props":329,"children":330},{"style":209},[331],{"type":73,"value":332}," error",{"type":61,"tag":196,"props":334,"children":335},{"style":203},[336],{"type":73,"value":337}," }",{"type":61,"tag":196,"props":339,"children":340},{"style":203},[341],{"type":73,"value":342}," =",{"type":61,"tag":196,"props":344,"children":346},{"style":345},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[347],{"type":73,"value":348}," await",{"type":61,"tag":196,"props":350,"children":351},{"style":209},[352],{"type":73,"value":353}," supabase",{"type":61,"tag":196,"props":355,"children":356},{"style":203},[357],{"type":73,"value":99},{"type":61,"tag":196,"props":359,"children":360},{"style":209},[361],{"type":73,"value":362},"auth",{"type":61,"tag":196,"props":364,"children":365},{"style":203},[366],{"type":73,"value":99},{"type":61,"tag":196,"props":368,"children":369},{"style":258},[370],{"type":73,"value":371},"signInWithOAuth",{"type":61,"tag":196,"props":373,"children":375},{"style":374},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[376],{"type":73,"value":377},"(",{"type":61,"tag":196,"props":379,"children":380},{"style":203},[381],{"type":73,"value":382},"{\n",{"type":61,"tag":196,"props":384,"children":386},{"class":198,"line":385},6,[387,392,397,402,407,412],{"type":61,"tag":196,"props":388,"children":389},{"style":374},[390],{"type":73,"value":391}," provider",{"type":61,"tag":196,"props":393,"children":394},{"style":203},[395],{"type":73,"value":396},":",{"type":61,"tag":196,"props":398,"children":399},{"style":203},[400],{"type":73,"value":401}," '",{"type":61,"tag":196,"props":403,"children":404},{"style":225},[405],{"type":73,"value":406},"github",{"type":61,"tag":196,"props":408,"children":409},{"style":203},[410],{"type":73,"value":411},"'",{"type":61,"tag":196,"props":413,"children":414},{"style":203},[415],{"type":73,"value":416},",\n",{"type":61,"tag":196,"props":418,"children":420},{"class":198,"line":419},7,[421,426,430],{"type":61,"tag":196,"props":422,"children":423},{"style":374},[424],{"type":73,"value":425}," options",{"type":61,"tag":196,"props":427,"children":428},{"style":203},[429],{"type":73,"value":396},{"type":61,"tag":196,"props":431,"children":432},{"style":203},[433],{"type":73,"value":313},{"type":61,"tag":196,"props":435,"children":437},{"class":198,"line":436},8,[438,443,447,451,456,460],{"type":61,"tag":196,"props":439,"children":440},{"style":374},[441],{"type":73,"value":442}," redirectTo",{"type":61,"tag":196,"props":444,"children":445},{"style":203},[446],{"type":73,"value":396},{"type":61,"tag":196,"props":448,"children":449},{"style":203},[450],{"type":73,"value":401},{"type":61,"tag":196,"props":452,"children":453},{"style":225},[454],{"type":73,"value":455},"http://localhost:3000/confirm",{"type":61,"tag":196,"props":457,"children":458},{"style":203},[459],{"type":73,"value":411},{"type":61,"tag":196,"props":461,"children":462},{"style":203},[463],{"type":73,"value":416},{"type":61,"tag":196,"props":465,"children":467},{"class":198,"line":466},9,[468],{"type":61,"tag":196,"props":469,"children":470},{"style":203},[471],{"type":73,"value":472}," },\n",{"type":61,"tag":196,"props":474,"children":476},{"class":198,"line":475},10,[477,482],{"type":61,"tag":196,"props":478,"children":479},{"style":203},[480],{"type":73,"value":481}," }",{"type":61,"tag":196,"props":483,"children":484},{"style":374},[485],{"type":73,"value":486},")\n",{"type":61,"tag":196,"props":488,"children":490},{"class":198,"line":489},11,[491,496,501,506,511,516,520,525,529,533],{"type":61,"tag":196,"props":492,"children":493},{"style":345},[494],{"type":73,"value":495}," if",{"type":61,"tag":196,"props":497,"children":498},{"style":374},[499],{"type":73,"value":500}," (",{"type":61,"tag":196,"props":502,"children":503},{"style":209},[504],{"type":73,"value":505},"error",{"type":61,"tag":196,"props":507,"children":508},{"style":374},[509],{"type":73,"value":510},") ",{"type":61,"tag":196,"props":512,"children":513},{"style":209},[514],{"type":73,"value":515},"console",{"type":61,"tag":196,"props":517,"children":518},{"style":203},[519],{"type":73,"value":99},{"type":61,"tag":196,"props":521,"children":522},{"style":258},[523],{"type":73,"value":524},"log",{"type":61,"tag":196,"props":526,"children":527},{"style":374},[528],{"type":73,"value":377},{"type":61,"tag":196,"props":530,"children":531},{"style":209},[532],{"type":73,"value":505},{"type":61,"tag":196,"props":534,"children":535},{"style":374},[536],{"type":73,"value":486},{"type":61,"tag":196,"props":538,"children":540},{"class":198,"line":539},12,[541],{"type":61,"tag":196,"props":542,"children":543},{"style":203},[544],{"type":73,"value":545},"}\n",{"type":61,"tag":196,"props":547,"children":549},{"class":198,"line":548},13,[550],{"type":61,"tag":196,"props":551,"children":552},{"emptyLinePlaceholder":273},[553],{"type":73,"value":276},{"type":61,"tag":196,"props":555,"children":557},{"class":198,"line":556},14,[558,562,567,571,575,579,583],{"type":61,"tag":196,"props":559,"children":560},{"style":243},[561],{"type":73,"value":246},{"type":61,"tag":196,"props":563,"children":564},{"style":209},[565],{"type":73,"value":566}," signOut ",{"type":61,"tag":196,"props":568,"children":569},{"style":203},[570],{"type":73,"value":217},{"type":61,"tag":196,"props":572,"children":573},{"style":243},[574],{"type":73,"value":298},{"type":61,"tag":196,"props":576,"children":577},{"style":203},[578],{"type":73,"value":303},{"type":61,"tag":196,"props":580,"children":581},{"style":243},[582],{"type":73,"value":308},{"type":61,"tag":196,"props":584,"children":585},{"style":203},[586],{"type":73,"value":313},{"type":61,"tag":196,"props":588,"children":590},{"class":198,"line":589},15,[591,595,599,603,607,611,615,619,623,627,631,636],{"type":61,"tag":196,"props":592,"children":593},{"style":243},[594],{"type":73,"value":322},{"type":61,"tag":196,"props":596,"children":597},{"style":203},[598],{"type":73,"value":327},{"type":61,"tag":196,"props":600,"children":601},{"style":209},[602],{"type":73,"value":332},{"type":61,"tag":196,"props":604,"children":605},{"style":203},[606],{"type":73,"value":337},{"type":61,"tag":196,"props":608,"children":609},{"style":203},[610],{"type":73,"value":342},{"type":61,"tag":196,"props":612,"children":613},{"style":345},[614],{"type":73,"value":348},{"type":61,"tag":196,"props":616,"children":617},{"style":209},[618],{"type":73,"value":353},{"type":61,"tag":196,"props":620,"children":621},{"style":203},[622],{"type":73,"value":99},{"type":61,"tag":196,"props":624,"children":625},{"style":209},[626],{"type":73,"value":362},{"type":61,"tag":196,"props":628,"children":629},{"style":203},[630],{"type":73,"value":99},{"type":61,"tag":196,"props":632,"children":633},{"style":258},[634],{"type":73,"value":635},"signOut",{"type":61,"tag":196,"props":637,"children":638},{"style":374},[639],{"type":73,"value":266},{"type":61,"tag":196,"props":641,"children":643},{"class":198,"line":642},16,[644,648,652,656,660,664,668,672,676,680],{"type":61,"tag":196,"props":645,"children":646},{"style":345},[647],{"type":73,"value":495},{"type":61,"tag":196,"props":649,"children":650},{"style":374},[651],{"type":73,"value":500},{"type":61,"tag":196,"props":653,"children":654},{"style":209},[655],{"type":73,"value":505},{"type":61,"tag":196,"props":657,"children":658},{"style":374},[659],{"type":73,"value":510},{"type":61,"tag":196,"props":661,"children":662},{"style":209},[663],{"type":73,"value":515},{"type":61,"tag":196,"props":665,"children":666},{"style":203},[667],{"type":73,"value":99},{"type":61,"tag":196,"props":669,"children":670},{"style":258},[671],{"type":73,"value":524},{"type":61,"tag":196,"props":673,"children":674},{"style":374},[675],{"type":73,"value":377},{"type":61,"tag":196,"props":677,"children":678},{"style":209},[679],{"type":73,"value":505},{"type":61,"tag":196,"props":681,"children":682},{"style":374},[683],{"type":73,"value":486},{"type":61,"tag":196,"props":685,"children":687},{"class":198,"line":686},17,[688],{"type":61,"tag":196,"props":689,"children":690},{"style":203},[691],{"type":73,"value":545},{"type":61,"tag":196,"props":693,"children":695},{"class":198,"line":694},18,[696,701,706],{"type":61,"tag":196,"props":697,"children":698},{"style":203},[699],{"type":73,"value":700},"\u003C/",{"type":61,"tag":196,"props":702,"children":703},{"style":209},[704],{"type":73,"value":705},"script",{"type":61,"tag":196,"props":707,"children":708},{"style":203},[709],{"type":73,"value":236},{"type":61,"tag":62,"props":711,"children":712},{},[713,715,719],{"type":73,"value":714},"Please also take a look at ",{"type":61,"tag":66,"props":716,"children":717},{"href":6},[718],{"type":73,"value":5},{"type":73,"value":720}," for the authorization flow.",{"type":61,"tag":141,"props":722,"children":724},{"id":723},"database-request",[725],{"type":73,"value":726},"Database Request",{"type":61,"tag":62,"props":728,"children":729},{},[730,732,739],{"type":73,"value":731},"Please check ",{"type":61,"tag":66,"props":733,"children":736},{"href":734,"rel":735},"https://supabase.com/docs/reference/javascript/select",[70],[737],{"type":73,"value":738},"Supabase",{"type":73,"value":740}," documentation to fully use the power of Supabase client.",{"type":61,"tag":62,"props":742,"children":743},{},[744,746,752,754,761],{"type":73,"value":745},"Here is an example of a fetch using the ",{"type":61,"tag":110,"props":747,"children":749},{"className":748},[],[750],{"type":73,"value":751},"select",{"type":73,"value":753}," method with Nuxt 3 ",{"type":61,"tag":66,"props":755,"children":758},{"href":756,"rel":757},"https://nuxt.com/docs/getting-started/data-fetching#useasyncdata",[70],[759],{"type":73,"value":760},"useAsyncData",{"type":73,"value":762}," composable.",{"type":61,"tag":186,"props":764,"children":768},{"className":765,"code":766,"language":767,"meta":55,"style":55},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst client = useSupabaseClient()\n\nconst { data: restaurant } = await useAsyncData('restaurant', async () => {\n const { data } = await client.from('restaurants').select('name, location').eq('name', 'My Restaurant Name').single()\n\n return data\n})\n\u003C/script>\n","vue",[769],{"type":61,"tag":110,"props":770,"children":771},{"__ignoreMap":55},[772,813,837,844,925,1077,1084,1097,1108],{"type":61,"tag":196,"props":773,"children":774},{"class":198,"line":199},[775,779,783,788,793,797,801,805,809],{"type":61,"tag":196,"props":776,"children":777},{"style":203},[778],{"type":73,"value":206},{"type":61,"tag":196,"props":780,"children":781},{"style":374},[782],{"type":73,"value":705},{"type":61,"tag":196,"props":784,"children":785},{"style":243},[786],{"type":73,"value":787}," setup",{"type":61,"tag":196,"props":789,"children":790},{"style":243},[791],{"type":73,"value":792}," lang",{"type":61,"tag":196,"props":794,"children":795},{"style":203},[796],{"type":73,"value":217},{"type":61,"tag":196,"props":798,"children":799},{"style":203},[800],{"type":73,"value":222},{"type":61,"tag":196,"props":802,"children":803},{"style":225},[804],{"type":73,"value":190},{"type":61,"tag":196,"props":806,"children":807},{"style":203},[808],{"type":73,"value":222},{"type":61,"tag":196,"props":810,"children":811},{"style":203},[812],{"type":73,"value":236},{"type":61,"tag":196,"props":814,"children":815},{"class":198,"line":239},[816,820,825,829,833],{"type":61,"tag":196,"props":817,"children":818},{"style":243},[819],{"type":73,"value":246},{"type":61,"tag":196,"props":821,"children":822},{"style":209},[823],{"type":73,"value":824}," client ",{"type":61,"tag":196,"props":826,"children":827},{"style":203},[828],{"type":73,"value":217},{"type":61,"tag":196,"props":830,"children":831},{"style":258},[832],{"type":73,"value":261},{"type":61,"tag":196,"props":834,"children":835},{"style":209},[836],{"type":73,"value":266},{"type":61,"tag":196,"props":838,"children":839},{"class":198,"line":269},[840],{"type":61,"tag":196,"props":841,"children":842},{"emptyLinePlaceholder":273},[843],{"type":73,"value":276},{"type":61,"tag":196,"props":845,"children":846},{"class":198,"line":279},[847,851,855,860,864,869,874,878,882,887,891,895,900,904,909,913,917,921],{"type":61,"tag":196,"props":848,"children":849},{"style":243},[850],{"type":73,"value":246},{"type":61,"tag":196,"props":852,"children":853},{"style":203},[854],{"type":73,"value":327},{"type":61,"tag":196,"props":856,"children":857},{"style":374},[858],{"type":73,"value":859}," data",{"type":61,"tag":196,"props":861,"children":862},{"style":203},[863],{"type":73,"value":396},{"type":61,"tag":196,"props":865,"children":866},{"style":209},[867],{"type":73,"value":868}," restaurant ",{"type":61,"tag":196,"props":870,"children":871},{"style":203},[872],{"type":73,"value":873},"}",{"type":61,"tag":196,"props":875,"children":876},{"style":203},[877],{"type":73,"value":342},{"type":61,"tag":196,"props":879,"children":880},{"style":345},[881],{"type":73,"value":348},{"type":61,"tag":196,"props":883,"children":884},{"style":258},[885],{"type":73,"value":886}," useAsyncData",{"type":61,"tag":196,"props":888,"children":889},{"style":209},[890],{"type":73,"value":377},{"type":61,"tag":196,"props":892,"children":893},{"style":203},[894],{"type":73,"value":411},{"type":61,"tag":196,"props":896,"children":897},{"style":225},[898],{"type":73,"value":899},"restaurant",{"type":61,"tag":196,"props":901,"children":902},{"style":203},[903],{"type":73,"value":411},{"type":61,"tag":196,"props":905,"children":906},{"style":203},[907],{"type":73,"value":908},",",{"type":61,"tag":196,"props":910,"children":911},{"style":243},[912],{"type":73,"value":298},{"type":61,"tag":196,"props":914,"children":915},{"style":203},[916],{"type":73,"value":303},{"type":61,"tag":196,"props":918,"children":919},{"style":243},[920],{"type":73,"value":308},{"type":61,"tag":196,"props":922,"children":923},{"style":203},[924],{"type":73,"value":313},{"type":61,"tag":196,"props":926,"children":927},{"class":198,"line":316},[928,932,936,940,944,948,952,957,961,966,970,974,979,983,988,992,996,1000,1004,1009,1013,1017,1021,1026,1030,1034,1039,1043,1047,1051,1056,1060,1064,1068,1073],{"type":61,"tag":196,"props":929,"children":930},{"style":243},[931],{"type":73,"value":322},{"type":61,"tag":196,"props":933,"children":934},{"style":203},[935],{"type":73,"value":327},{"type":61,"tag":196,"props":937,"children":938},{"style":209},[939],{"type":73,"value":859},{"type":61,"tag":196,"props":941,"children":942},{"style":203},[943],{"type":73,"value":337},{"type":61,"tag":196,"props":945,"children":946},{"style":203},[947],{"type":73,"value":342},{"type":61,"tag":196,"props":949,"children":950},{"style":345},[951],{"type":73,"value":348},{"type":61,"tag":196,"props":953,"children":954},{"style":209},[955],{"type":73,"value":956}," client",{"type":61,"tag":196,"props":958,"children":959},{"style":203},[960],{"type":73,"value":99},{"type":61,"tag":196,"props":962,"children":963},{"style":258},[964],{"type":73,"value":965},"from",{"type":61,"tag":196,"props":967,"children":968},{"style":374},[969],{"type":73,"value":377},{"type":61,"tag":196,"props":971,"children":972},{"style":203},[973],{"type":73,"value":411},{"type":61,"tag":196,"props":975,"children":976},{"style":225},[977],{"type":73,"value":978},"restaurants",{"type":61,"tag":196,"props":980,"children":981},{"style":203},[982],{"type":73,"value":411},{"type":61,"tag":196,"props":984,"children":985},{"style":374},[986],{"type":73,"value":987},")",{"type":61,"tag":196,"props":989,"children":990},{"style":203},[991],{"type":73,"value":99},{"type":61,"tag":196,"props":993,"children":994},{"style":258},[995],{"type":73,"value":751},{"type":61,"tag":196,"props":997,"children":998},{"style":374},[999],{"type":73,"value":377},{"type":61,"tag":196,"props":1001,"children":1002},{"style":203},[1003],{"type":73,"value":411},{"type":61,"tag":196,"props":1005,"children":1006},{"style":225},[1007],{"type":73,"value":1008},"name, location",{"type":61,"tag":196,"props":1010,"children":1011},{"style":203},[1012],{"type":73,"value":411},{"type":61,"tag":196,"props":1014,"children":1015},{"style":374},[1016],{"type":73,"value":987},{"type":61,"tag":196,"props":1018,"children":1019},{"style":203},[1020],{"type":73,"value":99},{"type":61,"tag":196,"props":1022,"children":1023},{"style":258},[1024],{"type":73,"value":1025},"eq",{"type":61,"tag":196,"props":1027,"children":1028},{"style":374},[1029],{"type":73,"value":377},{"type":61,"tag":196,"props":1031,"children":1032},{"style":203},[1033],{"type":73,"value":411},{"type":61,"tag":196,"props":1035,"children":1036},{"style":225},[1037],{"type":73,"value":1038},"name",{"type":61,"tag":196,"props":1040,"children":1041},{"style":203},[1042],{"type":73,"value":411},{"type":61,"tag":196,"props":1044,"children":1045},{"style":203},[1046],{"type":73,"value":908},{"type":61,"tag":196,"props":1048,"children":1049},{"style":203},[1050],{"type":73,"value":401},{"type":61,"tag":196,"props":1052,"children":1053},{"style":225},[1054],{"type":73,"value":1055},"My Restaurant Name",{"type":61,"tag":196,"props":1057,"children":1058},{"style":203},[1059],{"type":73,"value":411},{"type":61,"tag":196,"props":1061,"children":1062},{"style":374},[1063],{"type":73,"value":987},{"type":61,"tag":196,"props":1065,"children":1066},{"style":203},[1067],{"type":73,"value":99},{"type":61,"tag":196,"props":1069,"children":1070},{"style":258},[1071],{"type":73,"value":1072},"single",{"type":61,"tag":196,"props":1074,"children":1075},{"style":374},[1076],{"type":73,"value":266},{"type":61,"tag":196,"props":1078,"children":1079},{"class":198,"line":385},[1080],{"type":61,"tag":196,"props":1081,"children":1082},{"emptyLinePlaceholder":273},[1083],{"type":73,"value":276},{"type":61,"tag":196,"props":1085,"children":1086},{"class":198,"line":419},[1087,1092],{"type":61,"tag":196,"props":1088,"children":1089},{"style":345},[1090],{"type":73,"value":1091}," return",{"type":61,"tag":196,"props":1093,"children":1094},{"style":209},[1095],{"type":73,"value":1096}," data\n",{"type":61,"tag":196,"props":1098,"children":1099},{"class":198,"line":436},[1100,1104],{"type":61,"tag":196,"props":1101,"children":1102},{"style":203},[1103],{"type":73,"value":873},{"type":61,"tag":196,"props":1105,"children":1106},{"style":209},[1107],{"type":73,"value":486},{"type":61,"tag":196,"props":1109,"children":1110},{"class":198,"line":466},[1111,1115,1119],{"type":61,"tag":196,"props":1112,"children":1113},{"style":203},[1114],{"type":73,"value":700},{"type":61,"tag":196,"props":1116,"children":1117},{"style":374},[1118],{"type":73,"value":705},{"type":61,"tag":196,"props":1120,"children":1121},{"style":203},[1122],{"type":73,"value":236},{"type":61,"tag":141,"props":1124,"children":1126},{"id":1125},"realtime",[1127],{"type":73,"value":1128},"Realtime",{"type":61,"tag":62,"props":1130,"children":1131},{},[1132,1134,1141],{"type":73,"value":1133},"Based on ",{"type":61,"tag":66,"props":1135,"children":1138},{"href":1136,"rel":1137},"https://github.com/supabase/realtime",[70],[1139],{"type":73,"value":1140},"Supabase Realtime",{"type":73,"value":1142},", listen to changes in your PostgreSQL Database and broadcasts them over WebSockets.",{"type":61,"tag":62,"props":1144,"children":1145},{},[1146,1148,1155],{"type":73,"value":1147},"To enable it, make sure you have turned on the ",{"type":61,"tag":66,"props":1149,"children":1152},{"href":1150,"rel":1151},"https://supabase.com/docs/guides/api#realtime-api",[70],[1153],{"type":73,"value":1154},"Realtime API",{"type":73,"value":1156}," for your table.",{"type":61,"tag":62,"props":1158,"children":1159},{},[1160],{"type":73,"value":1161},"Then, listen to changes directly in your vue page / component:",{"type":61,"tag":186,"props":1163,"children":1165},{"className":765,"code":1164,"language":767,"meta":55,"style":55},"\u003Cscript setup lang=\"ts\">\nimport type { RealtimeChannel } from '@supabase/supabase-js'\n\nconst client = useSupabaseClient()\n\nlet realtimeChannel: RealtimeChannel\n\n// Fetch collaborators and get the refresh method provided by useAsyncData\nconst { data: collaborators, refresh: refreshCollaborators } = await useAsyncData('collaborators', async () => {\n const { data } = await client.from('collaborators').select('name')\n return data\n})\n\n// Once page is mounted, listen to changes on the `collaborators` table and refresh collaborators when receiving event\nonMounted(() => {\n // Real time listener for new workouts\n realtimeChannel = client.channel('public:collaborators').on(\n 'postgres_changes',\n { event: '*', schema: 'public', table: 'collaborators' },\n () => refreshCollaborators()\n )\n\n realtimeChannel.subscribe()\n})\n\n // Don't forget to unsubscribe when user left the page\nonUnmounted(() => {\n client.removeChannel(realtimeChannel)\n})\n\u003C/script>\n",[1166],{"type":61,"tag":110,"props":1167,"children":1168},{"__ignoreMap":55},[1169,1208,1253,1260,1283,1290,1313,1320,1329,1424,1511,1522,1533,1540,1548,1573,1581,1641,1662,1749,1771,1780,1788,1809,1821,1829,1838,1863,1894,1906],{"type":61,"tag":196,"props":1170,"children":1171},{"class":198,"line":199},[1172,1176,1180,1184,1188,1192,1196,1200,1204],{"type":61,"tag":196,"props":1173,"children":1174},{"style":203},[1175],{"type":73,"value":206},{"type":61,"tag":196,"props":1177,"children":1178},{"style":374},[1179],{"type":73,"value":705},{"type":61,"tag":196,"props":1181,"children":1182},{"style":243},[1183],{"type":73,"value":787},{"type":61,"tag":196,"props":1185,"children":1186},{"style":243},[1187],{"type":73,"value":792},{"type":61,"tag":196,"props":1189,"children":1190},{"style":203},[1191],{"type":73,"value":217},{"type":61,"tag":196,"props":1193,"children":1194},{"style":203},[1195],{"type":73,"value":222},{"type":61,"tag":196,"props":1197,"children":1198},{"style":225},[1199],{"type":73,"value":190},{"type":61,"tag":196,"props":1201,"children":1202},{"style":203},[1203],{"type":73,"value":222},{"type":61,"tag":196,"props":1205,"children":1206},{"style":203},[1207],{"type":73,"value":236},{"type":61,"tag":196,"props":1209,"children":1210},{"class":198,"line":239},[1211,1216,1221,1225,1230,1234,1239,1243,1248],{"type":61,"tag":196,"props":1212,"children":1213},{"style":345},[1214],{"type":73,"value":1215},"import",{"type":61,"tag":196,"props":1217,"children":1218},{"style":345},[1219],{"type":73,"value":1220}," type",{"type":61,"tag":196,"props":1222,"children":1223},{"style":203},[1224],{"type":73,"value":327},{"type":61,"tag":196,"props":1226,"children":1227},{"style":209},[1228],{"type":73,"value":1229}," RealtimeChannel",{"type":61,"tag":196,"props":1231,"children":1232},{"style":203},[1233],{"type":73,"value":337},{"type":61,"tag":196,"props":1235,"children":1236},{"style":345},[1237],{"type":73,"value":1238}," from",{"type":61,"tag":196,"props":1240,"children":1241},{"style":203},[1242],{"type":73,"value":401},{"type":61,"tag":196,"props":1244,"children":1245},{"style":225},[1246],{"type":73,"value":1247},"@supabase/supabase-js",{"type":61,"tag":196,"props":1249,"children":1250},{"style":203},[1251],{"type":73,"value":1252},"'\n",{"type":61,"tag":196,"props":1254,"children":1255},{"class":198,"line":269},[1256],{"type":61,"tag":196,"props":1257,"children":1258},{"emptyLinePlaceholder":273},[1259],{"type":73,"value":276},{"type":61,"tag":196,"props":1261,"children":1262},{"class":198,"line":279},[1263,1267,1271,1275,1279],{"type":61,"tag":196,"props":1264,"children":1265},{"style":243},[1266],{"type":73,"value":246},{"type":61,"tag":196,"props":1268,"children":1269},{"style":209},[1270],{"type":73,"value":824},{"type":61,"tag":196,"props":1272,"children":1273},{"style":203},[1274],{"type":73,"value":217},{"type":61,"tag":196,"props":1276,"children":1277},{"style":258},[1278],{"type":73,"value":261},{"type":61,"tag":196,"props":1280,"children":1281},{"style":209},[1282],{"type":73,"value":266},{"type":61,"tag":196,"props":1284,"children":1285},{"class":198,"line":316},[1286],{"type":61,"tag":196,"props":1287,"children":1288},{"emptyLinePlaceholder":273},[1289],{"type":73,"value":276},{"type":61,"tag":196,"props":1291,"children":1292},{"class":198,"line":385},[1293,1298,1303,1307],{"type":61,"tag":196,"props":1294,"children":1295},{"style":243},[1296],{"type":73,"value":1297},"let",{"type":61,"tag":196,"props":1299,"children":1300},{"style":209},[1301],{"type":73,"value":1302}," realtimeChannel",{"type":61,"tag":196,"props":1304,"children":1305},{"style":203},[1306],{"type":73,"value":396},{"type":61,"tag":196,"props":1308,"children":1310},{"style":1309},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1311],{"type":73,"value":1312}," RealtimeChannel\n",{"type":61,"tag":196,"props":1314,"children":1315},{"class":198,"line":419},[1316],{"type":61,"tag":196,"props":1317,"children":1318},{"emptyLinePlaceholder":273},[1319],{"type":73,"value":276},{"type":61,"tag":196,"props":1321,"children":1322},{"class":198,"line":436},[1323],{"type":61,"tag":196,"props":1324,"children":1326},{"style":1325},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[1327],{"type":73,"value":1328},"// Fetch collaborators and get the refresh method provided by useAsyncData\n",{"type":61,"tag":196,"props":1330,"children":1331},{"class":198,"line":466},[1332,1336,1340,1344,1348,1353,1357,1362,1366,1371,1375,1379,1383,1387,1391,1395,1400,1404,1408,1412,1416,1420],{"type":61,"tag":196,"props":1333,"children":1334},{"style":243},[1335],{"type":73,"value":246},{"type":61,"tag":196,"props":1337,"children":1338},{"style":203},[1339],{"type":73,"value":327},{"type":61,"tag":196,"props":1341,"children":1342},{"style":374},[1343],{"type":73,"value":859},{"type":61,"tag":196,"props":1345,"children":1346},{"style":203},[1347],{"type":73,"value":396},{"type":61,"tag":196,"props":1349,"children":1350},{"style":209},[1351],{"type":73,"value":1352}," collaborators",{"type":61,"tag":196,"props":1354,"children":1355},{"style":203},[1356],{"type":73,"value":908},{"type":61,"tag":196,"props":1358,"children":1359},{"style":374},[1360],{"type":73,"value":1361}," refresh",{"type":61,"tag":196,"props":1363,"children":1364},{"style":203},[1365],{"type":73,"value":396},{"type":61,"tag":196,"props":1367,"children":1368},{"style":209},[1369],{"type":73,"value":1370}," refreshCollaborators ",{"type":61,"tag":196,"props":1372,"children":1373},{"style":203},[1374],{"type":73,"value":873},{"type":61,"tag":196,"props":1376,"children":1377},{"style":203},[1378],{"type":73,"value":342},{"type":61,"tag":196,"props":1380,"children":1381},{"style":345},[1382],{"type":73,"value":348},{"type":61,"tag":196,"props":1384,"children":1385},{"style":258},[1386],{"type":73,"value":886},{"type":61,"tag":196,"props":1388,"children":1389},{"style":209},[1390],{"type":73,"value":377},{"type":61,"tag":196,"props":1392,"children":1393},{"style":203},[1394],{"type":73,"value":411},{"type":61,"tag":196,"props":1396,"children":1397},{"style":225},[1398],{"type":73,"value":1399},"collaborators",{"type":61,"tag":196,"props":1401,"children":1402},{"style":203},[1403],{"type":73,"value":411},{"type":61,"tag":196,"props":1405,"children":1406},{"style":203},[1407],{"type":73,"value":908},{"type":61,"tag":196,"props":1409,"children":1410},{"style":243},[1411],{"type":73,"value":298},{"type":61,"tag":196,"props":1413,"children":1414},{"style":203},[1415],{"type":73,"value":303},{"type":61,"tag":196,"props":1417,"children":1418},{"style":243},[1419],{"type":73,"value":308},{"type":61,"tag":196,"props":1421,"children":1422},{"style":203},[1423],{"type":73,"value":313},{"type":61,"tag":196,"props":1425,"children":1426},{"class":198,"line":475},[1427,1431,1435,1439,1443,1447,1451,1455,1459,1463,1467,1471,1475,1479,1483,1487,1491,1495,1499,1503,1507],{"type":61,"tag":196,"props":1428,"children":1429},{"style":243},[1430],{"type":73,"value":322},{"type":61,"tag":196,"props":1432,"children":1433},{"style":203},[1434],{"type":73,"value":327},{"type":61,"tag":196,"props":1436,"children":1437},{"style":209},[1438],{"type":73,"value":859},{"type":61,"tag":196,"props":1440,"children":1441},{"style":203},[1442],{"type":73,"value":337},{"type":61,"tag":196,"props":1444,"children":1445},{"style":203},[1446],{"type":73,"value":342},{"type":61,"tag":196,"props":1448,"children":1449},{"style":345},[1450],{"type":73,"value":348},{"type":61,"tag":196,"props":1452,"children":1453},{"style":209},[1454],{"type":73,"value":956},{"type":61,"tag":196,"props":1456,"children":1457},{"style":203},[1458],{"type":73,"value":99},{"type":61,"tag":196,"props":1460,"children":1461},{"style":258},[1462],{"type":73,"value":965},{"type":61,"tag":196,"props":1464,"children":1465},{"style":374},[1466],{"type":73,"value":377},{"type":61,"tag":196,"props":1468,"children":1469},{"style":203},[1470],{"type":73,"value":411},{"type":61,"tag":196,"props":1472,"children":1473},{"style":225},[1474],{"type":73,"value":1399},{"type":61,"tag":196,"props":1476,"children":1477},{"style":203},[1478],{"type":73,"value":411},{"type":61,"tag":196,"props":1480,"children":1481},{"style":374},[1482],{"type":73,"value":987},{"type":61,"tag":196,"props":1484,"children":1485},{"style":203},[1486],{"type":73,"value":99},{"type":61,"tag":196,"props":1488,"children":1489},{"style":258},[1490],{"type":73,"value":751},{"type":61,"tag":196,"props":1492,"children":1493},{"style":374},[1494],{"type":73,"value":377},{"type":61,"tag":196,"props":1496,"children":1497},{"style":203},[1498],{"type":73,"value":411},{"type":61,"tag":196,"props":1500,"children":1501},{"style":225},[1502],{"type":73,"value":1038},{"type":61,"tag":196,"props":1504,"children":1505},{"style":203},[1506],{"type":73,"value":411},{"type":61,"tag":196,"props":1508,"children":1509},{"style":374},[1510],{"type":73,"value":486},{"type":61,"tag":196,"props":1512,"children":1513},{"class":198,"line":489},[1514,1518],{"type":61,"tag":196,"props":1515,"children":1516},{"style":345},[1517],{"type":73,"value":1091},{"type":61,"tag":196,"props":1519,"children":1520},{"style":209},[1521],{"type":73,"value":1096},{"type":61,"tag":196,"props":1523,"children":1524},{"class":198,"line":539},[1525,1529],{"type":61,"tag":196,"props":1526,"children":1527},{"style":203},[1528],{"type":73,"value":873},{"type":61,"tag":196,"props":1530,"children":1531},{"style":209},[1532],{"type":73,"value":486},{"type":61,"tag":196,"props":1534,"children":1535},{"class":198,"line":548},[1536],{"type":61,"tag":196,"props":1537,"children":1538},{"emptyLinePlaceholder":273},[1539],{"type":73,"value":276},{"type":61,"tag":196,"props":1541,"children":1542},{"class":198,"line":556},[1543],{"type":61,"tag":196,"props":1544,"children":1545},{"style":1325},[1546],{"type":73,"value":1547},"// Once page is mounted, listen to changes on the `collaborators` table and refresh collaborators when receiving event\n",{"type":61,"tag":196,"props":1549,"children":1550},{"class":198,"line":589},[1551,1556,1560,1565,1569],{"type":61,"tag":196,"props":1552,"children":1553},{"style":258},[1554],{"type":73,"value":1555},"onMounted",{"type":61,"tag":196,"props":1557,"children":1558},{"style":209},[1559],{"type":73,"value":377},{"type":61,"tag":196,"props":1561,"children":1562},{"style":203},[1563],{"type":73,"value":1564},"()",{"type":61,"tag":196,"props":1566,"children":1567},{"style":243},[1568],{"type":73,"value":308},{"type":61,"tag":196,"props":1570,"children":1571},{"style":203},[1572],{"type":73,"value":313},{"type":61,"tag":196,"props":1574,"children":1575},{"class":198,"line":642},[1576],{"type":61,"tag":196,"props":1577,"children":1578},{"style":1325},[1579],{"type":73,"value":1580}," // Real time listener for new workouts\n",{"type":61,"tag":196,"props":1582,"children":1583},{"class":198,"line":686},[1584,1589,1593,1597,1601,1606,1610,1614,1619,1623,1627,1631,1636],{"type":61,"tag":196,"props":1585,"children":1586},{"style":209},[1587],{"type":73,"value":1588}," realtimeChannel",{"type":61,"tag":196,"props":1590,"children":1591},{"style":203},[1592],{"type":73,"value":342},{"type":61,"tag":196,"props":1594,"children":1595},{"style":209},[1596],{"type":73,"value":956},{"type":61,"tag":196,"props":1598,"children":1599},{"style":203},[1600],{"type":73,"value":99},{"type":61,"tag":196,"props":1602,"children":1603},{"style":258},[1604],{"type":73,"value":1605},"channel",{"type":61,"tag":196,"props":1607,"children":1608},{"style":374},[1609],{"type":73,"value":377},{"type":61,"tag":196,"props":1611,"children":1612},{"style":203},[1613],{"type":73,"value":411},{"type":61,"tag":196,"props":1615,"children":1616},{"style":225},[1617],{"type":73,"value":1618},"public:collaborators",{"type":61,"tag":196,"props":1620,"children":1621},{"style":203},[1622],{"type":73,"value":411},{"type":61,"tag":196,"props":1624,"children":1625},{"style":374},[1626],{"type":73,"value":987},{"type":61,"tag":196,"props":1628,"children":1629},{"style":203},[1630],{"type":73,"value":99},{"type":61,"tag":196,"props":1632,"children":1633},{"style":258},[1634],{"type":73,"value":1635},"on",{"type":61,"tag":196,"props":1637,"children":1638},{"style":374},[1639],{"type":73,"value":1640},"(\n",{"type":61,"tag":196,"props":1642,"children":1643},{"class":198,"line":694},[1644,1649,1654,1658],{"type":61,"tag":196,"props":1645,"children":1646},{"style":203},[1647],{"type":73,"value":1648}," '",{"type":61,"tag":196,"props":1650,"children":1651},{"style":225},[1652],{"type":73,"value":1653},"postgres_changes",{"type":61,"tag":196,"props":1655,"children":1656},{"style":203},[1657],{"type":73,"value":411},{"type":61,"tag":196,"props":1659,"children":1660},{"style":203},[1661],{"type":73,"value":416},{"type":61,"tag":196,"props":1663,"children":1665},{"class":198,"line":1664},19,[1666,1671,1676,1680,1684,1689,1693,1697,1702,1706,1710,1715,1719,1723,1728,1732,1736,1740,1744],{"type":61,"tag":196,"props":1667,"children":1668},{"style":203},[1669],{"type":73,"value":1670}," {",{"type":61,"tag":196,"props":1672,"children":1673},{"style":374},[1674],{"type":73,"value":1675}," event",{"type":61,"tag":196,"props":1677,"children":1678},{"style":203},[1679],{"type":73,"value":396},{"type":61,"tag":196,"props":1681,"children":1682},{"style":203},[1683],{"type":73,"value":401},{"type":61,"tag":196,"props":1685,"children":1686},{"style":225},[1687],{"type":73,"value":1688},"*",{"type":61,"tag":196,"props":1690,"children":1691},{"style":203},[1692],{"type":73,"value":411},{"type":61,"tag":196,"props":1694,"children":1695},{"style":203},[1696],{"type":73,"value":908},{"type":61,"tag":196,"props":1698,"children":1699},{"style":374},[1700],{"type":73,"value":1701}," schema",{"type":61,"tag":196,"props":1703,"children":1704},{"style":203},[1705],{"type":73,"value":396},{"type":61,"tag":196,"props":1707,"children":1708},{"style":203},[1709],{"type":73,"value":401},{"type":61,"tag":196,"props":1711,"children":1712},{"style":225},[1713],{"type":73,"value":1714},"public",{"type":61,"tag":196,"props":1716,"children":1717},{"style":203},[1718],{"type":73,"value":411},{"type":61,"tag":196,"props":1720,"children":1721},{"style":203},[1722],{"type":73,"value":908},{"type":61,"tag":196,"props":1724,"children":1725},{"style":374},[1726],{"type":73,"value":1727}," table",{"type":61,"tag":196,"props":1729,"children":1730},{"style":203},[1731],{"type":73,"value":396},{"type":61,"tag":196,"props":1733,"children":1734},{"style":203},[1735],{"type":73,"value":401},{"type":61,"tag":196,"props":1737,"children":1738},{"style":225},[1739],{"type":73,"value":1399},{"type":61,"tag":196,"props":1741,"children":1742},{"style":203},[1743],{"type":73,"value":411},{"type":61,"tag":196,"props":1745,"children":1746},{"style":203},[1747],{"type":73,"value":1748}," },\n",{"type":61,"tag":196,"props":1750,"children":1752},{"class":198,"line":1751},20,[1753,1758,1762,1767],{"type":61,"tag":196,"props":1754,"children":1755},{"style":203},[1756],{"type":73,"value":1757}," ()",{"type":61,"tag":196,"props":1759,"children":1760},{"style":243},[1761],{"type":73,"value":308},{"type":61,"tag":196,"props":1763,"children":1764},{"style":258},[1765],{"type":73,"value":1766}," refreshCollaborators",{"type":61,"tag":196,"props":1768,"children":1769},{"style":374},[1770],{"type":73,"value":266},{"type":61,"tag":196,"props":1772,"children":1774},{"class":198,"line":1773},21,[1775],{"type":61,"tag":196,"props":1776,"children":1777},{"style":374},[1778],{"type":73,"value":1779}," )\n",{"type":61,"tag":196,"props":1781,"children":1783},{"class":198,"line":1782},22,[1784],{"type":61,"tag":196,"props":1785,"children":1786},{"emptyLinePlaceholder":273},[1787],{"type":73,"value":276},{"type":61,"tag":196,"props":1789,"children":1791},{"class":198,"line":1790},23,[1792,1796,1800,1805],{"type":61,"tag":196,"props":1793,"children":1794},{"style":209},[1795],{"type":73,"value":1588},{"type":61,"tag":196,"props":1797,"children":1798},{"style":203},[1799],{"type":73,"value":99},{"type":61,"tag":196,"props":1801,"children":1802},{"style":258},[1803],{"type":73,"value":1804},"subscribe",{"type":61,"tag":196,"props":1806,"children":1807},{"style":374},[1808],{"type":73,"value":266},{"type":61,"tag":196,"props":1810,"children":1812},{"class":198,"line":1811},24,[1813,1817],{"type":61,"tag":196,"props":1814,"children":1815},{"style":203},[1816],{"type":73,"value":873},{"type":61,"tag":196,"props":1818,"children":1819},{"style":209},[1820],{"type":73,"value":486},{"type":61,"tag":196,"props":1822,"children":1824},{"class":198,"line":1823},25,[1825],{"type":61,"tag":196,"props":1826,"children":1827},{"emptyLinePlaceholder":273},[1828],{"type":73,"value":276},{"type":61,"tag":196,"props":1830,"children":1832},{"class":198,"line":1831},26,[1833],{"type":61,"tag":196,"props":1834,"children":1835},{"style":1325},[1836],{"type":73,"value":1837}," // Don't forget to unsubscribe when user left the page\n",{"type":61,"tag":196,"props":1839,"children":1841},{"class":198,"line":1840},27,[1842,1847,1851,1855,1859],{"type":61,"tag":196,"props":1843,"children":1844},{"style":258},[1845],{"type":73,"value":1846},"onUnmounted",{"type":61,"tag":196,"props":1848,"children":1849},{"style":209},[1850],{"type":73,"value":377},{"type":61,"tag":196,"props":1852,"children":1853},{"style":203},[1854],{"type":73,"value":1564},{"type":61,"tag":196,"props":1856,"children":1857},{"style":243},[1858],{"type":73,"value":308},{"type":61,"tag":196,"props":1860,"children":1861},{"style":203},[1862],{"type":73,"value":313},{"type":61,"tag":196,"props":1864,"children":1866},{"class":198,"line":1865},28,[1867,1872,1876,1881,1885,1890],{"type":61,"tag":196,"props":1868,"children":1869},{"style":209},[1870],{"type":73,"value":1871}," client",{"type":61,"tag":196,"props":1873,"children":1874},{"style":203},[1875],{"type":73,"value":99},{"type":61,"tag":196,"props":1877,"children":1878},{"style":258},[1879],{"type":73,"value":1880},"removeChannel",{"type":61,"tag":196,"props":1882,"children":1883},{"style":374},[1884],{"type":73,"value":377},{"type":61,"tag":196,"props":1886,"children":1887},{"style":209},[1888],{"type":73,"value":1889},"realtimeChannel",{"type":61,"tag":196,"props":1891,"children":1892},{"style":374},[1893],{"type":73,"value":486},{"type":61,"tag":196,"props":1895,"children":1897},{"class":198,"line":1896},29,[1898,1902],{"type":61,"tag":196,"props":1899,"children":1900},{"style":203},[1901],{"type":73,"value":873},{"type":61,"tag":196,"props":1903,"children":1904},{"style":209},[1905],{"type":73,"value":486},{"type":61,"tag":196,"props":1907,"children":1909},{"class":198,"line":1908},30,[1910,1914,1918],{"type":61,"tag":196,"props":1911,"children":1912},{"style":203},[1913],{"type":73,"value":700},{"type":61,"tag":196,"props":1915,"children":1916},{"style":374},[1917],{"type":73,"value":705},{"type":61,"tag":196,"props":1919,"children":1920},{"style":203},[1921],{"type":73,"value":236},{"type":61,"tag":141,"props":1923,"children":1925},{"id":1924},"typescript",[1926],{"type":73,"value":1927},"Typescript",{"type":61,"tag":62,"props":1929,"children":1930},{},[1931,1933,1940],{"type":73,"value":1932},"You can pass Database typings to the client. Check Supabase ",{"type":61,"tag":66,"props":1934,"children":1937},{"href":1935,"rel":1936},"https://supabase.com/docs/reference/javascript/release-notes#typescript-support",[70],[1938],{"type":73,"value":1939},"documentation",{"type":73,"value":1941}," for further information.",{"type":61,"tag":186,"props":1943,"children":1945},{"className":765,"code":1944,"language":767,"meta":55,"style":55},"\u003Cscript setup lang=\"ts\">\nimport type { Database } from '~/types'\nconst client = useSupabaseClient\u003CDatabase>()\n\u003C/script>\n",[1946],{"type":61,"tag":110,"props":1947,"children":1948},{"__ignoreMap":55},[1949,1988,2029,2066],{"type":61,"tag":196,"props":1950,"children":1951},{"class":198,"line":199},[1952,1956,1960,1964,1968,1972,1976,1980,1984],{"type":61,"tag":196,"props":1953,"children":1954},{"style":203},[1955],{"type":73,"value":206},{"type":61,"tag":196,"props":1957,"children":1958},{"style":374},[1959],{"type":73,"value":705},{"type":61,"tag":196,"props":1961,"children":1962},{"style":243},[1963],{"type":73,"value":787},{"type":61,"tag":196,"props":1965,"children":1966},{"style":243},[1967],{"type":73,"value":792},{"type":61,"tag":196,"props":1969,"children":1970},{"style":203},[1971],{"type":73,"value":217},{"type":61,"tag":196,"props":1973,"children":1974},{"style":203},[1975],{"type":73,"value":222},{"type":61,"tag":196,"props":1977,"children":1978},{"style":225},[1979],{"type":73,"value":190},{"type":61,"tag":196,"props":1981,"children":1982},{"style":203},[1983],{"type":73,"value":222},{"type":61,"tag":196,"props":1985,"children":1986},{"style":203},[1987],{"type":73,"value":236},{"type":61,"tag":196,"props":1989,"children":1990},{"class":198,"line":239},[1991,1995,1999,2003,2008,2012,2016,2020,2025],{"type":61,"tag":196,"props":1992,"children":1993},{"style":345},[1994],{"type":73,"value":1215},{"type":61,"tag":196,"props":1996,"children":1997},{"style":345},[1998],{"type":73,"value":1220},{"type":61,"tag":196,"props":2000,"children":2001},{"style":203},[2002],{"type":73,"value":327},{"type":61,"tag":196,"props":2004,"children":2005},{"style":209},[2006],{"type":73,"value":2007}," Database",{"type":61,"tag":196,"props":2009,"children":2010},{"style":203},[2011],{"type":73,"value":337},{"type":61,"tag":196,"props":2013,"children":2014},{"style":345},[2015],{"type":73,"value":1238},{"type":61,"tag":196,"props":2017,"children":2018},{"style":203},[2019],{"type":73,"value":401},{"type":61,"tag":196,"props":2021,"children":2022},{"style":225},[2023],{"type":73,"value":2024},"~/types",{"type":61,"tag":196,"props":2026,"children":2027},{"style":203},[2028],{"type":73,"value":1252},{"type":61,"tag":196,"props":2030,"children":2031},{"class":198,"line":269},[2032,2036,2040,2044,2048,2052,2057,2062],{"type":61,"tag":196,"props":2033,"children":2034},{"style":243},[2035],{"type":73,"value":246},{"type":61,"tag":196,"props":2037,"children":2038},{"style":209},[2039],{"type":73,"value":824},{"type":61,"tag":196,"props":2041,"children":2042},{"style":203},[2043],{"type":73,"value":217},{"type":61,"tag":196,"props":2045,"children":2046},{"style":258},[2047],{"type":73,"value":261},{"type":61,"tag":196,"props":2049,"children":2050},{"style":203},[2051],{"type":73,"value":206},{"type":61,"tag":196,"props":2053,"children":2054},{"style":1309},[2055],{"type":73,"value":2056},"Database",{"type":61,"tag":196,"props":2058,"children":2059},{"style":203},[2060],{"type":73,"value":2061},">",{"type":61,"tag":196,"props":2063,"children":2064},{"style":209},[2065],{"type":73,"value":266},{"type":61,"tag":196,"props":2067,"children":2068},{"class":198,"line":279},[2069,2073,2077],{"type":61,"tag":196,"props":2070,"children":2071},{"style":203},[2072],{"type":73,"value":700},{"type":61,"tag":196,"props":2074,"children":2075},{"style":374},[2076],{"type":73,"value":705},{"type":61,"tag":196,"props":2078,"children":2079},{"style":203},[2080],{"type":73,"value":236},{"type":61,"tag":2082,"props":2083,"children":2084},"style",{},[2085],{"type":73,"value":2086},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":55,"searchDepth":239,"depth":239,"links":2088},[2089,2090,2091,2092],{"id":143,"depth":239,"text":9},{"id":723,"depth":239,"text":726},{"id":1125,"depth":239,"text":1128},{"id":1924,"depth":239,"text":1927},"markdown","content:4.usage:composables:useSupabaseClient.md","content","4.usage/composables/useSupabaseClient.md","md",[2099,2101],{"_path":10,"title":9,"description":2100},"Authenticate your user thanks to the PKCE Oauth protocol that enables secure exchange of refresh and access tokens between an application and the authorization server",{"_path":25,"title":24,"description":2102},"Auto import and use your Supabase user with the useSupabaseUser composable",1706281080421] \ No newline at end of file diff --git a/usage/composables/usesupabaseclient/index.html b/usage/composables/usesupabaseclient/index.html index ccdcce26..b460c7b1 100644 --- a/usage/composables/usesupabaseclient/index.html +++ b/usage/composables/usesupabaseclient/index.html @@ -67,44 +67,44 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - + + + + + + - + - - - - - - - + + + + + + + - - + + - -
mobile favicon
Composables

useSupabaseClient

Make requests to the Supabase API with the useSupabaseClient composable

Auto-import your client inside your vue files.

This composable is using supabase-js under the hood, it gives access to the Supabase client.

The client is initialized with the SUPABASE_KEY you must have in your .env file. It establishes the connection with the database and make use of user JWT to apply RLS Policies implemented in Supabase. If you want to bypass policies, you can use the serverSupabaseServiceRole.

Authentication

The useSupabaseClient composable is providing all methods to manage authorization under useSupabaseClient().auth. For more details please see the supabase-js auth documentation. Here is an example for signing in and out:

If you want a full explanation on how to handle the authentication process, please read this section.
<script setup lang="ts">
 const supabase = useSupabaseClient()
 
@@ -167,5 +167,5 @@
 const client = useSupabaseClient<Database>()
 </script>
 

Made with Nuxt Studio
- - \ No newline at end of file + + \ No newline at end of file diff --git a/usage/composables/usesupabaseuser/_payload.json b/usage/composables/usesupabaseuser/_payload.json index 3e5fb5cd..ef8a900d 100644 --- a/usage/composables/usesupabaseuser/_payload.json +++ b/usage/composables/usesupabaseuser/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":528},["Reactive",2],{"navigation":3,"/usage/composables/usesupabaseuser":52,"/usage/composables/usesupabaseuser-surround":523},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":25,"_dir":53,"_draft":54,"_partial":54,"_locale":55,"title":24,"description":56,"body":57,"_type":518,"_id":519,"_source":520,"_file":521,"_extension":522},"composables",false,"","Auto import and use your Supabase user with the useSupabaseUser composable",{"type":58,"children":59,"toc":515},"root",[60,79,167,174,199,212,420,425,488,509],{"type":61,"tag":62,"props":63,"children":64},"element","p",{},[65,68,77],{"type":66,"value":67},"text","Once logged in, you can ",{"type":61,"tag":69,"props":70,"children":74},"a",{"href":71,"rel":72},"https://nuxt.com/docs/guide/directory-structure/composables",[73],"nofollow",[75],{"type":66,"value":76},"auto-import",{"type":66,"value":78}," your user everywhere inside your vue files.",{"type":61,"tag":80,"props":81,"children":85},"pre",{"className":82,"code":83,"language":84,"meta":55,"style":55},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup>\nconst user = useSupabaseUser()\n\u003C/script>\n","vue",[86],{"type":61,"tag":87,"props":88,"children":89},"code",{"__ignoreMap":55},[90,119,150],{"type":61,"tag":91,"props":92,"children":95},"span",{"class":93,"line":94},"line",1,[96,102,108,114],{"type":61,"tag":91,"props":97,"children":99},{"style":98},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[100],{"type":66,"value":101},"\u003C",{"type":61,"tag":91,"props":103,"children":105},{"style":104},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[106],{"type":66,"value":107},"script",{"type":61,"tag":91,"props":109,"children":111},{"style":110},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[112],{"type":66,"value":113}," setup",{"type":61,"tag":91,"props":115,"children":116},{"style":98},[117],{"type":66,"value":118},">\n",{"type":61,"tag":91,"props":120,"children":122},{"class":93,"line":121},2,[123,128,134,139,145],{"type":61,"tag":91,"props":124,"children":125},{"style":110},[126],{"type":66,"value":127},"const",{"type":61,"tag":91,"props":129,"children":131},{"style":130},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[132],{"type":66,"value":133}," user ",{"type":61,"tag":91,"props":135,"children":136},{"style":98},[137],{"type":66,"value":138},"=",{"type":61,"tag":91,"props":140,"children":142},{"style":141},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[143],{"type":66,"value":144}," useSupabaseUser",{"type":61,"tag":91,"props":146,"children":147},{"style":130},[148],{"type":66,"value":149},"()\n",{"type":61,"tag":91,"props":151,"children":153},{"class":93,"line":152},3,[154,159,163],{"type":61,"tag":91,"props":155,"children":156},{"style":98},[157],{"type":66,"value":158},"\u003C/",{"type":61,"tag":91,"props":160,"children":161},{"style":104},[162],{"type":66,"value":107},{"type":61,"tag":91,"props":164,"children":165},{"style":98},[166],{"type":66,"value":118},{"type":61,"tag":168,"props":169,"children":171},"h2",{"id":170},"auth-middleware",[172],{"type":66,"value":173},"Auth middleware",{"type":61,"tag":175,"props":176,"children":178},"callout",{"icon":177},"i-heroicons-light-bulb",[179],{"type":61,"tag":62,"props":180,"children":181},{},[182,184,190,192,197],{"type":66,"value":183},"By default, the module is implementing a redirect middleware. All pages of your application are automatically redirected to the ",{"type":61,"tag":69,"props":185,"children":187},{"href":186},"/get-started#redirectoptions",[188],{"type":66,"value":189},"login",{"type":66,"value":191}," page. However, you can allow redirection to \"public\" pages by setting the ",{"type":61,"tag":69,"props":193,"children":194},{"href":186},[195],{"type":66,"value":196},"exclude",{"type":66,"value":198}," redirect option.",{"type":61,"tag":62,"props":200,"children":201},{},[202,204,210],{"type":66,"value":203},"If the ",{"type":61,"tag":69,"props":205,"children":207},{"href":206},"/get-started#redirect",[208],{"type":66,"value":209},"redirect",{"type":66,"value":211}," option is disabled, you can protect your authenticated routes by creating a custom middleware in your project, here is an example:",{"type":61,"tag":80,"props":213,"children":218},{"className":214,"code":215,"filename":216,"language":217,"meta":55,"style":55},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtRouteMiddleware((to, _from) => {\n const user = useSupabaseUser()\n\n if (!user.value) {\n return navigateTo('/login')\n }\n})\n","middleware/auth.ts","ts",[219],{"type":61,"tag":87,"props":220,"children":221},{"__ignoreMap":55},[222,281,307,316,360,398,407],{"type":61,"tag":91,"props":223,"children":224},{"class":93,"line":94},[225,231,236,241,246,250,256,261,266,271,276],{"type":61,"tag":91,"props":226,"children":228},{"style":227},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[229],{"type":66,"value":230},"export",{"type":61,"tag":91,"props":232,"children":233},{"style":227},[234],{"type":66,"value":235}," default",{"type":61,"tag":91,"props":237,"children":238},{"style":141},[239],{"type":66,"value":240}," defineNuxtRouteMiddleware",{"type":61,"tag":91,"props":242,"children":243},{"style":130},[244],{"type":66,"value":245},"(",{"type":61,"tag":91,"props":247,"children":248},{"style":98},[249],{"type":66,"value":245},{"type":61,"tag":91,"props":251,"children":253},{"style":252},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[254],{"type":66,"value":255},"to",{"type":61,"tag":91,"props":257,"children":258},{"style":98},[259],{"type":66,"value":260},",",{"type":61,"tag":91,"props":262,"children":263},{"style":252},[264],{"type":66,"value":265}," _from",{"type":61,"tag":91,"props":267,"children":268},{"style":98},[269],{"type":66,"value":270},")",{"type":61,"tag":91,"props":272,"children":273},{"style":110},[274],{"type":66,"value":275}," =>",{"type":61,"tag":91,"props":277,"children":278},{"style":98},[279],{"type":66,"value":280}," {\n",{"type":61,"tag":91,"props":282,"children":283},{"class":93,"line":121},[284,289,294,299,303],{"type":61,"tag":91,"props":285,"children":286},{"style":110},[287],{"type":66,"value":288}," const",{"type":61,"tag":91,"props":290,"children":291},{"style":130},[292],{"type":66,"value":293}," user",{"type":61,"tag":91,"props":295,"children":296},{"style":98},[297],{"type":66,"value":298}," =",{"type":61,"tag":91,"props":300,"children":301},{"style":141},[302],{"type":66,"value":144},{"type":61,"tag":91,"props":304,"children":305},{"style":104},[306],{"type":66,"value":149},{"type":61,"tag":91,"props":308,"children":309},{"class":93,"line":152},[310],{"type":61,"tag":91,"props":311,"children":313},{"emptyLinePlaceholder":312},true,[314],{"type":66,"value":315},"\n",{"type":61,"tag":91,"props":317,"children":319},{"class":93,"line":318},4,[320,325,330,335,340,345,350,355],{"type":61,"tag":91,"props":321,"children":322},{"style":227},[323],{"type":66,"value":324}," if",{"type":61,"tag":91,"props":326,"children":327},{"style":104},[328],{"type":66,"value":329}," (",{"type":61,"tag":91,"props":331,"children":332},{"style":98},[333],{"type":66,"value":334},"!",{"type":61,"tag":91,"props":336,"children":337},{"style":130},[338],{"type":66,"value":339},"user",{"type":61,"tag":91,"props":341,"children":342},{"style":98},[343],{"type":66,"value":344},".",{"type":61,"tag":91,"props":346,"children":347},{"style":130},[348],{"type":66,"value":349},"value",{"type":61,"tag":91,"props":351,"children":352},{"style":104},[353],{"type":66,"value":354},") ",{"type":61,"tag":91,"props":356,"children":357},{"style":98},[358],{"type":66,"value":359},"{\n",{"type":61,"tag":91,"props":361,"children":363},{"class":93,"line":362},5,[364,369,374,378,383,389,393],{"type":61,"tag":91,"props":365,"children":366},{"style":227},[367],{"type":66,"value":368}," return",{"type":61,"tag":91,"props":370,"children":371},{"style":141},[372],{"type":66,"value":373}," navigateTo",{"type":61,"tag":91,"props":375,"children":376},{"style":104},[377],{"type":66,"value":245},{"type":61,"tag":91,"props":379,"children":380},{"style":98},[381],{"type":66,"value":382},"'",{"type":61,"tag":91,"props":384,"children":386},{"style":385},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[387],{"type":66,"value":388},"/login",{"type":61,"tag":91,"props":390,"children":391},{"style":98},[392],{"type":66,"value":382},{"type":61,"tag":91,"props":394,"children":395},{"style":104},[396],{"type":66,"value":397},")\n",{"type":61,"tag":91,"props":399,"children":401},{"class":93,"line":400},6,[402],{"type":61,"tag":91,"props":403,"children":404},{"style":98},[405],{"type":66,"value":406}," }\n",{"type":61,"tag":91,"props":408,"children":410},{"class":93,"line":409},7,[411,416],{"type":61,"tag":91,"props":412,"children":413},{"style":98},[414],{"type":66,"value":415},"}",{"type":61,"tag":91,"props":417,"children":418},{"style":130},[419],{"type":66,"value":397},{"type":61,"tag":62,"props":421,"children":422},{},[423],{"type":66,"value":424},"Then you can reference your middleware in your page with:",{"type":61,"tag":80,"props":426,"children":429},{"className":214,"code":427,"filename":428,"language":217,"meta":55,"style":55},"definePageMeta({\n middleware: 'auth'\n})\n","pages/dashboard.vue",[430],{"type":61,"tag":87,"props":431,"children":432},{"__ignoreMap":55},[433,449,477],{"type":61,"tag":91,"props":434,"children":435},{"class":93,"line":94},[436,441,445],{"type":61,"tag":91,"props":437,"children":438},{"style":141},[439],{"type":66,"value":440},"definePageMeta",{"type":61,"tag":91,"props":442,"children":443},{"style":130},[444],{"type":66,"value":245},{"type":61,"tag":91,"props":446,"children":447},{"style":98},[448],{"type":66,"value":359},{"type":61,"tag":91,"props":450,"children":451},{"class":93,"line":121},[452,457,462,467,472],{"type":61,"tag":91,"props":453,"children":454},{"style":104},[455],{"type":66,"value":456}," middleware",{"type":61,"tag":91,"props":458,"children":459},{"style":98},[460],{"type":66,"value":461},":",{"type":61,"tag":91,"props":463,"children":464},{"style":98},[465],{"type":66,"value":466}," '",{"type":61,"tag":91,"props":468,"children":469},{"style":385},[470],{"type":66,"value":471},"auth",{"type":61,"tag":91,"props":473,"children":474},{"style":98},[475],{"type":66,"value":476},"'\n",{"type":61,"tag":91,"props":478,"children":479},{"class":93,"line":152},[480,484],{"type":61,"tag":91,"props":481,"children":482},{"style":98},[483],{"type":66,"value":415},{"type":61,"tag":91,"props":485,"children":486},{"style":130},[487],{"type":66,"value":397},{"type":61,"tag":62,"props":489,"children":490},{},[491,493,500,502,508],{"type":66,"value":492},"Learn more about ",{"type":61,"tag":69,"props":494,"children":497},{"href":495,"rel":496},"https://nuxt.com/docs/guide/directory-structure/middleware",[73],[498],{"type":66,"value":499},"Nuxt middleware",{"type":66,"value":501}," and ",{"type":61,"tag":69,"props":503,"children":506},{"href":504,"rel":505},"https://nuxt.com/docs/guide/directory-structure/pages#page-metadata",[73],[507],{"type":66,"value":440},{"type":66,"value":344},{"type":61,"tag":510,"props":511,"children":512},"style",{},[513],{"type":66,"value":514},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":55,"searchDepth":121,"depth":121,"links":516},[517],{"id":170,"depth":121,"text":173},"markdown","content:4.usage:composables:useSupabaseUser.md","content","4.usage/composables/useSupabaseUser.md","md",[524,526],{"_path":22,"title":21,"description":525},"Make requests to the Supabase API with the useSupabaseClient composable",{"_path":32,"title":31,"description":527},"Make requests to the Supabase API on server side with the serverSupabaseClient service",1706280924801] \ No newline at end of file +[{"data":1,"prerenderedAt":528},["Reactive",2],{"navigation":3,"/usage/composables/usesupabaseuser":52,"/usage/composables/usesupabaseuser-surround":523},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":25,"_dir":53,"_draft":54,"_partial":54,"_locale":55,"title":24,"description":56,"body":57,"_type":518,"_id":519,"_source":520,"_file":521,"_extension":522},"composables",false,"","Auto import and use your Supabase user with the useSupabaseUser composable",{"type":58,"children":59,"toc":515},"root",[60,79,167,174,199,212,420,425,488,509],{"type":61,"tag":62,"props":63,"children":64},"element","p",{},[65,68,77],{"type":66,"value":67},"text","Once logged in, you can ",{"type":61,"tag":69,"props":70,"children":74},"a",{"href":71,"rel":72},"https://nuxt.com/docs/guide/directory-structure/composables",[73],"nofollow",[75],{"type":66,"value":76},"auto-import",{"type":66,"value":78}," your user everywhere inside your vue files.",{"type":61,"tag":80,"props":81,"children":85},"pre",{"className":82,"code":83,"language":84,"meta":55,"style":55},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup>\nconst user = useSupabaseUser()\n\u003C/script>\n","vue",[86],{"type":61,"tag":87,"props":88,"children":89},"code",{"__ignoreMap":55},[90,119,150],{"type":61,"tag":91,"props":92,"children":95},"span",{"class":93,"line":94},"line",1,[96,102,108,114],{"type":61,"tag":91,"props":97,"children":99},{"style":98},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[100],{"type":66,"value":101},"\u003C",{"type":61,"tag":91,"props":103,"children":105},{"style":104},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[106],{"type":66,"value":107},"script",{"type":61,"tag":91,"props":109,"children":111},{"style":110},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[112],{"type":66,"value":113}," setup",{"type":61,"tag":91,"props":115,"children":116},{"style":98},[117],{"type":66,"value":118},">\n",{"type":61,"tag":91,"props":120,"children":122},{"class":93,"line":121},2,[123,128,134,139,145],{"type":61,"tag":91,"props":124,"children":125},{"style":110},[126],{"type":66,"value":127},"const",{"type":61,"tag":91,"props":129,"children":131},{"style":130},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[132],{"type":66,"value":133}," user ",{"type":61,"tag":91,"props":135,"children":136},{"style":98},[137],{"type":66,"value":138},"=",{"type":61,"tag":91,"props":140,"children":142},{"style":141},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[143],{"type":66,"value":144}," useSupabaseUser",{"type":61,"tag":91,"props":146,"children":147},{"style":130},[148],{"type":66,"value":149},"()\n",{"type":61,"tag":91,"props":151,"children":153},{"class":93,"line":152},3,[154,159,163],{"type":61,"tag":91,"props":155,"children":156},{"style":98},[157],{"type":66,"value":158},"\u003C/",{"type":61,"tag":91,"props":160,"children":161},{"style":104},[162],{"type":66,"value":107},{"type":61,"tag":91,"props":164,"children":165},{"style":98},[166],{"type":66,"value":118},{"type":61,"tag":168,"props":169,"children":171},"h2",{"id":170},"auth-middleware",[172],{"type":66,"value":173},"Auth middleware",{"type":61,"tag":175,"props":176,"children":178},"callout",{"icon":177},"i-heroicons-light-bulb",[179],{"type":61,"tag":62,"props":180,"children":181},{},[182,184,190,192,197],{"type":66,"value":183},"By default, the module is implementing a redirect middleware. All pages of your application are automatically redirected to the ",{"type":61,"tag":69,"props":185,"children":187},{"href":186},"/get-started#redirectoptions",[188],{"type":66,"value":189},"login",{"type":66,"value":191}," page. However, you can allow redirection to \"public\" pages by setting the ",{"type":61,"tag":69,"props":193,"children":194},{"href":186},[195],{"type":66,"value":196},"exclude",{"type":66,"value":198}," redirect option.",{"type":61,"tag":62,"props":200,"children":201},{},[202,204,210],{"type":66,"value":203},"If the ",{"type":61,"tag":69,"props":205,"children":207},{"href":206},"/get-started#redirect",[208],{"type":66,"value":209},"redirect",{"type":66,"value":211}," option is disabled, you can protect your authenticated routes by creating a custom middleware in your project, here is an example:",{"type":61,"tag":80,"props":213,"children":218},{"className":214,"code":215,"filename":216,"language":217,"meta":55,"style":55},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtRouteMiddleware((to, _from) => {\n const user = useSupabaseUser()\n\n if (!user.value) {\n return navigateTo('/login')\n }\n})\n","middleware/auth.ts","ts",[219],{"type":61,"tag":87,"props":220,"children":221},{"__ignoreMap":55},[222,281,307,316,360,398,407],{"type":61,"tag":91,"props":223,"children":224},{"class":93,"line":94},[225,231,236,241,246,250,256,261,266,271,276],{"type":61,"tag":91,"props":226,"children":228},{"style":227},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[229],{"type":66,"value":230},"export",{"type":61,"tag":91,"props":232,"children":233},{"style":227},[234],{"type":66,"value":235}," default",{"type":61,"tag":91,"props":237,"children":238},{"style":141},[239],{"type":66,"value":240}," defineNuxtRouteMiddleware",{"type":61,"tag":91,"props":242,"children":243},{"style":130},[244],{"type":66,"value":245},"(",{"type":61,"tag":91,"props":247,"children":248},{"style":98},[249],{"type":66,"value":245},{"type":61,"tag":91,"props":251,"children":253},{"style":252},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[254],{"type":66,"value":255},"to",{"type":61,"tag":91,"props":257,"children":258},{"style":98},[259],{"type":66,"value":260},",",{"type":61,"tag":91,"props":262,"children":263},{"style":252},[264],{"type":66,"value":265}," _from",{"type":61,"tag":91,"props":267,"children":268},{"style":98},[269],{"type":66,"value":270},")",{"type":61,"tag":91,"props":272,"children":273},{"style":110},[274],{"type":66,"value":275}," =>",{"type":61,"tag":91,"props":277,"children":278},{"style":98},[279],{"type":66,"value":280}," {\n",{"type":61,"tag":91,"props":282,"children":283},{"class":93,"line":121},[284,289,294,299,303],{"type":61,"tag":91,"props":285,"children":286},{"style":110},[287],{"type":66,"value":288}," const",{"type":61,"tag":91,"props":290,"children":291},{"style":130},[292],{"type":66,"value":293}," user",{"type":61,"tag":91,"props":295,"children":296},{"style":98},[297],{"type":66,"value":298}," =",{"type":61,"tag":91,"props":300,"children":301},{"style":141},[302],{"type":66,"value":144},{"type":61,"tag":91,"props":304,"children":305},{"style":104},[306],{"type":66,"value":149},{"type":61,"tag":91,"props":308,"children":309},{"class":93,"line":152},[310],{"type":61,"tag":91,"props":311,"children":313},{"emptyLinePlaceholder":312},true,[314],{"type":66,"value":315},"\n",{"type":61,"tag":91,"props":317,"children":319},{"class":93,"line":318},4,[320,325,330,335,340,345,350,355],{"type":61,"tag":91,"props":321,"children":322},{"style":227},[323],{"type":66,"value":324}," if",{"type":61,"tag":91,"props":326,"children":327},{"style":104},[328],{"type":66,"value":329}," (",{"type":61,"tag":91,"props":331,"children":332},{"style":98},[333],{"type":66,"value":334},"!",{"type":61,"tag":91,"props":336,"children":337},{"style":130},[338],{"type":66,"value":339},"user",{"type":61,"tag":91,"props":341,"children":342},{"style":98},[343],{"type":66,"value":344},".",{"type":61,"tag":91,"props":346,"children":347},{"style":130},[348],{"type":66,"value":349},"value",{"type":61,"tag":91,"props":351,"children":352},{"style":104},[353],{"type":66,"value":354},") ",{"type":61,"tag":91,"props":356,"children":357},{"style":98},[358],{"type":66,"value":359},"{\n",{"type":61,"tag":91,"props":361,"children":363},{"class":93,"line":362},5,[364,369,374,378,383,389,393],{"type":61,"tag":91,"props":365,"children":366},{"style":227},[367],{"type":66,"value":368}," return",{"type":61,"tag":91,"props":370,"children":371},{"style":141},[372],{"type":66,"value":373}," navigateTo",{"type":61,"tag":91,"props":375,"children":376},{"style":104},[377],{"type":66,"value":245},{"type":61,"tag":91,"props":379,"children":380},{"style":98},[381],{"type":66,"value":382},"'",{"type":61,"tag":91,"props":384,"children":386},{"style":385},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[387],{"type":66,"value":388},"/login",{"type":61,"tag":91,"props":390,"children":391},{"style":98},[392],{"type":66,"value":382},{"type":61,"tag":91,"props":394,"children":395},{"style":104},[396],{"type":66,"value":397},")\n",{"type":61,"tag":91,"props":399,"children":401},{"class":93,"line":400},6,[402],{"type":61,"tag":91,"props":403,"children":404},{"style":98},[405],{"type":66,"value":406}," }\n",{"type":61,"tag":91,"props":408,"children":410},{"class":93,"line":409},7,[411,416],{"type":61,"tag":91,"props":412,"children":413},{"style":98},[414],{"type":66,"value":415},"}",{"type":61,"tag":91,"props":417,"children":418},{"style":130},[419],{"type":66,"value":397},{"type":61,"tag":62,"props":421,"children":422},{},[423],{"type":66,"value":424},"Then you can reference your middleware in your page with:",{"type":61,"tag":80,"props":426,"children":429},{"className":214,"code":427,"filename":428,"language":217,"meta":55,"style":55},"definePageMeta({\n middleware: 'auth'\n})\n","pages/dashboard.vue",[430],{"type":61,"tag":87,"props":431,"children":432},{"__ignoreMap":55},[433,449,477],{"type":61,"tag":91,"props":434,"children":435},{"class":93,"line":94},[436,441,445],{"type":61,"tag":91,"props":437,"children":438},{"style":141},[439],{"type":66,"value":440},"definePageMeta",{"type":61,"tag":91,"props":442,"children":443},{"style":130},[444],{"type":66,"value":245},{"type":61,"tag":91,"props":446,"children":447},{"style":98},[448],{"type":66,"value":359},{"type":61,"tag":91,"props":450,"children":451},{"class":93,"line":121},[452,457,462,467,472],{"type":61,"tag":91,"props":453,"children":454},{"style":104},[455],{"type":66,"value":456}," middleware",{"type":61,"tag":91,"props":458,"children":459},{"style":98},[460],{"type":66,"value":461},":",{"type":61,"tag":91,"props":463,"children":464},{"style":98},[465],{"type":66,"value":466}," '",{"type":61,"tag":91,"props":468,"children":469},{"style":385},[470],{"type":66,"value":471},"auth",{"type":61,"tag":91,"props":473,"children":474},{"style":98},[475],{"type":66,"value":476},"'\n",{"type":61,"tag":91,"props":478,"children":479},{"class":93,"line":152},[480,484],{"type":61,"tag":91,"props":481,"children":482},{"style":98},[483],{"type":66,"value":415},{"type":61,"tag":91,"props":485,"children":486},{"style":130},[487],{"type":66,"value":397},{"type":61,"tag":62,"props":489,"children":490},{},[491,493,500,502,508],{"type":66,"value":492},"Learn more about ",{"type":61,"tag":69,"props":494,"children":497},{"href":495,"rel":496},"https://nuxt.com/docs/guide/directory-structure/middleware",[73],[498],{"type":66,"value":499},"Nuxt middleware",{"type":66,"value":501}," and ",{"type":61,"tag":69,"props":503,"children":506},{"href":504,"rel":505},"https://nuxt.com/docs/guide/directory-structure/pages#page-metadata",[73],[507],{"type":66,"value":440},{"type":66,"value":344},{"type":61,"tag":510,"props":511,"children":512},"style",{},[513],{"type":66,"value":514},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":55,"searchDepth":121,"depth":121,"links":516},[517],{"id":170,"depth":121,"text":173},"markdown","content:4.usage:composables:useSupabaseUser.md","content","4.usage/composables/useSupabaseUser.md","md",[524,526],{"_path":22,"title":21,"description":525},"Make requests to the Supabase API with the useSupabaseClient composable",{"_path":32,"title":31,"description":527},"Make requests to the Supabase API on server side with the serverSupabaseClient service",1706281080423] \ No newline at end of file diff --git a/usage/composables/usesupabaseuser/index.html b/usage/composables/usesupabaseuser/index.html index 29b573af..24d19c3d 100644 --- a/usage/composables/usesupabaseuser/index.html +++ b/usage/composables/usesupabaseuser/index.html @@ -67,43 +67,43 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - + + + + + + + - - + + - -
mobile favicon
Composables

useSupabaseUser

Auto import and use your Supabase user with the useSupabaseUser composable

Once logged in, you can auto-import your user everywhere inside your vue files.

<script setup>
 const user = useSupabaseUser()
 </script>
@@ -118,5 +118,5 @@
   middleware: 'auth'
 })
 

Learn more about Nuxt middleware and definePageMeta.


Made with Nuxt Studio
- - \ No newline at end of file + + \ No newline at end of file diff --git a/usage/services/serversupabaseclient/_payload.json b/usage/services/serversupabaseclient/_payload.json index 65f793ed..dd6f6dc0 100644 --- a/usage/services/serversupabaseclient/_payload.json +++ b/usage/services/serversupabaseclient/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":729},["Reactive",2],{"navigation":3,"/usage/services/serversupabaseclient":52,"/usage/services/serversupabaseclient-surround":723},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":32,"_dir":53,"_draft":54,"_partial":54,"_locale":55,"title":31,"description":56,"body":57,"_type":718,"_id":719,"_source":720,"_file":721,"_extension":722},"services",false,"","Make requests to the Supabase API on server side with the serverSupabaseClient service",{"type":58,"children":59,"toc":716},"root",[60,85,105,133,457,462,567,581,710],{"type":61,"tag":62,"props":63,"children":66},"element","callout",{"color":64,"icon":65},"amber","i-heroicons-exclamation-triangle-20-solid",[67],{"type":61,"tag":68,"props":69,"children":70},"p",{},[71,74,83],{"type":72,"value":73},"text","This section assumes you're familiar with ",{"type":61,"tag":75,"props":76,"children":80},"a",{"href":77,"rel":78},"https://v3.nuxtjs.org/guide/concepts/server-engine",[79],"nofollow",[81],{"type":72,"value":82},"Nitro",{"type":72,"value":84},", the server engine powered by Nuxt.",{"type":61,"tag":68,"props":86,"children":87},{},[88,90,94,96,103],{"type":72,"value":89},"This function is working similary as the ",{"type":61,"tag":75,"props":91,"children":92},{"href":22},[93],{"type":72,"value":21},{"type":72,"value":95}," composable but is designed to be used in ",{"type":61,"tag":75,"props":97,"children":100},{"href":98,"rel":99},"https://nuxt.com/docs/guide/directory-structure/server#server-routes",[79],[101],{"type":72,"value":102},"server routes",{"type":72,"value":104},".",{"type":61,"tag":68,"props":106,"children":107},{},[108,110,116,118,124,126,131],{"type":72,"value":109},"Define your server route and just import the ",{"type":61,"tag":111,"props":112,"children":114},"code",{"className":113},[],[115],{"type":72,"value":31},{"type":72,"value":117}," from ",{"type":61,"tag":111,"props":119,"children":121},{"className":120},[],[122],{"type":72,"value":123},"#supabase/server",{"type":72,"value":125},". Be careful, ",{"type":61,"tag":111,"props":127,"children":129},{"className":128},[],[130],{"type":72,"value":31},{"type":72,"value":132}," is returning a promise.",{"type":61,"tag":134,"props":135,"children":140},"pre",{"className":136,"code":137,"filename":138,"language":139,"meta":55,"style":55},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { serverSupabaseClient } from '#supabase/server'\n\nexport default eventHandler(async (event) => {\n const client = await serverSupabaseClient(event)\n\n const { data } = await client.from('libraries').select('*')\n\n return { libraries: data }\n})\n","server/api/libraries.ts","ts",[141],{"type":61,"tag":111,"props":142,"children":143},{"__ignoreMap":55},[144,193,203,260,302,310,404,412,444],{"type":61,"tag":145,"props":146,"children":149},"span",{"class":147,"line":148},"line",1,[150,156,162,168,173,178,183,188],{"type":61,"tag":145,"props":151,"children":153},{"style":152},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[154],{"type":72,"value":155},"import",{"type":61,"tag":145,"props":157,"children":159},{"style":158},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[160],{"type":72,"value":161}," {",{"type":61,"tag":145,"props":163,"children":165},{"style":164},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[166],{"type":72,"value":167}," serverSupabaseClient",{"type":61,"tag":145,"props":169,"children":170},{"style":158},[171],{"type":72,"value":172}," }",{"type":61,"tag":145,"props":174,"children":175},{"style":152},[176],{"type":72,"value":177}," from",{"type":61,"tag":145,"props":179,"children":180},{"style":158},[181],{"type":72,"value":182}," '",{"type":61,"tag":145,"props":184,"children":186},{"style":185},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[187],{"type":72,"value":123},{"type":61,"tag":145,"props":189,"children":190},{"style":158},[191],{"type":72,"value":192},"'\n",{"type":61,"tag":145,"props":194,"children":196},{"class":147,"line":195},2,[197],{"type":61,"tag":145,"props":198,"children":200},{"emptyLinePlaceholder":199},true,[201],{"type":72,"value":202},"\n",{"type":61,"tag":145,"props":204,"children":206},{"class":147,"line":205},3,[207,212,217,223,228,234,239,245,250,255],{"type":61,"tag":145,"props":208,"children":209},{"style":152},[210],{"type":72,"value":211},"export",{"type":61,"tag":145,"props":213,"children":214},{"style":152},[215],{"type":72,"value":216}," default",{"type":61,"tag":145,"props":218,"children":220},{"style":219},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[221],{"type":72,"value":222}," eventHandler",{"type":61,"tag":145,"props":224,"children":225},{"style":164},[226],{"type":72,"value":227},"(",{"type":61,"tag":145,"props":229,"children":231},{"style":230},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[232],{"type":72,"value":233},"async",{"type":61,"tag":145,"props":235,"children":236},{"style":158},[237],{"type":72,"value":238}," (",{"type":61,"tag":145,"props":240,"children":242},{"style":241},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[243],{"type":72,"value":244},"event",{"type":61,"tag":145,"props":246,"children":247},{"style":158},[248],{"type":72,"value":249},")",{"type":61,"tag":145,"props":251,"children":252},{"style":230},[253],{"type":72,"value":254}," =>",{"type":61,"tag":145,"props":256,"children":257},{"style":158},[258],{"type":72,"value":259}," {\n",{"type":61,"tag":145,"props":261,"children":263},{"class":147,"line":262},4,[264,269,274,279,284,288,293,297],{"type":61,"tag":145,"props":265,"children":266},{"style":230},[267],{"type":72,"value":268}," const",{"type":61,"tag":145,"props":270,"children":271},{"style":164},[272],{"type":72,"value":273}," client",{"type":61,"tag":145,"props":275,"children":276},{"style":158},[277],{"type":72,"value":278}," =",{"type":61,"tag":145,"props":280,"children":281},{"style":152},[282],{"type":72,"value":283}," await",{"type":61,"tag":145,"props":285,"children":286},{"style":219},[287],{"type":72,"value":167},{"type":61,"tag":145,"props":289,"children":291},{"style":290},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[292],{"type":72,"value":227},{"type":61,"tag":145,"props":294,"children":295},{"style":164},[296],{"type":72,"value":244},{"type":61,"tag":145,"props":298,"children":299},{"style":290},[300],{"type":72,"value":301},")\n",{"type":61,"tag":145,"props":303,"children":305},{"class":147,"line":304},5,[306],{"type":61,"tag":145,"props":307,"children":308},{"emptyLinePlaceholder":199},[309],{"type":72,"value":202},{"type":61,"tag":145,"props":311,"children":313},{"class":147,"line":312},6,[314,318,322,327,331,335,339,343,347,352,356,361,366,370,374,378,383,387,391,396,400],{"type":61,"tag":145,"props":315,"children":316},{"style":230},[317],{"type":72,"value":268},{"type":61,"tag":145,"props":319,"children":320},{"style":158},[321],{"type":72,"value":161},{"type":61,"tag":145,"props":323,"children":324},{"style":164},[325],{"type":72,"value":326}," data",{"type":61,"tag":145,"props":328,"children":329},{"style":158},[330],{"type":72,"value":172},{"type":61,"tag":145,"props":332,"children":333},{"style":158},[334],{"type":72,"value":278},{"type":61,"tag":145,"props":336,"children":337},{"style":152},[338],{"type":72,"value":283},{"type":61,"tag":145,"props":340,"children":341},{"style":164},[342],{"type":72,"value":273},{"type":61,"tag":145,"props":344,"children":345},{"style":158},[346],{"type":72,"value":104},{"type":61,"tag":145,"props":348,"children":349},{"style":219},[350],{"type":72,"value":351},"from",{"type":61,"tag":145,"props":353,"children":354},{"style":290},[355],{"type":72,"value":227},{"type":61,"tag":145,"props":357,"children":358},{"style":158},[359],{"type":72,"value":360},"'",{"type":61,"tag":145,"props":362,"children":363},{"style":185},[364],{"type":72,"value":365},"libraries",{"type":61,"tag":145,"props":367,"children":368},{"style":158},[369],{"type":72,"value":360},{"type":61,"tag":145,"props":371,"children":372},{"style":290},[373],{"type":72,"value":249},{"type":61,"tag":145,"props":375,"children":376},{"style":158},[377],{"type":72,"value":104},{"type":61,"tag":145,"props":379,"children":380},{"style":219},[381],{"type":72,"value":382},"select",{"type":61,"tag":145,"props":384,"children":385},{"style":290},[386],{"type":72,"value":227},{"type":61,"tag":145,"props":388,"children":389},{"style":158},[390],{"type":72,"value":360},{"type":61,"tag":145,"props":392,"children":393},{"style":185},[394],{"type":72,"value":395},"*",{"type":61,"tag":145,"props":397,"children":398},{"style":158},[399],{"type":72,"value":360},{"type":61,"tag":145,"props":401,"children":402},{"style":290},[403],{"type":72,"value":301},{"type":61,"tag":145,"props":405,"children":407},{"class":147,"line":406},7,[408],{"type":61,"tag":145,"props":409,"children":410},{"emptyLinePlaceholder":199},[411],{"type":72,"value":202},{"type":61,"tag":145,"props":413,"children":415},{"class":147,"line":414},8,[416,421,425,430,435,439],{"type":61,"tag":145,"props":417,"children":418},{"style":152},[419],{"type":72,"value":420}," return",{"type":61,"tag":145,"props":422,"children":423},{"style":158},[424],{"type":72,"value":161},{"type":61,"tag":145,"props":426,"children":427},{"style":290},[428],{"type":72,"value":429}," libraries",{"type":61,"tag":145,"props":431,"children":432},{"style":158},[433],{"type":72,"value":434},":",{"type":61,"tag":145,"props":436,"children":437},{"style":164},[438],{"type":72,"value":326},{"type":61,"tag":145,"props":440,"children":441},{"style":158},[442],{"type":72,"value":443}," }\n",{"type":61,"tag":145,"props":445,"children":447},{"class":147,"line":446},9,[448,453],{"type":61,"tag":145,"props":449,"children":450},{"style":158},[451],{"type":72,"value":452},"}",{"type":61,"tag":145,"props":454,"children":455},{"style":164},[456],{"type":72,"value":301},{"type":61,"tag":68,"props":458,"children":459},{},[460],{"type":72,"value":461},"Then call your API route from any vue file:",{"type":61,"tag":134,"props":463,"children":466},{"className":136,"code":464,"filename":465,"language":139,"meta":55,"style":55},"const fetchLibrary = async () => {\n const { libraries } = await $fetch('/api/libraries')\n}\n","pages/index.vue",[467],{"type":61,"tag":111,"props":468,"children":469},{"__ignoreMap":55},[470,506,559],{"type":61,"tag":145,"props":471,"children":472},{"class":147,"line":148},[473,478,483,488,493,498,502],{"type":61,"tag":145,"props":474,"children":475},{"style":230},[476],{"type":72,"value":477},"const",{"type":61,"tag":145,"props":479,"children":480},{"style":164},[481],{"type":72,"value":482}," fetchLibrary ",{"type":61,"tag":145,"props":484,"children":485},{"style":158},[486],{"type":72,"value":487},"=",{"type":61,"tag":145,"props":489,"children":490},{"style":230},[491],{"type":72,"value":492}," async",{"type":61,"tag":145,"props":494,"children":495},{"style":158},[496],{"type":72,"value":497}," ()",{"type":61,"tag":145,"props":499,"children":500},{"style":230},[501],{"type":72,"value":254},{"type":61,"tag":145,"props":503,"children":504},{"style":158},[505],{"type":72,"value":259},{"type":61,"tag":145,"props":507,"children":508},{"class":147,"line":195},[509,513,517,521,525,529,533,538,542,546,551,555],{"type":61,"tag":145,"props":510,"children":511},{"style":230},[512],{"type":72,"value":268},{"type":61,"tag":145,"props":514,"children":515},{"style":158},[516],{"type":72,"value":161},{"type":61,"tag":145,"props":518,"children":519},{"style":164},[520],{"type":72,"value":429},{"type":61,"tag":145,"props":522,"children":523},{"style":158},[524],{"type":72,"value":172},{"type":61,"tag":145,"props":526,"children":527},{"style":158},[528],{"type":72,"value":278},{"type":61,"tag":145,"props":530,"children":531},{"style":152},[532],{"type":72,"value":283},{"type":61,"tag":145,"props":534,"children":535},{"style":219},[536],{"type":72,"value":537}," $fetch",{"type":61,"tag":145,"props":539,"children":540},{"style":290},[541],{"type":72,"value":227},{"type":61,"tag":145,"props":543,"children":544},{"style":158},[545],{"type":72,"value":360},{"type":61,"tag":145,"props":547,"children":548},{"style":185},[549],{"type":72,"value":550},"/api/libraries",{"type":61,"tag":145,"props":552,"children":553},{"style":158},[554],{"type":72,"value":360},{"type":61,"tag":145,"props":556,"children":557},{"style":290},[558],{"type":72,"value":301},{"type":61,"tag":145,"props":560,"children":561},{"class":147,"line":205},[562],{"type":61,"tag":145,"props":563,"children":564},{"style":158},[565],{"type":72,"value":566},"}\n",{"type":61,"tag":68,"props":568,"children":569},{},[570,572,579],{"type":72,"value":571},"Be careful, if you want to call this route on SSR, please read this ",{"type":61,"tag":75,"props":573,"children":576},{"href":574,"rel":575},"https://nuxt.com/docs/getting-started/data-fetching#isomorphic-fetch-and-fetch",[79],[577],{"type":72,"value":578},"section",{"type":72,"value":580},", you must send your browser cookies including your supabase token.",{"type":61,"tag":134,"props":582,"children":584},{"className":136,"code":583,"filename":465,"language":139,"meta":55,"style":55},"const { data: { libraries }} = await useFetch('/api/libraries', {\n headers: useRequestHeaders(['cookie'])\n})\n",[585],{"type":61,"tag":111,"props":586,"children":587},{"__ignoreMap":55},[588,659,699],{"type":61,"tag":145,"props":589,"children":590},{"class":147,"line":148},[591,595,599,603,607,611,616,621,625,629,634,638,642,646,650,655],{"type":61,"tag":145,"props":592,"children":593},{"style":230},[594],{"type":72,"value":477},{"type":61,"tag":145,"props":596,"children":597},{"style":158},[598],{"type":72,"value":161},{"type":61,"tag":145,"props":600,"children":601},{"style":290},[602],{"type":72,"value":326},{"type":61,"tag":145,"props":604,"children":605},{"style":158},[606],{"type":72,"value":434},{"type":61,"tag":145,"props":608,"children":609},{"style":158},[610],{"type":72,"value":161},{"type":61,"tag":145,"props":612,"children":613},{"style":164},[614],{"type":72,"value":615}," libraries ",{"type":61,"tag":145,"props":617,"children":618},{"style":158},[619],{"type":72,"value":620},"}}",{"type":61,"tag":145,"props":622,"children":623},{"style":158},[624],{"type":72,"value":278},{"type":61,"tag":145,"props":626,"children":627},{"style":152},[628],{"type":72,"value":283},{"type":61,"tag":145,"props":630,"children":631},{"style":219},[632],{"type":72,"value":633}," useFetch",{"type":61,"tag":145,"props":635,"children":636},{"style":164},[637],{"type":72,"value":227},{"type":61,"tag":145,"props":639,"children":640},{"style":158},[641],{"type":72,"value":360},{"type":61,"tag":145,"props":643,"children":644},{"style":185},[645],{"type":72,"value":550},{"type":61,"tag":145,"props":647,"children":648},{"style":158},[649],{"type":72,"value":360},{"type":61,"tag":145,"props":651,"children":652},{"style":158},[653],{"type":72,"value":654},",",{"type":61,"tag":145,"props":656,"children":657},{"style":158},[658],{"type":72,"value":259},{"type":61,"tag":145,"props":660,"children":661},{"class":147,"line":195},[662,667,671,676,681,685,690,694],{"type":61,"tag":145,"props":663,"children":664},{"style":290},[665],{"type":72,"value":666}," headers",{"type":61,"tag":145,"props":668,"children":669},{"style":158},[670],{"type":72,"value":434},{"type":61,"tag":145,"props":672,"children":673},{"style":219},[674],{"type":72,"value":675}," useRequestHeaders",{"type":61,"tag":145,"props":677,"children":678},{"style":164},[679],{"type":72,"value":680},"([",{"type":61,"tag":145,"props":682,"children":683},{"style":158},[684],{"type":72,"value":360},{"type":61,"tag":145,"props":686,"children":687},{"style":185},[688],{"type":72,"value":689},"cookie",{"type":61,"tag":145,"props":691,"children":692},{"style":158},[693],{"type":72,"value":360},{"type":61,"tag":145,"props":695,"children":696},{"style":164},[697],{"type":72,"value":698},"])\n",{"type":61,"tag":145,"props":700,"children":701},{"class":147,"line":205},[702,706],{"type":61,"tag":145,"props":703,"children":704},{"style":158},[705],{"type":72,"value":452},{"type":61,"tag":145,"props":707,"children":708},{"style":164},[709],{"type":72,"value":301},{"type":61,"tag":711,"props":712,"children":713},"style",{},[714],{"type":72,"value":715},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":55,"searchDepth":195,"depth":195,"links":717},[],"markdown","content:4.usage:services:1.serverSupabaseClient.md","content","4.usage/services/1.serverSupabaseClient.md","md",[724,726],{"_path":25,"title":24,"description":725},"Auto import and use your Supabase user with the useSupabaseUser composable",{"_path":35,"title":727,"description":728},"serverServiceRole","Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service",1706280924377] \ No newline at end of file +[{"data":1,"prerenderedAt":729},["Reactive",2],{"navigation":3,"/usage/services/serversupabaseclient":52,"/usage/services/serversupabaseclient-surround":723},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":32,"_dir":53,"_draft":54,"_partial":54,"_locale":55,"title":31,"description":56,"body":57,"_type":718,"_id":719,"_source":720,"_file":721,"_extension":722},"services",false,"","Make requests to the Supabase API on server side with the serverSupabaseClient service",{"type":58,"children":59,"toc":716},"root",[60,85,105,133,457,462,567,581,710],{"type":61,"tag":62,"props":63,"children":66},"element","callout",{"color":64,"icon":65},"amber","i-heroicons-exclamation-triangle-20-solid",[67],{"type":61,"tag":68,"props":69,"children":70},"p",{},[71,74,83],{"type":72,"value":73},"text","This section assumes you're familiar with ",{"type":61,"tag":75,"props":76,"children":80},"a",{"href":77,"rel":78},"https://v3.nuxtjs.org/guide/concepts/server-engine",[79],"nofollow",[81],{"type":72,"value":82},"Nitro",{"type":72,"value":84},", the server engine powered by Nuxt.",{"type":61,"tag":68,"props":86,"children":87},{},[88,90,94,96,103],{"type":72,"value":89},"This function is working similary as the ",{"type":61,"tag":75,"props":91,"children":92},{"href":22},[93],{"type":72,"value":21},{"type":72,"value":95}," composable but is designed to be used in ",{"type":61,"tag":75,"props":97,"children":100},{"href":98,"rel":99},"https://nuxt.com/docs/guide/directory-structure/server#server-routes",[79],[101],{"type":72,"value":102},"server routes",{"type":72,"value":104},".",{"type":61,"tag":68,"props":106,"children":107},{},[108,110,116,118,124,126,131],{"type":72,"value":109},"Define your server route and just import the ",{"type":61,"tag":111,"props":112,"children":114},"code",{"className":113},[],[115],{"type":72,"value":31},{"type":72,"value":117}," from ",{"type":61,"tag":111,"props":119,"children":121},{"className":120},[],[122],{"type":72,"value":123},"#supabase/server",{"type":72,"value":125},". Be careful, ",{"type":61,"tag":111,"props":127,"children":129},{"className":128},[],[130],{"type":72,"value":31},{"type":72,"value":132}," is returning a promise.",{"type":61,"tag":134,"props":135,"children":140},"pre",{"className":136,"code":137,"filename":138,"language":139,"meta":55,"style":55},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { serverSupabaseClient } from '#supabase/server'\n\nexport default eventHandler(async (event) => {\n const client = await serverSupabaseClient(event)\n\n const { data } = await client.from('libraries').select('*')\n\n return { libraries: data }\n})\n","server/api/libraries.ts","ts",[141],{"type":61,"tag":111,"props":142,"children":143},{"__ignoreMap":55},[144,193,203,260,302,310,404,412,444],{"type":61,"tag":145,"props":146,"children":149},"span",{"class":147,"line":148},"line",1,[150,156,162,168,173,178,183,188],{"type":61,"tag":145,"props":151,"children":153},{"style":152},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[154],{"type":72,"value":155},"import",{"type":61,"tag":145,"props":157,"children":159},{"style":158},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[160],{"type":72,"value":161}," {",{"type":61,"tag":145,"props":163,"children":165},{"style":164},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[166],{"type":72,"value":167}," serverSupabaseClient",{"type":61,"tag":145,"props":169,"children":170},{"style":158},[171],{"type":72,"value":172}," }",{"type":61,"tag":145,"props":174,"children":175},{"style":152},[176],{"type":72,"value":177}," from",{"type":61,"tag":145,"props":179,"children":180},{"style":158},[181],{"type":72,"value":182}," '",{"type":61,"tag":145,"props":184,"children":186},{"style":185},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[187],{"type":72,"value":123},{"type":61,"tag":145,"props":189,"children":190},{"style":158},[191],{"type":72,"value":192},"'\n",{"type":61,"tag":145,"props":194,"children":196},{"class":147,"line":195},2,[197],{"type":61,"tag":145,"props":198,"children":200},{"emptyLinePlaceholder":199},true,[201],{"type":72,"value":202},"\n",{"type":61,"tag":145,"props":204,"children":206},{"class":147,"line":205},3,[207,212,217,223,228,234,239,245,250,255],{"type":61,"tag":145,"props":208,"children":209},{"style":152},[210],{"type":72,"value":211},"export",{"type":61,"tag":145,"props":213,"children":214},{"style":152},[215],{"type":72,"value":216}," default",{"type":61,"tag":145,"props":218,"children":220},{"style":219},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[221],{"type":72,"value":222}," eventHandler",{"type":61,"tag":145,"props":224,"children":225},{"style":164},[226],{"type":72,"value":227},"(",{"type":61,"tag":145,"props":229,"children":231},{"style":230},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[232],{"type":72,"value":233},"async",{"type":61,"tag":145,"props":235,"children":236},{"style":158},[237],{"type":72,"value":238}," (",{"type":61,"tag":145,"props":240,"children":242},{"style":241},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[243],{"type":72,"value":244},"event",{"type":61,"tag":145,"props":246,"children":247},{"style":158},[248],{"type":72,"value":249},")",{"type":61,"tag":145,"props":251,"children":252},{"style":230},[253],{"type":72,"value":254}," =>",{"type":61,"tag":145,"props":256,"children":257},{"style":158},[258],{"type":72,"value":259}," {\n",{"type":61,"tag":145,"props":261,"children":263},{"class":147,"line":262},4,[264,269,274,279,284,288,293,297],{"type":61,"tag":145,"props":265,"children":266},{"style":230},[267],{"type":72,"value":268}," const",{"type":61,"tag":145,"props":270,"children":271},{"style":164},[272],{"type":72,"value":273}," client",{"type":61,"tag":145,"props":275,"children":276},{"style":158},[277],{"type":72,"value":278}," =",{"type":61,"tag":145,"props":280,"children":281},{"style":152},[282],{"type":72,"value":283}," await",{"type":61,"tag":145,"props":285,"children":286},{"style":219},[287],{"type":72,"value":167},{"type":61,"tag":145,"props":289,"children":291},{"style":290},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[292],{"type":72,"value":227},{"type":61,"tag":145,"props":294,"children":295},{"style":164},[296],{"type":72,"value":244},{"type":61,"tag":145,"props":298,"children":299},{"style":290},[300],{"type":72,"value":301},")\n",{"type":61,"tag":145,"props":303,"children":305},{"class":147,"line":304},5,[306],{"type":61,"tag":145,"props":307,"children":308},{"emptyLinePlaceholder":199},[309],{"type":72,"value":202},{"type":61,"tag":145,"props":311,"children":313},{"class":147,"line":312},6,[314,318,322,327,331,335,339,343,347,352,356,361,366,370,374,378,383,387,391,396,400],{"type":61,"tag":145,"props":315,"children":316},{"style":230},[317],{"type":72,"value":268},{"type":61,"tag":145,"props":319,"children":320},{"style":158},[321],{"type":72,"value":161},{"type":61,"tag":145,"props":323,"children":324},{"style":164},[325],{"type":72,"value":326}," data",{"type":61,"tag":145,"props":328,"children":329},{"style":158},[330],{"type":72,"value":172},{"type":61,"tag":145,"props":332,"children":333},{"style":158},[334],{"type":72,"value":278},{"type":61,"tag":145,"props":336,"children":337},{"style":152},[338],{"type":72,"value":283},{"type":61,"tag":145,"props":340,"children":341},{"style":164},[342],{"type":72,"value":273},{"type":61,"tag":145,"props":344,"children":345},{"style":158},[346],{"type":72,"value":104},{"type":61,"tag":145,"props":348,"children":349},{"style":219},[350],{"type":72,"value":351},"from",{"type":61,"tag":145,"props":353,"children":354},{"style":290},[355],{"type":72,"value":227},{"type":61,"tag":145,"props":357,"children":358},{"style":158},[359],{"type":72,"value":360},"'",{"type":61,"tag":145,"props":362,"children":363},{"style":185},[364],{"type":72,"value":365},"libraries",{"type":61,"tag":145,"props":367,"children":368},{"style":158},[369],{"type":72,"value":360},{"type":61,"tag":145,"props":371,"children":372},{"style":290},[373],{"type":72,"value":249},{"type":61,"tag":145,"props":375,"children":376},{"style":158},[377],{"type":72,"value":104},{"type":61,"tag":145,"props":379,"children":380},{"style":219},[381],{"type":72,"value":382},"select",{"type":61,"tag":145,"props":384,"children":385},{"style":290},[386],{"type":72,"value":227},{"type":61,"tag":145,"props":388,"children":389},{"style":158},[390],{"type":72,"value":360},{"type":61,"tag":145,"props":392,"children":393},{"style":185},[394],{"type":72,"value":395},"*",{"type":61,"tag":145,"props":397,"children":398},{"style":158},[399],{"type":72,"value":360},{"type":61,"tag":145,"props":401,"children":402},{"style":290},[403],{"type":72,"value":301},{"type":61,"tag":145,"props":405,"children":407},{"class":147,"line":406},7,[408],{"type":61,"tag":145,"props":409,"children":410},{"emptyLinePlaceholder":199},[411],{"type":72,"value":202},{"type":61,"tag":145,"props":413,"children":415},{"class":147,"line":414},8,[416,421,425,430,435,439],{"type":61,"tag":145,"props":417,"children":418},{"style":152},[419],{"type":72,"value":420}," return",{"type":61,"tag":145,"props":422,"children":423},{"style":158},[424],{"type":72,"value":161},{"type":61,"tag":145,"props":426,"children":427},{"style":290},[428],{"type":72,"value":429}," libraries",{"type":61,"tag":145,"props":431,"children":432},{"style":158},[433],{"type":72,"value":434},":",{"type":61,"tag":145,"props":436,"children":437},{"style":164},[438],{"type":72,"value":326},{"type":61,"tag":145,"props":440,"children":441},{"style":158},[442],{"type":72,"value":443}," }\n",{"type":61,"tag":145,"props":445,"children":447},{"class":147,"line":446},9,[448,453],{"type":61,"tag":145,"props":449,"children":450},{"style":158},[451],{"type":72,"value":452},"}",{"type":61,"tag":145,"props":454,"children":455},{"style":164},[456],{"type":72,"value":301},{"type":61,"tag":68,"props":458,"children":459},{},[460],{"type":72,"value":461},"Then call your API route from any vue file:",{"type":61,"tag":134,"props":463,"children":466},{"className":136,"code":464,"filename":465,"language":139,"meta":55,"style":55},"const fetchLibrary = async () => {\n const { libraries } = await $fetch('/api/libraries')\n}\n","pages/index.vue",[467],{"type":61,"tag":111,"props":468,"children":469},{"__ignoreMap":55},[470,506,559],{"type":61,"tag":145,"props":471,"children":472},{"class":147,"line":148},[473,478,483,488,493,498,502],{"type":61,"tag":145,"props":474,"children":475},{"style":230},[476],{"type":72,"value":477},"const",{"type":61,"tag":145,"props":479,"children":480},{"style":164},[481],{"type":72,"value":482}," fetchLibrary ",{"type":61,"tag":145,"props":484,"children":485},{"style":158},[486],{"type":72,"value":487},"=",{"type":61,"tag":145,"props":489,"children":490},{"style":230},[491],{"type":72,"value":492}," async",{"type":61,"tag":145,"props":494,"children":495},{"style":158},[496],{"type":72,"value":497}," ()",{"type":61,"tag":145,"props":499,"children":500},{"style":230},[501],{"type":72,"value":254},{"type":61,"tag":145,"props":503,"children":504},{"style":158},[505],{"type":72,"value":259},{"type":61,"tag":145,"props":507,"children":508},{"class":147,"line":195},[509,513,517,521,525,529,533,538,542,546,551,555],{"type":61,"tag":145,"props":510,"children":511},{"style":230},[512],{"type":72,"value":268},{"type":61,"tag":145,"props":514,"children":515},{"style":158},[516],{"type":72,"value":161},{"type":61,"tag":145,"props":518,"children":519},{"style":164},[520],{"type":72,"value":429},{"type":61,"tag":145,"props":522,"children":523},{"style":158},[524],{"type":72,"value":172},{"type":61,"tag":145,"props":526,"children":527},{"style":158},[528],{"type":72,"value":278},{"type":61,"tag":145,"props":530,"children":531},{"style":152},[532],{"type":72,"value":283},{"type":61,"tag":145,"props":534,"children":535},{"style":219},[536],{"type":72,"value":537}," $fetch",{"type":61,"tag":145,"props":539,"children":540},{"style":290},[541],{"type":72,"value":227},{"type":61,"tag":145,"props":543,"children":544},{"style":158},[545],{"type":72,"value":360},{"type":61,"tag":145,"props":547,"children":548},{"style":185},[549],{"type":72,"value":550},"/api/libraries",{"type":61,"tag":145,"props":552,"children":553},{"style":158},[554],{"type":72,"value":360},{"type":61,"tag":145,"props":556,"children":557},{"style":290},[558],{"type":72,"value":301},{"type":61,"tag":145,"props":560,"children":561},{"class":147,"line":205},[562],{"type":61,"tag":145,"props":563,"children":564},{"style":158},[565],{"type":72,"value":566},"}\n",{"type":61,"tag":68,"props":568,"children":569},{},[570,572,579],{"type":72,"value":571},"Be careful, if you want to call this route on SSR, please read this ",{"type":61,"tag":75,"props":573,"children":576},{"href":574,"rel":575},"https://nuxt.com/docs/getting-started/data-fetching#isomorphic-fetch-and-fetch",[79],[577],{"type":72,"value":578},"section",{"type":72,"value":580},", you must send your browser cookies including your supabase token.",{"type":61,"tag":134,"props":582,"children":584},{"className":136,"code":583,"filename":465,"language":139,"meta":55,"style":55},"const { data: { libraries }} = await useFetch('/api/libraries', {\n headers: useRequestHeaders(['cookie'])\n})\n",[585],{"type":61,"tag":111,"props":586,"children":587},{"__ignoreMap":55},[588,659,699],{"type":61,"tag":145,"props":589,"children":590},{"class":147,"line":148},[591,595,599,603,607,611,616,621,625,629,634,638,642,646,650,655],{"type":61,"tag":145,"props":592,"children":593},{"style":230},[594],{"type":72,"value":477},{"type":61,"tag":145,"props":596,"children":597},{"style":158},[598],{"type":72,"value":161},{"type":61,"tag":145,"props":600,"children":601},{"style":290},[602],{"type":72,"value":326},{"type":61,"tag":145,"props":604,"children":605},{"style":158},[606],{"type":72,"value":434},{"type":61,"tag":145,"props":608,"children":609},{"style":158},[610],{"type":72,"value":161},{"type":61,"tag":145,"props":612,"children":613},{"style":164},[614],{"type":72,"value":615}," libraries ",{"type":61,"tag":145,"props":617,"children":618},{"style":158},[619],{"type":72,"value":620},"}}",{"type":61,"tag":145,"props":622,"children":623},{"style":158},[624],{"type":72,"value":278},{"type":61,"tag":145,"props":626,"children":627},{"style":152},[628],{"type":72,"value":283},{"type":61,"tag":145,"props":630,"children":631},{"style":219},[632],{"type":72,"value":633}," useFetch",{"type":61,"tag":145,"props":635,"children":636},{"style":164},[637],{"type":72,"value":227},{"type":61,"tag":145,"props":639,"children":640},{"style":158},[641],{"type":72,"value":360},{"type":61,"tag":145,"props":643,"children":644},{"style":185},[645],{"type":72,"value":550},{"type":61,"tag":145,"props":647,"children":648},{"style":158},[649],{"type":72,"value":360},{"type":61,"tag":145,"props":651,"children":652},{"style":158},[653],{"type":72,"value":654},",",{"type":61,"tag":145,"props":656,"children":657},{"style":158},[658],{"type":72,"value":259},{"type":61,"tag":145,"props":660,"children":661},{"class":147,"line":195},[662,667,671,676,681,685,690,694],{"type":61,"tag":145,"props":663,"children":664},{"style":290},[665],{"type":72,"value":666}," headers",{"type":61,"tag":145,"props":668,"children":669},{"style":158},[670],{"type":72,"value":434},{"type":61,"tag":145,"props":672,"children":673},{"style":219},[674],{"type":72,"value":675}," useRequestHeaders",{"type":61,"tag":145,"props":677,"children":678},{"style":164},[679],{"type":72,"value":680},"([",{"type":61,"tag":145,"props":682,"children":683},{"style":158},[684],{"type":72,"value":360},{"type":61,"tag":145,"props":686,"children":687},{"style":185},[688],{"type":72,"value":689},"cookie",{"type":61,"tag":145,"props":691,"children":692},{"style":158},[693],{"type":72,"value":360},{"type":61,"tag":145,"props":695,"children":696},{"style":164},[697],{"type":72,"value":698},"])\n",{"type":61,"tag":145,"props":700,"children":701},{"class":147,"line":205},[702,706],{"type":61,"tag":145,"props":703,"children":704},{"style":158},[705],{"type":72,"value":452},{"type":61,"tag":145,"props":707,"children":708},{"style":164},[709],{"type":72,"value":301},{"type":61,"tag":711,"props":712,"children":713},"style",{},[714],{"type":72,"value":715},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":55,"searchDepth":195,"depth":195,"links":717},[],"markdown","content:4.usage:services:1.serverSupabaseClient.md","content","4.usage/services/1.serverSupabaseClient.md","md",[724,726],{"_path":25,"title":24,"description":725},"Auto import and use your Supabase user with the useSupabaseUser composable",{"_path":35,"title":727,"description":728},"serverServiceRole","Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service",1706281079976] \ No newline at end of file diff --git a/usage/services/serversupabaseclient/index.html b/usage/services/serversupabaseclient/index.html index 8ec93469..06248f98 100644 --- a/usage/services/serversupabaseclient/index.html +++ b/usage/services/serversupabaseclient/index.html @@ -67,42 +67,42 @@ - - - - - - - - - + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - + - - - - - - - + + + + + + + - - + + - -
mobile favicon
Services

serverSupabaseClient

Make requests to the Supabase API on server side with the serverSupabaseClient service

This section assumes you're familiar with Nitro, the server engine powered by Nuxt.

This function is working similary as the useSupabaseClient composable but is designed to be used in server routes.

Define your server route and just import the serverSupabaseClient from #supabase/server. Be careful, serverSupabaseClient is returning a promise.

server/api/libraries.ts
import { serverSupabaseClient } from '#supabase/server'
 
 export default eventHandler(async (event) => {
@@ -119,5 +119,5 @@
   headers: useRequestHeaders(['cookie'])
 })
 

Made with Nuxt Studio
- - \ No newline at end of file + + \ No newline at end of file diff --git a/usage/services/serversupabaseservicerole/_payload.json b/usage/services/serversupabaseservicerole/_payload.json index 2737bbfc..a6d25a2e 100644 --- a/usage/services/serversupabaseservicerole/_payload.json +++ b/usage/services/serversupabaseservicerole/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":606},["Reactive",2],{"navigation":3,"/usage/services/serversupabaseservicerole":52,"/usage/services/serversupabaseservicerole-surround":601},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":35,"_dir":53,"_draft":54,"_partial":54,"_locale":55,"title":56,"description":57,"navigation":58,"body":59,"_type":596,"_id":597,"_source":598,"_file":599,"_extension":600},"services",false,"","serverServiceRole","Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service",{"title":34},{"type":60,"children":61,"toc":594},"root",[62,87,101,121,155,174,478,483,588],{"type":63,"tag":64,"props":65,"children":68},"element","callout",{"color":66,"icon":67},"amber","i-heroicons-exclamation-triangle-20-solid",[69],{"type":63,"tag":70,"props":71,"children":72},"p",{},[73,76,85],{"type":74,"value":75},"text","This section assumes you're familiar with ",{"type":63,"tag":77,"props":78,"children":82},"a",{"href":79,"rel":80},"https://v3.nuxtjs.org/guide/concepts/server-engine",[81],"nofollow",[83],{"type":74,"value":84},"Nitro",{"type":74,"value":86},", the server engine powered by Nuxt.",{"type":63,"tag":70,"props":88,"children":89},{},[90,92,99],{"type":74,"value":91},"This function is designed to work only in ",{"type":63,"tag":77,"props":93,"children":96},{"href":94,"rel":95},"https://nuxt.com/docs/guide/directory-structure/server#server-routes",[81],[97],{"type":74,"value":98},"server routes",{"type":74,"value":100},", there is no vue composable equivalent.",{"type":63,"tag":70,"props":102,"children":103},{},[104,106,110,112,119],{"type":74,"value":105},"It works similary as the ",{"type":63,"tag":77,"props":107,"children":108},{"href":32},[109],{"type":74,"value":31},{"type":74,"value":111}," but it provides a client with super admin rights that can bypass your ",{"type":63,"tag":77,"props":113,"children":116},{"href":114,"rel":115},"https://supabase.com/docs/guides/auth/row-level-security",[81],[117],{"type":74,"value":118},"Row Level Security",{"type":74,"value":120},".",{"type":63,"tag":122,"props":123,"children":124},"blockquote",{},[125],{"type":63,"tag":70,"props":126,"children":127},{},[128,130,137,139,145,147,154],{"type":74,"value":129},"The client is initialized with the ",{"type":63,"tag":131,"props":132,"children":134},"code",{"className":133},[],[135],{"type":74,"value":136},"SUPABASE_SERVICE_KEY",{"type":74,"value":138}," you must have in your ",{"type":63,"tag":131,"props":140,"children":142},{"className":141},[],[143],{"type":74,"value":144},".env",{"type":74,"value":146}," file. Checkout the doc if you want to know more about ",{"type":63,"tag":77,"props":148,"children":151},{"href":149,"rel":150},"https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts#jwts-in-supabase",[81],[152],{"type":74,"value":153},"Supabase keys",{"type":74,"value":120},{"type":63,"tag":70,"props":156,"children":157},{},[158,160,165,167,173],{"type":74,"value":159},"Define your server route and just import the ",{"type":63,"tag":131,"props":161,"children":163},{"className":162},[],[164],{"type":74,"value":34},{"type":74,"value":166}," from ",{"type":63,"tag":131,"props":168,"children":170},{"className":169},[],[171],{"type":74,"value":172},"#supabase/server",{"type":74,"value":120},{"type":63,"tag":175,"props":176,"children":181},"pre",{"className":177,"code":178,"filename":179,"language":180,"meta":55,"style":55},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { serverSupabaseServiceRole } from '#supabase/server'\n\nexport default eventHandler(async (event) => {\n const client = serverSupabaseServiceRole(event)\n\n const { data } = await client.from('rls-protected-table').select()\n\n return { sensitiveData: data }\n})\n","server/api/bypass-rls.ts","ts",[182],{"type":63,"tag":131,"props":183,"children":184},{"__ignoreMap":55},[185,234,244,301,338,346,425,433,465],{"type":63,"tag":186,"props":187,"children":190},"span",{"class":188,"line":189},"line",1,[191,197,203,209,214,219,224,229],{"type":63,"tag":186,"props":192,"children":194},{"style":193},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[195],{"type":74,"value":196},"import",{"type":63,"tag":186,"props":198,"children":200},{"style":199},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[201],{"type":74,"value":202}," {",{"type":63,"tag":186,"props":204,"children":206},{"style":205},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[207],{"type":74,"value":208}," serverSupabaseServiceRole",{"type":63,"tag":186,"props":210,"children":211},{"style":199},[212],{"type":74,"value":213}," }",{"type":63,"tag":186,"props":215,"children":216},{"style":193},[217],{"type":74,"value":218}," from",{"type":63,"tag":186,"props":220,"children":221},{"style":199},[222],{"type":74,"value":223}," '",{"type":63,"tag":186,"props":225,"children":227},{"style":226},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[228],{"type":74,"value":172},{"type":63,"tag":186,"props":230,"children":231},{"style":199},[232],{"type":74,"value":233},"'\n",{"type":63,"tag":186,"props":235,"children":237},{"class":188,"line":236},2,[238],{"type":63,"tag":186,"props":239,"children":241},{"emptyLinePlaceholder":240},true,[242],{"type":74,"value":243},"\n",{"type":63,"tag":186,"props":245,"children":247},{"class":188,"line":246},3,[248,253,258,264,269,275,280,286,291,296],{"type":63,"tag":186,"props":249,"children":250},{"style":193},[251],{"type":74,"value":252},"export",{"type":63,"tag":186,"props":254,"children":255},{"style":193},[256],{"type":74,"value":257}," default",{"type":63,"tag":186,"props":259,"children":261},{"style":260},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[262],{"type":74,"value":263}," eventHandler",{"type":63,"tag":186,"props":265,"children":266},{"style":205},[267],{"type":74,"value":268},"(",{"type":63,"tag":186,"props":270,"children":272},{"style":271},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[273],{"type":74,"value":274},"async",{"type":63,"tag":186,"props":276,"children":277},{"style":199},[278],{"type":74,"value":279}," (",{"type":63,"tag":186,"props":281,"children":283},{"style":282},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[284],{"type":74,"value":285},"event",{"type":63,"tag":186,"props":287,"children":288},{"style":199},[289],{"type":74,"value":290},")",{"type":63,"tag":186,"props":292,"children":293},{"style":271},[294],{"type":74,"value":295}," =>",{"type":63,"tag":186,"props":297,"children":298},{"style":199},[299],{"type":74,"value":300}," {\n",{"type":63,"tag":186,"props":302,"children":304},{"class":188,"line":303},4,[305,310,315,320,324,329,333],{"type":63,"tag":186,"props":306,"children":307},{"style":271},[308],{"type":74,"value":309}," const",{"type":63,"tag":186,"props":311,"children":312},{"style":205},[313],{"type":74,"value":314}," client",{"type":63,"tag":186,"props":316,"children":317},{"style":199},[318],{"type":74,"value":319}," =",{"type":63,"tag":186,"props":321,"children":322},{"style":260},[323],{"type":74,"value":208},{"type":63,"tag":186,"props":325,"children":327},{"style":326},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[328],{"type":74,"value":268},{"type":63,"tag":186,"props":330,"children":331},{"style":205},[332],{"type":74,"value":285},{"type":63,"tag":186,"props":334,"children":335},{"style":326},[336],{"type":74,"value":337},")\n",{"type":63,"tag":186,"props":339,"children":341},{"class":188,"line":340},5,[342],{"type":63,"tag":186,"props":343,"children":344},{"emptyLinePlaceholder":240},[345],{"type":74,"value":243},{"type":63,"tag":186,"props":347,"children":349},{"class":188,"line":348},6,[350,354,358,363,367,371,376,380,384,389,393,398,403,407,411,415,420],{"type":63,"tag":186,"props":351,"children":352},{"style":271},[353],{"type":74,"value":309},{"type":63,"tag":186,"props":355,"children":356},{"style":199},[357],{"type":74,"value":202},{"type":63,"tag":186,"props":359,"children":360},{"style":205},[361],{"type":74,"value":362}," data",{"type":63,"tag":186,"props":364,"children":365},{"style":199},[366],{"type":74,"value":213},{"type":63,"tag":186,"props":368,"children":369},{"style":199},[370],{"type":74,"value":319},{"type":63,"tag":186,"props":372,"children":373},{"style":193},[374],{"type":74,"value":375}," await",{"type":63,"tag":186,"props":377,"children":378},{"style":205},[379],{"type":74,"value":314},{"type":63,"tag":186,"props":381,"children":382},{"style":199},[383],{"type":74,"value":120},{"type":63,"tag":186,"props":385,"children":386},{"style":260},[387],{"type":74,"value":388},"from",{"type":63,"tag":186,"props":390,"children":391},{"style":326},[392],{"type":74,"value":268},{"type":63,"tag":186,"props":394,"children":395},{"style":199},[396],{"type":74,"value":397},"'",{"type":63,"tag":186,"props":399,"children":400},{"style":226},[401],{"type":74,"value":402},"rls-protected-table",{"type":63,"tag":186,"props":404,"children":405},{"style":199},[406],{"type":74,"value":397},{"type":63,"tag":186,"props":408,"children":409},{"style":326},[410],{"type":74,"value":290},{"type":63,"tag":186,"props":412,"children":413},{"style":199},[414],{"type":74,"value":120},{"type":63,"tag":186,"props":416,"children":417},{"style":260},[418],{"type":74,"value":419},"select",{"type":63,"tag":186,"props":421,"children":422},{"style":326},[423],{"type":74,"value":424},"()\n",{"type":63,"tag":186,"props":426,"children":428},{"class":188,"line":427},7,[429],{"type":63,"tag":186,"props":430,"children":431},{"emptyLinePlaceholder":240},[432],{"type":74,"value":243},{"type":63,"tag":186,"props":434,"children":436},{"class":188,"line":435},8,[437,442,446,451,456,460],{"type":63,"tag":186,"props":438,"children":439},{"style":193},[440],{"type":74,"value":441}," return",{"type":63,"tag":186,"props":443,"children":444},{"style":199},[445],{"type":74,"value":202},{"type":63,"tag":186,"props":447,"children":448},{"style":326},[449],{"type":74,"value":450}," sensitiveData",{"type":63,"tag":186,"props":452,"children":453},{"style":199},[454],{"type":74,"value":455},":",{"type":63,"tag":186,"props":457,"children":458},{"style":205},[459],{"type":74,"value":362},{"type":63,"tag":186,"props":461,"children":462},{"style":199},[463],{"type":74,"value":464}," }\n",{"type":63,"tag":186,"props":466,"children":468},{"class":188,"line":467},9,[469,474],{"type":63,"tag":186,"props":470,"children":471},{"style":199},[472],{"type":74,"value":473},"}",{"type":63,"tag":186,"props":475,"children":476},{"style":205},[477],{"type":74,"value":337},{"type":63,"tag":70,"props":479,"children":480},{},[481],{"type":74,"value":482},"Then call your API route from any vue file:",{"type":63,"tag":175,"props":484,"children":487},{"className":177,"code":485,"filename":486,"language":180,"meta":55,"style":55},"const fetchSensitiveData = async () => {\n const { sensitiveData } = await useFetch('/api/bypass-rls')\n}\n","pages/index.vue",[488],{"type":63,"tag":131,"props":489,"children":490},{"__ignoreMap":55},[491,527,580],{"type":63,"tag":186,"props":492,"children":493},{"class":188,"line":189},[494,499,504,509,514,519,523],{"type":63,"tag":186,"props":495,"children":496},{"style":271},[497],{"type":74,"value":498},"const",{"type":63,"tag":186,"props":500,"children":501},{"style":205},[502],{"type":74,"value":503}," fetchSensitiveData ",{"type":63,"tag":186,"props":505,"children":506},{"style":199},[507],{"type":74,"value":508},"=",{"type":63,"tag":186,"props":510,"children":511},{"style":271},[512],{"type":74,"value":513}," async",{"type":63,"tag":186,"props":515,"children":516},{"style":199},[517],{"type":74,"value":518}," ()",{"type":63,"tag":186,"props":520,"children":521},{"style":271},[522],{"type":74,"value":295},{"type":63,"tag":186,"props":524,"children":525},{"style":199},[526],{"type":74,"value":300},{"type":63,"tag":186,"props":528,"children":529},{"class":188,"line":236},[530,534,538,542,546,550,554,559,563,567,572,576],{"type":63,"tag":186,"props":531,"children":532},{"style":271},[533],{"type":74,"value":309},{"type":63,"tag":186,"props":535,"children":536},{"style":199},[537],{"type":74,"value":202},{"type":63,"tag":186,"props":539,"children":540},{"style":205},[541],{"type":74,"value":450},{"type":63,"tag":186,"props":543,"children":544},{"style":199},[545],{"type":74,"value":213},{"type":63,"tag":186,"props":547,"children":548},{"style":199},[549],{"type":74,"value":319},{"type":63,"tag":186,"props":551,"children":552},{"style":193},[553],{"type":74,"value":375},{"type":63,"tag":186,"props":555,"children":556},{"style":260},[557],{"type":74,"value":558}," useFetch",{"type":63,"tag":186,"props":560,"children":561},{"style":326},[562],{"type":74,"value":268},{"type":63,"tag":186,"props":564,"children":565},{"style":199},[566],{"type":74,"value":397},{"type":63,"tag":186,"props":568,"children":569},{"style":226},[570],{"type":74,"value":571},"/api/bypass-rls",{"type":63,"tag":186,"props":573,"children":574},{"style":199},[575],{"type":74,"value":397},{"type":63,"tag":186,"props":577,"children":578},{"style":326},[579],{"type":74,"value":337},{"type":63,"tag":186,"props":581,"children":582},{"class":188,"line":246},[583],{"type":63,"tag":186,"props":584,"children":585},{"style":199},[586],{"type":74,"value":587},"}\n",{"type":63,"tag":589,"props":590,"children":591},"style",{},[592],{"type":74,"value":593},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":55,"searchDepth":236,"depth":236,"links":595},[],"markdown","content:4.usage:services:2.serverSupabaseServiceRole.md","content","4.usage/services/2.serverSupabaseServiceRole.md","md",[602,604],{"_path":32,"title":31,"description":603},"Make requests to the Supabase API on server side with the serverSupabaseClient service",{"_path":38,"title":37,"description":605},"Get your Supabase user from serverside with the serverSupabaseUser service",1706280924803] \ No newline at end of file +[{"data":1,"prerenderedAt":606},["Reactive",2],{"navigation":3,"/usage/services/serversupabaseservicerole":52,"/usage/services/serversupabaseservicerole-surround":601},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":35,"_dir":53,"_draft":54,"_partial":54,"_locale":55,"title":56,"description":57,"navigation":58,"body":59,"_type":596,"_id":597,"_source":598,"_file":599,"_extension":600},"services",false,"","serverServiceRole","Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service",{"title":34},{"type":60,"children":61,"toc":594},"root",[62,87,101,121,155,174,478,483,588],{"type":63,"tag":64,"props":65,"children":68},"element","callout",{"color":66,"icon":67},"amber","i-heroicons-exclamation-triangle-20-solid",[69],{"type":63,"tag":70,"props":71,"children":72},"p",{},[73,76,85],{"type":74,"value":75},"text","This section assumes you're familiar with ",{"type":63,"tag":77,"props":78,"children":82},"a",{"href":79,"rel":80},"https://v3.nuxtjs.org/guide/concepts/server-engine",[81],"nofollow",[83],{"type":74,"value":84},"Nitro",{"type":74,"value":86},", the server engine powered by Nuxt.",{"type":63,"tag":70,"props":88,"children":89},{},[90,92,99],{"type":74,"value":91},"This function is designed to work only in ",{"type":63,"tag":77,"props":93,"children":96},{"href":94,"rel":95},"https://nuxt.com/docs/guide/directory-structure/server#server-routes",[81],[97],{"type":74,"value":98},"server routes",{"type":74,"value":100},", there is no vue composable equivalent.",{"type":63,"tag":70,"props":102,"children":103},{},[104,106,110,112,119],{"type":74,"value":105},"It works similary as the ",{"type":63,"tag":77,"props":107,"children":108},{"href":32},[109],{"type":74,"value":31},{"type":74,"value":111}," but it provides a client with super admin rights that can bypass your ",{"type":63,"tag":77,"props":113,"children":116},{"href":114,"rel":115},"https://supabase.com/docs/guides/auth/row-level-security",[81],[117],{"type":74,"value":118},"Row Level Security",{"type":74,"value":120},".",{"type":63,"tag":122,"props":123,"children":124},"blockquote",{},[125],{"type":63,"tag":70,"props":126,"children":127},{},[128,130,137,139,145,147,154],{"type":74,"value":129},"The client is initialized with the ",{"type":63,"tag":131,"props":132,"children":134},"code",{"className":133},[],[135],{"type":74,"value":136},"SUPABASE_SERVICE_KEY",{"type":74,"value":138}," you must have in your ",{"type":63,"tag":131,"props":140,"children":142},{"className":141},[],[143],{"type":74,"value":144},".env",{"type":74,"value":146}," file. Checkout the doc if you want to know more about ",{"type":63,"tag":77,"props":148,"children":151},{"href":149,"rel":150},"https://supabase.com/docs/learn/auth-deep-dive/auth-deep-dive-jwts#jwts-in-supabase",[81],[152],{"type":74,"value":153},"Supabase keys",{"type":74,"value":120},{"type":63,"tag":70,"props":156,"children":157},{},[158,160,165,167,173],{"type":74,"value":159},"Define your server route and just import the ",{"type":63,"tag":131,"props":161,"children":163},{"className":162},[],[164],{"type":74,"value":34},{"type":74,"value":166}," from ",{"type":63,"tag":131,"props":168,"children":170},{"className":169},[],[171],{"type":74,"value":172},"#supabase/server",{"type":74,"value":120},{"type":63,"tag":175,"props":176,"children":181},"pre",{"className":177,"code":178,"filename":179,"language":180,"meta":55,"style":55},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { serverSupabaseServiceRole } from '#supabase/server'\n\nexport default eventHandler(async (event) => {\n const client = serverSupabaseServiceRole(event)\n\n const { data } = await client.from('rls-protected-table').select()\n\n return { sensitiveData: data }\n})\n","server/api/bypass-rls.ts","ts",[182],{"type":63,"tag":131,"props":183,"children":184},{"__ignoreMap":55},[185,234,244,301,338,346,425,433,465],{"type":63,"tag":186,"props":187,"children":190},"span",{"class":188,"line":189},"line",1,[191,197,203,209,214,219,224,229],{"type":63,"tag":186,"props":192,"children":194},{"style":193},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[195],{"type":74,"value":196},"import",{"type":63,"tag":186,"props":198,"children":200},{"style":199},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[201],{"type":74,"value":202}," {",{"type":63,"tag":186,"props":204,"children":206},{"style":205},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[207],{"type":74,"value":208}," serverSupabaseServiceRole",{"type":63,"tag":186,"props":210,"children":211},{"style":199},[212],{"type":74,"value":213}," }",{"type":63,"tag":186,"props":215,"children":216},{"style":193},[217],{"type":74,"value":218}," from",{"type":63,"tag":186,"props":220,"children":221},{"style":199},[222],{"type":74,"value":223}," '",{"type":63,"tag":186,"props":225,"children":227},{"style":226},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[228],{"type":74,"value":172},{"type":63,"tag":186,"props":230,"children":231},{"style":199},[232],{"type":74,"value":233},"'\n",{"type":63,"tag":186,"props":235,"children":237},{"class":188,"line":236},2,[238],{"type":63,"tag":186,"props":239,"children":241},{"emptyLinePlaceholder":240},true,[242],{"type":74,"value":243},"\n",{"type":63,"tag":186,"props":245,"children":247},{"class":188,"line":246},3,[248,253,258,264,269,275,280,286,291,296],{"type":63,"tag":186,"props":249,"children":250},{"style":193},[251],{"type":74,"value":252},"export",{"type":63,"tag":186,"props":254,"children":255},{"style":193},[256],{"type":74,"value":257}," default",{"type":63,"tag":186,"props":259,"children":261},{"style":260},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[262],{"type":74,"value":263}," eventHandler",{"type":63,"tag":186,"props":265,"children":266},{"style":205},[267],{"type":74,"value":268},"(",{"type":63,"tag":186,"props":270,"children":272},{"style":271},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[273],{"type":74,"value":274},"async",{"type":63,"tag":186,"props":276,"children":277},{"style":199},[278],{"type":74,"value":279}," (",{"type":63,"tag":186,"props":281,"children":283},{"style":282},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[284],{"type":74,"value":285},"event",{"type":63,"tag":186,"props":287,"children":288},{"style":199},[289],{"type":74,"value":290},")",{"type":63,"tag":186,"props":292,"children":293},{"style":271},[294],{"type":74,"value":295}," =>",{"type":63,"tag":186,"props":297,"children":298},{"style":199},[299],{"type":74,"value":300}," {\n",{"type":63,"tag":186,"props":302,"children":304},{"class":188,"line":303},4,[305,310,315,320,324,329,333],{"type":63,"tag":186,"props":306,"children":307},{"style":271},[308],{"type":74,"value":309}," const",{"type":63,"tag":186,"props":311,"children":312},{"style":205},[313],{"type":74,"value":314}," client",{"type":63,"tag":186,"props":316,"children":317},{"style":199},[318],{"type":74,"value":319}," =",{"type":63,"tag":186,"props":321,"children":322},{"style":260},[323],{"type":74,"value":208},{"type":63,"tag":186,"props":325,"children":327},{"style":326},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[328],{"type":74,"value":268},{"type":63,"tag":186,"props":330,"children":331},{"style":205},[332],{"type":74,"value":285},{"type":63,"tag":186,"props":334,"children":335},{"style":326},[336],{"type":74,"value":337},")\n",{"type":63,"tag":186,"props":339,"children":341},{"class":188,"line":340},5,[342],{"type":63,"tag":186,"props":343,"children":344},{"emptyLinePlaceholder":240},[345],{"type":74,"value":243},{"type":63,"tag":186,"props":347,"children":349},{"class":188,"line":348},6,[350,354,358,363,367,371,376,380,384,389,393,398,403,407,411,415,420],{"type":63,"tag":186,"props":351,"children":352},{"style":271},[353],{"type":74,"value":309},{"type":63,"tag":186,"props":355,"children":356},{"style":199},[357],{"type":74,"value":202},{"type":63,"tag":186,"props":359,"children":360},{"style":205},[361],{"type":74,"value":362}," data",{"type":63,"tag":186,"props":364,"children":365},{"style":199},[366],{"type":74,"value":213},{"type":63,"tag":186,"props":368,"children":369},{"style":199},[370],{"type":74,"value":319},{"type":63,"tag":186,"props":372,"children":373},{"style":193},[374],{"type":74,"value":375}," await",{"type":63,"tag":186,"props":377,"children":378},{"style":205},[379],{"type":74,"value":314},{"type":63,"tag":186,"props":381,"children":382},{"style":199},[383],{"type":74,"value":120},{"type":63,"tag":186,"props":385,"children":386},{"style":260},[387],{"type":74,"value":388},"from",{"type":63,"tag":186,"props":390,"children":391},{"style":326},[392],{"type":74,"value":268},{"type":63,"tag":186,"props":394,"children":395},{"style":199},[396],{"type":74,"value":397},"'",{"type":63,"tag":186,"props":399,"children":400},{"style":226},[401],{"type":74,"value":402},"rls-protected-table",{"type":63,"tag":186,"props":404,"children":405},{"style":199},[406],{"type":74,"value":397},{"type":63,"tag":186,"props":408,"children":409},{"style":326},[410],{"type":74,"value":290},{"type":63,"tag":186,"props":412,"children":413},{"style":199},[414],{"type":74,"value":120},{"type":63,"tag":186,"props":416,"children":417},{"style":260},[418],{"type":74,"value":419},"select",{"type":63,"tag":186,"props":421,"children":422},{"style":326},[423],{"type":74,"value":424},"()\n",{"type":63,"tag":186,"props":426,"children":428},{"class":188,"line":427},7,[429],{"type":63,"tag":186,"props":430,"children":431},{"emptyLinePlaceholder":240},[432],{"type":74,"value":243},{"type":63,"tag":186,"props":434,"children":436},{"class":188,"line":435},8,[437,442,446,451,456,460],{"type":63,"tag":186,"props":438,"children":439},{"style":193},[440],{"type":74,"value":441}," return",{"type":63,"tag":186,"props":443,"children":444},{"style":199},[445],{"type":74,"value":202},{"type":63,"tag":186,"props":447,"children":448},{"style":326},[449],{"type":74,"value":450}," sensitiveData",{"type":63,"tag":186,"props":452,"children":453},{"style":199},[454],{"type":74,"value":455},":",{"type":63,"tag":186,"props":457,"children":458},{"style":205},[459],{"type":74,"value":362},{"type":63,"tag":186,"props":461,"children":462},{"style":199},[463],{"type":74,"value":464}," }\n",{"type":63,"tag":186,"props":466,"children":468},{"class":188,"line":467},9,[469,474],{"type":63,"tag":186,"props":470,"children":471},{"style":199},[472],{"type":74,"value":473},"}",{"type":63,"tag":186,"props":475,"children":476},{"style":205},[477],{"type":74,"value":337},{"type":63,"tag":70,"props":479,"children":480},{},[481],{"type":74,"value":482},"Then call your API route from any vue file:",{"type":63,"tag":175,"props":484,"children":487},{"className":177,"code":485,"filename":486,"language":180,"meta":55,"style":55},"const fetchSensitiveData = async () => {\n const { sensitiveData } = await useFetch('/api/bypass-rls')\n}\n","pages/index.vue",[488],{"type":63,"tag":131,"props":489,"children":490},{"__ignoreMap":55},[491,527,580],{"type":63,"tag":186,"props":492,"children":493},{"class":188,"line":189},[494,499,504,509,514,519,523],{"type":63,"tag":186,"props":495,"children":496},{"style":271},[497],{"type":74,"value":498},"const",{"type":63,"tag":186,"props":500,"children":501},{"style":205},[502],{"type":74,"value":503}," fetchSensitiveData ",{"type":63,"tag":186,"props":505,"children":506},{"style":199},[507],{"type":74,"value":508},"=",{"type":63,"tag":186,"props":510,"children":511},{"style":271},[512],{"type":74,"value":513}," async",{"type":63,"tag":186,"props":515,"children":516},{"style":199},[517],{"type":74,"value":518}," ()",{"type":63,"tag":186,"props":520,"children":521},{"style":271},[522],{"type":74,"value":295},{"type":63,"tag":186,"props":524,"children":525},{"style":199},[526],{"type":74,"value":300},{"type":63,"tag":186,"props":528,"children":529},{"class":188,"line":236},[530,534,538,542,546,550,554,559,563,567,572,576],{"type":63,"tag":186,"props":531,"children":532},{"style":271},[533],{"type":74,"value":309},{"type":63,"tag":186,"props":535,"children":536},{"style":199},[537],{"type":74,"value":202},{"type":63,"tag":186,"props":539,"children":540},{"style":205},[541],{"type":74,"value":450},{"type":63,"tag":186,"props":543,"children":544},{"style":199},[545],{"type":74,"value":213},{"type":63,"tag":186,"props":547,"children":548},{"style":199},[549],{"type":74,"value":319},{"type":63,"tag":186,"props":551,"children":552},{"style":193},[553],{"type":74,"value":375},{"type":63,"tag":186,"props":555,"children":556},{"style":260},[557],{"type":74,"value":558}," useFetch",{"type":63,"tag":186,"props":560,"children":561},{"style":326},[562],{"type":74,"value":268},{"type":63,"tag":186,"props":564,"children":565},{"style":199},[566],{"type":74,"value":397},{"type":63,"tag":186,"props":568,"children":569},{"style":226},[570],{"type":74,"value":571},"/api/bypass-rls",{"type":63,"tag":186,"props":573,"children":574},{"style":199},[575],{"type":74,"value":397},{"type":63,"tag":186,"props":577,"children":578},{"style":326},[579],{"type":74,"value":337},{"type":63,"tag":186,"props":581,"children":582},{"class":188,"line":246},[583],{"type":63,"tag":186,"props":584,"children":585},{"style":199},[586],{"type":74,"value":587},"}\n",{"type":63,"tag":589,"props":590,"children":591},"style",{},[592],{"type":74,"value":593},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":55,"searchDepth":236,"depth":236,"links":595},[],"markdown","content:4.usage:services:2.serverSupabaseServiceRole.md","content","4.usage/services/2.serverSupabaseServiceRole.md","md",[602,604],{"_path":32,"title":31,"description":603},"Make requests to the Supabase API on server side with the serverSupabaseClient service",{"_path":38,"title":37,"description":605},"Get your Supabase user from serverside with the serverSupabaseUser service",1706281080426] \ No newline at end of file diff --git a/usage/services/serversupabaseservicerole/index.html b/usage/services/serversupabaseservicerole/index.html index 7410b298..d71af268 100644 --- a/usage/services/serversupabaseservicerole/index.html +++ b/usage/services/serversupabaseservicerole/index.html @@ -67,43 +67,43 @@ - - - - - - - - - + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - + - - - - - - - + + + + + + + - - + + - -
mobile favicon
Services

serverServiceRole

Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service

This section assumes you're familiar with Nitro, the server engine powered by Nuxt.

This function is designed to work only in server routes, there is no vue composable equivalent.

It works similary as the serverSupabaseClient but it provides a client with super admin rights that can bypass your Row Level Security.

The client is initialized with the SUPABASE_SERVICE_KEY you must have in your .env file. Checkout the doc if you want to know more about Supabase keys.

Define your server route and just import the serverSupabaseServiceRole from #supabase/server.

server/api/bypass-rls.ts
import { serverSupabaseServiceRole } from '#supabase/server'
 
 export default eventHandler(async (event) => {
@@ -117,5 +117,5 @@
   const { sensitiveData } = await useFetch('/api/bypass-rls')
 }
 

Made with Nuxt Studio
- - \ No newline at end of file + + \ No newline at end of file diff --git a/usage/services/serversupabaseuser/_payload.json b/usage/services/serversupabaseuser/_payload.json index 6ad16981..7a6037fa 100644 --- a/usage/services/serversupabaseuser/_payload.json +++ b/usage/services/serversupabaseuser/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":671},["Reactive",2],{"navigation":3,"/usage/services/serversupabaseuser":52,"/usage/services/serversupabaseuser-surround":665},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":38,"_dir":53,"_draft":54,"_partial":54,"_locale":55,"title":37,"description":56,"body":57,"_type":660,"_id":661,"_source":662,"_file":663,"_extension":664},"services",false,"","Get your Supabase user from serverside with the serverSupabaseUser service",{"type":58,"children":59,"toc":658},"root",[60,85,105,125,297,302,448,462,652],{"type":61,"tag":62,"props":63,"children":66},"element","callout",{"color":64,"icon":65},"amber","i-heroicons-exclamation-triangle-20-solid",[67],{"type":61,"tag":68,"props":69,"children":70},"p",{},[71,74,83],{"type":72,"value":73},"text","This section assumes you're familiar with ",{"type":61,"tag":75,"props":76,"children":80},"a",{"href":77,"rel":78},"https://v3.nuxtjs.org/guide/concepts/server-engine",[79],"nofollow",[81],{"type":72,"value":82},"Nitro",{"type":72,"value":84},", the server engine powered by Nuxt.",{"type":61,"tag":68,"props":86,"children":87},{},[88,90,94,96,103],{"type":72,"value":89},"This function is similar to the ",{"type":61,"tag":75,"props":91,"children":92},{"href":25},[93],{"type":72,"value":24},{"type":72,"value":95}," composable but is used in ",{"type":61,"tag":75,"props":97,"children":100},{"href":98,"rel":99},"https://nuxt.com/docs/guide/directory-structure/server#server-routes",[79],[101],{"type":72,"value":102},"server routes",{"type":72,"value":104},".",{"type":61,"tag":68,"props":106,"children":107},{},[108,110,116,118,124],{"type":72,"value":109},"Define your server route and import the ",{"type":61,"tag":111,"props":112,"children":114},"code",{"className":113},[],[115],{"type":72,"value":37},{"type":72,"value":117}," from ",{"type":61,"tag":111,"props":119,"children":121},{"className":120},[],[122],{"type":72,"value":123},"#supabase/server",{"type":72,"value":104},{"type":61,"tag":126,"props":127,"children":132},"pre",{"className":128,"code":129,"filename":130,"language":131,"meta":55,"style":55},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { serverSupabaseUser } from '#supabase/server'\n\nexport default defineEventHandler(async (event) => {\n return await serverSupabaseUser(event)\n})\n","server/api/me.ts","ts",[133],{"type":61,"tag":111,"props":134,"children":135},{"__ignoreMap":55},[136,185,195,252,284],{"type":61,"tag":137,"props":138,"children":141},"span",{"class":139,"line":140},"line",1,[142,148,154,160,165,170,175,180],{"type":61,"tag":137,"props":143,"children":145},{"style":144},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[146],{"type":72,"value":147},"import",{"type":61,"tag":137,"props":149,"children":151},{"style":150},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[152],{"type":72,"value":153}," {",{"type":61,"tag":137,"props":155,"children":157},{"style":156},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[158],{"type":72,"value":159}," serverSupabaseUser",{"type":61,"tag":137,"props":161,"children":162},{"style":150},[163],{"type":72,"value":164}," }",{"type":61,"tag":137,"props":166,"children":167},{"style":144},[168],{"type":72,"value":169}," from",{"type":61,"tag":137,"props":171,"children":172},{"style":150},[173],{"type":72,"value":174}," '",{"type":61,"tag":137,"props":176,"children":178},{"style":177},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[179],{"type":72,"value":123},{"type":61,"tag":137,"props":181,"children":182},{"style":150},[183],{"type":72,"value":184},"'\n",{"type":61,"tag":137,"props":186,"children":188},{"class":139,"line":187},2,[189],{"type":61,"tag":137,"props":190,"children":192},{"emptyLinePlaceholder":191},true,[193],{"type":72,"value":194},"\n",{"type":61,"tag":137,"props":196,"children":198},{"class":139,"line":197},3,[199,204,209,215,220,226,231,237,242,247],{"type":61,"tag":137,"props":200,"children":201},{"style":144},[202],{"type":72,"value":203},"export",{"type":61,"tag":137,"props":205,"children":206},{"style":144},[207],{"type":72,"value":208}," default",{"type":61,"tag":137,"props":210,"children":212},{"style":211},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[213],{"type":72,"value":214}," defineEventHandler",{"type":61,"tag":137,"props":216,"children":217},{"style":156},[218],{"type":72,"value":219},"(",{"type":61,"tag":137,"props":221,"children":223},{"style":222},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[224],{"type":72,"value":225},"async",{"type":61,"tag":137,"props":227,"children":228},{"style":150},[229],{"type":72,"value":230}," (",{"type":61,"tag":137,"props":232,"children":234},{"style":233},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[235],{"type":72,"value":236},"event",{"type":61,"tag":137,"props":238,"children":239},{"style":150},[240],{"type":72,"value":241},")",{"type":61,"tag":137,"props":243,"children":244},{"style":222},[245],{"type":72,"value":246}," =>",{"type":61,"tag":137,"props":248,"children":249},{"style":150},[250],{"type":72,"value":251}," {\n",{"type":61,"tag":137,"props":253,"children":255},{"class":139,"line":254},4,[256,261,266,270,275,279],{"type":61,"tag":137,"props":257,"children":258},{"style":144},[259],{"type":72,"value":260}," return",{"type":61,"tag":137,"props":262,"children":263},{"style":144},[264],{"type":72,"value":265}," await",{"type":61,"tag":137,"props":267,"children":268},{"style":211},[269],{"type":72,"value":159},{"type":61,"tag":137,"props":271,"children":273},{"style":272},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[274],{"type":72,"value":219},{"type":61,"tag":137,"props":276,"children":277},{"style":156},[278],{"type":72,"value":236},{"type":61,"tag":137,"props":280,"children":281},{"style":272},[282],{"type":72,"value":283},")\n",{"type":61,"tag":137,"props":285,"children":287},{"class":139,"line":286},5,[288,293],{"type":61,"tag":137,"props":289,"children":290},{"style":150},[291],{"type":72,"value":292},"}",{"type":61,"tag":137,"props":294,"children":295},{"style":156},[296],{"type":72,"value":283},{"type":61,"tag":68,"props":298,"children":299},{},[300],{"type":72,"value":301},"Then call your api route from any vue file:",{"type":61,"tag":126,"props":303,"children":306},{"className":128,"code":304,"filename":305,"language":131,"meta":55,"style":55},"const user = ref(null)\n\nconst fetchMe = async () => {\n user.value = await $fetch('/api/me')\n}\n","pages/index.vue",[307],{"type":61,"tag":111,"props":308,"children":309},{"__ignoreMap":55},[310,346,353,387,440],{"type":61,"tag":137,"props":311,"children":312},{"class":139,"line":140},[313,318,323,328,333,337,342],{"type":61,"tag":137,"props":314,"children":315},{"style":222},[316],{"type":72,"value":317},"const",{"type":61,"tag":137,"props":319,"children":320},{"style":156},[321],{"type":72,"value":322}," user ",{"type":61,"tag":137,"props":324,"children":325},{"style":150},[326],{"type":72,"value":327},"=",{"type":61,"tag":137,"props":329,"children":330},{"style":211},[331],{"type":72,"value":332}," ref",{"type":61,"tag":137,"props":334,"children":335},{"style":156},[336],{"type":72,"value":219},{"type":61,"tag":137,"props":338,"children":339},{"style":150},[340],{"type":72,"value":341},"null",{"type":61,"tag":137,"props":343,"children":344},{"style":156},[345],{"type":72,"value":283},{"type":61,"tag":137,"props":347,"children":348},{"class":139,"line":187},[349],{"type":61,"tag":137,"props":350,"children":351},{"emptyLinePlaceholder":191},[352],{"type":72,"value":194},{"type":61,"tag":137,"props":354,"children":355},{"class":139,"line":197},[356,360,365,369,374,379,383],{"type":61,"tag":137,"props":357,"children":358},{"style":222},[359],{"type":72,"value":317},{"type":61,"tag":137,"props":361,"children":362},{"style":156},[363],{"type":72,"value":364}," fetchMe ",{"type":61,"tag":137,"props":366,"children":367},{"style":150},[368],{"type":72,"value":327},{"type":61,"tag":137,"props":370,"children":371},{"style":222},[372],{"type":72,"value":373}," async",{"type":61,"tag":137,"props":375,"children":376},{"style":150},[377],{"type":72,"value":378}," ()",{"type":61,"tag":137,"props":380,"children":381},{"style":222},[382],{"type":72,"value":246},{"type":61,"tag":137,"props":384,"children":385},{"style":150},[386],{"type":72,"value":251},{"type":61,"tag":137,"props":388,"children":389},{"class":139,"line":254},[390,395,399,404,409,413,418,422,427,432,436],{"type":61,"tag":137,"props":391,"children":392},{"style":156},[393],{"type":72,"value":394}," user",{"type":61,"tag":137,"props":396,"children":397},{"style":150},[398],{"type":72,"value":104},{"type":61,"tag":137,"props":400,"children":401},{"style":156},[402],{"type":72,"value":403},"value",{"type":61,"tag":137,"props":405,"children":406},{"style":150},[407],{"type":72,"value":408}," =",{"type":61,"tag":137,"props":410,"children":411},{"style":144},[412],{"type":72,"value":265},{"type":61,"tag":137,"props":414,"children":415},{"style":211},[416],{"type":72,"value":417}," $fetch",{"type":61,"tag":137,"props":419,"children":420},{"style":272},[421],{"type":72,"value":219},{"type":61,"tag":137,"props":423,"children":424},{"style":150},[425],{"type":72,"value":426},"'",{"type":61,"tag":137,"props":428,"children":429},{"style":177},[430],{"type":72,"value":431},"/api/me",{"type":61,"tag":137,"props":433,"children":434},{"style":150},[435],{"type":72,"value":426},{"type":61,"tag":137,"props":437,"children":438},{"style":272},[439],{"type":72,"value":283},{"type":61,"tag":137,"props":441,"children":442},{"class":139,"line":286},[443],{"type":61,"tag":137,"props":444,"children":445},{"style":150},[446],{"type":72,"value":447},"}\n",{"type":61,"tag":68,"props":449,"children":450},{},[451,453,460],{"type":72,"value":452},"Be careful, if you want to call this route on SSR, please read this ",{"type":61,"tag":75,"props":454,"children":457},{"href":455,"rel":456},"https://nuxt.com/docs/getting-started/data-fetching#isomorphic-fetch-and-fetch",[79],[458],{"type":72,"value":459},"section",{"type":72,"value":461},", you must send your browser cookies including your supabase token.",{"type":61,"tag":126,"props":463,"children":465},{"className":128,"code":464,"filename":305,"language":131,"meta":55,"style":55},"const user = ref(null)\n\nconst { data } = await useFetch('/api/me', {\n headers: useRequestHeaders(['cookie'])\n})\n\nuser.value = data\n",[466],{"type":61,"tag":111,"props":467,"children":468},{"__ignoreMap":55},[469,500,507,565,606,617,625],{"type":61,"tag":137,"props":470,"children":471},{"class":139,"line":140},[472,476,480,484,488,492,496],{"type":61,"tag":137,"props":473,"children":474},{"style":222},[475],{"type":72,"value":317},{"type":61,"tag":137,"props":477,"children":478},{"style":156},[479],{"type":72,"value":322},{"type":61,"tag":137,"props":481,"children":482},{"style":150},[483],{"type":72,"value":327},{"type":61,"tag":137,"props":485,"children":486},{"style":211},[487],{"type":72,"value":332},{"type":61,"tag":137,"props":489,"children":490},{"style":156},[491],{"type":72,"value":219},{"type":61,"tag":137,"props":493,"children":494},{"style":150},[495],{"type":72,"value":341},{"type":61,"tag":137,"props":497,"children":498},{"style":156},[499],{"type":72,"value":283},{"type":61,"tag":137,"props":501,"children":502},{"class":139,"line":187},[503],{"type":61,"tag":137,"props":504,"children":505},{"emptyLinePlaceholder":191},[506],{"type":72,"value":194},{"type":61,"tag":137,"props":508,"children":509},{"class":139,"line":197},[510,514,518,523,527,531,535,540,544,548,552,556,561],{"type":61,"tag":137,"props":511,"children":512},{"style":222},[513],{"type":72,"value":317},{"type":61,"tag":137,"props":515,"children":516},{"style":150},[517],{"type":72,"value":153},{"type":61,"tag":137,"props":519,"children":520},{"style":156},[521],{"type":72,"value":522}," data ",{"type":61,"tag":137,"props":524,"children":525},{"style":150},[526],{"type":72,"value":292},{"type":61,"tag":137,"props":528,"children":529},{"style":150},[530],{"type":72,"value":408},{"type":61,"tag":137,"props":532,"children":533},{"style":144},[534],{"type":72,"value":265},{"type":61,"tag":137,"props":536,"children":537},{"style":211},[538],{"type":72,"value":539}," useFetch",{"type":61,"tag":137,"props":541,"children":542},{"style":156},[543],{"type":72,"value":219},{"type":61,"tag":137,"props":545,"children":546},{"style":150},[547],{"type":72,"value":426},{"type":61,"tag":137,"props":549,"children":550},{"style":177},[551],{"type":72,"value":431},{"type":61,"tag":137,"props":553,"children":554},{"style":150},[555],{"type":72,"value":426},{"type":61,"tag":137,"props":557,"children":558},{"style":150},[559],{"type":72,"value":560},",",{"type":61,"tag":137,"props":562,"children":563},{"style":150},[564],{"type":72,"value":251},{"type":61,"tag":137,"props":566,"children":567},{"class":139,"line":254},[568,573,578,583,588,592,597,601],{"type":61,"tag":137,"props":569,"children":570},{"style":272},[571],{"type":72,"value":572}," headers",{"type":61,"tag":137,"props":574,"children":575},{"style":150},[576],{"type":72,"value":577},":",{"type":61,"tag":137,"props":579,"children":580},{"style":211},[581],{"type":72,"value":582}," useRequestHeaders",{"type":61,"tag":137,"props":584,"children":585},{"style":156},[586],{"type":72,"value":587},"([",{"type":61,"tag":137,"props":589,"children":590},{"style":150},[591],{"type":72,"value":426},{"type":61,"tag":137,"props":593,"children":594},{"style":177},[595],{"type":72,"value":596},"cookie",{"type":61,"tag":137,"props":598,"children":599},{"style":150},[600],{"type":72,"value":426},{"type":61,"tag":137,"props":602,"children":603},{"style":156},[604],{"type":72,"value":605},"])\n",{"type":61,"tag":137,"props":607,"children":608},{"class":139,"line":286},[609,613],{"type":61,"tag":137,"props":610,"children":611},{"style":150},[612],{"type":72,"value":292},{"type":61,"tag":137,"props":614,"children":615},{"style":156},[616],{"type":72,"value":283},{"type":61,"tag":137,"props":618,"children":620},{"class":139,"line":619},6,[621],{"type":61,"tag":137,"props":622,"children":623},{"emptyLinePlaceholder":191},[624],{"type":72,"value":194},{"type":61,"tag":137,"props":626,"children":628},{"class":139,"line":627},7,[629,634,638,643,647],{"type":61,"tag":137,"props":630,"children":631},{"style":156},[632],{"type":72,"value":633},"user",{"type":61,"tag":137,"props":635,"children":636},{"style":150},[637],{"type":72,"value":104},{"type":61,"tag":137,"props":639,"children":640},{"style":156},[641],{"type":72,"value":642},"value ",{"type":61,"tag":137,"props":644,"children":645},{"style":150},[646],{"type":72,"value":327},{"type":61,"tag":137,"props":648,"children":649},{"style":156},[650],{"type":72,"value":651}," data\n",{"type":61,"tag":653,"props":654,"children":655},"style",{},[656],{"type":72,"value":657},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":55,"searchDepth":187,"depth":187,"links":659},[],"markdown","content:4.usage:services:3.serverSupabaseUser.md","content","4.usage/services/3.serverSupabaseUser.md","md",[666,669],{"_path":35,"title":667,"description":668},"serverServiceRole","Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service",{"_path":42,"title":41,"description":670},"Demonstration of using Supabase with Nuxt.",1706280924805] \ No newline at end of file +[{"data":1,"prerenderedAt":671},["Reactive",2],{"navigation":3,"/usage/services/serversupabaseuser":52,"/usage/services/serversupabaseuser-surround":665},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","heroicons:rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","heroicons:lock-closed",{"title":13,"_path":14,"children":15,"icon":39},"Usage","/usage",[16,26],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":27,"_path":28,"children":29},"Server services","/usage/services",[30,33,36],{"title":31,"_path":32},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":34,"_path":35},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":37,"_path":38},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":41,"_path":42,"icon":43},"Demo","/demo","heroicons:computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","heroicons:bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","heroicons:map",{"_path":38,"_dir":53,"_draft":54,"_partial":54,"_locale":55,"title":37,"description":56,"body":57,"_type":660,"_id":661,"_source":662,"_file":663,"_extension":664},"services",false,"","Get your Supabase user from serverside with the serverSupabaseUser service",{"type":58,"children":59,"toc":658},"root",[60,85,105,125,297,302,448,462,652],{"type":61,"tag":62,"props":63,"children":66},"element","callout",{"color":64,"icon":65},"amber","i-heroicons-exclamation-triangle-20-solid",[67],{"type":61,"tag":68,"props":69,"children":70},"p",{},[71,74,83],{"type":72,"value":73},"text","This section assumes you're familiar with ",{"type":61,"tag":75,"props":76,"children":80},"a",{"href":77,"rel":78},"https://v3.nuxtjs.org/guide/concepts/server-engine",[79],"nofollow",[81],{"type":72,"value":82},"Nitro",{"type":72,"value":84},", the server engine powered by Nuxt.",{"type":61,"tag":68,"props":86,"children":87},{},[88,90,94,96,103],{"type":72,"value":89},"This function is similar to the ",{"type":61,"tag":75,"props":91,"children":92},{"href":25},[93],{"type":72,"value":24},{"type":72,"value":95}," composable but is used in ",{"type":61,"tag":75,"props":97,"children":100},{"href":98,"rel":99},"https://nuxt.com/docs/guide/directory-structure/server#server-routes",[79],[101],{"type":72,"value":102},"server routes",{"type":72,"value":104},".",{"type":61,"tag":68,"props":106,"children":107},{},[108,110,116,118,124],{"type":72,"value":109},"Define your server route and import the ",{"type":61,"tag":111,"props":112,"children":114},"code",{"className":113},[],[115],{"type":72,"value":37},{"type":72,"value":117}," from ",{"type":61,"tag":111,"props":119,"children":121},{"className":120},[],[122],{"type":72,"value":123},"#supabase/server",{"type":72,"value":104},{"type":61,"tag":126,"props":127,"children":132},"pre",{"className":128,"code":129,"filename":130,"language":131,"meta":55,"style":55},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { serverSupabaseUser } from '#supabase/server'\n\nexport default defineEventHandler(async (event) => {\n return await serverSupabaseUser(event)\n})\n","server/api/me.ts","ts",[133],{"type":61,"tag":111,"props":134,"children":135},{"__ignoreMap":55},[136,185,195,252,284],{"type":61,"tag":137,"props":138,"children":141},"span",{"class":139,"line":140},"line",1,[142,148,154,160,165,170,175,180],{"type":61,"tag":137,"props":143,"children":145},{"style":144},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[146],{"type":72,"value":147},"import",{"type":61,"tag":137,"props":149,"children":151},{"style":150},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[152],{"type":72,"value":153}," {",{"type":61,"tag":137,"props":155,"children":157},{"style":156},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[158],{"type":72,"value":159}," serverSupabaseUser",{"type":61,"tag":137,"props":161,"children":162},{"style":150},[163],{"type":72,"value":164}," }",{"type":61,"tag":137,"props":166,"children":167},{"style":144},[168],{"type":72,"value":169}," from",{"type":61,"tag":137,"props":171,"children":172},{"style":150},[173],{"type":72,"value":174}," '",{"type":61,"tag":137,"props":176,"children":178},{"style":177},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[179],{"type":72,"value":123},{"type":61,"tag":137,"props":181,"children":182},{"style":150},[183],{"type":72,"value":184},"'\n",{"type":61,"tag":137,"props":186,"children":188},{"class":139,"line":187},2,[189],{"type":61,"tag":137,"props":190,"children":192},{"emptyLinePlaceholder":191},true,[193],{"type":72,"value":194},"\n",{"type":61,"tag":137,"props":196,"children":198},{"class":139,"line":197},3,[199,204,209,215,220,226,231,237,242,247],{"type":61,"tag":137,"props":200,"children":201},{"style":144},[202],{"type":72,"value":203},"export",{"type":61,"tag":137,"props":205,"children":206},{"style":144},[207],{"type":72,"value":208}," default",{"type":61,"tag":137,"props":210,"children":212},{"style":211},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[213],{"type":72,"value":214}," defineEventHandler",{"type":61,"tag":137,"props":216,"children":217},{"style":156},[218],{"type":72,"value":219},"(",{"type":61,"tag":137,"props":221,"children":223},{"style":222},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[224],{"type":72,"value":225},"async",{"type":61,"tag":137,"props":227,"children":228},{"style":150},[229],{"type":72,"value":230}," (",{"type":61,"tag":137,"props":232,"children":234},{"style":233},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[235],{"type":72,"value":236},"event",{"type":61,"tag":137,"props":238,"children":239},{"style":150},[240],{"type":72,"value":241},")",{"type":61,"tag":137,"props":243,"children":244},{"style":222},[245],{"type":72,"value":246}," =>",{"type":61,"tag":137,"props":248,"children":249},{"style":150},[250],{"type":72,"value":251}," {\n",{"type":61,"tag":137,"props":253,"children":255},{"class":139,"line":254},4,[256,261,266,270,275,279],{"type":61,"tag":137,"props":257,"children":258},{"style":144},[259],{"type":72,"value":260}," return",{"type":61,"tag":137,"props":262,"children":263},{"style":144},[264],{"type":72,"value":265}," await",{"type":61,"tag":137,"props":267,"children":268},{"style":211},[269],{"type":72,"value":159},{"type":61,"tag":137,"props":271,"children":273},{"style":272},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[274],{"type":72,"value":219},{"type":61,"tag":137,"props":276,"children":277},{"style":156},[278],{"type":72,"value":236},{"type":61,"tag":137,"props":280,"children":281},{"style":272},[282],{"type":72,"value":283},")\n",{"type":61,"tag":137,"props":285,"children":287},{"class":139,"line":286},5,[288,293],{"type":61,"tag":137,"props":289,"children":290},{"style":150},[291],{"type":72,"value":292},"}",{"type":61,"tag":137,"props":294,"children":295},{"style":156},[296],{"type":72,"value":283},{"type":61,"tag":68,"props":298,"children":299},{},[300],{"type":72,"value":301},"Then call your api route from any vue file:",{"type":61,"tag":126,"props":303,"children":306},{"className":128,"code":304,"filename":305,"language":131,"meta":55,"style":55},"const user = ref(null)\n\nconst fetchMe = async () => {\n user.value = await $fetch('/api/me')\n}\n","pages/index.vue",[307],{"type":61,"tag":111,"props":308,"children":309},{"__ignoreMap":55},[310,346,353,387,440],{"type":61,"tag":137,"props":311,"children":312},{"class":139,"line":140},[313,318,323,328,333,337,342],{"type":61,"tag":137,"props":314,"children":315},{"style":222},[316],{"type":72,"value":317},"const",{"type":61,"tag":137,"props":319,"children":320},{"style":156},[321],{"type":72,"value":322}," user ",{"type":61,"tag":137,"props":324,"children":325},{"style":150},[326],{"type":72,"value":327},"=",{"type":61,"tag":137,"props":329,"children":330},{"style":211},[331],{"type":72,"value":332}," ref",{"type":61,"tag":137,"props":334,"children":335},{"style":156},[336],{"type":72,"value":219},{"type":61,"tag":137,"props":338,"children":339},{"style":150},[340],{"type":72,"value":341},"null",{"type":61,"tag":137,"props":343,"children":344},{"style":156},[345],{"type":72,"value":283},{"type":61,"tag":137,"props":347,"children":348},{"class":139,"line":187},[349],{"type":61,"tag":137,"props":350,"children":351},{"emptyLinePlaceholder":191},[352],{"type":72,"value":194},{"type":61,"tag":137,"props":354,"children":355},{"class":139,"line":197},[356,360,365,369,374,379,383],{"type":61,"tag":137,"props":357,"children":358},{"style":222},[359],{"type":72,"value":317},{"type":61,"tag":137,"props":361,"children":362},{"style":156},[363],{"type":72,"value":364}," fetchMe ",{"type":61,"tag":137,"props":366,"children":367},{"style":150},[368],{"type":72,"value":327},{"type":61,"tag":137,"props":370,"children":371},{"style":222},[372],{"type":72,"value":373}," async",{"type":61,"tag":137,"props":375,"children":376},{"style":150},[377],{"type":72,"value":378}," ()",{"type":61,"tag":137,"props":380,"children":381},{"style":222},[382],{"type":72,"value":246},{"type":61,"tag":137,"props":384,"children":385},{"style":150},[386],{"type":72,"value":251},{"type":61,"tag":137,"props":388,"children":389},{"class":139,"line":254},[390,395,399,404,409,413,418,422,427,432,436],{"type":61,"tag":137,"props":391,"children":392},{"style":156},[393],{"type":72,"value":394}," user",{"type":61,"tag":137,"props":396,"children":397},{"style":150},[398],{"type":72,"value":104},{"type":61,"tag":137,"props":400,"children":401},{"style":156},[402],{"type":72,"value":403},"value",{"type":61,"tag":137,"props":405,"children":406},{"style":150},[407],{"type":72,"value":408}," =",{"type":61,"tag":137,"props":410,"children":411},{"style":144},[412],{"type":72,"value":265},{"type":61,"tag":137,"props":414,"children":415},{"style":211},[416],{"type":72,"value":417}," $fetch",{"type":61,"tag":137,"props":419,"children":420},{"style":272},[421],{"type":72,"value":219},{"type":61,"tag":137,"props":423,"children":424},{"style":150},[425],{"type":72,"value":426},"'",{"type":61,"tag":137,"props":428,"children":429},{"style":177},[430],{"type":72,"value":431},"/api/me",{"type":61,"tag":137,"props":433,"children":434},{"style":150},[435],{"type":72,"value":426},{"type":61,"tag":137,"props":437,"children":438},{"style":272},[439],{"type":72,"value":283},{"type":61,"tag":137,"props":441,"children":442},{"class":139,"line":286},[443],{"type":61,"tag":137,"props":444,"children":445},{"style":150},[446],{"type":72,"value":447},"}\n",{"type":61,"tag":68,"props":449,"children":450},{},[451,453,460],{"type":72,"value":452},"Be careful, if you want to call this route on SSR, please read this ",{"type":61,"tag":75,"props":454,"children":457},{"href":455,"rel":456},"https://nuxt.com/docs/getting-started/data-fetching#isomorphic-fetch-and-fetch",[79],[458],{"type":72,"value":459},"section",{"type":72,"value":461},", you must send your browser cookies including your supabase token.",{"type":61,"tag":126,"props":463,"children":465},{"className":128,"code":464,"filename":305,"language":131,"meta":55,"style":55},"const user = ref(null)\n\nconst { data } = await useFetch('/api/me', {\n headers: useRequestHeaders(['cookie'])\n})\n\nuser.value = data\n",[466],{"type":61,"tag":111,"props":467,"children":468},{"__ignoreMap":55},[469,500,507,565,606,617,625],{"type":61,"tag":137,"props":470,"children":471},{"class":139,"line":140},[472,476,480,484,488,492,496],{"type":61,"tag":137,"props":473,"children":474},{"style":222},[475],{"type":72,"value":317},{"type":61,"tag":137,"props":477,"children":478},{"style":156},[479],{"type":72,"value":322},{"type":61,"tag":137,"props":481,"children":482},{"style":150},[483],{"type":72,"value":327},{"type":61,"tag":137,"props":485,"children":486},{"style":211},[487],{"type":72,"value":332},{"type":61,"tag":137,"props":489,"children":490},{"style":156},[491],{"type":72,"value":219},{"type":61,"tag":137,"props":493,"children":494},{"style":150},[495],{"type":72,"value":341},{"type":61,"tag":137,"props":497,"children":498},{"style":156},[499],{"type":72,"value":283},{"type":61,"tag":137,"props":501,"children":502},{"class":139,"line":187},[503],{"type":61,"tag":137,"props":504,"children":505},{"emptyLinePlaceholder":191},[506],{"type":72,"value":194},{"type":61,"tag":137,"props":508,"children":509},{"class":139,"line":197},[510,514,518,523,527,531,535,540,544,548,552,556,561],{"type":61,"tag":137,"props":511,"children":512},{"style":222},[513],{"type":72,"value":317},{"type":61,"tag":137,"props":515,"children":516},{"style":150},[517],{"type":72,"value":153},{"type":61,"tag":137,"props":519,"children":520},{"style":156},[521],{"type":72,"value":522}," data ",{"type":61,"tag":137,"props":524,"children":525},{"style":150},[526],{"type":72,"value":292},{"type":61,"tag":137,"props":528,"children":529},{"style":150},[530],{"type":72,"value":408},{"type":61,"tag":137,"props":532,"children":533},{"style":144},[534],{"type":72,"value":265},{"type":61,"tag":137,"props":536,"children":537},{"style":211},[538],{"type":72,"value":539}," useFetch",{"type":61,"tag":137,"props":541,"children":542},{"style":156},[543],{"type":72,"value":219},{"type":61,"tag":137,"props":545,"children":546},{"style":150},[547],{"type":72,"value":426},{"type":61,"tag":137,"props":549,"children":550},{"style":177},[551],{"type":72,"value":431},{"type":61,"tag":137,"props":553,"children":554},{"style":150},[555],{"type":72,"value":426},{"type":61,"tag":137,"props":557,"children":558},{"style":150},[559],{"type":72,"value":560},",",{"type":61,"tag":137,"props":562,"children":563},{"style":150},[564],{"type":72,"value":251},{"type":61,"tag":137,"props":566,"children":567},{"class":139,"line":254},[568,573,578,583,588,592,597,601],{"type":61,"tag":137,"props":569,"children":570},{"style":272},[571],{"type":72,"value":572}," headers",{"type":61,"tag":137,"props":574,"children":575},{"style":150},[576],{"type":72,"value":577},":",{"type":61,"tag":137,"props":579,"children":580},{"style":211},[581],{"type":72,"value":582}," useRequestHeaders",{"type":61,"tag":137,"props":584,"children":585},{"style":156},[586],{"type":72,"value":587},"([",{"type":61,"tag":137,"props":589,"children":590},{"style":150},[591],{"type":72,"value":426},{"type":61,"tag":137,"props":593,"children":594},{"style":177},[595],{"type":72,"value":596},"cookie",{"type":61,"tag":137,"props":598,"children":599},{"style":150},[600],{"type":72,"value":426},{"type":61,"tag":137,"props":602,"children":603},{"style":156},[604],{"type":72,"value":605},"])\n",{"type":61,"tag":137,"props":607,"children":608},{"class":139,"line":286},[609,613],{"type":61,"tag":137,"props":610,"children":611},{"style":150},[612],{"type":72,"value":292},{"type":61,"tag":137,"props":614,"children":615},{"style":156},[616],{"type":72,"value":283},{"type":61,"tag":137,"props":618,"children":620},{"class":139,"line":619},6,[621],{"type":61,"tag":137,"props":622,"children":623},{"emptyLinePlaceholder":191},[624],{"type":72,"value":194},{"type":61,"tag":137,"props":626,"children":628},{"class":139,"line":627},7,[629,634,638,643,647],{"type":61,"tag":137,"props":630,"children":631},{"style":156},[632],{"type":72,"value":633},"user",{"type":61,"tag":137,"props":635,"children":636},{"style":150},[637],{"type":72,"value":104},{"type":61,"tag":137,"props":639,"children":640},{"style":156},[641],{"type":72,"value":642},"value ",{"type":61,"tag":137,"props":644,"children":645},{"style":150},[646],{"type":72,"value":327},{"type":61,"tag":137,"props":648,"children":649},{"style":156},[650],{"type":72,"value":651}," data\n",{"type":61,"tag":653,"props":654,"children":655},"style",{},[656],{"type":72,"value":657},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":55,"searchDepth":187,"depth":187,"links":659},[],"markdown","content:4.usage:services:3.serverSupabaseUser.md","content","4.usage/services/3.serverSupabaseUser.md","md",[666,669],{"_path":35,"title":667,"description":668},"serverServiceRole","Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service",{"_path":42,"title":41,"description":670},"Demonstration of using Supabase with Nuxt.",1706281080427] \ No newline at end of file diff --git a/usage/services/serversupabaseuser/index.html b/usage/services/serversupabaseuser/index.html index 8409a9fc..ac1b2034 100644 --- a/usage/services/serversupabaseuser/index.html +++ b/usage/services/serversupabaseuser/index.html @@ -67,42 +67,42 @@ - - - - - - - - - + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - + - - - - - - - + + + + + + + - - + + - -
mobile favicon
Services

serverSupabaseUser

Get your Supabase user from serverside with the serverSupabaseUser service

This section assumes you're familiar with Nitro, the server engine powered by Nuxt.

This function is similar to the useSupabaseUser composable but is used in server routes.

Define your server route and import the serverSupabaseUser from #supabase/server.

server/api/me.ts
import { serverSupabaseUser } from '#supabase/server'
 
 export default defineEventHandler(async (event) => {
@@ -121,5 +121,5 @@
 
 user.value = data
 

Made with Nuxt Studio
- - \ No newline at end of file + + \ No newline at end of file