From 431e31baabe9c681568fa65923d8b9de5ff2d554 Mon Sep 17 00:00:00 2001 From: larbish Date: Fri, 29 Mar 2024 09:01:26 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20nuxt-mod?= =?UTF-8?q?ules/supabase@07eb081d532510da4152554c7010c79ed6008559=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 | 34 ++--- 404.html | 34 ++--- __studio.json | 2 +- ...{Cached.zpfSoTvf.js => Cached.5KE5zhX6.js} | 2 +- ...allout.9eTIIdsO.js => Callout.BTm8JRIf.js} | 2 +- _nuxt/{Card.ecKOF5af.js => Card.9CHU1W46.js} | 2 +- _nuxt/{Card.twaj5DXz.js => Card._3qn4Soe.js} | 2 +- ...roup.vhfrvK2W.js => CardGroup.ZrLJ95YA.js} | 2 +- ...roup.vnHZwFli.js => CodeGroup.OfvxpUcz.js} | 2 +- ...le.DnElBqvu.js => Collapsible.4dbL3TX8.js} | 2 +- ...Doc.0ulp3XL6.js => ContentDoc.ecaNRUQa.js} | 2 +- ...st.3ZKIXiu0.js => ContentList.5TUXJOaa.js} | 2 +- ...38q1M.js => ContentNavigation.72HoupbX.js} | 2 +- ...y.jU91_ajs.js => ContentQuery.wFxyIuKR.js} | 2 +- ...C5NeHM0.js => ContentRenderer.kEUwcalk.js} | 2 +- _nuxt/ContentRendererMarkdown.4lpZfIqe.js | 1 + _nuxt/ContentRendererMarkdown.8F9bFpNL.js | 1 - ...> ContentRendererMarkdown.vue.hQ-DmwXW.js} | 2 +- ...ot.xTk8y2OB.js => ContentSlot.ZrP9_N9N.js} | 2 +- _nuxt/DM_Sans-400-1.9W8NnOea.woff2 | Bin 0 -> 18124 bytes _nuxt/DM_Sans-400-1.tuFQ7ijS.woff2 | Bin 18320 -> 0 bytes _nuxt/DM_Sans-400-2.3gXnL7Bz.woff2 | Bin 0 -> 36848 bytes _nuxt/DM_Sans-400-2.dXNGP4nC.woff2 | Bin 37000 -> 0 bytes ...rch.GiTpX-tp.js => DocsSearch.j3r5igXq.js} | 2 +- ...hCX.js => DocumentDrivenEmpty.Wqi4bsju.js} | 2 +- ....js => DocumentDrivenNotFound.rc1FYH-6.js} | 2 +- ...ynamic.JKVj_Kow.js => Dynamic.EzR57iSz.js} | 2 +- .../{Field.Vb3hPxbZ.js => Field.VBLlSVuT.js} | 2 +- ...oup.mmLi28Ev.js => FieldGroup.ANfmYTr_.js} | 2 +- ....aB2eH524.js => GithubCommits.vbYgvn90.js} | 2 +- ...Qep6.js => GithubContributors.rLLQABGT.js} | 2 +- ....js => GithubFileContributors.BMYnazSV.js} | 2 +- ...QyQvF.js => GithubLastRelease.mQglxRJ8.js} | 2 +- ...ink.TIBc7ug4.js => GithubLink.IxpFzLm7.js} | 2 +- ...e.3hiXFuxA.js => GithubReadme.PW4MgVog.js} | 2 +- ....m_djzJ6F.js => GithubRelease.ZNvN3fkO.js} | 2 +- ...FrNQ9Vyl.js => GithubReleases.LTrMRA4x.js} | 2 +- ...bUwD03.js => GithubRepository.to6TaAql.js} | 2 +- ...conCSS.DZEsYpWJ.js => IconCSS.em3mtptF.js} | 2 +- ...er.r7QY4jzo.js => MDCRenderer.QrfRPW2s.js} | 2 +- ...kdown.fQ-pBv7B.js => Markdown.uloaE4eU.js} | 2 +- ...{ProseA.5c2UcCWg.js => ProseA.OdvZOa_H.js} | 2 +- ...fo8erZ_.js => ProseBlockquote.CtmQnnuJ.js} | 2 +- _nuxt/ProseCode.Ht9HO5C5.js | 1 + _nuxt/ProseCode.R5y14qAI.js | 1 - ....EQ49g3cf.js => ProseCode.vue.owh3Yxoh.js} | 2 +- _nuxt/ProseCodeButton.JRP0A_Nl.js | 1 - _nuxt/ProseCodeButton.jafYu4GE.js | 1 + ...sdW.js => ProseCodeButton.vue.hp96jlsA.js} | 2 +- _nuxt/ProseCodeIcon.XZsZ4xlP.js | 1 - _nuxt/ProseCodeIcon.pe79Q33q.js | 1 + ...3IlcY.js => ProseCodeIcon.vue.1ocGCgm0.js} | 2 +- ...Q8G7l3f.js => ProseCodeInline.1tlhjpvP.js} | 2 +- ...roseEm.fu260Q1k.js => ProseEm.5vh6i3Rn.js} | 2 +- ...roseH1.E_Sd9Ahk.js => ProseH1.ZsmSTvOA.js} | 2 +- _nuxt/ProseH2.27WLsgLi.js | 1 - _nuxt/ProseH2.HbrCp_ZA.js | 1 + ...ue.-h3Br24R.js => ProseH2.vue.aRRCcZdm.js} | 2 +- ...roseH3.jlr7TQZi.js => ProseH3.sjjNbeNl.js} | 2 +- ...roseH4.kgBWr2s1.js => ProseH4.CF0AAm15.js} | 2 +- ...roseH5.iM_tMhFW.js => ProseH5.gQZqyTSU.js} | 2 +- ...roseH6.1lIJapKi.js => ProseH6.-wbTKDQB.js} | 2 +- ...roseHr.CAl0Npf-.js => ProseHr.9tuy8L3H.js} | 2 +- ...seImg.b2YIK8yw.js => ProseImg.hnvRFLzT.js} | 2 +- ...roseLi.S5bPPj16.js => ProseLi.qz-5IUbq.js} | 2 +- ...roseOl.ICDs0n2q.js => ProseOl.SKiLIlL9.js} | 2 +- ...{ProseP.eOA4lTaq.js => ProseP.pjRijSwV.js} | 2 +- ...sePre.BjzfgX-H.js => ProsePre.SB5kRh70.js} | 2 +- ...pt._m6EhRfe.js => ProseScript.Ujfgap9m.js} | 2 +- ...ng.oFavrIV2.js => ProseStrong._NFKgm07.js} | 2 +- ...ble.n8golnGc.js => ProseTable.XsW4qb3M.js} | 2 +- ...ody.6ftLkMvN.js => ProseTbody.zbhEzI24.js} | 2 +- ...roseTd.9CwXkpYM.js => ProseTd.h0hwRSDZ.js} | 2 +- ...roseTh.ekUk2PB8.js => ProseTh.eKU6EUCZ.js} | 2 +- ...ead.x3itRtT9.js => ProseThead.nEVGYiCK.js} | 2 +- ...roseTr.NGz07bNK.js => ProseTr.umMggmJK.js} | 2 +- ...roseUl.3nk8Z5TY.js => ProseUl.NehyKE_A.js} | 2 +- ...eases.9vFNTiAl.js => Releases.pJL5NErt.js} | 2 +- ...hot.vYUGGEjv.js => Screenshot.xmeUQQE4.js} | 2 +- ...rtcut.oqOT4V9f.js => Shortcut.U8Oytthf.js} | 2 +- ...{Static.sF5CEZKL.js => Static.KF8AZHdU.js} | 2 +- _nuxt/{Tabs.dur47YT0.js => Tabs.LoQ_n_X2.js} | 2 +- ...ard.DCgtt5wB.js => VoltaBoard.zdDTcWAp.js} | 2 +- ...e.DWQ9lg6Z.js => WithoutCache.jWN3-d9y.js} | 2 +- ...lug_.XBre0RD3.js => _...slug_.gzKFHVcm.js} | 2 +- _nuxt/builds/latest.json | 2 +- .../1732807e-3c90-40ae-a601-c6fedc03a2cf.json | 1 - .../3d58bf2a-d4ee-4e0d-afe3-0c04e9632884.json | 1 + ...t-db.WKxx-TH9.js => client-db.FY6gSh6m.js} | 2 +- _nuxt/{docs.LfEo_1fh.js => docs.439CkvD8.js} | 2 +- .../{entry.rQ92EvLv.js => entry.bb8_tySE.js} | 10 +- .../{index.qRAVkPDV.js => index.3XGNYxtw.js} | 6 +- .../{index.5xrdXsZF.js => index.rMmiTd3R.js} | 2 +- ...rB8Xnd9.js => mdc-highlighter.NchL_s2I.js} | 6 +- ...ts.rU9K4kSx.js => mdc-imports.SdErBHLE.js} | 4 +- _nuxt/{slot.yKcOMwL8.js => slot.ZNG1_16C.js} | 2 +- ...thub.Rfi70Rdj.js => useGithub.24J5VJ4k.js} | 2 +- ...udio.kkQ9mGA6.js => useStudio.cwMoTLNg.js} | 2 +- _nuxt/{wasm.Ji7Olrrq.js => wasm.BnMJw1Cl.js} | 2 +- _payload.json | 2 +- ...06211546.json => cache.1711702812811.json} | 2 +- .../navigation/u7BbTyuhiE.1709806211546.json | 1 - .../navigation/u7BbTyuhiE.1711702812811.json | 1 + .../query/0ZdUo9TsNt.1711702812811.json | 1 + ...546.json => 0gudQYZdI3.1711702812811.json} | 0 ...546.json => 0wFsGmvw10.1711702812811.json} | 0 .../query/4zYVP4W6op.1709806211546.json | 1 - .../query/4zYVP4W6op.1711702812811.json | 1 + ...546.json => 5lOdqeHnNL.1711702812811.json} | 0 .../query/73iqs3CJ2F.1711702812811.json | 1 + ...546.json => 76BoSDA4U0.1711702812811.json} | 0 ...546.json => CsvcZ6zVi1.1711702812811.json} | 2 +- ...546.json => I6vLwdSZqs.1711702812811.json} | 2 +- ...546.json => JW0JBzZZMj.1711702812811.json} | 0 ...546.json => L15561AOag.1711702812811.json} | 0 ...546.json => U0fhu5Rxhl.1711702812811.json} | 0 ...546.json => Y4LEUEirY6.1711702812811.json} | 2 +- ...546.json => YSHNqHnuhS.1711702812811.json} | 0 ...546.json => brX4CwCJoQ.1711702812811.json} | 0 ...546.json => dKXPFPos09.1711702812811.json} | 0 ...546.json => hYpPLZd268.1711702812811.json} | 0 .../query/hfM3q6x7pc.1711702812811.json | 1 + ...546.json => mUC1LoY5SU.1711702812811.json} | 2 +- ...546.json => mjPUuLZ5K0.1711702812811.json} | 0 ...546.json => pTByVtROxU.1711702812811.json} | 0 ...546.json => sY2lwz2oSi.1711702812811.json} | 0 ...546.json => unQN3QZxvJ.1711702812811.json} | 0 .../query/xTj1Y0li2H.1711702812811.json | 1 + ...546.json => yZYG07dTrW.1711702812811.json} | 0 api/_github/contributors/index.json | 2 +- api/_github/releases/index.json | 2 +- api/search.json | 2 +- authentication/_payload.json | 2 +- authentication/index.html | 76 +++++------ changelog/_payload.json | 2 +- changelog/index.html | 83 ++++++++---- demo/_payload.json | 2 +- demo/index.html | 56 ++++---- fonts/DM_Sans-400-1.woff2 | Bin 18320 -> 18124 bytes fonts/DM_Sans-400-2.woff2 | Bin 37000 -> 36848 bytes get-started/_payload.json | 2 +- get-started/index.html | 84 ++++++------ index.html | 50 +++---- roadmap/_payload.json | 2 +- roadmap/index.html | 48 +++---- .../usesupabaseclient/_payload.json | 2 +- .../composables/usesupabaseclient/index.html | 76 +++++------ .../usesupabasesession/__og_image__/og.png | Bin 0 -> 46861 bytes .../usesupabasesession/_payload.json | 1 + .../composables/usesupabasesession/index.html | 122 +++++++++++++++++ .../composables/usesupabaseuser/_payload.json | 2 +- usage/composables/usesupabaseuser/index.html | 74 +++++------ .../serversupabaseclient/_payload.json | 2 +- .../services/serversupabaseclient/index.html | 70 +++++----- .../serversupabaseservicerole/_payload.json | 2 +- .../serversupabaseservicerole/index.html | 74 +++++------ .../serversupabasesession/__og_image__/og.png | Bin 0 -> 45997 bytes .../serversupabasesession/_payload.json | 1 + .../services/serversupabasesession/index.html | 125 ++++++++++++++++++ .../services/serversupabaseuser/_payload.json | 2 +- usage/services/serversupabaseuser/index.html | 72 +++++----- 161 files changed, 800 insertions(+), 518 deletions(-) rename _nuxt/{Cached.zpfSoTvf.js => Cached.5KE5zhX6.js} (53%) rename _nuxt/{Callout.9eTIIdsO.js => Callout.BTm8JRIf.js} (94%) rename _nuxt/{Card.ecKOF5af.js => Card.9CHU1W46.js} (95%) rename _nuxt/{Card.twaj5DXz.js => Card._3qn4Soe.js} (94%) rename _nuxt/{CardGroup.vhfrvK2W.js => CardGroup.ZrLJ95YA.js} (85%) rename _nuxt/{CodeGroup.vnHZwFli.js => CodeGroup.OfvxpUcz.js} (92%) rename _nuxt/{Collapsible.DnElBqvu.js => Collapsible.4dbL3TX8.js} (94%) rename _nuxt/{ContentDoc.0ulp3XL6.js => ContentDoc.ecaNRUQa.js} (87%) rename _nuxt/{ContentList.3ZKIXiu0.js => ContentList.5TUXJOaa.js} (84%) rename _nuxt/{ContentNavigation.kkJ38q1M.js => ContentNavigation.72HoupbX.js} (92%) rename _nuxt/{ContentQuery.jU91_ajs.js => ContentQuery.wFxyIuKR.js} (97%) rename _nuxt/{ContentRenderer.UC5NeHM0.js => ContentRenderer.kEUwcalk.js} (84%) create mode 100644 _nuxt/ContentRendererMarkdown.4lpZfIqe.js delete mode 100644 _nuxt/ContentRendererMarkdown.8F9bFpNL.js rename _nuxt/{ContentRendererMarkdown.vue.xY8wmzHI.js => ContentRendererMarkdown.vue.hQ-DmwXW.js} (84%) rename _nuxt/{ContentSlot.xTk8y2OB.js => ContentSlot.ZrP9_N9N.js} (92%) create mode 100644 _nuxt/DM_Sans-400-1.9W8NnOea.woff2 delete mode 100644 _nuxt/DM_Sans-400-1.tuFQ7ijS.woff2 create mode 100644 _nuxt/DM_Sans-400-2.3gXnL7Bz.woff2 delete mode 100644 _nuxt/DM_Sans-400-2.dXNGP4nC.woff2 rename _nuxt/{DocsSearch.GiTpX-tp.js => DocsSearch.j3r5igXq.js} (99%) rename _nuxt/{DocumentDrivenEmpty.Xb0GqhCX.js => DocumentDrivenEmpty.Wqi4bsju.js} (77%) rename _nuxt/{DocumentDrivenNotFound.PmgLix1l.js => DocumentDrivenNotFound.rc1FYH-6.js} (59%) rename _nuxt/{Dynamic.JKVj_Kow.js => Dynamic.EzR57iSz.js} (53%) rename _nuxt/{Field.Vb3hPxbZ.js => Field.VBLlSVuT.js} (94%) rename _nuxt/{FieldGroup.mmLi28Ev.js => FieldGroup.ANfmYTr_.js} (87%) rename _nuxt/{GithubCommits.aB2eH524.js => GithubCommits.vbYgvn90.js} (75%) rename _nuxt/{GithubContributors.nqygQep6.js => GithubContributors.rLLQABGT.js} (76%) rename _nuxt/{GithubFileContributors.aWuB51BM.js => GithubFileContributors.BMYnazSV.js} (89%) rename _nuxt/{GithubLastRelease.lb0QyQvF.js => GithubLastRelease.mQglxRJ8.js} (75%) rename _nuxt/{GithubLink.TIBc7ug4.js => GithubLink.IxpFzLm7.js} (93%) rename _nuxt/{GithubReadme.3hiXFuxA.js => GithubReadme.PW4MgVog.js} (74%) rename _nuxt/{GithubRelease.m_djzJ6F.js => GithubRelease.ZNvN3fkO.js} (76%) rename _nuxt/{GithubReleases.FrNQ9Vyl.js => GithubReleases.LTrMRA4x.js} (75%) rename _nuxt/{GithubRepository.kebUwD03.js => GithubRepository.to6TaAql.js} (75%) rename _nuxt/{IconCSS.DZEsYpWJ.js => IconCSS.em3mtptF.js} (93%) rename _nuxt/{MDCRenderer.r7QY4jzo.js => MDCRenderer.QrfRPW2s.js} (99%) rename _nuxt/{Markdown.fQ-pBv7B.js => Markdown.uloaE4eU.js} (64%) rename _nuxt/{ProseA.5c2UcCWg.js => ProseA.OdvZOa_H.js} (82%) rename _nuxt/{ProseBlockquote.bfo8erZ_.js => ProseBlockquote.CtmQnnuJ.js} (66%) create mode 100644 _nuxt/ProseCode.Ht9HO5C5.js delete mode 100644 _nuxt/ProseCode.R5y14qAI.js rename _nuxt/{ProseCode.vue.EQ49g3cf.js => ProseCode.vue.owh3Yxoh.js} (85%) delete mode 100644 _nuxt/ProseCodeButton.JRP0A_Nl.js create mode 100644 _nuxt/ProseCodeButton.jafYu4GE.js rename _nuxt/{ProseCodeButton.vue.MzFXlsdW.js => ProseCodeButton.vue.hp96jlsA.js} (93%) delete mode 100644 _nuxt/ProseCodeIcon.XZsZ4xlP.js create mode 100644 _nuxt/ProseCodeIcon.pe79Q33q.js rename _nuxt/{ProseCodeIcon.vue.KqN3IlcY.js => ProseCodeIcon.vue.1ocGCgm0.js} (96%) rename _nuxt/{ProseCodeInline.tQ8G7l3f.js => ProseCodeInline.1tlhjpvP.js} (66%) rename _nuxt/{ProseEm.fu260Q1k.js => ProseEm.5vh6i3Rn.js} (65%) rename _nuxt/{ProseH1.E_Sd9Ahk.js => ProseH1.ZsmSTvOA.js} (85%) delete mode 100644 _nuxt/ProseH2.27WLsgLi.js create mode 100644 _nuxt/ProseH2.HbrCp_ZA.js rename _nuxt/{ProseH2.vue.-h3Br24R.js => ProseH2.vue.aRRCcZdm.js} (85%) rename _nuxt/{ProseH3.jlr7TQZi.js => ProseH3.sjjNbeNl.js} (85%) rename _nuxt/{ProseH4.kgBWr2s1.js => ProseH4.CF0AAm15.js} (85%) rename _nuxt/{ProseH5.iM_tMhFW.js => ProseH5.gQZqyTSU.js} (85%) rename _nuxt/{ProseH6.1lIJapKi.js => ProseH6.-wbTKDQB.js} (85%) rename _nuxt/{ProseHr.CAl0Npf-.js => ProseHr.9tuy8L3H.js} (55%) rename _nuxt/{ProseImg.b2YIK8yw.js => ProseImg.hnvRFLzT.js} (89%) rename _nuxt/{ProseLi.S5bPPj16.js => ProseLi.qz-5IUbq.js} (65%) rename _nuxt/{ProseOl.ICDs0n2q.js => ProseOl.SKiLIlL9.js} (65%) rename _nuxt/{ProseP.eOA4lTaq.js => ProseP.pjRijSwV.js} (65%) rename _nuxt/{ProsePre.BjzfgX-H.js => ProsePre.SB5kRh70.js} (69%) rename _nuxt/{ProseScript._m6EhRfe.js => ProseScript.Ujfgap9m.js} (86%) rename _nuxt/{ProseStrong.oFavrIV2.js => ProseStrong._NFKgm07.js} (66%) rename _nuxt/{ProseTable.n8golnGc.js => ProseTable.XsW4qb3M.js} (66%) rename _nuxt/{ProseTbody.6ftLkMvN.js => ProseTbody.zbhEzI24.js} (66%) rename _nuxt/{ProseTd.9CwXkpYM.js => ProseTd.h0hwRSDZ.js} (65%) rename _nuxt/{ProseTh.ekUk2PB8.js => ProseTh.eKU6EUCZ.js} (65%) rename _nuxt/{ProseThead.x3itRtT9.js => ProseThead.nEVGYiCK.js} (66%) rename _nuxt/{ProseTr.NGz07bNK.js => ProseTr.umMggmJK.js} (65%) rename _nuxt/{ProseUl.3nk8Z5TY.js => ProseUl.NehyKE_A.js} (65%) rename _nuxt/{Releases.9vFNTiAl.js => Releases.pJL5NErt.js} (62%) rename _nuxt/{Screenshot.vYUGGEjv.js => Screenshot.xmeUQQE4.js} (54%) rename _nuxt/{Shortcut.oqOT4V9f.js => Shortcut.U8Oytthf.js} (89%) rename _nuxt/{Static.sF5CEZKL.js => Static.KF8AZHdU.js} (53%) rename _nuxt/{Tabs.dur47YT0.js => Tabs.LoQ_n_X2.js} (96%) rename _nuxt/{VoltaBoard.DCgtt5wB.js => VoltaBoard.zdDTcWAp.js} (81%) rename _nuxt/{WithoutCache.DWQ9lg6Z.js => WithoutCache.jWN3-d9y.js} (55%) rename _nuxt/{_...slug_.XBre0RD3.js => _...slug_.gzKFHVcm.js} (98%) delete mode 100644 _nuxt/builds/meta/1732807e-3c90-40ae-a601-c6fedc03a2cf.json create mode 100644 _nuxt/builds/meta/3d58bf2a-d4ee-4e0d-afe3-0c04e9632884.json rename _nuxt/{client-db.WKxx-TH9.js => client-db.FY6gSh6m.js} (99%) rename _nuxt/{docs.LfEo_1fh.js => docs.439CkvD8.js} (96%) rename _nuxt/{entry.rQ92EvLv.js => entry.bb8_tySE.js} (98%) rename _nuxt/{index.qRAVkPDV.js => index.3XGNYxtw.js} (99%) rename _nuxt/{index.5xrdXsZF.js => index.rMmiTd3R.js} (51%) rename _nuxt/{mdc-highlighter.drB8Xnd9.js => mdc-highlighter.NchL_s2I.js} (99%) rename _nuxt/{mdc-imports.rU9K4kSx.js => mdc-imports.SdErBHLE.js} (84%) rename _nuxt/{slot.yKcOMwL8.js => slot.ZNG1_16C.js} (67%) rename _nuxt/{useGithub.Rfi70Rdj.js => useGithub.24J5VJ4k.js} (88%) rename _nuxt/{useStudio.kkQ9mGA6.js => useStudio.cwMoTLNg.js} (98%) rename _nuxt/{wasm.Ji7Olrrq.js => wasm.BnMJw1Cl.js} (85%) rename api/_content/{cache.1709806211546.json => cache.1711702812811.json} (66%) delete mode 100644 api/_content/navigation/u7BbTyuhiE.1709806211546.json create mode 100644 api/_content/navigation/u7BbTyuhiE.1711702812811.json create mode 100644 api/_content/query/0ZdUo9TsNt.1711702812811.json rename api/_content/query/{0gudQYZdI3.1709806211546.json => 0gudQYZdI3.1711702812811.json} (100%) rename api/_content/query/{0wFsGmvw10.1709806211546.json => 0wFsGmvw10.1711702812811.json} (100%) delete mode 100644 api/_content/query/4zYVP4W6op.1709806211546.json create mode 100644 api/_content/query/4zYVP4W6op.1711702812811.json rename api/_content/query/{5lOdqeHnNL.1709806211546.json => 5lOdqeHnNL.1711702812811.json} (100%) create mode 100644 api/_content/query/73iqs3CJ2F.1711702812811.json rename api/_content/query/{76BoSDA4U0.1709806211546.json => 76BoSDA4U0.1711702812811.json} (100%) rename api/_content/query/{CsvcZ6zVi1.1709806211546.json => CsvcZ6zVi1.1711702812811.json} (52%) rename api/_content/query/{xTj1Y0li2H.1709806211546.json => I6vLwdSZqs.1711702812811.json} (52%) rename api/_content/query/{JW0JBzZZMj.1709806211546.json => JW0JBzZZMj.1711702812811.json} (100%) rename api/_content/query/{L15561AOag.1709806211546.json => L15561AOag.1711702812811.json} (100%) rename api/_content/query/{U0fhu5Rxhl.1709806211546.json => U0fhu5Rxhl.1711702812811.json} (100%) rename api/_content/query/{Y4LEUEirY6.1709806211546.json => Y4LEUEirY6.1711702812811.json} (99%) rename api/_content/query/{YSHNqHnuhS.1709806211546.json => YSHNqHnuhS.1711702812811.json} (100%) rename api/_content/query/{brX4CwCJoQ.1709806211546.json => brX4CwCJoQ.1711702812811.json} (100%) rename api/_content/query/{dKXPFPos09.1709806211546.json => dKXPFPos09.1711702812811.json} (100%) rename api/_content/query/{hYpPLZd268.1709806211546.json => hYpPLZd268.1711702812811.json} (100%) create mode 100644 api/_content/query/hfM3q6x7pc.1711702812811.json rename api/_content/query/{mUC1LoY5SU.1709806211546.json => mUC1LoY5SU.1711702812811.json} (60%) rename api/_content/query/{mjPUuLZ5K0.1709806211546.json => mjPUuLZ5K0.1711702812811.json} (100%) rename api/_content/query/{pTByVtROxU.1709806211546.json => pTByVtROxU.1711702812811.json} (100%) rename api/_content/query/{sY2lwz2oSi.1709806211546.json => sY2lwz2oSi.1711702812811.json} (100%) rename api/_content/query/{unQN3QZxvJ.1709806211546.json => unQN3QZxvJ.1711702812811.json} (100%) create mode 100644 api/_content/query/xTj1Y0li2H.1711702812811.json rename api/_content/query/{yZYG07dTrW.1709806211546.json => yZYG07dTrW.1711702812811.json} (100%) create mode 100644 usage/composables/usesupabasesession/__og_image__/og.png create mode 100644 usage/composables/usesupabasesession/_payload.json create mode 100644 usage/composables/usesupabasesession/index.html create mode 100644 usage/services/serversupabasesession/__og_image__/og.png create mode 100644 usage/services/serversupabasesession/_payload.json create mode 100644 usage/services/serversupabasesession/index.html diff --git a/200.html b/200.html index d1ec2fc3..2b5a9700 100644 --- a/200.html +++ b/200.html @@ -4,28 +4,28 @@ - + - + - - + + - - - - - - - - + + + + + + + + - - + + - -
- \ No newline at end of file + \ No newline at end of file diff --git a/404.html b/404.html index d1ec2fc3..2b5a9700 100644 --- a/404.html +++ b/404.html @@ -4,28 +4,28 @@ - + - + - - + + - - - - - - - - + + + + + + + + - - + + - -
- \ No newline at end of file + \ No newline at end of file diff --git a/__studio.json b/__studio.json index 92cc9e95..fb7b675f 100644 --- a/__studio.json +++ b/__studio.json @@ -1 +1 @@ -{"version":"1.0.12","project":"","tokens":"6a7843a41c6847d5400e0b1ff1bb9d8c2ff908fb099d2d5ad5058d6658474b99","gitInfo":{"name":"supabase","owner":"nuxt-modules","url":"https://github.com/nuxt-modules/supabase"},"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":"1732807e-3c90-40ae-a601-c6fedc03a2cf"},"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","menu":"i-heroicons-bars-3-20-solid","close":"i-heroicons-x-mark-20-solid","check":"i-heroicons-check-circle-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"],"highlighter":"shiki","langs":["js","jsx","json","ts","tsx","vue","css","html","vue","bash","md","mdc","yaml","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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Collapsible.vue","range":[1080,1135]}],"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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Field.vue","range":[953,1001]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Field.vue","range":[1181,1236]}],"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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Field.vue","range":[1005,1064]}],"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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Field.vue","range":[1068,1120]}],"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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Shortcut.vue","range":[285,334]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Shortcut.vue","range":[285,334]}],"schema":"string"}],"slots":[],"events":[]}},{"name":"Tabs","path":"node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseCode.vue","range":[78,126]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseCodeButton.vue","range":[55,103]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseCodeButton.vue","range":[55,103]}],"schema":"string"}],"slots":[],"events":[]}},{"name":"ProseCodeIcon","path":"node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseCodeIcon.vue","range":[111,167]}],"schema":"string","default":"undefined"}],"slots":[],"events":[]}},{"name":"ProseH1","path":"node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseH1.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseH2.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseH3.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseH4.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseHr.vue","meta":{"props":[],"slots":[],"events":[]}},{"name":"ProseImg","path":"node_modules/.pnpm/@nuxtjs+mdc@0.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.12","project":"","tokens":"6a7843a41c6847d5400e0b1ff1bb9d8c2ff908fb099d2d5ad5058d6658474b99","gitInfo":{"name":"supabase","owner":"nuxt-modules","url":"https://github.com/nuxt-modules/supabase"},"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":"3d58bf2a-d4ee-4e0d-afe3-0c04e9632884"},"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","menu":"i-heroicons-bars-3-20-solid","close":"i-heroicons-x-mark-20-solid","check":"i-heroicons-check-circle-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"],"highlighter":"shiki","langs":["js","jsx","json","ts","tsx","vue","css","html","vue","bash","md","mdc","yaml","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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Collapsible.vue","range":[1080,1135]}],"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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Field.vue","range":[953,1001]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Field.vue","range":[1181,1236]}],"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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Field.vue","range":[1005,1064]}],"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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Field.vue","range":[1068,1120]}],"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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Shortcut.vue","range":[285,334]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/Shortcut.vue","range":[285,334]}],"schema":"string"}],"slots":[],"events":[]}},{"name":"Tabs","path":"node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseCode.vue","range":[78,126]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseCodeButton.vue","range":[55,103]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseCodeButton.vue","range":[55,103]}],"schema":"string"}],"slots":[],"events":[]}},{"name":"ProseCodeIcon","path":"node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseCodeIcon.vue","range":[111,167]}],"schema":"string","default":"undefined"}],"slots":[],"events":[]}},{"name":"ProseH1","path":"node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseH1.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseH2.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseH3.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/prose/ProseH4.vue","range":[414,460]},{"file":"/home/runner/work/supabase/supabase/docs/node_modules/.pnpm/@nuxt+ui-pro@1.0.2_nuxt@3.10.3_vite@5.1.5_vue@3.3.13/node_modules/@nuxt/ui-pro/modules/pro/runtime/components/global/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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.12.0_nuxt@3.10.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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseHr.vue","meta":{"props":[],"slots":[],"events":[]}},{"name":"ProseImg","path":"node_modules/.pnpm/@nuxtjs+mdc@0.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.5.0/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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_vite@5.1.5_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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.10.3_postcss@8.4.35_f3ksnywzzxfaxiwc6tgscoli7i/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.zpfSoTvf.js b/_nuxt/Cached.5KE5zhX6.js similarity index 53% rename from _nuxt/Cached.zpfSoTvf.js rename to _nuxt/Cached.5KE5zhX6.js index dd0d5e8d..51e097eb 100644 --- a/_nuxt/Cached.zpfSoTvf.js +++ b/_nuxt/Cached.5KE5zhX6.js @@ -1 +1 @@ -import{d as e}from"./entry.rQ92EvLv.js";const o=e({name:"OgImageCached",async setup(a,{attrs:t}){return()=>null}});export{o as default}; +import{d as e}from"./entry.bb8_tySE.js";const o=e({name:"OgImageCached",async setup(a,{attrs:t}){return()=>null}});export{o as default}; diff --git a/_nuxt/Callout.9eTIIdsO.js b/_nuxt/Callout.BTm8JRIf.js similarity index 94% rename from _nuxt/Callout.9eTIIdsO.js rename to _nuxt/Callout.BTm8JRIf.js index aedecbb6..a68e3b10 100644 --- a/_nuxt/Callout.9eTIIdsO.js +++ b/_nuxt/Callout.BTm8JRIf.js @@ -1 +1 @@ -import{d as x,y as v,D as n,ap as _,aq as g,b7 as l,b as c,c as w,ai as s,w as C,E as t,f as i,n as p,ak as S,e as A,aL as I,ab as L}from"./entry.rQ92EvLv.js";import{r as B}from"./slot.yKcOMwL8.js";import"./node.kQagOfUD.js";const D=A("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1),j=x({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(o){const m=v(),b=n(()=>({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=o,{ui:a,attrs:y}=_("content.callout",g(r,"ui"),b,g(r,"class"),!0),h=n(()=>{var e;return r.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((e=l[r.color])==null?void 0:e["500"])||l[r.color]||r.color}),k=n(()=>{var e;return r.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((e=l[r.color])==null?void 0:e["400"])||l[r.color]||r.color}),d=n(()=>r.target||(r.to&&r.to.startsWith("http")?"_blank":void 0));return(e,E)=>{const f=I,u=L;return c(),w("div",S({class:[t(a).wrapper,o.to&&t(a).to]},t(y),{style:{"--color-light":t(h),"--color-dark":t(k)}}),[o.to?(c(),s(f,{key:0,to:o.to,target:t(d),class:"focus:outline-none",tabindex:"-1"},{default:C(()=>[D]),_:1},8,["to","target"])):i("",!0),o.icon?(c(),s(u,{key:1,name:o.icon,class:p(t(a).icon.base)},null,8,["name","class"])):i("",!0),o.to&&t(d)==="_blank"?(c(),s(u,{key:2,name:t(a).externalIcon.name,class:p(t(a).externalIcon.base)},null,8,["name","class"])):i("",!0),B(e.$slots,"default",{unwrap:"p"})],16)}}});export{j as default}; +import{d as x,y as v,D as n,ap as _,aq as g,b7 as l,b as c,c as w,ai as s,w as C,E as t,f as i,n as p,ak as S,e as A,aL as I,ab as L}from"./entry.bb8_tySE.js";import{r as B}from"./slot.ZNG1_16C.js";import"./node.kQagOfUD.js";const D=A("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1),j=x({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(o){const m=v(),b=n(()=>({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=o,{ui:a,attrs:y}=_("content.callout",g(r,"ui"),b,g(r,"class"),!0),h=n(()=>{var e;return r.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((e=l[r.color])==null?void 0:e["500"])||l[r.color]||r.color}),k=n(()=>{var e;return r.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((e=l[r.color])==null?void 0:e["400"])||l[r.color]||r.color}),d=n(()=>r.target||(r.to&&r.to.startsWith("http")?"_blank":void 0));return(e,E)=>{const f=I,u=L;return c(),w("div",S({class:[t(a).wrapper,o.to&&t(a).to]},t(y),{style:{"--color-light":t(h),"--color-dark":t(k)}}),[o.to?(c(),s(f,{key:0,to:o.to,target:t(d),class:"focus:outline-none",tabindex:"-1"},{default:C(()=>[D]),_:1},8,["to","target"])):i("",!0),o.icon?(c(),s(u,{key:1,name:o.icon,class:p(t(a).icon.base)},null,8,["name","class"])):i("",!0),o.to&&t(d)==="_blank"?(c(),s(u,{key:2,name:t(a).externalIcon.name,class:p(t(a).externalIcon.base)},null,8,["name","class"])):i("",!0),B(e.$slots,"default",{unwrap:"p"})],16)}}});export{j as default}; diff --git a/_nuxt/Card.ecKOF5af.js b/_nuxt/Card.9CHU1W46.js similarity index 95% rename from _nuxt/Card.ecKOF5af.js rename to _nuxt/Card.9CHU1W46.js index 34b48e83..57a8f9e1 100644 --- a/_nuxt/Card.ecKOF5af.js +++ b/_nuxt/Card.9CHU1W46.js @@ -1 +1 @@ -import{l,am as g,an as u,d as p,ap as b,aq as c,D as f,aM as y,at as m,b as s,ai as k,w as v,c as r,n as d,aj as o,f as n,ak as h,bb as $}from"./entry.rQ92EvLv.js";const C={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"}},w=g(u.ui.strategy,u.ui.card,C),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:i}=b("card",c(a,"ui"),w),t=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:i,cardClass:t}}});function j(a,e,i,t,B,A){return s(),k($(a.$attrs.onSubmit?"form":a.as),h({class:a.cardClass},a.attrs),{default:v(()=>[a.$slots.header?(s(),r("div",{key:0,class:d([a.ui.header.base,a.ui.header.padding,a.ui.header.background])},[o(a.$slots,"header")],2)):n("",!0),a.$slots.default?(s(),r("div",{key:1,class:d([a.ui.body.base,a.ui.body.padding,a.ui.body.background])},[o(a.$slots,"default")],2)):n("",!0),a.$slots.footer?(s(),r("div",{key:2,class:d([a.ui.footer.base,a.ui.footer.padding,a.ui.footer.background])},[o(a.$slots,"footer")],2)):n("",!0)]),_:3},16,["class"])}const M=l(S,[["render",j]]);export{M as _}; +import{l,am as g,an as u,d as p,ap as b,aq as c,D as f,aM as y,at as m,b as s,ai as k,w as v,c as r,n as d,aj as o,f as n,ak as h,bb as $}from"./entry.bb8_tySE.js";const C={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"}},w=g(u.ui.strategy,u.ui.card,C),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:i}=b("card",c(a,"ui"),w),t=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:i,cardClass:t}}});function j(a,e,i,t,B,A){return s(),k($(a.$attrs.onSubmit?"form":a.as),h({class:a.cardClass},a.attrs),{default:v(()=>[a.$slots.header?(s(),r("div",{key:0,class:d([a.ui.header.base,a.ui.header.padding,a.ui.header.background])},[o(a.$slots,"header")],2)):n("",!0),a.$slots.default?(s(),r("div",{key:1,class:d([a.ui.body.base,a.ui.body.padding,a.ui.body.background])},[o(a.$slots,"default")],2)):n("",!0),a.$slots.footer?(s(),r("div",{key:2,class:d([a.ui.footer.base,a.ui.footer.padding,a.ui.footer.background])},[o(a.$slots,"footer")],2)):n("",!0)]),_:3},16,["class"])}const M=l(S,[["render",j]]);export{M as _}; diff --git a/_nuxt/Card.twaj5DXz.js b/_nuxt/Card._3qn4Soe.js similarity index 94% rename from _nuxt/Card.twaj5DXz.js rename to _nuxt/Card._3qn4Soe.js index 55c7f9e6..b0501c8f 100644 --- a/_nuxt/Card.twaj5DXz.js +++ b/_nuxt/Card._3qn4Soe.js @@ -1 +1 @@ -import{d as w,y as C,D as s,ap as S,aq as g,b7 as l,b as n,ai as c,w as m,E as e,f as i,n as u,e as f,t as A,c as D,ak as I,aL as L,ab as U}from"./entry.rQ92EvLv.js";import{_ as B}from"./Card.ecKOF5af.js";import{r as E}from"./slot.yKcOMwL8.js";import"./node.kQagOfUD.js";const $=f("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1),V=w({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(o){const y=C(),x=s(()=>({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:y.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"})),t=o,{ui:r,attrs:b}=S("content.card",g(t,"ui"),x,g(t,"class"),!0),h=s(()=>{var a;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((a=l[t.color])==null?void 0:a["500"])||l[t.color]||t.color}),k=s(()=>{var a;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((a=l[t.color])==null?void 0:a["400"])||l[t.color]||t.color}),d=s(()=>t.target||(t.to&&t.to.startsWith("http")?"_blank":void 0));return(a,N)=>{const v=L,p=U,_=B;return n(),c(_,I({class:[e(r).wrapper,o.to&&e(r).to]},e(b),{ui:e(r),style:{"--color-light":e(h),"--color-dark":e(k)}}),{default:m(()=>[o.to?(n(),c(v,{key:0,to:o.to,target:e(d),class:"focus:outline-none",tabindex:"-1"},{default:m(()=>[$]),_:1},8,["to","target"])):i("",!0),o.icon?(n(),c(p,{key:1,name:o.icon,class:u(e(r).icon.base)},null,8,["name","class"])):i("",!0),o.to&&e(d)==="_blank"?(n(),c(p,{key:2,name:e(r).externalIcon.name,class:u(e(r).externalIcon.base)},null,8,["name","class"])):i("",!0),f("p",{class:u(e(r).title)},A(o.title),3),a.$slots.default?(n(),D("p",{key:3,class:u(e(r).description)},[E(a.$slots,"default",{unwrap:"p"})],2)):i("",!0)]),_:3},16,["class","ui","style"])}}});export{V as default}; +import{d as w,y as C,D as s,ap as S,aq as g,b7 as l,b as n,ai as c,w as m,E as e,f as i,n as u,e as f,t as A,c as D,ak as I,aL as L,ab as U}from"./entry.bb8_tySE.js";import{_ as B}from"./Card.9CHU1W46.js";import{r as E}from"./slot.ZNG1_16C.js";import"./node.kQagOfUD.js";const $=f("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1),V=w({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(o){const y=C(),x=s(()=>({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:y.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"})),t=o,{ui:r,attrs:b}=S("content.card",g(t,"ui"),x,g(t,"class"),!0),h=s(()=>{var a;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((a=l[t.color])==null?void 0:a["500"])||l[t.color]||t.color}),k=s(()=>{var a;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((a=l[t.color])==null?void 0:a["400"])||l[t.color]||t.color}),d=s(()=>t.target||(t.to&&t.to.startsWith("http")?"_blank":void 0));return(a,N)=>{const v=L,p=U,_=B;return n(),c(_,I({class:[e(r).wrapper,o.to&&e(r).to]},e(b),{ui:e(r),style:{"--color-light":e(h),"--color-dark":e(k)}}),{default:m(()=>[o.to?(n(),c(v,{key:0,to:o.to,target:e(d),class:"focus:outline-none",tabindex:"-1"},{default:m(()=>[$]),_:1},8,["to","target"])):i("",!0),o.icon?(n(),c(p,{key:1,name:o.icon,class:u(e(r).icon.base)},null,8,["name","class"])):i("",!0),o.to&&e(d)==="_blank"?(n(),c(p,{key:2,name:e(r).externalIcon.name,class:u(e(r).externalIcon.base)},null,8,["name","class"])):i("",!0),f("p",{class:u(e(r).title)},A(o.title),3),a.$slots.default?(n(),D("p",{key:3,class:u(e(r).description)},[E(a.$slots,"default",{unwrap:"p"})],2)):i("",!0)]),_:3},16,["class","ui","style"])}}});export{V as default}; diff --git a/_nuxt/CardGroup.vhfrvK2W.js b/_nuxt/CardGroup.ZrLJ95YA.js similarity index 85% rename from _nuxt/CardGroup.vhfrvK2W.js rename to _nuxt/CardGroup.ZrLJ95YA.js index d3c05725..5b0a1530 100644 --- a/_nuxt/CardGroup.vhfrvK2W.js +++ b/_nuxt/CardGroup.ZrLJ95YA.js @@ -1 +1 @@ -import{d as c,ap as p,aq as d,b as i,c as l,aj as u,ak as f,E as e}from"./entry.rQ92EvLv.js";const _=c({inheritAttrs:!1,__name:"CardGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(r){const s={wrapper:"grid sm:grid-cols-2 gap-4"},a=r,{ui:t,attrs:o}=p("content.cardGroup",void 0,s,d(a,"class"),!0);return(n,m)=>(i(),l("div",f({class:e(t).wrapper},e(o)),[u(n.$slots,"default")],16))}});export{_ as default}; +import{d as c,ap as p,aq as d,b as i,c as l,aj as u,ak as f,E as e}from"./entry.bb8_tySE.js";const _=c({inheritAttrs:!1,__name:"CardGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(r){const s={wrapper:"grid sm:grid-cols-2 gap-4"},a=r,{ui:t,attrs:o}=p("content.cardGroup",void 0,s,d(a,"class"),!0);return(n,m)=>(i(),l("div",f({class:e(t).wrapper},e(o)),[u(n.$slots,"default")],16))}});export{_ as default}; diff --git a/_nuxt/CodeGroup.vnHZwFli.js b/_nuxt/CodeGroup.OfvxpUcz.js similarity index 92% rename from _nuxt/CodeGroup.vnHZwFli.js rename to _nuxt/CodeGroup.OfvxpUcz.js index 554b3ae1..f437445c 100644 --- a/_nuxt/CodeGroup.vnHZwFli.js +++ b/_nuxt/CodeGroup.OfvxpUcz.js @@ -1 +1 @@ -import{_ as C}from"./ProseCodeIcon.vue.KqN3IlcY.js";import{d as B,b8 as S,ap as w,aq as D,r as I,D as f,b as l,c as p,e as g,F as $,ah as A,n as m,E as a,g as E,t as F,ai as G,bb as N,ak as P}from"./entry.rQ92EvLv.js";const V=["onClick"],L=B({inheritAttrs:!1,__name:"CodeGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(y,{expose:v}){const h={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,d=S(),{ui:r,attrs:k}=w("content.codeGroup",void 0,h,D(_,"class"),!0),s=I(0);v({selectedIndex:s});function b(e,t){var i,c,o,n;return typeof e.type=="symbol"?(i=e.children)==null?void 0:i.map(b):{label:((c=e.props)==null?void 0:c.filename)||((o=e.props)==null?void 0:o.label)||`${t}`,icon:(n=e.props)==null?void 0:n.icon,component:e}}const u=f(()=>{var e,t;return((t=(e=d.default)==null?void 0:e.call(d))==null?void 0:t.flatMap(b).filter(Boolean))||[]}),x=f(()=>u.value.find((e,t)=>t===s.value));return(e,t)=>{var c;const i=C;return l(),p("div",P({class:a(r).wrapper},a(k)),[g("div",{class:m(a(r).header)},[(l(!0),p($,null,A(a(u),(o,n)=>(l(),p("button",{key:n,tabindex:"-1",class:m([a(r).tab.base,a(s)===n?a(r).tab.active:a(r).tab.inactive]),onClick:j=>s.value=n},[E(i,{icon:o.icon,filename:o.label,class:m(a(r).tab.icon.base)},null,8,["icon","filename","class"]),g("span",null,F(o.label),1)],10,V))),128))],2),(l(),G(N((c=a(x))==null?void 0:c.component),{key:a(s),"hide-header":""}))],16)}}});export{L as default}; +import{_ as C}from"./ProseCodeIcon.vue.1ocGCgm0.js";import{d as B,b8 as S,ap as w,aq as D,r as I,D as f,b as l,c as p,e as g,F as $,ah as A,n as m,E as a,g as E,t as F,ai as G,bb as N,ak as P}from"./entry.bb8_tySE.js";const V=["onClick"],L=B({inheritAttrs:!1,__name:"CodeGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(y,{expose:v}){const h={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,d=S(),{ui:r,attrs:k}=w("content.codeGroup",void 0,h,D(_,"class"),!0),s=I(0);v({selectedIndex:s});function b(e,t){var i,c,o,n;return typeof e.type=="symbol"?(i=e.children)==null?void 0:i.map(b):{label:((c=e.props)==null?void 0:c.filename)||((o=e.props)==null?void 0:o.label)||`${t}`,icon:(n=e.props)==null?void 0:n.icon,component:e}}const u=f(()=>{var e,t;return((t=(e=d.default)==null?void 0:e.call(d))==null?void 0:t.flatMap(b).filter(Boolean))||[]}),x=f(()=>u.value.find((e,t)=>t===s.value));return(e,t)=>{var c;const i=C;return l(),p("div",P({class:a(r).wrapper},a(k)),[g("div",{class:m(a(r).header)},[(l(!0),p($,null,A(a(u),(o,n)=>(l(),p("button",{key:n,tabindex:"-1",class:m([a(r).tab.base,a(s)===n?a(r).tab.active:a(r).tab.inactive]),onClick:j=>s.value=n},[E(i,{icon:o.icon,filename:o.label,class:m(a(r).tab.icon.base)},null,8,["icon","filename","class"]),g("span",null,F(o.label),1)],10,V))),128))],2),(l(),G(N((c=a(x))==null?void 0:c.component),{key:a(s),"hide-header":""}))],16)}}});export{L as default}; diff --git a/_nuxt/Collapsible.DnElBqvu.js b/_nuxt/Collapsible.4dbL3TX8.js similarity index 94% rename from _nuxt/Collapsible.DnElBqvu.js rename to _nuxt/Collapsible.4dbL3TX8.js index a0c2a6f0..9843c08e 100644 --- a/_nuxt/Collapsible.DnElBqvu.js +++ b/_nuxt/Collapsible.4dbL3TX8.js @@ -1 +1 @@ -import{d,y as m,D as b,ap as f,ae as _,b as g,ai as v,w as t,g as s,E as a,bc as y,n,e as x,t as r,bd as h,be as C,af as k,ab as w}from"./entry.rQ92EvLv.js";import{r as S}from"./slot.yKcOMwL8.js";import"./node.kQagOfUD.js";const D=d({__name:"Collapsible",props:{name:{type:String,default:"properties"}},setup(i){const c=m(),l=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("content.collapsible",void 0,l,void 0,!0);return _(()=>k("$6leqFE4TO4")),(p,B)=>{const u=w;return g(),v(a(C),{as:"div"},{default:t(({open:o})=>[s(a(y),{class:n(a(e).button.base)},{default:t(()=>[s(u,{name:a(e).button.icon.name,class:n([a(e).button.icon.base,o?a(e).button.icon.active:a(e).button.icon.inactive])},null,8,["name","class"]),x("span",null,r(o?"Hide":"Show")+" "+r(i.name),1)]),_:2},1032,["class"]),s(a(h),{class:n(a(e).panel)},{default:t(()=>[S(p.$slots,"default",{unwrap:"p"})]),_:3},8,["class"])]),_:3})}}});export{D as default}; +import{d,y as m,D as b,ap as f,ae as _,b as g,ai as v,w as t,g as s,E as a,bc as y,n,e as x,t as r,bd as h,be as C,af as k,ab as w}from"./entry.bb8_tySE.js";import{r as S}from"./slot.ZNG1_16C.js";import"./node.kQagOfUD.js";const D=d({__name:"Collapsible",props:{name:{type:String,default:"properties"}},setup(i){const c=m(),l=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("content.collapsible",void 0,l,void 0,!0);return _(()=>k("$6leqFE4TO4")),(p,B)=>{const u=w;return g(),v(a(C),{as:"div"},{default:t(({open:o})=>[s(a(y),{class:n(a(e).button.base)},{default:t(()=>[s(u,{name:a(e).button.icon.name,class:n([a(e).button.icon.base,o?a(e).button.icon.active:a(e).button.icon.inactive])},null,8,["name","class"]),x("span",null,r(o?"Hide":"Show")+" "+r(i.name),1)]),_:2},1032,["class"]),s(a(h),{class:n(a(e).panel)},{default:t(()=>[S(p.$slots,"default",{unwrap:"p"})]),_:3},8,["class"])]),_:3})}}});export{D as default}; diff --git a/_nuxt/ContentDoc.0ulp3XL6.js b/_nuxt/ContentDoc.ecaNRUQa.js similarity index 87% rename from _nuxt/ContentDoc.0ulp3XL6.js rename to _nuxt/ContentDoc.ecaNRUQa.js index 2a159799..f18f20c1 100644 --- a/_nuxt/ContentDoc.0ulp3XL6.js +++ b/_nuxt/ContentDoc.ecaNRUQa.js @@ -1 +1 @@ -import{E as d,H as b,v as y,a7 as w,bg as D,m as g,d as H,b8 as S,bh as _,U as u}from"./entry.rQ92EvLv.js";import q from"./ContentRenderer.UC5NeHM0.js";import x from"./ContentQuery.jU91_ajs.js";import"./ContentRendererMarkdown.vue.xY8wmzHI.js";import"./MDCRenderer.r7QY4jzo.js";const a=(s,p=y())=>{const e=d(s),f=g();b(()=>d(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),w(()=>D(t))},{immediate:!0})},$=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(x,l,{default:e!=null&&e.default?({data:o,refresh:i,isPartial:C})=>{var h;return c&&a(o),(h=e.default)==null?void 0:h.call(e,{doc:o,refresh:i,isPartial:C,excerpt:m,...this.$attrs})}:({data:o})=>(c&&a(o),u(q,{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=$;export{R as default}; +import{E as d,H as b,v as y,a7 as w,bg as D,m as g,d as H,b8 as S,bh as _,U as u}from"./entry.bb8_tySE.js";import q from"./ContentRenderer.kEUwcalk.js";import x from"./ContentQuery.wFxyIuKR.js";import"./ContentRendererMarkdown.vue.hQ-DmwXW.js";import"./MDCRenderer.QrfRPW2s.js";const a=(s,p=y())=>{const e=d(s),f=g();b(()=>d(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),w(()=>D(t))},{immediate:!0})},$=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(x,l,{default:e!=null&&e.default?({data:o,refresh:i,isPartial:C})=>{var h;return c&&a(o),(h=e.default)==null?void 0:h.call(e,{doc:o,refresh:i,isPartial:C,excerpt:m,...this.$attrs})}:({data:o})=>(c&&a(o),u(q,{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=$;export{R as default}; diff --git a/_nuxt/ContentList.3ZKIXiu0.js b/_nuxt/ContentList.5TUXJOaa.js similarity index 84% rename from _nuxt/ContentList.3ZKIXiu0.js rename to _nuxt/ContentList.5TUXJOaa.js index a0f2076e..2b80f6cd 100644 --- a/_nuxt/ContentList.3ZKIXiu0.js +++ b/_nuxt/ContentList.5TUXJOaa.js @@ -1 +1 @@ -import m from"./ContentQuery.jU91_ajs.js";import{d as c,b8 as l,U as r}from"./entry.rQ92EvLv.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.wFxyIuKR.js";import{d as c,b8 as l,U as r}from"./entry.bb8_tySE.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.kkJ38q1M.js b/_nuxt/ContentNavigation.72HoupbX.js similarity index 92% rename from _nuxt/ContentNavigation.kkJ38q1M.js rename to _nuxt/ContentNavigation.72HoupbX.js index 0f8c7cce..239f99a4 100644 --- a/_nuxt/ContentNavigation.kkJ38q1M.js +++ b/_nuxt/ContentNavigation.72HoupbX.js @@ -1 +1 @@ -import{d,bi as l,D as v,q as f,A as p,aV as g,bj as m,a_ as h,b8 as _,U as i,aL as y}from"./entry.rQ92EvLv.js";const b=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=_(),{navigation:n}=u,o=e=>i(y,{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)}}),C=b;export{C as default}; +import{d,bi as l,D as v,q as f,A as p,aV as g,bj as m,a_ as h,b8 as _,U as i,aL as y}from"./entry.bb8_tySE.js";const b=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=_(),{navigation:n}=u,o=e=>i(y,{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)}}),C=b;export{C as default}; diff --git a/_nuxt/ContentQuery.jU91_ajs.js b/_nuxt/ContentQuery.wFxyIuKR.js similarity index 97% rename from _nuxt/ContentQuery.jU91_ajs.js rename to _nuxt/ContentQuery.wFxyIuKR.js index a1e3443d..337bbbad 100644 --- a/_nuxt/ContentQuery.jU91_ajs.js +++ b/_nuxt/ContentQuery.wFxyIuKR.js @@ -1 +1 @@ -import{d as g,bi as b,D as C,m as S,H as _,aV as k,s as m,a_ as A,b8 as N,U as O}from"./entry.rQ92EvLv.js";const Q=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;_(()=>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 k(`content-query-${A(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=N(),{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)=>O("pre",null,JSON.stringify({message:"You should use slots with !",slot:w,data:q},null,2)))("default",{data:r,props:n,isPartial:u})}}),R=Q;export{R as default}; +import{d as g,bi as b,D as C,m as S,H as _,aV as k,s as m,a_ as A,b8 as N,U as O}from"./entry.bb8_tySE.js";const Q=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;_(()=>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 k(`content-query-${A(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=N(),{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)=>O("pre",null,JSON.stringify({message:"You should use slots with !",slot:w,data:q},null,2)))("default",{data:r,props:n,isPartial:u})}}),R=Q;export{R as default}; diff --git a/_nuxt/ContentRenderer.UC5NeHM0.js b/_nuxt/ContentRenderer.kEUwcalk.js similarity index 84% rename from _nuxt/ContentRenderer.UC5NeHM0.js rename to _nuxt/ContentRenderer.kEUwcalk.js index ca373c2d..0eb6a37a 100644 --- a/_nuxt/ContentRenderer.UC5NeHM0.js +++ b/_nuxt/ContentRenderer.kEUwcalk.js @@ -1 +1 @@ -import{_ as o}from"./ContentRendererMarkdown.vue.xY8wmzHI.js";import{d as l,H as s,b8 as d,U as f}from"./entry.rQ92EvLv.js";import"./MDCRenderer.r7QY4jzo.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.hQ-DmwXW.js";import{d as l,H as s,b8 as d,U as f}from"./entry.bb8_tySE.js";import"./MDCRenderer.QrfRPW2s.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.4lpZfIqe.js b/_nuxt/ContentRendererMarkdown.4lpZfIqe.js new file mode 100644 index 00000000..2ea2fb27 --- /dev/null +++ b/_nuxt/ContentRendererMarkdown.4lpZfIqe.js @@ -0,0 +1 @@ +import{_ as o}from"./ContentRendererMarkdown.vue.hQ-DmwXW.js";import"./MDCRenderer.QrfRPW2s.js";import"./entry.bb8_tySE.js";export{o as default}; diff --git a/_nuxt/ContentRendererMarkdown.8F9bFpNL.js b/_nuxt/ContentRendererMarkdown.8F9bFpNL.js deleted file mode 100644 index af159c6e..00000000 --- a/_nuxt/ContentRendererMarkdown.8F9bFpNL.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./ContentRendererMarkdown.vue.xY8wmzHI.js";import"./MDCRenderer.r7QY4jzo.js";import"./entry.rQ92EvLv.js";export{o as default}; diff --git a/_nuxt/ContentRendererMarkdown.vue.xY8wmzHI.js b/_nuxt/ContentRendererMarkdown.vue.hQ-DmwXW.js similarity index 84% rename from _nuxt/ContentRendererMarkdown.vue.xY8wmzHI.js rename to _nuxt/ContentRendererMarkdown.vue.hQ-DmwXW.js index 7136f779..2b8c17bf 100644 --- a/_nuxt/ContentRendererMarkdown.vue.xY8wmzHI.js +++ b/_nuxt/ContentRendererMarkdown.vue.hQ-DmwXW.js @@ -1 +1 @@ -import{_ as p}from"./MDCRenderer.r7QY4jzo.js";import{d as l,bk as m,D as o,b as i,ai as b,E as v}from"./entry.rQ92EvLv.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.QrfRPW2s.js";import{d as l,bk as m,D as o,b as i,ai as b,E as v}from"./entry.bb8_tySE.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/ContentSlot.xTk8y2OB.js b/_nuxt/ContentSlot.ZrP9_N9N.js similarity index 92% rename from _nuxt/ContentSlot.xTk8y2OB.js rename to _nuxt/ContentSlot.ZrP9_N9N.js index 61f4c421..02e40ccf 100644 --- a/_nuxt/ContentSlot.xTk8y2OB.js +++ b/_nuxt/ContentSlot.ZrP9_N9N.js @@ -1 +1 @@ -import{f as i}from"./node.kQagOfUD.js";import{d as u,b8 as f,D as c,U as a,br as d}from"./entry.rQ92EvLv.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:r}=d(),{default:o}=f(),s=c(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:o,tags:s,parent:r}},render({use:t,unwrap:r,fallbackSlot:o,tags:s,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?r?i(n(),s):[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,b8 as f,D as c,U as a,br as d}from"./entry.bb8_tySE.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:r}=d(),{default:o}=f(),s=c(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:o,tags:s,parent:r}},render({use:t,unwrap:r,fallbackSlot:o,tags:s,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?r?i(n(),s):[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/DM_Sans-400-1.9W8NnOea.woff2 b/_nuxt/DM_Sans-400-1.9W8NnOea.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..b4896493274cb70412c24e79f8763b6514e8fd0b GIT binary patch literal 18124 zcmV(`K-0f>Pew8T0RR9107lFJ6aWAK0HA0907hH@0RR9100000000000000000000 z0000Qgm)XN0vv&MKS)+VQiF8{U_Vn-K~#ZUCo%wpJTGh!2nxqUyABJ3FaR)tnQ8$x z0we>5Tm&EmhY|;kI}8UKBbPPIv+f4S%_@c9-lsc^MCf)vq$+0qNQAI)0E%tin*IN$ zBpos|&>2W6Q>*(yhlXBcO5jW}RhXKbhFC;ZF(gDrNQ$X6onImmtBfd~OhXVCn^l?R z-*VYuI*`nO6ewE`4Go7yZ{rE82N{Vs+A_S$%O23t_OJgKbZ=hZ_zjYlW{1<~=yl#6 z4?H&(&8}XXFa8hOPNMc$a6qql@&oOj0q*38-H60L{hv=?Yj<#S!ZDu&{Efi=d45j+ z+?NDGf=7rz2x1W;n8lPhlAvBnfr=QVM!OB|+<>)CDRrB+lZyS0t^C!0+!p%4Q?x&i z8wa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F8&?x>V}iI2}ZVS f*Hd-JMb~s0q-n;wCml9#l)EIv+`oLw0ssI2huA=b diff --git a/_nuxt/DM_Sans-400-2.3gXnL7Bz.woff2 b/_nuxt/DM_Sans-400-2.3gXnL7Bz.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..3297cf79503c2a4a0ce0599d849067c802783b65 GIT binary patch literal 36848 zcmY(nV~j4)vMt(NZQHhO+qSz`+qP}nTy5L7ZQFMD_x9cA-jlqUnaoNh^UtVJV^qpr zL7W)~80bGI{vHVRKMyeV|B3znC-;By|Nny>hK&;#K#v4$522;RY)~Z zmx3866qdmT2@*OmkoHsvCIladF({rDm>q-^G=dY15Ih_iB9appLI(>=i3GF*ZSJDm z79C&c{CdOT1HsFr9mGU0 ztEQugy=Et_o^x)t!f0Y<$)SPQdUw;R|H0YP(xj+!*Oy0b6HICtq_cHR-@zLv`d5?5 z^ z!~eI=b*$Zlmo_T^=-YeB_ReQWm_ZIsg3J{qiH?=;LQv47DMe<>WWzqHBY5w40rDo! zusPNg{i*S%{UtWSv0*e8g#r;b5!Fl8cm>xlb@WmiE!9VJl@r>T9ptwdWSo@Y>t_uN zun3=<`Gim{!?TqrrKt>`!sx?Gdt9-jF%XrAMwbebP=#C+j$O1g|BIywPvm-GN3Qn7 zGbysp;8a#vR3z{VcR(F>C<6ieJ**^i%?$Hb<9-MVvll`Rxl z8geRwidf<7V*_1bW8SJGNUA6DU}C$^Dw$XR^e0q}I%r*Ho~#&8u#lek9Mifwv9q$j zrBS19Xz|~0Q<88c}QDAiY+F(fQ&`L zjLq6k=y5hZZYb-SiU68jUfn3}qNFR>@lr%;V;V~VB|6e-oFSr)$QW3ZY&MxME5eZD zYqV2Q9tUUoO};~BQVlBD4Q>+X66D*o!jM|yRQVbzop)hB{(KL0I%Y5;9Vx`hC16m< zq!IQ^S}c!}bllnp1O{RS@w^ zXD+uxwm+kkM95T!$qDPfI)nukf6l=cTLZ+95b3LhBH-AA7%f!y2}?%z`KNywa7yGM z5&J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((+MHeffEee9yjDFE297 z=?%1_({cl!%8RzlFCdME{1iU!7te70vy(NWTlSGQ-N*^HVEX~iO@CXqeYw!LYJ;5W z+t)Vr94Kh1rqYd@nJG+iHGaNb7h{zoj8veq0%5qy%4Yj9Kh@HmMea XcD)W^*F}ooqDW(pfJ2J*fBi#zFg@5< literal 0 HcmV?d00001 diff --git a/_nuxt/DM_Sans-400-2.dXNGP4nC.woff2 b/_nuxt/DM_Sans-400-2.dXNGP4nC.woff2 deleted file mode 100644 index 8a64417298c564a6fceddd0ac67fc89f6ba76b33..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 37000 zcmZ6wV~{W~m#y2jZQHhO+qP}n-EZ5rZQHhOo9COEGpFj_{7EX6R3$rWJ-d>)%Zo7q z00R7{Bt!t9{HFq>)A&yt^?&;QtN;I7u)_GT0|QuaVx;&b)C83xG{6k_l~n{)0(Hol z077BtZ4e=#0t0DI1))Rm02qQ&7y#LTNPr_aKnOs?k-#H4V8FFqaUFrQ+k6K@x4>YQ z{0>ZB!ZRWS+;!e*kre#~V++D#gCP-q3BLaRmXanhGLva(MG@cN9g`&5u|mhOear4tOWkaU zKEk`XiMlJu@u~{lIZ3m>0~w4!@kCT>vhJs*KXsg~*Tlr9wz5m7x7_Z+uxEp-?uje)6)z-xV*wrFYjS^qXqoDs7xnhq%%Q}YFUkFf*tFNT*hq+rkzW}8nR-B+l-HR%wV@_~90^StG#y5uiQAUYfB_j7A6|Nf1c% zYv<2%sg!f0_P#7lLVoMcc`bfMw(z#BR{Yh?_V%eKnR3S+tpj3B-kPNEP0^@Lk)rSL z_fe3VKLP{}B7YNp-ueLyF+$cFHnccsx=E8}a0y0r|K7W<{^gOx0=^K?vJKijcrm>V zymu?K0izx|K?zWu1LWSF@!1=+i4;##COP2lRm}fAr%0@>VmL|19HhbYWc~aFkP{w~ zkPt$VB!eIgTP=TQa+b*ZukeZf9lu3vy7f@6;$4&HsQ%?^m~=Tp+}$!8Bvj|0DSsQs z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hHfWooi#v#p64kqVn{nAE4oOca}xIxx3bdV@> z52=y>;@I#N+9#+=5bTGY4@Js}hi*A2)nJ-mdizcgfY3QNpjTZl!QZTU3oE8VGQ_ls zW6nLQe)82^9WPrcj!!8UDkzUcUO(lzud*8jXBqRVs6-@_K_7p$+!QQJz9*lstN;|* z+~9tB$GG-5R-`JcauhFLYjw*zLiKuH_;XIC zO(LRDI0!~zJN+r1r%KIv?v+33 z3^Li*+;s$c6|$Vtw}4t(3ho|HLrQlFk_$4(Hl>akr~OkOUr)UGolqLl>GJZ37Jkj z%a$il{jFCDJQ(4hGcQCcR1k$4T=5CHhF>9r1ty+6*Gri@`O42Ilt)E4?sq~}b5l7Q zaVI&g!VuDYP5E4Iq-e9ei9SxO%kmtTPhu@AlqlHvgYC`jyW*Pb>@YB~oOjbLw>jb9 zChqL};kR;g*yYepIN+lEaJE1s8Sd(yhl~M@apLfEv9~fGEXMi>lDVkw9UJxZ&Q8nGL zSZ#Ke*6_E=W6wRI@E?@wiuAP%w!~YTdk0e5IbFR?T^<*fG^3}T$KM{&^`l~PZ%+&7 z3wDhs4-ECrjMSg&nrc1ecf6(@bshRmyC~F|20Buq_SK^u<9%cX@k4@(_`KuJp7iF$ z8eG}GPma?Z>H1}^FX`{+NfWL9VAph8$8S=oZg>uVz0ZF{NsWE4%+QQ!y>aM#w6?l| zHd%8r^cTO;Ivr=4M?=Sf{**WaDMvQe+>( zY-~Ta8t0%wEp<>}_CK0GnrG*he?4a+rLk$ofY$s28*vlwl!5lH=3&QfY;z1Ugnx{<@qsaU1|hLXu7Z diff --git a/_nuxt/DocsSearch.GiTpX-tp.js b/_nuxt/DocsSearch.j3r5igXq.js similarity index 99% rename from _nuxt/DocsSearch.GiTpX-tp.js rename to _nuxt/DocsSearch.j3r5igXq.js index 1e8bd718..b61256bf 100644 --- a/_nuxt/DocsSearch.GiTpX-tp.js +++ b/_nuxt/DocsSearch.j3r5igXq.js @@ -1,4 +1,4 @@ -import{D as k,E as K,G as _t,H as X,I as Ge,J as Ft,r as z,K as be,L as ot,d as ne,M as fe,N as Bt,O as N,B as se,P as Lt,Q as it,R as zt,S as Me,o as ye,U as xe,V as Nt,W as Dt,X as Vt,Y as $e,Z as Ve,F as ke,$ as je,a0 as Ce,a1 as jt,a2 as at,a3 as Kt,a4 as Ut,a5 as Ye,a6 as Z,a7 as lt,a8 as Je,a as Ht,a9 as Wt,aa as J,l as Ke,ab as Ae,ac as rt,ad as ut,ae as Ue,af as He,ag as ee,b as L,c as H,n as F,t as oe,f as q,e as G,ah as Ee,ai as j,w as Y,aj as ue,ak as ce,al as qt,j as Gt,am as ct,an as Te,ao as dt,ap as We,aq as Se,ar as ht,as as ft,at as Yt,au as Jt,g as ge,av as Qt,aw as Xt,ax as Zt,ay as en,az as tn,aA as nn,aB as sn,aC as on,aD as pt,aE as an,y as ln,u as rn,aF as un,aG as cn,aH as dn,aI as hn,aJ as fn,aK as pn}from"./entry.rQ92EvLv.js";const vn={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-5 w-5",padding:"ps-11"},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.5 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.5 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-1.5 min-w-0",icon:{base:"flex-shrink-0 w-5 h-5",active:"text-gray-900 dark:text-white",inactive:"text-gray-400 dark:text-gray-500"},selectedIcon:{base:"h-5 w-5 text-gray-900 dark:text-white flex-shrink-0"},avatar:{base:"flex-shrink-0",size:"2xs"},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"}},mn={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 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 de(e,n,t){let o=t.initialDeps??[],s;return()=>{var i,l,a,c;let u;t.key&&((i=t.debug)!=null&&i.call(t))&&(u=Date.now());const r=e();if(!(r.length!==o.length||r.some((g,O)=>o[O]!==g)))return s;o=r;let f;if(t.key&&((l=t.debug)!=null&&l.call(t))&&(f=Date.now()),s=n(...r),t.key&&((a=t.debug)!=null&&a.call(t))){const g=Math.round((Date.now()-u)*100)/100,O=Math.round((Date.now()-f)*100)/100,T=O/16,A=(S,C)=>{for(S=String(S);S.length{var i,l,a,c;let u;t.key&&((i=t.debug)!=null&&i.call(t))&&(u=Date.now());const r=e();if(!(r.length!==o.length||r.some((g,O)=>o[O]!==g)))return s;o=r;let f;if(t.key&&((l=t.debug)!=null&&l.call(t))&&(f=Date.now()),s=n(...r),t.key&&((a=t.debug)!=null&&a.call(t))){const g=Math.round((Date.now()-u)*100)/100,O=Math.round((Date.now()-f)*100)/100,T=O/16,A=(S,C)=>{for(S=String(S);S.lengthMath.abs(e-n)<1,bn=e=>e,yn=e=>{const n=Math.max(e.startIndex-e.overscan,0),t=Math.min(e.endIndex+e.overscan,e.count-1),o=[];for(let s=n;s<=t;s++)o.push(s);return o},xn=(e,n)=>{const t=e.scrollElement;if(!t)return;const o=i=>{const{width:l,height:a}=i;n({width:Math.round(l),height:Math.round(a)})};if(o(t.getBoundingClientRect()),typeof ResizeObserver>"u")return()=>{};const s=new ResizeObserver(i=>{const l=i[0];if(l!=null&&l.borderBoxSize){const a=l.borderBoxSize[0];if(a){o({width:a.inlineSize,height:a.blockSize});return}}o(t.getBoundingClientRect())});return s.observe(t,{box:"border-box"}),()=>{s.unobserve(t)}},Sn=(e,n)=>{const t=e.scrollElement;if(!t)return;const o=()=>{n(t[e.options.horizontal?"scrollLeft":"scrollTop"])};return o(),t.addEventListener("scroll",o,{passive:!0}),()=>{t.removeEventListener("scroll",o)}},In=(e,n,t)=>{if(n!=null&&n.borderBoxSize){const o=n.borderBoxSize[0];if(o)return Math.round(o[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[t.options.horizontal?"width":"height"])},On=(e,{adjustments:n=0,behavior:t},o)=>{var s,i;const l=e+n;(i=(s=o.scrollElement)==null?void 0:s.scrollTo)==null||i.call(s,{[o.options.horizontal?"left":"top"]:l,behavior:t})};class wn{constructor(n){this.unsubs=[],this.scrollElement=null,this.isScrolling=!1,this.isScrollingTimeoutId=null,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollDirection=null,this.scrollAdjustments=0,this.measureElementCache=new Map,this.observer=(()=>{let t=null;const o=()=>t||(typeof ResizeObserver<"u"?t=new ResizeObserver(s=>{s.forEach(i=>{this._measureElement(i.target,i)})}):null);return{disconnect:()=>{var s;return(s=o())==null?void 0:s.disconnect()},observe:s=>{var i;return(i=o())==null?void 0:i.observe(s,{box:"border-box"})},unobserve:s=>{var i;return(i=o())==null?void 0:i.unobserve(s)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([o,s])=>{typeof s>"u"&&delete t[o]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:bn,rangeExtractor:yn,onChange:()=>{},measureElement:In,initialRect:{width:0,height:0},scrollMargin:0,scrollingDelay:150,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,...t}},this.notify=t=>{var o,s;(s=(o=this.options).onChange)==null||s.call(o,this,t)},this.maybeNotify=de(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.scrollElement=null},this._didMount=()=>(this.measureElementCache.forEach(this.observer.observe),()=>{this.observer.disconnect(),this.cleanup()}),this._willUpdate=()=>{const t=this.options.getScrollElement();this.scrollElement!==t&&(this.cleanup(),this.scrollElement=t,this._scrollToOffset(this.scrollOffset,{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,o=>{this.scrollRect=o,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,o=>{this.scrollAdjustments=0,this.scrollOffset!==o&&(this.isScrollingTimeoutId!==null&&(clearTimeout(this.isScrollingTimeoutId),this.isScrollingTimeoutId=null),this.isScrolling=!0,this.scrollDirection=this.scrollOffset{this.isScrollingTimeoutId=null,this.isScrolling=!1,this.scrollDirection=null,this.maybeNotify()},this.options.scrollingDelay))})))},this.getSize=()=>this.scrollRect[this.options.horizontal?"width":"height"],this.memoOptions=de(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey],(t,o,s,i)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:o,scrollMargin:s,getItemKey:i}),{key:!1}),this.getFurthestMeasurement=(t,o)=>{const s=new Map,i=new Map;for(let l=o-1;l>=0;l--){const a=t[l];if(s.has(a.lane))continue;const c=i.get(a.lane);if(c==null||a.end>c.end?i.set(a.lane,a):a.endl.end===a.end?l.index-a.index:l.end-a.end)[0]:void 0},this.getMeasurements=de(()=>[this.memoOptions(),this.itemSizeCache],({count:t,paddingStart:o,scrollMargin:s,getItemKey:i},l)=>{const a=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const c=this.measurementsCache.slice(0,a);for(let u=a;uthis.options.debug}),this.calculateRange=de(()=>[this.getMeasurements(),this.getSize(),this.scrollOffset],(t,o,s)=>this.range=t.length>0&&o>0?Mn({measurements:t,outerSize:o,scrollOffset:s}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=de(()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count],(t,o,s,i)=>o===null?[]:t({...o,overscan:s,count:i}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{const o=this.options.indexAttribute,s=t.getAttribute(o);return s?parseInt(s,10):(console.warn(`Missing attribute name '${o}={index}' on measured element.`),-1)},this._measureElement=(t,o)=>{const s=this.measurementsCache[this.indexFromElement(t)];if(!s||!t.isConnected){this.measureElementCache.forEach((a,c)=>{a===t&&(this.observer.unobserve(t),this.measureElementCache.delete(c))});return}const i=this.measureElementCache.get(s.key);i!==t&&(i&&this.observer.unobserve(i),this.observer.observe(t),this.measureElementCache.set(s.key,t));const l=this.options.measureElement(t,o,this);this.resizeItem(s,l)},this.resizeItem=(t,o)=>{const s=this.itemSizeCache.get(t.key)??t.size,i=o-s;i!==0&&(t.start{t&&this._measureElement(t,void 0)},this.getVirtualItems=de(()=>[this.getIndexes(),this.getMeasurements()],(t,o)=>{const s=[];for(let i=0,l=t.length;ithis.options.debug}),this.getVirtualItemForOffset=t=>{const o=this.getMeasurements();return Pe(o[vt(0,o.length-1,s=>Pe(o[s]).start,t)])},this.getOffsetForAlignment=(t,o)=>{const s=this.getSize();o==="auto"&&(t<=this.scrollOffset?o="start":t>=this.scrollOffset+s?o="end":o="start"),o==="start"?t=t:o==="end"?t=t-s:o==="center"&&(t=t-s/2);const i=this.options.horizontal?"scrollWidth":"scrollHeight",a=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[i]:this.scrollElement[i]:0)-this.getSize();return Math.max(Math.min(a,t),0)},this.getOffsetForIndex=(t,o="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const s=Pe(this.getMeasurements()[t]);if(o==="auto")if(s.end>=this.scrollOffset+this.getSize()-this.options.scrollPaddingEnd)o="end";else if(s.start<=this.scrollOffset+this.options.scrollPaddingStart)o="start";else return[this.scrollOffset,o];const i=o==="end"?s.end+this.options.scrollPaddingEnd:s.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(i,o),o]},this.isDynamicMode=()=>this.measureElementCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&(clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:o="start",behavior:s}={})=>{this.cancelScrollToIndex(),s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,o),{adjustments:void 0,behavior:s})},this.scrollToIndex=(t,{align:o="auto",behavior:s}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const[i,l]=this.getOffsetForIndex(t,o);this._scrollToOffset(i,{adjustments:void 0,behavior:s}),s!=="smooth"&&this.isDynamicMode()&&(this.scrollToIndexTimeoutId=setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.measureElementCache.has(this.options.getItemKey(t))){const[c]=this.getOffsetForIndex(t,l);gn(c,this.scrollOffset)||this.scrollToIndex(t,{align:l,behavior:s})}else this.scrollToIndex(t,{align:l,behavior:s})}))},this.scrollBy=(t,{behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.scrollOffset+t,{adjustments:void 0,behavior:o})},this.getTotalSize=()=>{var t;const o=this.getMeasurements();let s;return o.length===0?s=this.options.paddingStart:s=this.options.lanes===1?((t=o[o.length-1])==null?void 0:t.end)??0:Math.max(...o.slice(-this.options.lanes).map(i=>i.end)),s-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(t,{adjustments:o,behavior:s})=>{this.options.scrollToFn(t,{behavior:s,adjustments:o},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(n),this.scrollRect=this.options.initialRect,this.scrollOffset=this.options.initialOffset,this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(t=>{this.itemSizeCache.set(t.key,t.size)}),this.maybeNotify()}}const vt=(e,n,t,o)=>{for(;e<=n;){const s=(e+n)/2|0,i=t(s);if(io)n=s-1;else return s}return e>0?e-1:0};function Mn({measurements:e,outerSize:n,scrollOffset:t}){const o=e.length-1,i=vt(0,o,a=>e[a].start,t);let l=i;for(;lK(e).getScrollElement(),s=>{s&&n._willUpdate()},{immediate:!0}),X(()=>K(e),s=>{n.setOptions({...s,onChange:(i,l)=>{var a;Ge(t),(a=s.onChange)==null||a.call(s,i,l)}}),n._willUpdate(),Ge(t)},{immediate:!0}),Ft(o),t}function Cn(e){return kn(k(()=>({observeElementRect:xn,observeElementOffset:Sn,scrollToFn:On,...K(e)})))}function En(e,n,t){let o=z(t==null?void 0:t.value),s=k(()=>e.value!==void 0);return[k(()=>s.value?e.value:o.value),function(i){return s.value||(o.value=i),n==null?void 0:n(i)}]}function Qe(e){return[e.screenX,e.screenY]}function Tn(){let e=z([-1,-1]);return{wasMoved(n){let t=Qe(n);return e.value[0]===t[0]&&e.value[1]===t[1]?!1:(e.value=t,!0)},update(n){e.value=Qe(n)}}}function Rn({container:e,accept:n,walk:t,enabled:o}){be(()=>{let s=e.value;if(!s||o!==void 0&&!o.value)return;let i=ot(e);if(!i)return;let l=Object.assign(c=>n(c),{acceptNode:n}),a=i.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,l,!1);for(;a.nextNode();)t(a.currentNode)})}function $n(e){throw new Error("Unexpected object: "+e)}var D=(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))(D||{});function Xe(e,n){let t=n.resolveItems();if(t.length<=0)return null;let o=n.resolveActiveIndex(),s=o??-1;switch(e.focus){case 0:{for(let i=0;i=0;--i)if(!n.resolveDisabled(t[i],i,t))return i;return o}case 2:{for(let i=s+1;i=0;--i)if(!n.resolveDisabled(t[i],i,t))return i;return o}case 4:{for(let i=0;i(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(_n||{}),Fn=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Fn||{}),Bn=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(Bn||{});let yt=Symbol("ComboboxContext");function Ie(e){let n=at(yt,null);if(n===null){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ie),t}return n}let xt=Symbol("VirtualContext"),Ln=ne({name:"VirtualProvider",setup(e,{slots:n}){let t=Ie("VirtualProvider"),o=k(()=>{let a=N(t.optionsRef);if(!a)return{start:0,end:0};let c=window.getComputedStyle(a);return{start:parseFloat(c.paddingBlockStart||c.paddingTop),end:parseFloat(c.paddingBlockEnd||c.paddingBottom)}}),s=Cn(k(()=>({scrollPaddingStart:o.value.start,scrollPaddingEnd:o.value.end,count:t.virtual.value.options.length,estimateSize(){return 40},getScrollElement(){return N(t.optionsRef)},overscan:12}))),i=k(()=>{var a;return(a=t.virtual.value)==null?void 0:a.options}),l=z(0);return X([i],()=>{l.value+=1}),it(xt,t.virtual.value?s:null),()=>[xe("div",{style:{position:"relative",width:"100%",height:`${s.value.getTotalSize()}px`},ref:a=>{if(a){if(typeof process<"u"&&An.JEST_WORKER_ID!==void 0||t.activationTrigger.value===0)return;t.activeOptionIndex.value!==null&&t.virtual.value.options.length>t.activeOptionIndex.value&&s.value.scrollToIndex(t.activeOptionIndex.value)}}},s.value.getVirtualItems().map(a=>Kt(n.default({option:t.virtual.value.options[a.index],open:t.comboboxState.value===0})[0],{key:`${l.value}-${a.index}`,"data-index":a.index,"aria-setsize":t.virtual.value.options.length,"aria-posinset":a.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${a.start}px)`,overflowAnchor:"none"}})))]}}),zn=ne({name:"Combobox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],nullable:!0,default:null},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},immediate:{type:[Boolean],default:!1},virtual:{type:Object,default:null}},inheritAttrs:!1,setup(e,{slots:n,attrs:t,emit:o}){let s=z(1),i=z(null),l=z(null),a=z(null),c=z(null),u=z({static:!1,hold:!1}),r=z([]),d=z(null),f=z(2),g=z(!1);function O(v=b=>b){let b=d.value!==null?r.value[d.value]:null,M=v(r.value.slice()),p=M.length>0&&M[0].dataRef.order.value!==null?M.sort((I,w)=>I.dataRef.order.value-w.dataRef.order.value):Ut(M,I=>N(I.dataRef.domRef)),m=b?p.indexOf(b):null;return m===-1&&(m=null),{options:p,activeOptionIndex:m}}let T=k(()=>e.multiple?1:0),A=k(()=>e.nullable),[S,C]=En(k(()=>e.modelValue),v=>o("update:modelValue",v),k(()=>e.defaultValue)),B=k(()=>S.value===void 0?fe(T.value,{1:[],0:void 0}):S.value),y=null,P=null;function $(v){return fe(T.value,{0(){return C==null?void 0:C(v)},1:()=>{let b=se(h.value.value).slice(),M=se(v),p=b.findIndex(m=>h.compare(M,se(m)));return p===-1?b.push(M):b.splice(p,1),C==null?void 0:C(b)}})}let x=k(()=>{});X([x],([v],[b])=>{if(h.virtual.value&&v&&b&&d.value!==null){let M=v.indexOf(b[d.value]);M!==-1?d.value=M:d.value=null}});let h={comboboxState:s,value:B,mode:T,compare(v,b){if(typeof e.by=="string"){let M=e.by;return(v==null?void 0:v[M])===(b==null?void 0:b[M])}return e.by===null?Pn(v,b):e.by(v,b)},calculateIndex(v){return h.virtual.value?e.by===null?h.virtual.value.options.indexOf(v):h.virtual.value.options.findIndex(b=>h.compare(b,v)):r.value.findIndex(b=>h.compare(b.dataRef.value,v))},defaultValue:k(()=>e.defaultValue),nullable:A,immediate:k(()=>!1),virtual:k(()=>null),inputRef:l,labelRef:i,buttonRef:a,optionsRef:c,disabled:k(()=>e.disabled),options:r,change(v){C(v)},activeOptionIndex:k(()=>{if(g.value&&d.value===null&&(h.virtual.value?h.virtual.value.options.length>0:r.value.length>0)){if(h.virtual.value){let b=h.virtual.value.options.findIndex(M=>{var p;return!((p=h.virtual.value)!=null&&p.disabled(M))});if(b!==-1)return b}let v=r.value.findIndex(b=>!b.dataRef.disabled);if(v!==-1)return v}return d.value}),activationTrigger:f,optionsPropsRef:u,closeCombobox(){g.value=!1,!e.disabled&&s.value!==1&&(s.value=1,d.value=null)},openCombobox(){if(g.value=!0,!e.disabled&&s.value!==0){if(h.value.value){let v=h.calculateIndex(h.value.value);v!==-1&&(d.value=v)}s.value=0}},setActivationTrigger(v){f.value=v},goToOption(v,b,M){g.value=!1,y!==null&&cancelAnimationFrame(y),y=requestAnimationFrame(()=>{if(e.disabled||c.value&&!u.value.static&&s.value===1)return;if(h.virtual.value){d.value=v===D.Specific?b:Xe({focus:v},{resolveItems:()=>h.virtual.value.options,resolveActiveIndex:()=>{var I,w;return(w=(I=h.activeOptionIndex.value)!=null?I:h.virtual.value.options.findIndex(_=>{var V;return!((V=h.virtual.value)!=null&&V.disabled(_))}))!=null?w:null},resolveDisabled:I=>h.virtual.value.disabled(I),resolveId(){throw new Error("Function not implemented.")}}),f.value=M??2;return}let p=O();if(p.activeOptionIndex===null){let I=p.options.findIndex(w=>!w.dataRef.disabled);I!==-1&&(p.activeOptionIndex=I)}let m=v===D.Specific?b:Xe({focus:v},{resolveItems:()=>p.options,resolveActiveIndex:()=>p.activeOptionIndex,resolveId:I=>I.id,resolveDisabled:I=>I.dataRef.disabled});d.value=m,f.value=M??2,r.value=p.options})},selectOption(v){let b=r.value.find(p=>p.id===v);if(!b)return;let{dataRef:M}=b;$(M.value)},selectActiveOption(){if(h.activeOptionIndex.value!==null){if(h.virtual.value)$(h.virtual.value.options[h.activeOptionIndex.value]);else{let{dataRef:v}=r.value[h.activeOptionIndex.value];$(v.value)}h.goToOption(D.Specific,h.activeOptionIndex.value)}},registerOption(v,b){let M=Bt({id:v,dataRef:b});if(h.virtual.value){r.value.push(M);return}P&&cancelAnimationFrame(P);let p=O(m=>(m.push(M),m));d.value===null&&h.isSelected(b.value.value)&&(p.activeOptionIndex=p.options.indexOf(M)),r.value=p.options,d.value=p.activeOptionIndex,f.value=2,p.options.some(m=>!N(m.dataRef.domRef))&&(P=requestAnimationFrame(()=>{let m=O();r.value=m.options,d.value=m.activeOptionIndex}))},unregisterOption(v,b){if(y!==null&&cancelAnimationFrame(y),b&&(g.value=!0),h.virtual.value){r.value=r.value.filter(p=>p.id!==v);return}let M=O(p=>{let m=p.findIndex(I=>I.id===v);return m!==-1&&p.splice(m,1),p});r.value=M.options,d.value=M.activeOptionIndex,f.value=2},isSelected(v){return fe(T.value,{0:()=>h.compare(se(h.value.value),se(v)),1:()=>se(h.value.value).some(b=>h.compare(se(b),se(v)))})},isActive(v){return d.value===h.calculateIndex(v)}};Lt([l,a,c],()=>h.closeCombobox(),k(()=>s.value===0)),it(yt,h),zt(k(()=>fe(s.value,{0:Me.Open,1:Me.Closed})));let R=k(()=>{var v;return(v=N(l))==null?void 0:v.closest("form")});return ye(()=>{X([R],()=>{if(!R.value||e.defaultValue===void 0)return;function v(){h.change(e.defaultValue)}return R.value.addEventListener("reset",v),()=>{var b;(b=R.value)==null||b.removeEventListener("reset",v)}},{immediate:!0})}),()=>{var v,b,M;let{name:p,disabled:m,form:I,...w}=e,_={open:s.value===0,disabled:m,activeIndex:h.activeOptionIndex.value,activeOption:h.activeOptionIndex.value===null?null:h.virtual.value?h.virtual.value.options[(v=h.activeOptionIndex.value)!=null?v:0]:(M=(b=h.options.value[h.activeOptionIndex.value])==null?void 0:b.dataRef.value)!=null?M:null,value:B.value};return xe(ke,[...p!=null&&B.value!=null?mt({[p]:B.value}).map(([V,ae])=>xe(Nt,Dt({features:Vt.Hidden,key:V,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:I,name:V,value:ae}))):[],$e({theirProps:{...t,...Ve(w,["by","defaultValue","immediate","modelValue","multiple","nullable","onUpdate:modelValue","virtual"])},ourProps:{},slot:_,slots:n,attrs:t,name:"Combobox"})])}}}),Nn=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:null}},emits:{change:e=>!0},setup(e,{emit:n,attrs:t,slots:o,expose:s}){var i;let l=(i=e.id)!=null?i:`headlessui-combobox-input-${je()}`,a=Ie("ComboboxInput"),c=k(()=>ot(N(a.inputRef))),u={value:!1};s({el:a.inputRef,$el:a.inputRef});function r(){a.change(null);let y=N(a.optionsRef);y&&(y.scrollTop=0),a.goToOption(D.Nothing)}let d=k(()=>{var y;let P=a.value.value;return N(a.inputRef)?typeof e.displayValue<"u"&&P!==void 0?(y=e.displayValue(P))!=null?y:"":typeof P=="string"?P:"":""});ye(()=>{X([d,a.comboboxState,c],([y,P],[$,x])=>{if(u.value)return;let h=N(a.inputRef);h&&((x===0&&P===1||y!==$)&&(h.value=y),requestAnimationFrame(()=>{var R;if(u.value||!h||((R=c.value)==null?void 0:R.activeElement)!==h)return;let{selectionStart:v,selectionEnd:b}=h;Math.abs((b??0)-(v??0))===0&&v===0&&h.setSelectionRange(h.value.length,h.value.length)}))},{immediate:!0}),X([a.comboboxState],([y],[P])=>{if(y===0&&P===1){if(u.value)return;let $=N(a.inputRef);if(!$)return;let x=$.value,{selectionStart:h,selectionEnd:R,selectionDirection:v}=$;$.value="",$.value=x,v!==null?$.setSelectionRange(h,R,v):$.setSelectionRange(h,R)}})});let f=z(!1);function g(){f.value=!0}function O(){Ye().nextFrame(()=>{f.value=!1})}function T(y){switch(u.value=!0,y.key){case Z.Enter:if(u.value=!1,a.comboboxState.value!==0||f.value)return;if(y.preventDefault(),y.stopPropagation(),a.activeOptionIndex.value===null){a.closeCombobox();return}a.selectActiveOption(),a.mode.value===0&&a.closeCombobox();break;case Z.ArrowDown:return u.value=!1,y.preventDefault(),y.stopPropagation(),fe(a.comboboxState.value,{0:()=>a.goToOption(D.Next),1:()=>a.openCombobox()});case Z.ArrowUp:return u.value=!1,y.preventDefault(),y.stopPropagation(),fe(a.comboboxState.value,{0:()=>a.goToOption(D.Previous),1:()=>{a.openCombobox(),lt(()=>{a.value.value||a.goToOption(D.Last)})}});case Z.Home:if(y.shiftKey)break;return u.value=!1,y.preventDefault(),y.stopPropagation(),a.goToOption(D.First);case Z.PageUp:return u.value=!1,y.preventDefault(),y.stopPropagation(),a.goToOption(D.First);case Z.End:if(y.shiftKey)break;return u.value=!1,y.preventDefault(),y.stopPropagation(),a.goToOption(D.Last);case Z.PageDown:return u.value=!1,y.preventDefault(),y.stopPropagation(),a.goToOption(D.Last);case Z.Escape:if(u.value=!1,a.comboboxState.value!==0)return;y.preventDefault(),a.optionsRef.value&&!a.optionsPropsRef.value.static&&y.stopPropagation(),a.nullable.value&&a.mode.value===0&&a.value.value===null&&r(),a.closeCombobox();break;case Z.Tab:if(u.value=!1,a.comboboxState.value!==0)return;a.mode.value===0&&a.activationTrigger.value!==1&&a.selectActiveOption(),a.closeCombobox();break}}function A(y){n("change",y),a.nullable.value&&a.mode.value===0&&y.target.value===""&&r(),a.openCombobox()}function S(y){var P,$,x;let h=(P=y.relatedTarget)!=null?P:Je.find(R=>R!==y.currentTarget);if(u.value=!1,!(($=N(a.optionsRef))!=null&&$.contains(h))&&!((x=N(a.buttonRef))!=null&&x.contains(h))&&a.comboboxState.value===0)return y.preventDefault(),a.mode.value===0&&(a.nullable.value&&a.value.value===null?r():a.activationTrigger.value!==1&&a.selectActiveOption()),a.closeCombobox()}function C(y){var P,$,x;let h=(P=y.relatedTarget)!=null?P:Je.find(R=>R!==y.currentTarget);($=N(a.buttonRef))!=null&&$.contains(h)||(x=N(a.optionsRef))!=null&&x.contains(h)||a.disabled.value||a.immediate.value&&a.comboboxState.value!==0&&(a.openCombobox(),Ye().nextFrame(()=>{a.setActivationTrigger(1)}))}let B=k(()=>{var y,P,$,x;return(x=($=(P=e.defaultValue)!=null?P:a.defaultValue.value!==void 0?(y=e.displayValue)==null?void 0:y.call(e,a.defaultValue.value):null)!=null?$:a.defaultValue.value)!=null?x:""});return()=>{var y,P,$,x,h,R,v;let b={open:a.comboboxState.value===0},{displayValue:M,onChange:p,...m}=e,I={"aria-controls":(y=a.optionsRef.value)==null?void 0:y.id,"aria-expanded":a.comboboxState.value===0,"aria-activedescendant":a.activeOptionIndex.value===null?void 0:a.virtual.value?(P=a.options.value.find(w=>!a.virtual.value.disabled(w.dataRef.value)&&a.compare(w.dataRef.value,a.virtual.value.options[a.activeOptionIndex.value])))==null?void 0:P.id:($=a.options.value[a.activeOptionIndex.value])==null?void 0:$.id,"aria-labelledby":(R=(x=N(a.labelRef))==null?void 0:x.id)!=null?R:(h=N(a.buttonRef))==null?void 0:h.id,"aria-autocomplete":"list",id:l,onCompositionstart:g,onCompositionend:O,onKeydown:T,onInput:A,onFocus:C,onBlur:S,role:"combobox",type:(v=t.type)!=null?v:"text",tabIndex:0,ref:a.inputRef,defaultValue:B.value,disabled:a.disabled.value===!0?!0:void 0};return $e({ourProps:I,theirProps:m,slot:b,attrs:t,slots:o,features:Ce.RenderStrategy|Ce.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:n,slots:t,expose:o}){let s=Ie("ComboboxOptions"),i=`headlessui-combobox-options-${je()}`;o({el:s.optionsRef,$el:s.optionsRef}),be(()=>{s.optionsPropsRef.value.static=e.static}),be(()=>{s.optionsPropsRef.value.hold=e.hold});let l=jt(),a=k(()=>l!==null?(l.value&Me.Open)===Me.Open:s.comboboxState.value===0);return Rn({container:k(()=>N(s.optionsRef)),enabled:k(()=>s.comboboxState.value===0),accept(c){return c.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:c.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(c){c.setAttribute("role","none")}}),()=>{var c,u,r;let d={open:s.comboboxState.value===0},f={"aria-labelledby":(r=(c=N(s.labelRef))==null?void 0:c.id)!=null?r:(u=N(s.buttonRef))==null?void 0:u.id,id:i,ref:s.optionsRef,role:"listbox","aria-multiselectable":s.mode.value===1?!0:void 0},g=Ve(e,["hold"]);return $e({ourProps:f,theirProps:g,slot:d,attrs:n,slots:s.virtual.value&&s.comboboxState.value===0?{...t,default:()=>[xe(Ln,{},t.default)]}:t,features:Ce.RenderStrategy|Ce.Static,visible:a.value,name:"ComboboxOptions"})}}}),Vn=ne({name:"ComboboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},order:{type:[Number],default:null}},setup(e,{slots:n,attrs:t,expose:o}){let s=Ie("ComboboxOption"),i=`headlessui-combobox-option-${je()}`,l=z(null);o({el:l,$el:l});let a=k(()=>{var S;return s.virtual.value?s.activeOptionIndex.value===s.calculateIndex(e.value):s.activeOptionIndex.value===null?!1:((S=s.options.value[s.activeOptionIndex.value])==null?void 0:S.id)===i}),c=k(()=>s.isSelected(e.value)),u=at(xt,null),r=k(()=>({disabled:e.disabled,value:e.value,domRef:l,order:k(()=>e.order)}));ye(()=>s.registerOption(i,r)),Ht(()=>s.unregisterOption(i,a.value)),be(()=>{let S=N(l);S&&(u==null||u.value.measureElement(S))}),be(()=>{s.comboboxState.value===0&&a.value&&(s.virtual.value||s.activationTrigger.value!==0&<(()=>{var S,C;return(C=(S=N(l))==null?void 0:S.scrollIntoView)==null?void 0:C.call(S,{block:"nearest"})}))});function d(S){var C;if(e.disabled||(C=s.virtual.value)!=null&&C.disabled(e.value))return S.preventDefault();s.selectOption(i),Wt()||requestAnimationFrame(()=>{var B;return(B=N(s.inputRef))==null?void 0:B.focus({preventScroll:!0})}),s.mode.value===0&&requestAnimationFrame(()=>s.closeCombobox())}function f(){var S;if(e.disabled||(S=s.virtual.value)!=null&&S.disabled(e.value))return s.goToOption(D.Nothing);let C=s.calculateIndex(e.value);s.goToOption(D.Specific,C)}let g=Tn();function O(S){g.update(S)}function T(S){var C;if(!g.wasMoved(S)||e.disabled||(C=s.virtual.value)!=null&&C.disabled(e.value)||a.value)return;let B=s.calculateIndex(e.value);s.goToOption(D.Specific,B,0)}function A(S){var C;g.wasMoved(S)&&(e.disabled||(C=s.virtual.value)!=null&&C.disabled(e.value)||a.value&&(s.optionsPropsRef.value.hold||s.goToOption(D.Nothing)))}return()=>{let{disabled:S}=e,C={active:a.value,selected:c.value,disabled:S},B={id:i,ref:l,role:"option",tabIndex:S===!0?void 0:-1,"aria-disabled":S===!0?!0:void 0,"aria-selected":c.value,disabled:void 0,onClick:d,onFocus:f,onPointerenter:O,onMouseenter:O,onPointermove:T,onMousemove:T,onPointerleave:A,onMouseleave:A},y=Ve(e,["order","value"]);return $e({ourProps:B,theirProps:y,slot:C,attrs:t,slots:n,name:"ComboboxOption"})}}});function te(e){return Array.isArray?Array.isArray(e):Ot(e)==="[object Array]"}const jn=1/0;function Kn(e){if(typeof e=="string")return e;let n=e+"";return n=="0"&&1/e==-jn?"-0":n}function Un(e){return e==null?"":Kn(e)}function Q(e){return typeof e=="string"}function St(e){return typeof e=="number"}function Hn(e){return e===!0||e===!1||Wn(e)&&Ot(e)=="[object Boolean]"}function It(e){return typeof e=="object"}function Wn(e){return It(e)&&e!==null}function U(e){return e!=null}function _e(e){return!e.trim().length}function Ot(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const qn="Incorrect 'index' type",Gn=e=>`Invalid value for key ${e}`,Yn=e=>`Pattern length exceeds max of ${e}.`,Jn=e=>`Missing ${e} property in key`,Qn=e=>`Property 'weight' in key '${e}' must be a positive integer`,Ze=Object.prototype.hasOwnProperty;class Xn{constructor(n){this._keys=[],this._keyMap={};let t=0;n.forEach(o=>{let s=wt(o);t+=s.weight,this._keys.push(s),this._keyMap[s.id]=s,t+=s.weight}),this._keys.forEach(o=>{o.weight/=t})}get(n){return this._keyMap[n]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function wt(e){let n=null,t=null,o=null,s=1,i=null;if(Q(e)||te(e))o=e,n=et(e),t=Fe(e);else{if(!Ze.call(e,"name"))throw new Error(Jn("name"));const l=e.name;if(o=l,Ze.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(Qn(l));n=et(l),t=Fe(l),i=e.getFn}return{path:n,id:t,weight:s,src:o,getFn:i}}function et(e){return te(e)?e:e.split(".")}function Fe(e){return te(e)?e.join("."):e}function Zn(e,n){let t=[],o=!1;const s=(i,l,a)=>{if(U(i))if(!l[a])t.push(i);else{let c=l[a];const u=i[c];if(!U(u))return;if(a===l.length-1&&(Q(u)||St(u)||Hn(u)))t.push(Un(u));else if(te(u)){o=!0;for(let r=0,d=u.length;re.score===n.score?e.idx{this._keysMap[t.id]=o})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Q(this.docs[0])?this.docs.forEach((n,t)=>{this._addString(n,t)}):this.docs.forEach((n,t)=>{this._addObject(n,t)}),this.norm.clear())}add(n){const t=this.size();Q(n)?this._addString(n,t):this._addObject(n,t)}removeAt(n){this.records.splice(n,1);for(let t=n,o=this.size();t{let l=s.getFn?s.getFn(n):this.getFn(n,s.path);if(U(l)){if(te(l)){let a=[];const c=[{nestedArrIndex:-1,value:l}];for(;c.length;){const{nestedArrIndex:u,value:r}=c.pop();if(U(r))if(Q(r)&&!_e(r)){let d={v:r,i:u,n:this.norm.get(r)};a.push(d)}else te(r)&&r.forEach((d,f)=>{c.push({nestedArrIndex:f,value:d})})}o.$[i]=a}else if(Q(l)&&!_e(l)){let a={v:l,n:this.norm.get(l)};o.$[i]=a}}}),this.records.push(o)}toJSON(){return{keys:this.keys,records:this.records}}}function Mt(e,n,{getFn:t=E.getFn,fieldNormWeight:o=E.fieldNormWeight}={}){const s=new qe({getFn:t,fieldNormWeight:o});return s.setKeys(e.map(wt)),s.setSources(n),s.create(),s}function as(e,{getFn:n=E.getFn,fieldNormWeight:t=E.fieldNormWeight}={}){const{keys:o,records:s}=e,i=new qe({getFn:n,fieldNormWeight:t});return i.setKeys(o),i.setIndexRecords(s),i}function we(e,{errors:n=0,currentLocation:t=0,expectedLocation:o=0,distance:s=E.distance,ignoreLocation:i=E.ignoreLocation}={}){const l=n/e.length;if(i)return l;const a=Math.abs(o-t);return s?l+a/s:a?1:l}function ls(e=[],n=E.minMatchCharLength){let t=[],o=-1,s=-1,i=0;for(let l=e.length;i=n&&t.push([o,s]),o=-1)}return e[i-1]&&i-o>=n&&t.push([o,i-1]),t}const re=32;function rs(e,n,t,{location:o=E.location,distance:s=E.distance,threshold:i=E.threshold,findAllMatches:l=E.findAllMatches,minMatchCharLength:a=E.minMatchCharLength,includeMatches:c=E.includeMatches,ignoreLocation:u=E.ignoreLocation}={}){if(n.length>re)throw new Error(Yn(re));const r=n.length,d=e.length,f=Math.max(0,Math.min(o,d));let g=i,O=f;const T=a>1||c,A=T?Array(d):[];let S;for(;(S=e.indexOf(n,O))>-1;){let x=we(n,{currentLocation:S,expectedLocation:f,distance:s,ignoreLocation:u});if(g=Math.min(x,g),O=S+r,T){let h=0;for(;h=v;m-=1){let I=m-1,w=t[e.charAt(I)];if(T&&(A[I]=+!!w),M[m]=(M[m+1]<<1|1)&w,x&&(M[m]|=(C[m+1]|C[m])<<1|1|C[m+1]),M[m]&P&&(B=we(n,{errors:x,currentLocation:I,expectedLocation:f,distance:s,ignoreLocation:u}),B<=g)){if(g=B,O=I,O<=f)break;v=Math.max(1,2*f-O)}}if(we(n,{errors:x+1,currentLocation:f,expectedLocation:f,distance:s,ignoreLocation:u})>g)break;C=M}const $={isMatch:O>=0,score:Math.max(.001,B)};if(T){const x=ls(A,a);x.length?c&&($.indices=x):$.isMatch=!1}return $}function us(e){let n={};for(let t=0,o=e.length;t{this.chunks.push({pattern:f,alphabet:us(f),startIndex:g})},d=this.pattern.length;if(d>re){let f=0;const g=d%re,O=d-g;for(;f{const{isMatch:S,score:C,indices:B}=rs(n,O,T,{location:s+A,distance:i,threshold:l,findAllMatches:a,minMatchCharLength:c,includeMatches:o,ignoreLocation:u});S&&(f=!0),d+=C,S&&B&&(r=[...r,...B])});let g={isMatch:f,score:f?d/this.chunks.length:1};return f&&o&&(g.indices=r),g}}class ie{constructor(n){this.pattern=n}static isMultiMatch(n){return tt(n,this.multiRegex)}static isSingleMatch(n){return tt(n,this.singleRegex)}search(){}}function tt(e,n){const t=e.match(n);return t?t[1]:null}class cs extends ie{constructor(n){super(n)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(n){const t=n===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class ds extends ie{constructor(n){super(n)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(n){const o=n.indexOf(this.pattern)===-1;return{isMatch:o,score:o?0:1,indices:[0,n.length-1]}}}class hs extends ie{constructor(n){super(n)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(n){const t=n.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class fs extends ie{constructor(n){super(n)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(n){const t=!n.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,n.length-1]}}}class ps extends ie{constructor(n){super(n)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(n){const t=n.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[n.length-this.pattern.length,n.length-1]}}}class vs extends ie{constructor(n){super(n)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(n){const t=!n.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,n.length-1]}}}class Ct extends ie{constructor(n,{location:t=E.location,threshold:o=E.threshold,distance:s=E.distance,includeMatches:i=E.includeMatches,findAllMatches:l=E.findAllMatches,minMatchCharLength:a=E.minMatchCharLength,isCaseSensitive:c=E.isCaseSensitive,ignoreLocation:u=E.ignoreLocation}={}){super(n),this._bitapSearch=new kt(n,{location:t,threshold:o,distance:s,includeMatches:i,findAllMatches:l,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(n){return this._bitapSearch.searchIn(n)}}class Et extends ie{constructor(n){super(n)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(n){let t=0,o;const s=[],i=this.pattern.length;for(;(o=n.indexOf(this.pattern,t))>-1;)t=o+i,s.push([o,t-1]);const l=!!s.length;return{isMatch:l,score:l?0:1,indices:s}}}const Be=[cs,Et,hs,fs,vs,ps,ds,Ct],nt=Be.length,ms=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,gs="|";function bs(e,n={}){return e.split(gs).map(t=>{let o=t.trim().split(ms).filter(i=>i&&!!i.trim()),s=[];for(let i=0,l=o.length;i!!(e[Re.AND]||e[Re.OR]),Is=e=>!!e[Ne.PATH],Os=e=>!te(e)&&It(e)&&!De(e),st=e=>({[Re.AND]:Object.keys(e).map(n=>({[n]:e[n]}))});function Tt(e,n,{auto:t=!0}={}){const o=s=>{let i=Object.keys(s);const l=Is(s);if(!l&&i.length>1&&!De(s))return o(st(s));if(Os(s)){const c=l?s[Ne.PATH]:i[0],u=l?s[Ne.PATTERN]:s[c];if(!Q(u))throw new Error(Gn(c));const r={keyId:Fe(c),pattern:u};return t&&(r.searcher=ze(u,n)),r}let a={children:[],operator:i[0]};return i.forEach(c=>{const u=s[c];te(u)&&u.forEach(r=>{a.children.push(o(r))})}),a};return De(e)||(e=st(e)),o(e)}function ws(e,{ignoreFieldNorm:n=E.ignoreFieldNorm}){e.forEach(t=>{let o=1;t.matches.forEach(({key:s,norm:i,score:l})=>{const a=s?s.weight:null;o*=Math.pow(l===0&&a?Number.EPSILON:l,(a||1)*(n?1:i))}),t.score=o})}function Ms(e,n){const t=e.matches;n.matches=[],U(t)&&t.forEach(o=>{if(!U(o.indices)||!o.indices.length)return;const{indices:s,value:i}=o;let l={indices:s,value:i};o.key&&(l.key=o.key.src),o.idx>-1&&(l.refIndex=o.idx),n.matches.push(l)})}function ks(e,n){n.score=e.score}function Cs(e,n,{includeMatches:t=E.includeMatches,includeScore:o=E.includeScore}={}){const s=[];return t&&s.push(Ms),o&&s.push(ks),e.map(i=>{const{idx:l}=i,a={item:n[l],refIndex:l};return s.length&&s.forEach(c=>{c(i,a)}),a})}class pe{constructor(n,t={},o){this.options={...E,...t},this.options.useExtendedSearch,this._keyStore=new Xn(this.options.keys),this.setCollection(n,o)}setCollection(n,t){if(this._docs=n,t&&!(t instanceof qe))throw new Error(qn);this._myIndex=t||Mt(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(n){U(n)&&(this._docs.push(n),this._myIndex.add(n))}remove(n=()=>!1){const t=[];for(let o=0,s=this._docs.length;o-1&&(c=c.slice(0,t)),Cs(c,this._docs,{includeMatches:o,includeScore:s})}_searchStringList(n){const t=ze(n,this.options),{records:o}=this._myIndex,s=[];return o.forEach(({v:i,i:l,n:a})=>{if(!U(i))return;const{isMatch:c,score:u,indices:r}=t.searchIn(i);c&&s.push({item:i,idx:l,matches:[{score:u,value:i,norm:a,indices:r}]})}),s}_searchLogical(n){const t=Tt(n,this.options),o=(a,c,u)=>{if(!a.children){const{keyId:d,searcher:f}=a,g=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(c,d),searcher:f});return g&&g.length?[{idx:u,item:c,matches:g}]:[]}const r=[];for(let d=0,f=a.children.length;d{if(U(a)){let u=o(t,a,c);u.length&&(i[c]||(i[c]={idx:c,item:a,matches:[]},l.push(i[c])),u.forEach(({matches:r})=>{i[c].matches.push(...r)}))}}),l}_searchObjectList(n){const t=ze(n,this.options),{keys:o,records:s}=this._myIndex,i=[];return s.forEach(({$:l,i:a})=>{if(!U(l))return;let c=[];o.forEach((u,r)=>{c.push(...this._findMatches({key:u,value:l[r],searcher:t}))}),c.length&&i.push({idx:a,item:l,matches:c})}),i}_findMatches({key:n,value:t,searcher:o}){if(!U(t))return[];let s=[];if(te(t))t.forEach(({v:i,i:l,n:a})=>{if(!U(i))return;const{isMatch:c,score:u,indices:r}=o.searchIn(i);c&&s.push({score:u,key:n,value:i,idx:l,norm:a,indices:r})});else{const{v:i,n:l}=t,{isMatch:a,score:c,indices:u}=o.searchIn(i);a&&s.push({score:c,key:n,value:i,norm:l,indices:u})}return s}}pe.version="6.6.2";pe.createIndex=Mt;pe.parseIndex=as;pe.config=E;pe.parseQuery=Tt;Ss(xs);function Es(e,n,t){const o=()=>{var l,a;return new pe((l=J(n))!=null?l:[],(a=J(t))==null?void 0:a.fuseOptions)},s=z(o());X(()=>{var l;return(l=J(t))==null?void 0:l.fuseOptions},()=>{s.value=o()},{deep:!0}),X(()=>J(n),l=>{s.value.setCollection(l)},{deep:!0});const i=k(()=>{const l=J(t);if(l!=null&&l.matchAllWhenSearchEmpty&&!J(e))return J(n).map((c,u)=>({item:c,refIndex:u}));const a=l==null?void 0:l.resultLimit;return s.value.search(J(e),a?{limit:a}:void 0)});return{fuse:s,results:i}}const Ts=ne({components:{HComboboxOption:Vn,UIcon:Ae,UAvatar:rt,UKbd:ut},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 n=k(()=>{const o=e.group[e.groupAttribute];return typeof o=="function"?o(e.query):o});function t(o,{indices:s,value:i}){if(o===i)return"";let l="",a=0;s.forEach(u=>{const r=u[1]+1,d=r-u[0]>=e.query.length;l+=[i.substring(a,u[0]),d&&"",i.substring(u[0],r),d&&""].filter(Boolean).join(""),a=r}),l+=i.substring(a);const c=l.indexOf("");return c>60&&(l=`...${l.substring(c-60)}`),l}return Ue(()=>He("$kljB4AZRwq")),{label:n,highlight:t}}}),Rs=["aria-label"],$s=["innerHTML"];function As(e,n,t,o,s,i){const l=Ae,a=rt,c=ut,u=ee("HComboboxOption");return L(),H("div",{class:F(e.ui.group.wrapper)},[e.label?(L(),H("h2",{key:0,class:F(e.ui.group.label)},oe(e.label),3)):q("",!0),G("div",{class:F(e.ui.group.container),"aria-label":e.group[e.groupAttribute]},[(L(!0),H(ke,null,Ee(e.group.commands,(r,d)=>(L(),j(u,{key:`${e.group.key}-${d}`,value:r,disabled:r.disabled,as:"template"},{default:Y(({active:f,selected:g})=>[G("div",{class:F([e.ui.group.command.base,f?e.ui.group.command.active:e.ui.group.command.inactive,r.disabled?"cursor-not-allowed":"cursor-pointer"])},[G("div",{class:F(e.ui.group.command.container)},[ue(e.$slots,`${e.group.key}-icon`,{group:e.group,command:r,active:f,selected:g},()=>[r.icon?(L(),j(l,{key:0,name:r.icon,class:F([e.ui.group.command.icon.base,f?e.ui.group.command.icon.active:e.ui.group.command.icon.inactive,r.iconClass]),"aria-hidden":"true"},null,8,["name","class"])):r.avatar?(L(),j(a,ce({key:1},{size:e.ui.group.command.avatar.size,...r.avatar},{class:e.ui.group.command.avatar.base,"aria-hidden":"true"}),null,16,["class"])):r.chip?(L(),H("span",{key:2,class:F(e.ui.group.command.chip.base),style:qt({background:`#${r.chip}`})},null,6)):q("",!0)]),G("div",{class:F([e.ui.group.command.label,r.disabled&&e.ui.group.command.disabled])},[ue(e.$slots,`${e.group.key}-command`,{group:e.group,command:r,active:f,selected:g},()=>{var O,T;return[r.prefix?(L(),H("span",{key:0,class:F(["flex-shrink-0",r.prefixClass||e.ui.group.command.prefix])},oe(r.prefix),3)):q("",!0),G("span",{class:F(["truncate",{"flex-none":r.suffix||((O=r.matches)==null?void 0:O.length)}])},oe(r[e.commandAttribute]),3),(T=r.matches)!=null&&T.length?(L(),H("span",{key:1,class:F(["truncate",r.suffixClass||e.ui.group.command.suffix]),innerHTML:e.highlight(r[e.commandAttribute],r.matches[0])},null,10,$s)):r.suffix?(L(),H("span",{key:2,class:F(["truncate",r.suffixClass||e.ui.group.command.suffix])},oe(r.suffix),3)):q("",!0)]})],2)],2),g?(L(),j(l,{key:0,name:e.selectedIcon,class:F(e.ui.group.command.selectedIcon.base),"aria-hidden":"true"},null,8,["name","class"])):f&&(e.group.active||e.$slots[`${e.group.key}-active`])?ue(e.$slots,`${e.group.key}-active`,{key:1,group:e.group,command:r,active:f,selected:g},()=>[e.group.active?(L(),H("span",{key:0,class:F(e.ui.group.active)},oe(e.group.active),3)):q("",!0)]):ue(e.$slots,`${e.group.key}-inactive`,{key:2,group:e.group,command:r,active:f,selected:g},()=>{var O;return[(O=r.shortcuts)!=null&&O.length?(L(),H("span",{key:0,class:F(e.ui.group.command.shortcuts)},[(L(!0),H(ke,null,Ee(r.shortcuts,T=>(L(),j(c,{key:T},{default:Y(()=>[Gt(oe(T),1)]),_:2},1024))),128))],2)):!r.disabled&&e.group.inactive?(L(),H("span",{key:1,class:F(e.ui.group.inactive)},oe(e.group.inactive),3)):q("",!0)]})],2)]),_:2},1032,["value","disabled"]))),128))],10,Rs)],2)}const Ps=Ke(Ts,[["render",As]]),he=ct(Te.ui.strategy,Te.ui.commandPalette,vn),_s=ne({components:{HCombobox:zn,HComboboxInput:Nn,HComboboxOptions:Dn,UIcon:Ae,UButton:dt,CommandPaletteGroup:Ps},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:()=>he.default.icon},loadingIcon:{type:String,default:()=>he.default.loadingIcon},selectedIcon:{type:String,default:()=>he.default.selectedIcon},closeButton:{type:Object,default:()=>he.default.closeButton},emptyState:{type:Object,default:()=>he.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:n,expose:t}){const{ui:o,attrs:s}=We("commandPalette",Se(e,"ui"),he,Se(e,"class")),i=z(""),l=z(),a=z(null),c=z(!1);ye(()=>{e.autoselect&&y()}),ye(()=>{setTimeout(()=>{var R;const x=(R=l.value)==null?void 0:R.$.provides;if(!x)return;const h=Object.getOwnPropertySymbols(x);a.value=h.length&&x[h[0]]},200)});const u=k(()=>ht({},e.fuse,{fuseOptions:{keys:[e.commandAttribute]},resultLimit:12,matchAllWhenSearchEmpty:!0})),r=k(()=>{var h;const x=[];for(const R of e.groups)R.search||x.push(...((h=R.commands)==null?void 0:h.map(v=>({...v,group:R.key})))||[]);return x}),d=z({}),{results:f}=Es(i,r,u);function g(x,h){if(x)return x.filter&&typeof x.filter=="function"&&(h=x.filter(i.value,h)),{...x,commands:h.slice(0,u.value.resultLimit)}}const O=k(()=>{if(!f.value)return[];const x=f.value.reduce((v,b)=>{var m;const{item:M,...p}=b;return M.group&&(v[m=M.group]||(v[m]=[]),v[M.group].push({...M,...p})),v},{}),h=Object.entries(x).map(([v,b])=>{const M=e.groups.find(p=>p.key===v);return M?g(M,b):null}).filter(Boolean),R=e.groups.filter(v=>{var b;return!!v.search&&((b=d.value[v.key])==null?void 0:b.length)}).map(v=>{const b=d.value[v.key]||[];return g(v,[...b])});return[...h,...R]}),T=ft(async()=>{const x=e.groups.filter(h=>!!h.search);x.length&&(c.value=!0,await Promise.all(x.map(async h=>{d.value[h.key]=await h.search(i.value)})),c.value=!1,B())},e.debounce);X(i,()=>{T(),B()});const A=k(()=>(e.loading||c.value)&&e.loadingIcon?e.loadingIcon:e.icon),S=k(()=>Yt(o.value.input.icon.base,o.value.input.icon.size,(e.loading||c.value)&&e.loadingIcon&&o.value.input.icon.loading)),C=k(()=>({...o.value.default.emptyState,...e.emptyState}));function B(){setTimeout(()=>{var x;(x=l.value)==null||x.$el.dispatchEvent(new KeyboardEvent("keydown",{key:"PageUp"}))},0)}function y(){setTimeout(()=>{var x;(x=l.value)==null||x.$el.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowDown"}))},0)}function P(x){n("update:modelValue",x,{query:i.value}),e.autoclear&&setTimeout(()=>{i.value=""},0)}function $(){i.value?i.value="":n("close")}return t({query:i,updateQuery:x=>{i.value=x},comboboxApi:a,results:f}),Ue(()=>He("$yAZQilCJIu")),{ui:o,attrs:s,groups:O,comboboxInput:l,query:i,iconName:A,iconClass:S,emptyState:C,onSelect:P,onClear:$}}});function Fs(e,n,t,o,s,i){const l=Ae,a=ee("HComboboxInput"),c=dt,u=ee("CommandPaletteGroup"),r=ee("HComboboxOptions"),d=ee("HCombobox");return L(),j(d,ce({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:Y(()=>[Jt(G("div",{class:F(e.ui.input.wrapper)},[e.iconName?(L(),j(l,{key:0,name:e.iconName,class:F(e.iconClass),"aria-hidden":"true"},null,8,["name","class"])):q("",!0),ge(a,{ref:"comboboxInput",value:e.query,class:F([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:n[0]||(n[0]=f=>e.query=f.target.value)},null,8,["value","class","placeholder","aria-label"]),e.closeButton?(L(),j(c,ce({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{class:e.ui.input.closeButton.base,onClick:e.onClear}),null,16,["class","onClick"])):q("",!0)],2),[[Qt,e.searchable]]),e.groups.length?(L(),j(r,{key:0,static:"",hold:"",as:"div","aria-label":"Commands",class:F(e.ui.container)},{default:Y(()=>[(L(!0),H(ke,null,Ee(e.groups,f=>(L(),j(u,{key:f.key,query:e.query,group:f,"group-attribute":e.groupAttribute,"command-attribute":e.commandAttribute,"selected-icon":e.selectedIcon,ui:e.ui},Xt({_:2},[Ee(e.$slots,(g,O)=>({name:O,fn:Y(T=>[ue(e.$slots,O,Zt(en(T)))])}))]),1032,["query","group","group-attribute","command-attribute","selected-icon","ui"]))),128))]),_:3},8,["class"])):e.emptyState?ue(e.$slots,"empty-state",{key:1},()=>[G("div",{class:F(e.ui.emptyState.wrapper)},[e.emptyState.icon?(L(),j(l,{key:0,name:e.emptyState.icon,class:F(e.ui.emptyState.icon),"aria-hidden":"true"},null,8,["name","class"])):q("",!0),G("p",{class:F(e.query?e.ui.emptyState.queryLabel:e.ui.emptyState.label)},oe(e.query?e.emptyState.queryLabel:e.emptyState.label),3)],2)]):q("",!0)]),_:3},16,["by","model-value","multiple","nullable","class","onUpdate:modelValue"])}const Bs=Ke(_s,[["render",Fs]]),Ls=ct(Te.ui.strategy,Te.ui.modal,mn),zs=ne({components:{HDialog:tn,HDialogPanel:nn,TransitionRoot:sn,TransitionChild:on},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","close-prevented"],setup(e,{emit:n}){const{ui:t,attrs:o}=We("modal",Se(e,"ui"),Ls,Se(e,"class")),s=k({get(){return e.modelValue},set(a){n("update:modelValue",a)}}),i=k(()=>e.transition?{...t.value.transition}:{});function l(a){if(e.preventClose){n("close-prevented");return}s.value=a,n("close")}return Ue(()=>He("$Rq9PPictAZ")),{ui:t,attrs:o,isOpen:s,transitionClass:i,close:l}}});function Ns(e,n,t,o,s,i){const l=ee("TransitionChild"),a=ee("HDialogPanel"),c=ee("HDialog"),u=ee("TransitionRoot");return L(),j(u,{appear:e.appear,show:e.isOpen,as:"template"},{default:Y(()=>[ge(c,ce({class:e.ui.wrapper},e.attrs,{onClose:e.close}),{default:Y(()=>[e.overlay?(L(),j(l,ce({key:0,as:"template",appear:e.appear},e.ui.overlay.transition),{default:Y(()=>[G("div",{class:F([e.ui.overlay.base,e.ui.overlay.background])},null,2)]),_:1},16,["appear"])):q("",!0),G("div",{class:F(e.ui.inner)},[G("div",{class:F([e.ui.container,!e.fullscreen&&e.ui.padding])},[ge(l,ce({as:"template",appear:e.appear},e.transitionClass),{default:Y(()=>[ge(a,{class:F([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:Y(()=>[ue(e.$slots,"default")]),_:3},8,["class"])]),_:3},16,["appear"])],2)],2)]),_:3},16,["class","onClose"])]),_:3},8,["appear","show"])}const Ds=Ke(zs,[["render",Ns]]),Rt=e=>{if(!e.children)return e._path;for(const n of(e==null?void 0:e.children)||[]){const t=Rt(n);if(t)return t}},$t=(e,n)=>{for(const t of n){if(t._path===e&&!t._id)return t.children;if(t.children){const o=$t(e,t.children);if(o)return o}}},At=(e,n)=>{for(const t of n){if(t._path===e)return t;if(t.children){const o=At(e,t.children);if(o)return o}}},Vs=(e,n,t)=>{let o;const s=(i,l)=>{for(const a of l)if(!(i!=="/"&&a._path==="/")){if(i!=null&&i.startsWith(a._path)&&a[n]&&(o=a[n]),a._path===i)return;a.children&&s(i,a.children)}};return s(e,t),o},js=()=>({navBottomLink:Rt,navDirFromPath:$t,navPageFromPath:At,navKeyFromPath:Vs});function Ks(...e){return k(()=>e.every(n=>J(n)))}function Us(e){return k(()=>!J(e))}const Hs=/^[^-]+.*-.*[^-]+$/,Ws=/^[^_]+.*_.*[^_]+$/,qs=(e,n={})=>{const{macOS:t,usingInput:o}=pt();let s=[];const i=z([]),l=()=>{i.value.splice(0,i.value.length)},a=ft(l,n.chainDelay??800),c=u=>{if(!u.key)return;const r=/^[a-z]{1}$/i.test(u.key);let d;if(i.value.push(u.key),i.value.length>=2){d=i.value.slice(-2).join("-");for(const f of s.filter(g=>g.chained))if(f.key===d){f.condition.value&&(u.preventDefault(),f.handler()),l();return}}for(const f of s.filter(g=>!g.chained))if(u.key.toLowerCase()===f.key&&u.metaKey===f.metaKey&&u.ctrlKey===f.ctrlKey&&!(r&&u.shiftKey!==f.shiftKey)){f.condition.value&&(u.preventDefault(),f.handler()),l();return}a()};s=Object.entries(e).map(([u,r])=>{var O,T;if(!r)return null;let d;u.includes("-")&&u!=="-"&&!((O=u.match(Hs))!=null&&O.length)&&console.trace(`[Shortcut] Invalid key: "${u}"`),u.includes("_")&&u!=="_"&&!((T=u.match(Ws))!=null&&T.length)&&console.trace(`[Shortcut] Invalid key: "${u}"`);const f=u.includes("-")&&u!=="-";if(f)d={key:u.toLowerCase(),metaKey:!1,ctrlKey:!1,shiftKey:!1,altKey:!1};else{const A=u.toLowerCase().split("_").map(S=>S);d={key:A.filter(S=>!["meta","ctrl","shift","alt"].includes(S)).join("_"),metaKey:A.includes("meta"),ctrlKey:A.includes("ctrl"),shiftKey:A.includes("shift"),altKey:A.includes("alt")}}if(d.chained=f,!t.value&&d.metaKey&&!d.ctrlKey&&(d.metaKey=!1,d.ctrlKey=!0),typeof r=="function"?d.handler=r:typeof r=="object"&&(d={...d,handler:r.handler}),!d.handler)return console.trace("[Shortcut] Invalid value"),null;const g=[];return r.usingInput?typeof r.usingInput=="string"&&g.push(k(()=>o.value===r.usingInput)):g.push(Us(o)),d.condition=Ks(...g,...r.whenever||[]),d}).filter(Boolean),an("keydown",c)},Gs=ne({inheritAttrs:!1,__name:"ContentSearch",props:{modelValue:{type:Boolean,default:void 0},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:()=>({})}},emits:["update:modelValue"],setup(e,{expose:n,emit:t}){const o=ln(),s=k(()=>({padding:"p-0 sm:p-4",rounded:"rounded-none sm:rounded-lg",width:"sm:max-w-3xl",height:"h-dvh 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"},fileIcon:{name:"i-heroicons-document-text"},default:{closeButton:{icon:o.ui.icons.close,color:"gray",variant:"ghost",size:"sm"}}})),i=e,l=t,a=rn(),{navKeyFromPath:c}=js(),{usingInput:u}=pt(),{isContentSearchModalOpen:r}=un(),d=cn(pn),f=dn(),{ui:g,attrs:O}=We("content.search",Se(i,"ui"),s,void 0,!0),T=d.smaller("sm"),A=z();function S(p){var m;return p.icon?p.icon:(m=p.navigation)!=null&&m.icon?p.navigation.icon:(i.navigation&&(p.icon=c(p._path,"icon",i.navigation)),p.icon||g.value.fileIcon.name)}const C=k({get(){return i.modelValue!==void 0?i.modelValue:r.value},set(p){i.modelValue!==void 0?l("update:modelValue",p):r.value=p}}),B=k(()=>ht({},i.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 y(p,m){return p?m:m==null?void 0:m.filter(I=>!I.child)}const P=k(()=>{var m,I;let p=[];return(m=i.navigation)!=null&&m.length&&(i.navigation.some(w=>{var _;return!!((_=w.children)!=null&&_.length)})?p=(i.navigation||[]).map(w=>({key:w._path,label:w.title,commands:(i.files||[]).filter(_=>{var V;return(V=_._path)==null?void 0:V.startsWith(w._path)}).flatMap(_=>x(_,w)),filter:y})):p=[{key:"docs",commands:(i.files||[]).flatMap(w=>x(w)),filter:y}]),[((I=i.links)==null?void 0:I.length)&&{key:"links",label:"Links",commands:i.links.flatMap(w=>[w.to&&{id:a.resolve(w.to).fullPath,...w,icon:w.icon||g.value.fileIcon.name},...(w.children||[]).map(_=>({id:a.resolve(_.to).fullPath,prefix:w.label,suffix:_.description,..._,icon:_.icon||w.icon||g.value.fileIcon.name}))]).filter(Boolean)},...p,...i.groups||[],!(f!=null&&f.forced)&&!i.hideColorMode&&{key:"theme",label:"Theme",commands:[{id:"theme-light",label:"Light",icon:o.ui.icons.light,disabled:f.preference==="light",click:()=>{f.preference="light"}},{id:"theme-dark",label:"Dark",icon:o.ui.icons.dark,disabled:f.preference==="dark",click:()=>{f.preference="dark"}}]}].filter(Boolean)}),$=k(()=>C.value||!u.value);function x(p,m){var w,_,V,ae,ve;const I=(w=hn((m==null?void 0:m.children)||[],p))==null?void 0:w.map(({title:W})=>W).join(" > ");return[{id:p._id,label:((_=p.navigation)==null?void 0:_.title)||p.title,title:((V=p.navigation)==null?void 0:V.title)||p.title,prefix:I,to:p._path,suffix:p.description,children:R(v(((ae=p==null?void 0:p.body)==null?void 0:ae.children)||[])),icon:S(p)},...Object.entries(b(((ve=p==null?void 0:p.body)==null?void 0:ve.children)||[])).map(([W,{title:le,children:Oe}])=>{var me;if(le)return{id:`${p._path}${W}`,label:le,prefix:(I?`${I} > `:"")+`${((me=p.navigation)==null?void 0:me.title)||p.title}`,to:`${p._path}${W}`,children:R(Oe),icon:S(p),child:!0}})].filter(Boolean)}function h(p){return(p==null?void 0:p.map(m=>{var I,w;if(["code","code-inline","em","a","strong"].includes(m.tag))return{type:"text",value:((w=(I=m.children)==null?void 0:I.find(_=>_.type==="text"))==null?void 0:w.value)||""};if(m.type==="text")return m}).filter(Boolean))||[]}function R(p){return p.map(m=>{if(["pre","style","video"].includes(m.tag))return;let I=[...m.children||[]];return["p","h1","h2","h3","h4","h5","h6","li","td","th"].includes(m.tag)&&I.length?(I=h(I).reduce((w,_)=>(w.length&&w[w.length-1].type==="text"?w[w.length-1].value+=_.value||"":w.push({..._}),w),[]),{...m,children:I}):{...m,children:R(I)}}).filter(Boolean)}function v(p){const m=[];for(const I of p){if(["h1","h2","h3"].includes(I.tag))break;m.push(I)}return m}function b(p){var _,V,ae,ve;const m={};let I="",w="";for(const W of p)["h1","h2","h3"].includes(W.tag)&&(w=((ae=(V=(_=W.children)==null?void 0:_.map(le=>{var Oe,me;if(le.type==="text")return le.value;if(["code","code-inline","em","a","strong"].includes(le.tag))return(me=(Oe=le.children)==null?void 0:Oe.find(Pt=>Pt.type==="text"))==null?void 0:me.value}))==null?void 0:V.filter(Boolean))==null?void 0:ae.join(" "))||"",w&&((ve=W.props)!=null&&ve.id)&&(I=`#${encodeURIComponent(W.props.id)}`)),m[I]?m[I].children.push(W):m[I]={children:[W],title:w};return m}function M(p){C.value=!1;const m=p[0];m&&(m.click?m.click():m.to?m.target==="_blank"||m.to.startsWith("http")?window.open(m.to,m.target||"_blank"):a.push(m.to):m.href&&window.open(m.href,"_blank"))}return qs({meta_k:{usingInput:!0,whenever:[$],handler:()=>{C.value=!C.value}},escape:{usingInput:!0,whenever:[C],handler:()=>{C.value=!1}}}),n({commandPaletteRef:A}),(p,m)=>{const I=Bs,w=Ds;return L(),j(w,{modelValue:K(C),"onUpdate:modelValue":m[1]||(m[1]=_=>fn(C)?C.value=_:null),overlay:!K(T),transition:!K(T),ui:K(g)},{default:Y(()=>[ge(I,ce({ref_key:"commandPaletteRef",ref:A,"model-value":[],groups:K(P),ui:K(g).commandPalette,"close-button":K(g).default.closeButton,fuse:K(B),multiple:""},K(O),{"onUpdate:modelValue":M,onClose:m[0]||(m[0]=_=>C.value=!1)}),null,16,["groups","ui","close-button","fuse"])]),_:1},8,["modelValue","overlay","transition","ui"])}}}),Js=(e,n)=>(console.warn("[@nuxt/ui-pro] `DocsSearch` is deprecated, use `ContentSearch` instead."),xe(Gs,n.attrs,n.slots));export{Js as default}; diff --git a/_nuxt/DocumentDrivenEmpty.Xb0GqhCX.js b/_nuxt/DocumentDrivenEmpty.Wqi4bsju.js similarity index 77% rename from _nuxt/DocumentDrivenEmpty.Xb0GqhCX.js rename to _nuxt/DocumentDrivenEmpty.Wqi4bsju.js index 51f8f47c..d9ea07b0 100644 --- a/_nuxt/DocumentDrivenEmpty.Xb0GqhCX.js +++ b/_nuxt/DocumentDrivenEmpty.Wqi4bsju.js @@ -1 +1 @@ -import{d as n,U as e}from"./entry.rQ92EvLv.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,U as e}from"./entry.bb8_tySE.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.PmgLix1l.js b/_nuxt/DocumentDrivenNotFound.rc1FYH-6.js similarity index 59% rename from _nuxt/DocumentDrivenNotFound.PmgLix1l.js rename to _nuxt/DocumentDrivenNotFound.rc1FYH-6.js index 9433d221..157fc229 100644 --- a/_nuxt/DocumentDrivenNotFound.PmgLix1l.js +++ b/_nuxt/DocumentDrivenNotFound.rc1FYH-6.js @@ -1 +1 @@ -import{d as n,U as e}from"./entry.rQ92EvLv.js";const t=n({name:"DocumentDrivenNotFound",render(){return e("div","Document not found")}});export{t as default}; +import{d as n,U as e}from"./entry.bb8_tySE.js";const t=n({name:"DocumentDrivenNotFound",render(){return e("div","Document not found")}});export{t as default}; diff --git a/_nuxt/Dynamic.JKVj_Kow.js b/_nuxt/Dynamic.EzR57iSz.js similarity index 53% rename from _nuxt/Dynamic.JKVj_Kow.js rename to _nuxt/Dynamic.EzR57iSz.js index 7499bc9f..cfb52415 100644 --- a/_nuxt/Dynamic.JKVj_Kow.js +++ b/_nuxt/Dynamic.EzR57iSz.js @@ -1 +1 @@ -import{d as n}from"./entry.rQ92EvLv.js";const m=n({name:"OgImageDynamic",async setup(a,{attrs:e}){return()=>null}});export{m as default}; +import{d as n}from"./entry.bb8_tySE.js";const m=n({name:"OgImageDynamic",async setup(a,{attrs:e}){return()=>null}});export{m as default}; diff --git a/_nuxt/Field.Vb3hPxbZ.js b/_nuxt/Field.VBLlSVuT.js similarity index 94% rename from _nuxt/Field.Vb3hPxbZ.js rename to _nuxt/Field.VBLlSVuT.js index a396eaf4..21b900f5 100644 --- a/_nuxt/Field.Vb3hPxbZ.js +++ b/_nuxt/Field.VBLlSVuT.js @@ -1 +1 @@ -import{d as f,ap as m,aq as y,b as s,c as i,e as n,n as r,E as e,t as d,f as o,aj as g,j as x,ak as v}from"./entry.rQ92EvLv.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,k)=>(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,ap as m,aq as y,b as s,c as i,e as n,n as r,E as e,t as d,f as o,aj as g,j as x,ak as v}from"./entry.bb8_tySE.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,k)=>(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.mmLi28Ev.js b/_nuxt/FieldGroup.ANfmYTr_.js similarity index 87% rename from _nuxt/FieldGroup.mmLi28Ev.js rename to _nuxt/FieldGroup.ANfmYTr_.js index 35c798c9..3ccfc6ed 100644 --- a/_nuxt/FieldGroup.mmLi28Ev.js +++ b/_nuxt/FieldGroup.ANfmYTr_.js @@ -1 +1 @@ -import{d,ap as p,aq as c,b as n,c as l,aj as f,ak as u,E as e}from"./entry.rQ92EvLv.js";const y=d({inheritAttrs:!1,__name:"FieldGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(t){const r={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"},s=t,{ui:a,attrs:i}=p("content.fieldGroup",void 0,r,c(s,"class"),!0);return(o,m)=>(n(),l("div",u({class:e(a).wrapper},e(i)),[f(o.$slots,"default")],16))}});export{y as default}; +import{d,ap as p,aq as c,b as n,c as l,aj as f,ak as u,E as e}from"./entry.bb8_tySE.js";const y=d({inheritAttrs:!1,__name:"FieldGroup",props:{class:{type:[String,Object,Array],default:void 0}},setup(t){const r={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"},s=t,{ui:a,attrs:i}=p("content.fieldGroup",void 0,r,c(s,"class"),!0);return(o,m)=>(n(),l("div",u({class:e(a).wrapper},e(i)),[f(o.$slots,"default")],16))}});export{y as default}; diff --git a/_nuxt/GithubCommits.aB2eH524.js b/_nuxt/GithubCommits.vbYgvn90.js similarity index 75% rename from _nuxt/GithubCommits.aB2eH524.js rename to _nuxt/GithubCommits.vbYgvn90.js index b73ea21c..260ca7be 100644 --- a/_nuxt/GithubCommits.aB2eH524.js +++ b/_nuxt/GithubCommits.vbYgvn90.js @@ -1 +1 @@ -import{d as u,aV as n,a_ as i,b8 as m}from"./entry.rQ92EvLv.js";import{u as o}from"./useGithub.Rfi70Rdj.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,aV as n,a_ as i,b8 as m}from"./entry.bb8_tySE.js";import{u as o}from"./useGithub.24J5VJ4k.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.nqygQep6.js b/_nuxt/GithubContributors.rLLQABGT.js similarity index 76% rename from _nuxt/GithubContributors.nqygQep6.js rename to _nuxt/GithubContributors.rLLQABGT.js index e3bc4c85..d20d8b5e 100644 --- a/_nuxt/GithubContributors.nqygQep6.js +++ b/_nuxt/GithubContributors.rLLQABGT.js @@ -1 +1 @@ -import{d as n,aV as s,a_ as o,b8 as i}from"./entry.rQ92EvLv.js";import{u as c}from"./useGithub.Rfi70Rdj.js";const f=n({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(e){const{fetchContributors:u}=c(),{data:a,refresh:t,pending:r}=await s(`github-contributors-${o(e.query)}`,()=>u(e.query));return{contributors:a,refresh:t,pending:r}},render({contributors:e,refresh:u,pending:a}){var r;const t=i();return(r=t==null?void 0:t.default)==null?void 0:r.call(t,{contributors:e,refresh:u,pending:a})}});export{f as default}; +import{d as n,aV as s,a_ as o,b8 as i}from"./entry.bb8_tySE.js";import{u as c}from"./useGithub.24J5VJ4k.js";const f=n({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(e){const{fetchContributors:u}=c(),{data:a,refresh:t,pending:r}=await s(`github-contributors-${o(e.query)}`,()=>u(e.query));return{contributors:a,refresh:t,pending:r}},render({contributors:e,refresh:u,pending:a}){var r;const t=i();return(r=t==null?void 0:t.default)==null?void 0:r.call(t,{contributors:e,refresh:u,pending:a})}});export{f as default}; diff --git a/_nuxt/GithubFileContributors.aWuB51BM.js b/_nuxt/GithubFileContributors.BMYnazSV.js similarity index 89% rename from _nuxt/GithubFileContributors.aWuB51BM.js rename to _nuxt/GithubFileContributors.BMYnazSV.js index 6d8a147c..9c3aa74b 100644 --- a/_nuxt/GithubFileContributors.aWuB51BM.js +++ b/_nuxt/GithubFileContributors.BMYnazSV.js @@ -1 +1 @@ -import{d as o,aq as n,H as i,aV as c,a_ as f,b8 as b}from"./entry.rQ92EvLv.js";import{u as d}from"./useGithub.Rfi70Rdj.js";const q=o({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(r){const a=n(r.query,"source"),{fetchFileContributors:u}=d();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=b();return(t=e==null?void 0:e.default)==null?void 0:t.call(e,{contributors:r,refresh:a,pending:u})}});export{q as default}; +import{d as o,aq as n,H as i,aV as c,a_ as f,b8 as b}from"./entry.bb8_tySE.js";import{u as d}from"./useGithub.24J5VJ4k.js";const q=o({props:{query:{type:Object,required:!1,default:()=>({})}},async setup(r){const a=n(r.query,"source"),{fetchFileContributors:u}=d();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=b();return(t=e==null?void 0:e.default)==null?void 0:t.call(e,{contributors:r,refresh:a,pending:u})}});export{q as default}; diff --git a/_nuxt/GithubLastRelease.lb0QyQvF.js b/_nuxt/GithubLastRelease.mQglxRJ8.js similarity index 75% rename from _nuxt/GithubLastRelease.lb0QyQvF.js rename to _nuxt/GithubLastRelease.mQglxRJ8.js index f96d3841..fc6b8217 100644 --- a/_nuxt/GithubLastRelease.lb0QyQvF.js +++ b/_nuxt/GithubLastRelease.mQglxRJ8.js @@ -1 +1 @@ -import{d as u,aV as n,a_ as d,b8 as f}from"./entry.rQ92EvLv.js";import{u as i}from"./useGithub.Rfi70Rdj.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,aV as n,a_ as d,b8 as f}from"./entry.bb8_tySE.js";import{u as i}from"./useGithub.24J5VJ4k.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.TIBc7ug4.js b/_nuxt/GithubLink.IxpFzLm7.js similarity index 93% rename from _nuxt/GithubLink.TIBc7ug4.js rename to _nuxt/GithubLink.IxpFzLm7.js index 9f6a20f3..2e96d5d6 100644 --- a/_nuxt/GithubLink.TIBc7ug4.js +++ b/_nuxt/GithubLink.IxpFzLm7.js @@ -1 +1 @@ -import{d as y,m as u,D as c,bo as v,b8 as w}from"./entry.rQ92EvLv.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,D as c,bo as v,b8 as w}from"./entry.bb8_tySE.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.3hiXFuxA.js b/_nuxt/GithubReadme.PW4MgVog.js similarity index 74% rename from _nuxt/GithubReadme.3hiXFuxA.js rename to _nuxt/GithubReadme.PW4MgVog.js index 708d64fe..9e3dd3cc 100644 --- a/_nuxt/GithubReadme.3hiXFuxA.js +++ b/_nuxt/GithubReadme.PW4MgVog.js @@ -1 +1 @@ -import{d as n,aV as s,a_ as d,b8 as f}from"./entry.rQ92EvLv.js";import{u as i}from"./useGithub.Rfi70Rdj.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,aV as s,a_ as d,b8 as f}from"./entry.bb8_tySE.js";import{u as i}from"./useGithub.24J5VJ4k.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.m_djzJ6F.js b/_nuxt/GithubRelease.ZNvN3fkO.js similarity index 76% rename from _nuxt/GithubRelease.m_djzJ6F.js rename to _nuxt/GithubRelease.ZNvN3fkO.js index f1419cb9..3055a229 100644 --- a/_nuxt/GithubRelease.m_djzJ6F.js +++ b/_nuxt/GithubRelease.ZNvN3fkO.js @@ -1 +1 @@ -import{d as s,aV as n,a_ as f,b8 as i}from"./entry.rQ92EvLv.js";import{u as d}from"./useGithub.Rfi70Rdj.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,aV as n,a_ as f,b8 as i}from"./entry.bb8_tySE.js";import{u as d}from"./useGithub.24J5VJ4k.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.FrNQ9Vyl.js b/_nuxt/GithubReleases.LTrMRA4x.js similarity index 75% rename from _nuxt/GithubReleases.FrNQ9Vyl.js rename to _nuxt/GithubReleases.LTrMRA4x.js index 52e38909..76c2d194 100644 --- a/_nuxt/GithubReleases.FrNQ9Vyl.js +++ b/_nuxt/GithubReleases.LTrMRA4x.js @@ -1 +1 @@ -import{d as u,aV as n,a_ as d,b8 as f}from"./entry.rQ92EvLv.js";import{u as i}from"./useGithub.Rfi70Rdj.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,aV as n,a_ as d,b8 as f}from"./entry.bb8_tySE.js";import{u as i}from"./useGithub.24J5VJ4k.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.kebUwD03.js b/_nuxt/GithubRepository.to6TaAql.js similarity index 75% rename from _nuxt/GithubRepository.kebUwD03.js rename to _nuxt/GithubRepository.to6TaAql.js index 660dc400..6a6f9e9f 100644 --- a/_nuxt/GithubRepository.kebUwD03.js +++ b/_nuxt/GithubRepository.to6TaAql.js @@ -1 +1 @@ -import{d as o,aV as u,a_ as n,b8 as i}from"./entry.rQ92EvLv.js";import{u as p}from"./useGithub.Rfi70Rdj.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,aV as u,a_ as n,b8 as i}from"./entry.bb8_tySE.js";import{u as p}from"./useGithub.24J5VJ4k.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.DZEsYpWJ.js b/_nuxt/IconCSS.em3mtptF.js similarity index 93% rename from _nuxt/IconCSS.DZEsYpWJ.js rename to _nuxt/IconCSS.em3mtptF.js index 792cfed8..e6c11636 100644 --- a/_nuxt/IconCSS.DZEsYpWJ.js +++ b/_nuxt/IconCSS.em3mtptF.js @@ -1 +1 @@ -import{d as m,b6 as f,y as I,D as c,bt as d,b as x,c as v,al as b,l as S}from"./entry.rQ92EvLv.js";const _=m({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){f(e=>({dbefbe10:p.value}));const t=I(),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(()=>d(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:b({width:i.value,height:i.value})},null,4))}}),g=S(_,[["__scopeId","data-v-812c53bb"]]);export{g as default}; +import{d as m,b6 as f,y as I,D as c,bt as d,b as x,c as v,al as b,l as S}from"./entry.bb8_tySE.js";const _=m({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){f(e=>({dbefbe10:p.value}));const t=I(),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(()=>d(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:b({width:i.value,height:i.value})},null,4))}}),g=S(_,[["__scopeId","data-v-812c53bb"]]);export{g as default}; diff --git a/_nuxt/MDCRenderer.r7QY4jzo.js b/_nuxt/MDCRenderer.QrfRPW2s.js similarity index 99% rename from _nuxt/MDCRenderer.r7QY4jzo.js rename to _nuxt/MDCRenderer.QrfRPW2s.js index c4c48b1a..39b56163 100644 --- a/_nuxt/MDCRenderer.r7QY4jzo.js +++ b/_nuxt/MDCRenderer.QrfRPW2s.js @@ -1 +1 @@ -import{d as $,m as Z,B as J,D as G,U as A,ag as Q,bl as B,bm as x,aZ as nn,v as ln,bn as en}from"./entry.rQ92EvLv.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,...J(((a=(r=n.data)==null?void 0:r.mdc)==null?void 0:a.components)||{}),...n.components},t=G(()=>{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 J,D as G,U as A,ag as Q,bl as B,bm as x,aZ as nn,v as ln,bn as en}from"./entry.bb8_tySE.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,...J(((a=(r=n.data)==null?void 0:r.mdc)==null?void 0:a.components)||{}),...n.components},t=G(()=>{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.fQ-pBv7B.js b/_nuxt/Markdown.uloaE4eU.js similarity index 64% rename from _nuxt/Markdown.fQ-pBv7B.js rename to _nuxt/Markdown.uloaE4eU.js index 0621e04e..b551ce0e 100644 --- a/_nuxt/Markdown.fQ-pBv7B.js +++ b/_nuxt/Markdown.uloaE4eU.js @@ -1 +1 @@ -import s from"./ContentSlot.xTk8y2OB.js";import{d as o,b8 as u,D as f,br as m}from"./entry.rQ92EvLv.js";import"./node.kQagOfUD.js";const d=o({name:"Markdown",extends:s,setup(t){const{parent:e}=m(),{between:n,default:r}=u(),a=f(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:r,tags:a,between:n,parent:e}}});export{d as default}; +import s from"./ContentSlot.ZrP9_N9N.js";import{d as o,b8 as u,D as f,br as m}from"./entry.bb8_tySE.js";import"./node.kQagOfUD.js";const d=o({name:"Markdown",extends:s,setup(t){const{parent:e}=m(),{between:n,default:r}=u(),a=f(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:r,tags:a,between:n,parent:e}}});export{d as default}; diff --git a/_nuxt/ProseA.5c2UcCWg.js b/_nuxt/ProseA.OdvZOa_H.js similarity index 82% rename from _nuxt/ProseA.5c2UcCWg.js rename to _nuxt/ProseA.OdvZOa_H.js index 6cbbebe2..ba9979da 100644 --- a/_nuxt/ProseA.5c2UcCWg.js +++ b/_nuxt/ProseA.OdvZOa_H.js @@ -1 +1 @@ -import{d as r,b as n,ai as o,w as s,aj as f,aL as u}from"./entry.rQ92EvLv.js";const i=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{i as default}; +import{d as r,b as n,ai as o,w as s,aj as f,aL as u}from"./entry.bb8_tySE.js";const i=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{i as default}; diff --git a/_nuxt/ProseBlockquote.bfo8erZ_.js b/_nuxt/ProseBlockquote.CtmQnnuJ.js similarity index 66% rename from _nuxt/ProseBlockquote.bfo8erZ_.js rename to _nuxt/ProseBlockquote.CtmQnnuJ.js index 4668e677..6c201e02 100644 --- a/_nuxt/ProseBlockquote.bfo8erZ_.js +++ b/_nuxt/ProseBlockquote.CtmQnnuJ.js @@ -1 +1 @@ -import{l as o,b as t,c,aj as r}from"./entry.rQ92EvLv.js";const s={};function l(e,n){return t(),c("blockquote",null,[r(e.$slots,"default")])}const f=o(s,[["render",l]]);export{f as default}; +import{l as o,b as t,c,aj as r}from"./entry.bb8_tySE.js";const s={};function l(e,n){return t(),c("blockquote",null,[r(e.$slots,"default")])}const f=o(s,[["render",l]]);export{f as default}; diff --git a/_nuxt/ProseCode.Ht9HO5C5.js b/_nuxt/ProseCode.Ht9HO5C5.js new file mode 100644 index 00000000..f6e87dd0 --- /dev/null +++ b/_nuxt/ProseCode.Ht9HO5C5.js @@ -0,0 +1 @@ +import{_ as o}from"./ProseCode.vue.owh3Yxoh.js";import"./ProseCodeIcon.vue.1ocGCgm0.js";import"./entry.bb8_tySE.js";import"./ProseCodeButton.vue.hp96jlsA.js";export{o as default}; diff --git a/_nuxt/ProseCode.R5y14qAI.js b/_nuxt/ProseCode.R5y14qAI.js deleted file mode 100644 index d3fd5df8..00000000 --- a/_nuxt/ProseCode.R5y14qAI.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./ProseCode.vue.EQ49g3cf.js";import"./ProseCodeIcon.vue.KqN3IlcY.js";import"./entry.rQ92EvLv.js";import"./ProseCodeButton.vue.MzFXlsdW.js";export{o as default}; diff --git a/_nuxt/ProseCode.vue.EQ49g3cf.js b/_nuxt/ProseCode.vue.owh3Yxoh.js similarity index 85% rename from _nuxt/ProseCode.vue.EQ49g3cf.js rename to _nuxt/ProseCode.vue.owh3Yxoh.js index 01f18e08..b0e448e3 100644 --- a/_nuxt/ProseCode.vue.EQ49g3cf.js +++ b/_nuxt/ProseCode.vue.owh3Yxoh.js @@ -1 +1 @@ -import{_ as m}from"./ProseCodeIcon.vue.KqN3IlcY.js";import{_ as f}from"./ProseCodeButton.vue.MzFXlsdW.js";import{d as u,ap as p,b as n,c as r,n as t,E as o,g as s,e as g,t as y,f as b,aj as v}from"./entry.rQ92EvLv.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.1ocGCgm0.js";import{_ as f}from"./ProseCodeButton.vue.hp96jlsA.js";import{d as u,ap as p,b as n,c as r,n as t,E as o,g as s,e as g,t as y,f as b,aj as v}from"./entry.bb8_tySE.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.JRP0A_Nl.js b/_nuxt/ProseCodeButton.JRP0A_Nl.js deleted file mode 100644 index 1dbc84a9..00000000 --- a/_nuxt/ProseCodeButton.JRP0A_Nl.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ProseCodeButton.vue.MzFXlsdW.js";import"./entry.rQ92EvLv.js";export{m as default}; diff --git a/_nuxt/ProseCodeButton.jafYu4GE.js b/_nuxt/ProseCodeButton.jafYu4GE.js new file mode 100644 index 00000000..2a6809f1 --- /dev/null +++ b/_nuxt/ProseCodeButton.jafYu4GE.js @@ -0,0 +1 @@ +import{_ as m}from"./ProseCodeButton.vue.hp96jlsA.js";import"./entry.bb8_tySE.js";export{m as default}; diff --git a/_nuxt/ProseCodeButton.vue.MzFXlsdW.js b/_nuxt/ProseCodeButton.vue.hp96jlsA.js similarity index 93% rename from _nuxt/ProseCodeButton.vue.MzFXlsdW.js rename to _nuxt/ProseCodeButton.vue.hp96jlsA.js index fb6d45ef..6d02c2cb 100644 --- a/_nuxt/ProseCodeButton.vue.MzFXlsdW.js +++ b/_nuxt/ProseCodeButton.vue.hp96jlsA.js @@ -1 +1 @@ -import{bp as d,bq as u,d as l,ap as b,r as _,b as m,ai as y,E as f,ao as C}from"./entry.rQ92EvLv.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 k=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=_(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(),y(s,{icon:f(e),color:"gray",variant:"link",size:"xs","aria-label":"Copy code to clipboard",tabindex:"-1",onClick:n},null,8,["icon"])}}});export{k as _}; +import{bp as d,bq as u,d as l,ap as b,r as _,b as m,ai as y,E as f,ao as C}from"./entry.bb8_tySE.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 k=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=_(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(),y(s,{icon:f(e),color:"gray",variant:"link",size:"xs","aria-label":"Copy code to clipboard",tabindex:"-1",onClick:n},null,8,["icon"])}}});export{k as _}; diff --git a/_nuxt/ProseCodeIcon.XZsZ4xlP.js b/_nuxt/ProseCodeIcon.XZsZ4xlP.js deleted file mode 100644 index db0dca29..00000000 --- a/_nuxt/ProseCodeIcon.XZsZ4xlP.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ProseCodeIcon.vue.KqN3IlcY.js";import"./entry.rQ92EvLv.js";export{m as default}; diff --git a/_nuxt/ProseCodeIcon.pe79Q33q.js b/_nuxt/ProseCodeIcon.pe79Q33q.js new file mode 100644 index 00000000..ae4409a5 --- /dev/null +++ b/_nuxt/ProseCodeIcon.pe79Q33q.js @@ -0,0 +1 @@ +import{_ as m}from"./ProseCodeIcon.vue.1ocGCgm0.js";import"./entry.bb8_tySE.js";export{m as default}; diff --git a/_nuxt/ProseCodeIcon.vue.KqN3IlcY.js b/_nuxt/ProseCodeIcon.vue.1ocGCgm0.js similarity index 96% rename from _nuxt/ProseCodeIcon.vue.KqN3IlcY.js rename to _nuxt/ProseCodeIcon.vue.1ocGCgm0.js index 995ec62e..1021b35b 100644 --- a/_nuxt/ProseCodeIcon.vue.KqN3IlcY.js +++ b/_nuxt/ProseCodeIcon.vue.1ocGCgm0.js @@ -1 +1 @@ -import{d as a,ap as v,D as s,E as c,b as y,ai as r,f as m,ab as u}from"./entry.rQ92EvLv.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=s(()=>{var i;return(((i=e.filename)==null?void 0:i.split(".").pop())||"").toLowerCase()}),l=s(()=>e.icon||o.value[n.value]||e.filename.includes(".")),d=s(()=>e.icon??(e.filename&&(o.value[e.filename.split("/").pop()]??o.value[n.value]??`vscode-icons:file-type-${n.value}`)));return(i,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,ap as v,D as s,E as c,b as y,ai as r,f as m,ab as u}from"./entry.bb8_tySE.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=s(()=>{var i;return(((i=e.filename)==null?void 0:i.split(".").pop())||"").toLowerCase()}),l=s(()=>e.icon||o.value[n.value]||e.filename.includes(".")),d=s(()=>e.icon??(e.filename&&(o.value[e.filename.split("/").pop()]??o.value[n.value]??`vscode-icons:file-type-${n.value}`)));return(i,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.tQ8G7l3f.js b/_nuxt/ProseCodeInline.1tlhjpvP.js similarity index 66% rename from _nuxt/ProseCodeInline.tQ8G7l3f.js rename to _nuxt/ProseCodeInline.1tlhjpvP.js index b9e46507..39fe0471 100644 --- a/_nuxt/ProseCodeInline.tQ8G7l3f.js +++ b/_nuxt/ProseCodeInline.1tlhjpvP.js @@ -1 +1 @@ -import{l as o,b as n,c as r,aj as c}from"./entry.rQ92EvLv.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,aj as c}from"./entry.bb8_tySE.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.fu260Q1k.js b/_nuxt/ProseEm.5vh6i3Rn.js similarity index 65% rename from _nuxt/ProseEm.fu260Q1k.js rename to _nuxt/ProseEm.5vh6i3Rn.js index ccf347fc..58b1a7d9 100644 --- a/_nuxt/ProseEm.fu260Q1k.js +++ b/_nuxt/ProseEm.5vh6i3Rn.js @@ -1 +1 @@ -import{l as r,b as o,c as s,aj as t}from"./entry.rQ92EvLv.js";const c={};function n(e,a){return o(),s("em",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{l as r,b as o,c as s,aj as t}from"./entry.bb8_tySE.js";const c={};function n(e,a){return o(),s("em",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProseH1.E_Sd9Ahk.js b/_nuxt/ProseH1.ZsmSTvOA.js similarity index 85% rename from _nuxt/ProseH1.E_Sd9Ahk.js rename to _nuxt/ProseH1.ZsmSTvOA.js index aa2eebac..13e0d54e 100644 --- a/_nuxt/ProseH1.E_Sd9Ahk.js +++ b/_nuxt/ProseH1.ZsmSTvOA.js @@ -1 +1 @@ -import{d as l,y as u,D as d,ap as m,b as _,c as h,g as s,w as f,e as g,n as o,E as a,aj as x,ab as w,aL as y}from"./entry.rQ92EvLv.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,b)=>{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,D as d,ap as m,b as _,c as h,g as s,w as f,e as g,n as o,E as a,aj as x,ab as w,aL as y}from"./entry.bb8_tySE.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,b)=>{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.27WLsgLi.js b/_nuxt/ProseH2.27WLsgLi.js deleted file mode 100644 index 49081db4..00000000 --- a/_nuxt/ProseH2.27WLsgLi.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ProseH2.vue.-h3Br24R.js";import"./entry.rQ92EvLv.js";export{m as default}; diff --git a/_nuxt/ProseH2.HbrCp_ZA.js b/_nuxt/ProseH2.HbrCp_ZA.js new file mode 100644 index 00000000..28a49a59 --- /dev/null +++ b/_nuxt/ProseH2.HbrCp_ZA.js @@ -0,0 +1 @@ +import{_ as m}from"./ProseH2.vue.aRRCcZdm.js";import"./entry.bb8_tySE.js";export{m as default}; diff --git a/_nuxt/ProseH2.vue.-h3Br24R.js b/_nuxt/ProseH2.vue.aRRCcZdm.js similarity index 85% rename from _nuxt/ProseH2.vue.-h3Br24R.js rename to _nuxt/ProseH2.vue.aRRCcZdm.js index 7fe508a8..0e5db9f7 100644 --- a/_nuxt/ProseH2.vue.-h3Br24R.js +++ b/_nuxt/ProseH2.vue.aRRCcZdm.js @@ -1 +1 @@ -import{d as l,y as u,D as d,ap as m,b as _,c as h,g as s,w as f,e as g,n as o,E as a,aj as x,ab as w,aL as y}from"./entry.rQ92EvLv.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,b)=>{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,D as d,ap as m,b as _,c as h,g as s,w as f,e as g,n as o,E as a,aj as x,ab as w,aL as y}from"./entry.bb8_tySE.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,b)=>{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.jlr7TQZi.js b/_nuxt/ProseH3.sjjNbeNl.js similarity index 85% rename from _nuxt/ProseH3.jlr7TQZi.js rename to _nuxt/ProseH3.sjjNbeNl.js index 464ef442..44ade9b1 100644 --- a/_nuxt/ProseH3.jlr7TQZi.js +++ b/_nuxt/ProseH3.sjjNbeNl.js @@ -1 +1 @@ -import{d as l,y as u,D as d,ap as m,b as _,c as h,g as s,w as f,e as g,n as o,E as a,aj as x,ab as w,aL as y}from"./entry.rQ92EvLv.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,b)=>{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,D as d,ap as m,b as _,c as h,g as s,w as f,e as g,n as o,E as a,aj as x,ab as w,aL as y}from"./entry.bb8_tySE.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,b)=>{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.kgBWr2s1.js b/_nuxt/ProseH4.CF0AAm15.js similarity index 85% rename from _nuxt/ProseH4.kgBWr2s1.js rename to _nuxt/ProseH4.CF0AAm15.js index 24d21af1..bc5dd6f6 100644 --- a/_nuxt/ProseH4.kgBWr2s1.js +++ b/_nuxt/ProseH4.CF0AAm15.js @@ -1 +1 @@ -import{d as l,y as u,D as d,ap as m,b as _,c as h,g as s,w as f,e as g,n as o,E as a,aj as x,ab as w,aL as y}from"./entry.rQ92EvLv.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,b)=>{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,D as d,ap as m,b as _,c as h,g as s,w as f,e as g,n as o,E as a,aj as x,ab as w,aL as y}from"./entry.bb8_tySE.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,b)=>{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.iM_tMhFW.js b/_nuxt/ProseH5.gQZqyTSU.js similarity index 85% rename from _nuxt/ProseH5.iM_tMhFW.js rename to _nuxt/ProseH5.gQZqyTSU.js index 8376597e..e2a474fe 100644 --- a/_nuxt/ProseH5.iM_tMhFW.js +++ b/_nuxt/ProseH5.gQZqyTSU.js @@ -1 +1 @@ -import{d as i,m as c,D as p,b as o,c as n,E as u,aj as t}from"./entry.rQ92EvLv.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,D as p,b as o,c as n,E as u,aj as t}from"./entry.bb8_tySE.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.1lIJapKi.js b/_nuxt/ProseH6.-wbTKDQB.js similarity index 85% rename from _nuxt/ProseH6.1lIJapKi.js rename to _nuxt/ProseH6.-wbTKDQB.js index 9a92c35b..c7832ad8 100644 --- a/_nuxt/ProseH6.1lIJapKi.js +++ b/_nuxt/ProseH6.-wbTKDQB.js @@ -1 +1 @@ -import{d as i,m as c,D as p,b as o,c as n,E as u,aj as t}from"./entry.rQ92EvLv.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,D as p,b as o,c as n,E as u,aj as t}from"./entry.bb8_tySE.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.CAl0Npf-.js b/_nuxt/ProseHr.9tuy8L3H.js similarity index 55% rename from _nuxt/ProseHr.CAl0Npf-.js rename to _nuxt/ProseHr.9tuy8L3H.js index e0cf8341..c25fcb41 100644 --- a/_nuxt/ProseHr.CAl0Npf-.js +++ b/_nuxt/ProseHr.9tuy8L3H.js @@ -1 +1 @@ -import{l as e,b as r,c}from"./entry.rQ92EvLv.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.bb8_tySE.js";const o={};function t(n,s){return r(),c("hr")}const _=e(o,[["render",t]]);export{_ as default}; diff --git a/_nuxt/ProseImg.b2YIK8yw.js b/_nuxt/ProseImg.hnvRFLzT.js similarity index 89% rename from _nuxt/ProseImg.b2YIK8yw.js rename to _nuxt/ProseImg.hnvRFLzT.js index 0ff93599..f91110dd 100644 --- a/_nuxt/ProseImg.b2YIK8yw.js +++ b/_nuxt/ProseImg.hnvRFLzT.js @@ -1 +1 @@ -import{d as r,D as n,bs as c,bh as h,m as o,bo as d,b as l,c as u,E as f}from"./entry.rQ92EvLv.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,D as n,bs as c,bh as h,m as o,bo as d,b as l,c as u,E as f}from"./entry.bb8_tySE.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.S5bPPj16.js b/_nuxt/ProseLi.qz-5IUbq.js similarity index 65% rename from _nuxt/ProseLi.S5bPPj16.js rename to _nuxt/ProseLi.qz-5IUbq.js index 117351f5..4aff8587 100644 --- a/_nuxt/ProseLi.S5bPPj16.js +++ b/_nuxt/ProseLi.qz-5IUbq.js @@ -1 +1 @@ -import{l as r,b as o,c as s,aj as t}from"./entry.rQ92EvLv.js";const c={};function n(e,a){return o(),s("li",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{l as r,b as o,c as s,aj as t}from"./entry.bb8_tySE.js";const c={};function n(e,a){return o(),s("li",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProseOl.ICDs0n2q.js b/_nuxt/ProseOl.SKiLIlL9.js similarity index 65% rename from _nuxt/ProseOl.ICDs0n2q.js rename to _nuxt/ProseOl.SKiLIlL9.js index 25453114..d058ee15 100644 --- a/_nuxt/ProseOl.ICDs0n2q.js +++ b/_nuxt/ProseOl.SKiLIlL9.js @@ -1 +1 @@ -import{l as o,b as r,c as s,aj as t}from"./entry.rQ92EvLv.js";const c={};function l(e,n){return r(),s("ol",null,[t(e.$slots,"default")])}const f=o(c,[["render",l]]);export{f as default}; +import{l as o,b as r,c as s,aj as t}from"./entry.bb8_tySE.js";const c={};function l(e,n){return r(),s("ol",null,[t(e.$slots,"default")])}const f=o(c,[["render",l]]);export{f as default}; diff --git a/_nuxt/ProseP.eOA4lTaq.js b/_nuxt/ProseP.pjRijSwV.js similarity index 65% rename from _nuxt/ProseP.eOA4lTaq.js rename to _nuxt/ProseP.pjRijSwV.js index 3ea28030..0aa09f8f 100644 --- a/_nuxt/ProseP.eOA4lTaq.js +++ b/_nuxt/ProseP.pjRijSwV.js @@ -1 +1 @@ -import{l as r,b as o,c as s,aj as t}from"./entry.rQ92EvLv.js";const c={};function n(e,a){return o(),s("p",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{l as r,b as o,c as s,aj as t}from"./entry.bb8_tySE.js";const c={};function n(e,a){return o(),s("p",null,[t(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProsePre.BjzfgX-H.js b/_nuxt/ProsePre.SB5kRh70.js similarity index 69% rename from _nuxt/ProsePre.BjzfgX-H.js rename to _nuxt/ProsePre.SB5kRh70.js index 81612e3d..a3f4e069 100644 --- a/_nuxt/ProsePre.BjzfgX-H.js +++ b/_nuxt/ProsePre.SB5kRh70.js @@ -1 +1 @@ -import{_ as l}from"./ProseCode.vue.EQ49g3cf.js";import{d as n,b as s,ai as i,w as r,e as o,n as g,al as u,aj as m}from"./entry.rQ92EvLv.js";import"./ProseCodeIcon.vue.KqN3IlcY.js";import"./ProseCodeButton.vue.MzFXlsdW.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,d)=>{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.owh3Yxoh.js";import{d as n,b as s,ai as i,w as r,e as o,n as g,al as u,aj as m}from"./entry.bb8_tySE.js";import"./ProseCodeIcon.vue.1ocGCgm0.js";import"./ProseCodeButton.vue.hp96jlsA.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,d)=>{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._m6EhRfe.js b/_nuxt/ProseScript.Ujfgap9m.js similarity index 86% rename from _nuxt/ProseScript._m6EhRfe.js rename to _nuxt/ProseScript.Ujfgap9m.js index 459cc8ea..c66db04c 100644 --- a/_nuxt/ProseScript._m6EhRfe.js +++ b/_nuxt/ProseScript.Ujfgap9m.js @@ -1 +1 @@ -import{d as s,D as n,b as r,c as a,j as e,f as c,e as t}from"./entry.rQ92EvLv.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,D as n,b as r,c as a,j as e,f as c,e as t}from"./entry.bb8_tySE.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.oFavrIV2.js b/_nuxt/ProseStrong._NFKgm07.js similarity index 66% rename from _nuxt/ProseStrong.oFavrIV2.js rename to _nuxt/ProseStrong._NFKgm07.js index 73ffa336..566f20c6 100644 --- a/_nuxt/ProseStrong.oFavrIV2.js +++ b/_nuxt/ProseStrong._NFKgm07.js @@ -1 +1 @@ -import{l as r,b as o,c as t,aj as n}from"./entry.rQ92EvLv.js";const s={};function c(e,a){return o(),t("strong",null,[n(e.$slots,"default")])}const f=r(s,[["render",c]]);export{f as default}; +import{l as r,b as o,c as t,aj as n}from"./entry.bb8_tySE.js";const s={};function c(e,a){return o(),t("strong",null,[n(e.$slots,"default")])}const f=r(s,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProseTable.n8golnGc.js b/_nuxt/ProseTable.XsW4qb3M.js similarity index 66% rename from _nuxt/ProseTable.n8golnGc.js rename to _nuxt/ProseTable.XsW4qb3M.js index 8b4a1fcc..0fffe4fb 100644 --- a/_nuxt/ProseTable.n8golnGc.js +++ b/_nuxt/ProseTable.XsW4qb3M.js @@ -1 +1 @@ -import{l as r,b as t,c as a,aj as o}from"./entry.rQ92EvLv.js";const s={};function c(e,l){return t(),a("table",null,[o(e.$slots,"default")])}const f=r(s,[["render",c]]);export{f as default}; +import{l as r,b as t,c as a,aj as o}from"./entry.bb8_tySE.js";const s={};function c(e,l){return t(),a("table",null,[o(e.$slots,"default")])}const f=r(s,[["render",c]]);export{f as default}; diff --git a/_nuxt/ProseTbody.6ftLkMvN.js b/_nuxt/ProseTbody.zbhEzI24.js similarity index 66% rename from _nuxt/ProseTbody.6ftLkMvN.js rename to _nuxt/ProseTbody.zbhEzI24.js index 7090a2eb..dc63a8ba 100644 --- a/_nuxt/ProseTbody.6ftLkMvN.js +++ b/_nuxt/ProseTbody.zbhEzI24.js @@ -1 +1 @@ -import{l as o,b as r,c as t,aj as s}from"./entry.rQ92EvLv.js";const c={};function n(e,a){return r(),t("tbody",null,[s(e.$slots,"default")])}const d=o(c,[["render",n]]);export{d as default}; +import{l as o,b as r,c as t,aj as s}from"./entry.bb8_tySE.js";const c={};function n(e,a){return r(),t("tbody",null,[s(e.$slots,"default")])}const d=o(c,[["render",n]]);export{d as default}; diff --git a/_nuxt/ProseTd.9CwXkpYM.js b/_nuxt/ProseTd.h0hwRSDZ.js similarity index 65% rename from _nuxt/ProseTd.9CwXkpYM.js rename to _nuxt/ProseTd.h0hwRSDZ.js index c877ad70..57b45914 100644 --- a/_nuxt/ProseTd.9CwXkpYM.js +++ b/_nuxt/ProseTd.h0hwRSDZ.js @@ -1 +1 @@ -import{l as r,b as t,c as o,aj as s}from"./entry.rQ92EvLv.js";const c={};function n(e,a){return t(),o("td",null,[s(e.$slots,"default")])}const d=r(c,[["render",n]]);export{d as default}; +import{l as r,b as t,c as o,aj as s}from"./entry.bb8_tySE.js";const c={};function n(e,a){return t(),o("td",null,[s(e.$slots,"default")])}const d=r(c,[["render",n]]);export{d as default}; diff --git a/_nuxt/ProseTh.ekUk2PB8.js b/_nuxt/ProseTh.eKU6EUCZ.js similarity index 65% rename from _nuxt/ProseTh.ekUk2PB8.js rename to _nuxt/ProseTh.eKU6EUCZ.js index e1beb44e..a4ed95ef 100644 --- a/_nuxt/ProseTh.ekUk2PB8.js +++ b/_nuxt/ProseTh.eKU6EUCZ.js @@ -1 +1 @@ -import{l as r,b as t,c as o,aj as s}from"./entry.rQ92EvLv.js";const c={};function n(e,a){return t(),o("th",null,[s(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{l as r,b as t,c as o,aj as s}from"./entry.bb8_tySE.js";const c={};function n(e,a){return t(),o("th",null,[s(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProseThead.x3itRtT9.js b/_nuxt/ProseThead.nEVGYiCK.js similarity index 66% rename from _nuxt/ProseThead.x3itRtT9.js rename to _nuxt/ProseThead.nEVGYiCK.js index 4fa0fe13..ba911bfa 100644 --- a/_nuxt/ProseThead.x3itRtT9.js +++ b/_nuxt/ProseThead.nEVGYiCK.js @@ -1 +1 @@ -import{l as r,b as t,c as a,aj as o}from"./entry.rQ92EvLv.js";const s={};function c(e,n){return t(),a("thead",null,[o(e.$slots,"default")])}const d=r(s,[["render",c]]);export{d as default}; +import{l as r,b as t,c as a,aj as o}from"./entry.bb8_tySE.js";const s={};function c(e,n){return t(),a("thead",null,[o(e.$slots,"default")])}const d=r(s,[["render",c]]);export{d as default}; diff --git a/_nuxt/ProseTr.NGz07bNK.js b/_nuxt/ProseTr.umMggmJK.js similarity index 65% rename from _nuxt/ProseTr.NGz07bNK.js rename to _nuxt/ProseTr.umMggmJK.js index 3e1941f0..1a0a91dd 100644 --- a/_nuxt/ProseTr.NGz07bNK.js +++ b/_nuxt/ProseTr.umMggmJK.js @@ -1 +1 @@ -import{l as r,b as t,c as o,aj as s}from"./entry.rQ92EvLv.js";const c={};function n(e,a){return t(),o("tr",null,[s(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; +import{l as r,b as t,c as o,aj as s}from"./entry.bb8_tySE.js";const c={};function n(e,a){return t(),o("tr",null,[s(e.$slots,"default")])}const f=r(c,[["render",n]]);export{f as default}; diff --git a/_nuxt/ProseUl.3nk8Z5TY.js b/_nuxt/ProseUl.NehyKE_A.js similarity index 65% rename from _nuxt/ProseUl.3nk8Z5TY.js rename to _nuxt/ProseUl.NehyKE_A.js index 8577d8d1..473fb2f0 100644 --- a/_nuxt/ProseUl.3nk8Z5TY.js +++ b/_nuxt/ProseUl.NehyKE_A.js @@ -1 +1 @@ -import{l as r,b as o,c as s,aj as t}from"./entry.rQ92EvLv.js";const c={};function l(e,n){return o(),s("ul",null,[t(e.$slots,"default")])}const f=r(c,[["render",l]]);export{f as default}; +import{l as r,b as o,c as s,aj as t}from"./entry.bb8_tySE.js";const c={};function l(e,n){return o(),s("ul",null,[t(e.$slots,"default")])}const f=r(c,[["render",l]]);export{f as default}; diff --git a/_nuxt/Releases.9vFNTiAl.js b/_nuxt/Releases.pJL5NErt.js similarity index 62% rename from _nuxt/Releases.9vFNTiAl.js rename to _nuxt/Releases.pJL5NErt.js index ed5ec974..6937994a 100644 --- a/_nuxt/Releases.9vFNTiAl.js +++ b/_nuxt/Releases.pJL5NErt.js @@ -1 +1 @@ -import{_ as g}from"./ProseH2.vue.-h3Br24R.js";import h from"./ContentRenderer.UC5NeHM0.js";import{u as B}from"./useGithub.Rfi70Rdj.js";import{d as D,aS as x,aV as v,ag as w,b as a,c as n,F as C,ah as L,g as o,w as c,j as i,t as _,E as l}from"./entry.rQ92EvLv.js";import"./ContentRendererMarkdown.vue.xY8wmzHI.js";import"./MDCRenderer.r7QY4jzo.js";const b=(s,e={year:"numeric",month:"long",day:"numeric"})=>new Date(s).toLocaleDateString("en",e),k={style:{"margin-top":"50px"}},$=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,R)=>{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{$ as default}; +import{_ as g}from"./ProseH2.vue.aRRCcZdm.js";import h from"./ContentRenderer.kEUwcalk.js";import{u as B}from"./useGithub.24J5VJ4k.js";import{d as D,aS as x,aV as v,ag as w,b as a,c as n,F as C,ah as L,g as o,w as c,j as i,t as _,E as l}from"./entry.bb8_tySE.js";import"./ContentRendererMarkdown.vue.hQ-DmwXW.js";import"./MDCRenderer.QrfRPW2s.js";const b=(s,e={year:"numeric",month:"long",day:"numeric"})=>new Date(s).toLocaleDateString("en",e),k={style:{"margin-top":"50px"}},$=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,R)=>{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{$ as default}; diff --git a/_nuxt/Screenshot.vYUGGEjv.js b/_nuxt/Screenshot.xmeUQQE4.js similarity index 54% rename from _nuxt/Screenshot.vYUGGEjv.js rename to _nuxt/Screenshot.xmeUQQE4.js index 34ed6c8b..d88e38bb 100644 --- a/_nuxt/Screenshot.vYUGGEjv.js +++ b/_nuxt/Screenshot.xmeUQQE4.js @@ -1 +1 @@ -import{d as e}from"./entry.rQ92EvLv.js";const r=e({name:"OgImageScreenshot",async setup(t,{attrs:n}){return()=>null}});export{r as default}; +import{d as e}from"./entry.bb8_tySE.js";const r=e({name:"OgImageScreenshot",async setup(t,{attrs:n}){return()=>null}});export{r as default}; diff --git a/_nuxt/Shortcut.oqOT4V9f.js b/_nuxt/Shortcut.U8Oytthf.js similarity index 89% rename from _nuxt/Shortcut.oqOT4V9f.js rename to _nuxt/Shortcut.U8Oytthf.js index bf0b5640..a13b9a2e 100644 --- a/_nuxt/Shortcut.oqOT4V9f.js +++ b/_nuxt/Shortcut.U8Oytthf.js @@ -1 +1 @@ -import{d as p,aD as i,ap as l,aq as m,D as _,b as d,ai as f,w as h,j as g,t as v,E as e,ak as x,ad as y}from"./entry.rQ92EvLv.js";const k=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}=i(),{ui:r,attrs:c}=l("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{k as default}; +import{d as p,aD as i,ap as l,aq as m,D as _,b as d,ai as f,w as h,j as g,t as v,E as e,ak as x,ad as y}from"./entry.bb8_tySE.js";const k=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}=i(),{ui:r,attrs:c}=l("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{k as default}; diff --git a/_nuxt/Static.sF5CEZKL.js b/_nuxt/Static.KF8AZHdU.js similarity index 53% rename from _nuxt/Static.sF5CEZKL.js rename to _nuxt/Static.KF8AZHdU.js index f6e9b7af..bfcb83f7 100644 --- a/_nuxt/Static.sF5CEZKL.js +++ b/_nuxt/Static.KF8AZHdU.js @@ -1 +1 @@ -import{d as t}from"./entry.rQ92EvLv.js";const o=t({name:"OgImageStatic",async setup(a,{attrs:e}){return()=>null}});export{o as default}; +import{d as t}from"./entry.bb8_tySE.js";const o=t({name:"OgImageStatic",async setup(a,{attrs:e}){return()=>null}});export{o as default}; diff --git a/_nuxt/Tabs.dur47YT0.js b/_nuxt/Tabs.LoQ_n_X2.js similarity index 96% rename from _nuxt/Tabs.dur47YT0.js rename to _nuxt/Tabs.LoQ_n_X2.js index 8bc0fb16..d2e5091b 100644 --- a/_nuxt/Tabs.dur47YT0.js +++ b/_nuxt/Tabs.LoQ_n_X2.js @@ -1 +1 @@ -import{d as C,b8 as w,ap as B,aq as I,r as y,D,bf as S,b as s,c as n,e as b,n as l,E as e,F as f,ah as g,ai as h,f as N,t as U,au as z,av as A,bb as E,ak as F,ab as V}from"./entry.rQ92EvLv.js";const $=["onClick"],L=C({inheritAttrs:!1,__name:"Tabs",props:{selectedIndex:{type:Number,default:0},class:{type:[String,Object,Array],default:void 0}},setup(k){const x={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"}}},d=k,i=w(),{ui:r,attrs:_}=B("content.tabs",void 0,x,I(d,"class"),!0),p=y(d.selectedIndex||0),m=y(1),v=D(()=>{var u;return m.value,((u=i.default)==null?void 0:u.call(i).map((o,c)=>{var t,a;return{index:c,label:((t=o.props)==null?void 0:t.label)||`${c}`,icon:(a=o.props)==null?void 0:a.icon,component:o}}))||[]});return S(()=>{m.value+=1}),(u,o)=>{const c=V;return s(),n("div",F({class:e(r).wrapper},e(_)),[b("div",{class:l(e(r).header)},[b("div",{class:l(e(r).border)},null,2),(s(!0),n(f,null,g(e(v),(t,a)=>(s(),n("button",{key:a,class:l([e(r).tab.base,e(p)===a?e(r).tab.active:e(r).tab.inactive]),onClick:j=>p.value=a},[t.icon?(s(),h(c,{key:0,name:t.icon,class:l(e(r).tab.icon.base)},null,8,["name","class"])):N("",!0),b("span",null,U(t.label),1)],10,$))),128))],2),(s(!0),n(f,null,g(e(v),(t,a)=>z((s(),n("div",{key:a},[(s(),h(E(t.component)))])),[[A,e(p)===a]])),128))],16)}}});export{L as default}; +import{d as C,b8 as w,ap as B,aq as I,r as y,D,bf as S,b as s,c as n,e as b,n as l,E as e,F as f,ah as g,ai as h,f as N,t as U,au as z,av as A,bb as E,ak as F,ab as V}from"./entry.bb8_tySE.js";const $=["onClick"],L=C({inheritAttrs:!1,__name:"Tabs",props:{selectedIndex:{type:Number,default:0},class:{type:[String,Object,Array],default:void 0}},setup(k){const x={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"}}},d=k,i=w(),{ui:r,attrs:_}=B("content.tabs",void 0,x,I(d,"class"),!0),p=y(d.selectedIndex||0),m=y(1),v=D(()=>{var u;return m.value,((u=i.default)==null?void 0:u.call(i).map((o,c)=>{var t,a;return{index:c,label:((t=o.props)==null?void 0:t.label)||`${c}`,icon:(a=o.props)==null?void 0:a.icon,component:o}}))||[]});return S(()=>{m.value+=1}),(u,o)=>{const c=V;return s(),n("div",F({class:e(r).wrapper},e(_)),[b("div",{class:l(e(r).header)},[b("div",{class:l(e(r).border)},null,2),(s(!0),n(f,null,g(e(v),(t,a)=>(s(),n("button",{key:a,class:l([e(r).tab.base,e(p)===a?e(r).tab.active:e(r).tab.inactive]),onClick:j=>p.value=a},[t.icon?(s(),h(c,{key:0,name:t.icon,class:l(e(r).tab.icon.base)},null,8,["name","class"])):N("",!0),b("span",null,U(t.label),1)],10,$))),128))],2),(s(!0),n(f,null,g(e(v),(t,a)=>z((s(),n("div",{key:a},[(s(),h(E(t.component)))])),[[A,e(p)===a]])),128))],16)}}});export{L as default}; diff --git a/_nuxt/VoltaBoard.DCgtt5wB.js b/_nuxt/VoltaBoard.zdDTcWAp.js similarity index 81% rename from _nuxt/VoltaBoard.DCgtt5wB.js rename to _nuxt/VoltaBoard.zdDTcWAp.js index 9c320779..e44cf72d 100644 --- a/_nuxt/VoltaBoard.DCgtt5wB.js +++ b/_nuxt/VoltaBoard.zdDTcWAp.js @@ -1 +1 @@ -import{d as n,D as r,b as s,c,E as a}from"./entry.rQ92EvLv.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,D as r,b as s,c,E as a}from"./entry.bb8_tySE.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.DWQ9lg6Z.js b/_nuxt/WithoutCache.jWN3-d9y.js similarity index 55% rename from _nuxt/WithoutCache.DWQ9lg6Z.js rename to _nuxt/WithoutCache.jWN3-d9y.js index a8401bef..709e4f8d 100644 --- a/_nuxt/WithoutCache.DWQ9lg6Z.js +++ b/_nuxt/WithoutCache.jWN3-d9y.js @@ -1 +1 @@ -import{d as t}from"./entry.rQ92EvLv.js";const o=t({name:"OgImageWithoutCache",async setup(e,{attrs:a}){return()=>null}});export{o as default}; +import{d as t}from"./entry.bb8_tySE.js";const o=t({name:"OgImageWithoutCache",async setup(e,{attrs:a}){return()=>null}});export{o as default}; diff --git a/_nuxt/_...slug_.XBre0RD3.js b/_nuxt/_...slug_.gzKFHVcm.js similarity index 98% rename from _nuxt/_...slug_.XBre0RD3.js rename to _nuxt/_...slug_.gzKFHVcm.js index 7ee5c0e1..5c4c2866 100644 --- a/_nuxt/_...slug_.XBre0RD3.js +++ b/_nuxt/_...slug_.gzKFHVcm.js @@ -1 +1 @@ -import{d as S,ap as A,aq as f,b as o,c as d,n as l,E as t,aj as k,j as T,t as $,f as g,e as b,g as C,F as D,ah as E,ai as h,ak as x,ab as j,ao as le,w as O,aL as ce,U as re,l as ue,am as de,an as ee,ac as R,D as U,aM as q,at as N,y as M,aN as pe,aO as ge,r as B,H as me,aP as ye,aQ as be,u as fe,aR as ve,k as he,v as ke,aS as te,aT as xe,aU as _e,aw as ae,aV as ne,aW as we,aX as $e,s as se,aY as Ce}from"./entry.rQ92EvLv.js";import Se from"./ContentRenderer.UC5NeHM0.js";import"./ContentRendererMarkdown.vue.xY8wmzHI.js";import"./MDCRenderer.r7QY4jzo.js";const Ae={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:{"2xs":"border-t",xs:"border-t-[2px]",sm:"border-t-[3px]",md:"border-t-[4px]",lg:"border-t-[5px]",xl:"border-t-[6px]"},vertical:{"2xs":"border-s",xs:"border-s-[2px]",sm:"border-s-[3px]",md:"border-s-[4px]",lg:"border-s-[5px]",xl:"border-s-[6px]"}},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",default:{size:"2xs"}},Ue={class:"flex flex-col lg:flex-row items-start gap-6"},Oe={class:"flex-1"},je=S({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(e){const s={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-3 text-sm/6 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=e,{ui:r,attrs:n}=A("page.header",f(i,"ui"),s,f(i,"class"),!0);return(a,c)=>{var p;const m=j,y=le;return o(),d("div",x({class:t(r).wrapper},t(n)),[e.headline||a.$slots.headline?(o(),d("div",{key:0,class:l(t(r).headline)},[k(a.$slots,"headline",{},()=>[T($(e.headline),1)])],2)):g("",!0),b("div",Ue,[e.icon||a.$slots.icon?(o(),d("div",{key:0,class:l(t(r).icon.wrapper)},[k(a.$slots,"icon",{},()=>[C(m,{name:e.icon,class:l(t(r).icon.base)},null,8,["name","class"])])],2)):g("",!0),b("div",Oe,[b("div",{class:l(t(r).container)},[b("h1",{class:l(t(r).title)},[k(a.$slots,"title",{},()=>[T($(e.title),1)])],2),(p=e.links)!=null&&p.length||a.$slots.links?(o(),d("div",{key:0,class:l(t(r).links)},[k(a.$slots,"links",{},()=>[(o(!0),d(D,null,E(e.links,(v,u)=>(o(),h(y,x({key:u},{...v,target:v.target||"_blank",color:v.color||"white"},{onClick:v.click}),null,16,["onClick"]))),128))])],2)):g("",!0)],2),e.description||a.$slots.description?(o(),d("p",{key:0,class:l(t(r).description)},[k(a.$slots,"description",{},()=>[T($(e.description),1)])],2)):g("",!0),k(a.$slots,"default")])])],16)}}}),ze=S({inheritAttrs:!1,__name:"ContentSurroundLink",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(e){const s={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=e,{ui:r,attrs:n}=A("content.surround.link",f(i,"ui"),s,f(i,"class"),!0);return(a,c)=>{const m=j,y=ce;return o(),h(y,x({to:e.link._path,class:t(r).wrapper},t(n)),{default:O(()=>[e.icon||e.link.icon?(o(),d("div",{key:0,class:l(t(r).icon.wrapper)},[C(m,{name:e.icon||e.link.icon,class:l(t(r).icon.base)},null,8,["name","class"])],2)):g("",!0),b("p",{class:l(t(r).title)},$(e.link.title),3),b("p",{class:l(t(r).description)},$(e.link.description),3)]),_:1},16,["to","class"])}}}),Ie={key:1,class:"hidden sm:block"},Te=S({inheritAttrs:!1,__name:"ContentSurround",props:{surround:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const s={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=e,{ui:r,attrs:n}=A("content.surround",f(i,"ui"),s,f(i,"class"),!0),[a,c]=i.surround||[];return(m,y)=>{const p=ze;return o(),d("div",x({class:t(r).wrapper},t(n)),[t(a)?(o(),h(p,{key:0,link:t(a),ui:t(r).link,icon:t(r).icon.prev},null,8,["link","ui","icon"])):(o(),d("span",Ie," ")),t(c)?(o(),h(p,{key:2,link:t(c),ui:t(r).link,icon:t(r).icon.next,class:"text-right"},null,8,["link","ui","icon"])):g("",!0)],16)}}}),Le=(e,s)=>(console.warn("[@nuxt/ui-pro] `DocsSurround` is deprecated, use `ContentSurround` instead."),re(Te,s.attrs,s.slots)),Pe=S({inheritAttrs:!1,__name:"PageBody",props:{prose:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const s={wrapper:"mt-8 pb-24",prose:"prose prose-primary dark:prose-invert max-w-none"},i=e,{ui:r,attrs:n}=A("page.body",f(i,"ui"),s,f(i,"class"),!0);return(a,c)=>(o(),d("div",x({class:[t(r).wrapper,e.prose&&t(r).prose]},t(n)),[k(a.$slots,"default")],16))}}),P=de(ee.ui.strategy,ee.ui.divider,Ae),Be=S({components:{UIcon:j,UAvatar:R},inheritAttrs:!1,props:{label:{type:String,default:null},icon:{type:String,default:null},avatar:{type:Object,default:null},size:{type:String,default:()=>P.default.size,validator(e){return Object.keys(P.border.size.horizontal).includes(e)||Object.keys(P.border.size.vertical).includes(e)}},orientation:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},type:{type:String,default:"solid",validator:e=>["solid","dotted","dashed"].includes(e)},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:s,attrs:i}=A("divider",f(e,"ui"),P),r=U(()=>q(N(s.value.wrapper.base,s.value.wrapper[e.orientation]),e.class)),n=U(()=>N(s.value.container.base,s.value.container[e.orientation])),a=U(()=>N(s.value.border.base,s.value.border[e.orientation],s.value.border.size[e.orientation][e.size],s.value.border.type[e.type]));return{ui:s,attrs:i,wrapperClass:r,containerClass:n,borderClass:a}}});function De(e,s,i,r,n,a){const c=j,m=R;return o(),d("div",x({class:e.wrapperClass},e.attrs),[b("div",{class:l(e.borderClass)},null,2),e.label||e.icon||e.avatar||e.$slots.default?(o(),d(D,{key:0},[b("div",{class:l(e.containerClass)},[k(e.$slots,"default",{},()=>[e.label?(o(),d("span",{key:0,class:l(e.ui.label)},$(e.label),3)):e.icon?(o(),h(c,{key:1,name:e.icon,class:l(e.ui.icon.base)},null,8,["name","class"])):e.avatar?(o(),h(m,x({key:2},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):g("",!0)])],2),b("div",{class:l(e.borderClass)},null,2)],64)):g("",!0)],16)}const He=ue(Be,[["render",De]]),Ne=S({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(e){const s=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:s.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"})),r=e,{ui:n,attrs:a}=A("page.links",f(r,"ui"),i,f(r,"class"),!0);return(c,m)=>{const y=j,p=R,v=ge;return o(),d("div",x({class:t(n).wrapper},t(a)),[e.title||c.$slots.title?(o(),d("p",{key:0,class:l(t(n).title)},[k(c.$slots,"title",{},()=>[T($(e.title),1)])],2)):g("",!0),b("div",{class:l(t(n).container)},[k(c.$slots,"default",{},()=>[(o(!0),d(D,null,E(e.links,(u,_)=>(o(),h(v,x({key:_},t(pe)(u),{class:t(n).base,"active-class":t(n).active,"inactive-class":t(n).inactive,onClick:u.click}),{default:O(()=>[u.icon?(o(),h(y,{key:0,name:u.icon,class:l(t(q)(t(n).icon.base,u.iconClass))},null,8,["name","class"])):g("",!0),u.avatar?(o(),h(p,x({key:1},{size:t(n).avatar.size,...u.avatar},{class:t(q)(t(n).avatar.base,u.avatarClass)}),null,16,["class"])):g("",!0),b("span",{class:l(t(n).label)},[T($(u.label)+" ",1),u.target==="_blank"?(o(),h(y,{key:0,name:t(n).externalIcon.name,class:l(t(n).externalIcon.base)},null,8,["name","class"])):g("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))])],2)],16)}}}),qe=()=>{const e=B(),s=B([]),i=B([]),r=a=>{a.forEach(c=>{const m=c.target.id;c.isIntersecting?s.value=[...s.value,m]:s.value=s.value.filter(y=>y!==m)})},n=a=>{a.forEach(c=>{e.value&&e.value.observe(c)})};return me(s,(a,c)=>{a.length===0?i.value=c:i.value=a}),ye(()=>e.value=new IntersectionObserver(r)),be(()=>{var a;return(a=e.value)==null?void 0:a.disconnect()}),{visibleHeadings:s,activeHeadings:i,updateHeadings:n}},Ee=["href","onClick"],oe=S({inheritAttrs:!1,__name:"ContentTocLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},emits:["move"],setup(e,{emit:s}){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"},r=e,n=s,a=fe(),c=he(),{activeHeadings:m,updateHeadings:y}=qe(),{ui:p,attrs:v}=A("content.toc.links",f(r,"ui"),i,f(r,"class"),!0);c.hooks.hookOnce("page:finish",()=>{y([...document.querySelectorAll("h2"),...document.querySelectorAll("h3")])});const u=_=>{const z=encodeURIComponent(_);a.push(`#${z}`),n("move",_)};return(_,z)=>{var L;const H=oe;return(L=e.links)!=null&&L.length?(o(),d("ul",x({key:0,class:t(p).wrapper},t(v)),[(o(!0),d(D,null,E(e.links,w=>(o(),d("li",{key:w.text,class:l([t(p).wrapper,w.depth===3&&t(p).depth])},[b("a",{href:`#${w.id}`,class:l([t(p).base,t(m).includes(w.id)?t(p).active:t(p).inactive]),onClick:ve(V=>u(w.id),["prevent"])},$(w.text),11,Ee),w.children?(o(),h(H,{key:0,links:w.children},null,8,["links"])):g("",!0)],2))),128))],16)):g("",!0)}}}),Re=S({inheritAttrs:!1,__name:"ContentToc",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(e){const s=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:s.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:{}})),r=e,{ui:n,attrs:a}=A("content.toc",f(r,"ui"),i,f(r,"class"),!0),c=B(!1);return(m,y)=>{var u,_;const p=j,v=oe;return o(),d("nav",x({class:t(n).wrapper},t(a)),[b("div",{class:l([(u=e.links)!=null&&u.length?t(n).container.base:t(n).container.empty])},[k(m.$slots,"top"),(_=e.links)!=null&&_.length?(o(),d("button",{key:0,class:l(t(n).button.base),tabindex:"-1",onClick:y[0]||(y[0]=z=>c.value=!t(c))},[b("span",{class:l(t(n).button.label)},$(e.title),3),C(p,{name:t(n).button.trailingIcon.name,class:l(["lg:!hidden",[t(n).button.trailingIcon.base,t(c)?t(n).button.trailingIcon.active:t(n).button.trailingIcon.inactive]])},null,8,["name","class"])],2)):g("",!0),C(v,{links:e.links,ui:t(n).links,class:l([t(c)?"lg:block":"hidden lg:block"])},null,8,["links","ui","class"]),k(m.$slots,"bottom")],2)],16)}}}),Me=(e,s)=>(console.warn("[@nuxt/ui-pro] `DocsToc` is deprecated, use `ContentToc` instead."),re(Re,s.attrs,s.slots)),Ve={key:1},We=S({__name:"[...slug]",async setup(e){let s,i;const r=ke(),{toc:n}=M(),{data:a}=([s,i]=te(()=>ne(r.path,()=>se(r.path).findOne(),"$aROEKgqrzL")),s=await s,i(),s);if(!a.value)throw xe({statusCode:404,statusMessage:"Page not found",fatal:!0});const{data:c}=([s,i]=te(()=>ne(`${r.path}-surround`,()=>se().where({_extension:"md",navigation:{$ne:!1}}).only(["title","description","_path"]).findSurround(Ce(r.path)))),s=await s,i(),s);_e({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 m=U(()=>we(a.value)),y=U(()=>{var p,v,u;return[((p=n==null?void 0:n.bottom)==null?void 0:p.edit)&&{icon:"i-heroicons-pencil-square",label:"Edit this page",to:`${n.bottom.edit}/${(v=a==null?void 0:a.value)==null?void 0:v._file}`,target:"_blank"},...((u=n==null?void 0:n.bottom)==null?void 0:u.links)||[]].filter(Boolean)});return(p,v)=>{const u=je,_=Se,z=Le,H=Pe,L=He,w=Ne,V=Me,ie=$e;return o(),h(ie,null,ae({default:O(()=>[C(u,{title:t(a).title,description:t(a).description,links:t(a).links,headline:t(m)},null,8,["title","description","links","headline"]),C(H,{prose:""},{default:O(()=>{var I;return[t(a).body?(o(),h(_,{key:0,value:t(a)},null,8,["value"])):g("",!0),(I=t(c))!=null&&I.length?(o(),d("hr",Ve)):g("",!0),C(z,{surround:t(c)},null,8,["surround"])]}),_:1})]),_:2},[t(a).toc!==!1?{name:"right",fn:O(()=>{var I,F,J,K;return[C(V,{title:(I=t(n))==null?void 0:I.title,links:(J=(F=t(a).body)==null?void 0:F.toc)==null?void 0:J.links},ae({_:2},[(K=t(n))!=null&&K.bottom?{name:"bottom",fn:O(()=>{var Q,W,X,Y,G,Z;return[b("div",{class:l(["hidden lg:block space-y-6",{"!mt-6":(X=(W=(Q=t(a).body)==null?void 0:Q.toc)==null?void 0:W.links)==null?void 0:X.length}])},[(Z=(G=(Y=t(a).body)==null?void 0:Y.toc)==null?void 0:G.links)!=null&&Z.length?(o(),h(L,{key:0,type:"dashed"})):g("",!0),C(w,{title:t(n).bottom.title,links:t(y)},null,8,["title","links"])],2)]}),key:"0"}:void 0]),1032,["title","links"])]}),key:"0"}:void 0]),1024)}}});export{We as default}; +import{d as S,ap as A,aq as f,b as o,c as d,n as l,E as t,aj as k,j as T,t as $,f as g,e as b,g as C,F as D,ah as E,ai as h,ak as x,ab as j,ao as le,w as O,aL as ce,U as re,l as ue,am as de,an as ee,ac as R,D as U,aM as q,at as N,y as M,aN as pe,aO as ge,r as B,H as me,aP as ye,aQ as be,u as fe,aR as ve,k as he,v as ke,aS as te,aT as xe,aU as _e,aw as ae,aV as ne,aW as we,aX as $e,s as se,aY as Ce}from"./entry.bb8_tySE.js";import Se from"./ContentRenderer.kEUwcalk.js";import"./ContentRendererMarkdown.vue.hQ-DmwXW.js";import"./MDCRenderer.QrfRPW2s.js";const Ae={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:{"2xs":"border-t",xs:"border-t-[2px]",sm:"border-t-[3px]",md:"border-t-[4px]",lg:"border-t-[5px]",xl:"border-t-[6px]"},vertical:{"2xs":"border-s",xs:"border-s-[2px]",sm:"border-s-[3px]",md:"border-s-[4px]",lg:"border-s-[5px]",xl:"border-s-[6px]"}},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",default:{size:"2xs"}},Ue={class:"flex flex-col lg:flex-row items-start gap-6"},Oe={class:"flex-1"},je=S({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(e){const s={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-3 text-sm/6 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=e,{ui:r,attrs:n}=A("page.header",f(i,"ui"),s,f(i,"class"),!0);return(a,c)=>{var p;const m=j,y=le;return o(),d("div",x({class:t(r).wrapper},t(n)),[e.headline||a.$slots.headline?(o(),d("div",{key:0,class:l(t(r).headline)},[k(a.$slots,"headline",{},()=>[T($(e.headline),1)])],2)):g("",!0),b("div",Ue,[e.icon||a.$slots.icon?(o(),d("div",{key:0,class:l(t(r).icon.wrapper)},[k(a.$slots,"icon",{},()=>[C(m,{name:e.icon,class:l(t(r).icon.base)},null,8,["name","class"])])],2)):g("",!0),b("div",Oe,[b("div",{class:l(t(r).container)},[b("h1",{class:l(t(r).title)},[k(a.$slots,"title",{},()=>[T($(e.title),1)])],2),(p=e.links)!=null&&p.length||a.$slots.links?(o(),d("div",{key:0,class:l(t(r).links)},[k(a.$slots,"links",{},()=>[(o(!0),d(D,null,E(e.links,(v,u)=>(o(),h(y,x({key:u},{...v,target:v.target||"_blank",color:v.color||"white"},{onClick:v.click}),null,16,["onClick"]))),128))])],2)):g("",!0)],2),e.description||a.$slots.description?(o(),d("p",{key:0,class:l(t(r).description)},[k(a.$slots,"description",{},()=>[T($(e.description),1)])],2)):g("",!0),k(a.$slots,"default")])])],16)}}}),ze=S({inheritAttrs:!1,__name:"ContentSurroundLink",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(e){const s={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=e,{ui:r,attrs:n}=A("content.surround.link",f(i,"ui"),s,f(i,"class"),!0);return(a,c)=>{const m=j,y=ce;return o(),h(y,x({to:e.link._path,class:t(r).wrapper},t(n)),{default:O(()=>[e.icon||e.link.icon?(o(),d("div",{key:0,class:l(t(r).icon.wrapper)},[C(m,{name:e.icon||e.link.icon,class:l(t(r).icon.base)},null,8,["name","class"])],2)):g("",!0),b("p",{class:l(t(r).title)},$(e.link.title),3),b("p",{class:l(t(r).description)},$(e.link.description),3)]),_:1},16,["to","class"])}}}),Ie={key:1,class:"hidden sm:block"},Te=S({inheritAttrs:!1,__name:"ContentSurround",props:{surround:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const s={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=e,{ui:r,attrs:n}=A("content.surround",f(i,"ui"),s,f(i,"class"),!0),[a,c]=i.surround||[];return(m,y)=>{const p=ze;return o(),d("div",x({class:t(r).wrapper},t(n)),[t(a)?(o(),h(p,{key:0,link:t(a),ui:t(r).link,icon:t(r).icon.prev},null,8,["link","ui","icon"])):(o(),d("span",Ie," ")),t(c)?(o(),h(p,{key:2,link:t(c),ui:t(r).link,icon:t(r).icon.next,class:"text-right"},null,8,["link","ui","icon"])):g("",!0)],16)}}}),Le=(e,s)=>(console.warn("[@nuxt/ui-pro] `DocsSurround` is deprecated, use `ContentSurround` instead."),re(Te,s.attrs,s.slots)),Pe=S({inheritAttrs:!1,__name:"PageBody",props:{prose:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(e){const s={wrapper:"mt-8 pb-24",prose:"prose prose-primary dark:prose-invert max-w-none"},i=e,{ui:r,attrs:n}=A("page.body",f(i,"ui"),s,f(i,"class"),!0);return(a,c)=>(o(),d("div",x({class:[t(r).wrapper,e.prose&&t(r).prose]},t(n)),[k(a.$slots,"default")],16))}}),P=de(ee.ui.strategy,ee.ui.divider,Ae),Be=S({components:{UIcon:j,UAvatar:R},inheritAttrs:!1,props:{label:{type:String,default:null},icon:{type:String,default:null},avatar:{type:Object,default:null},size:{type:String,default:()=>P.default.size,validator(e){return Object.keys(P.border.size.horizontal).includes(e)||Object.keys(P.border.size.vertical).includes(e)}},orientation:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},type:{type:String,default:"solid",validator:e=>["solid","dotted","dashed"].includes(e)},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:s,attrs:i}=A("divider",f(e,"ui"),P),r=U(()=>q(N(s.value.wrapper.base,s.value.wrapper[e.orientation]),e.class)),n=U(()=>N(s.value.container.base,s.value.container[e.orientation])),a=U(()=>N(s.value.border.base,s.value.border[e.orientation],s.value.border.size[e.orientation][e.size],s.value.border.type[e.type]));return{ui:s,attrs:i,wrapperClass:r,containerClass:n,borderClass:a}}});function De(e,s,i,r,n,a){const c=j,m=R;return o(),d("div",x({class:e.wrapperClass},e.attrs),[b("div",{class:l(e.borderClass)},null,2),e.label||e.icon||e.avatar||e.$slots.default?(o(),d(D,{key:0},[b("div",{class:l(e.containerClass)},[k(e.$slots,"default",{},()=>[e.label?(o(),d("span",{key:0,class:l(e.ui.label)},$(e.label),3)):e.icon?(o(),h(c,{key:1,name:e.icon,class:l(e.ui.icon.base)},null,8,["name","class"])):e.avatar?(o(),h(m,x({key:2},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):g("",!0)])],2),b("div",{class:l(e.borderClass)},null,2)],64)):g("",!0)],16)}const He=ue(Be,[["render",De]]),Ne=S({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(e){const s=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:s.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"})),r=e,{ui:n,attrs:a}=A("page.links",f(r,"ui"),i,f(r,"class"),!0);return(c,m)=>{const y=j,p=R,v=ge;return o(),d("div",x({class:t(n).wrapper},t(a)),[e.title||c.$slots.title?(o(),d("p",{key:0,class:l(t(n).title)},[k(c.$slots,"title",{},()=>[T($(e.title),1)])],2)):g("",!0),b("div",{class:l(t(n).container)},[k(c.$slots,"default",{},()=>[(o(!0),d(D,null,E(e.links,(u,_)=>(o(),h(v,x({key:_},t(pe)(u),{class:t(n).base,"active-class":t(n).active,"inactive-class":t(n).inactive,onClick:u.click}),{default:O(()=>[u.icon?(o(),h(y,{key:0,name:u.icon,class:l(t(q)(t(n).icon.base,u.iconClass))},null,8,["name","class"])):g("",!0),u.avatar?(o(),h(p,x({key:1},{size:t(n).avatar.size,...u.avatar},{class:t(q)(t(n).avatar.base,u.avatarClass)}),null,16,["class"])):g("",!0),b("span",{class:l(t(n).label)},[T($(u.label)+" ",1),u.target==="_blank"?(o(),h(y,{key:0,name:t(n).externalIcon.name,class:l(t(n).externalIcon.base)},null,8,["name","class"])):g("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))])],2)],16)}}}),qe=()=>{const e=B(),s=B([]),i=B([]),r=a=>{a.forEach(c=>{const m=c.target.id;c.isIntersecting?s.value=[...s.value,m]:s.value=s.value.filter(y=>y!==m)})},n=a=>{a.forEach(c=>{e.value&&e.value.observe(c)})};return me(s,(a,c)=>{a.length===0?i.value=c:i.value=a}),ye(()=>e.value=new IntersectionObserver(r)),be(()=>{var a;return(a=e.value)==null?void 0:a.disconnect()}),{visibleHeadings:s,activeHeadings:i,updateHeadings:n}},Ee=["href","onClick"],oe=S({inheritAttrs:!1,__name:"ContentTocLinks",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},emits:["move"],setup(e,{emit:s}){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"},r=e,n=s,a=fe(),c=he(),{activeHeadings:m,updateHeadings:y}=qe(),{ui:p,attrs:v}=A("content.toc.links",f(r,"ui"),i,f(r,"class"),!0);c.hooks.hookOnce("page:finish",()=>{y([...document.querySelectorAll("h2"),...document.querySelectorAll("h3")])});const u=_=>{const z=encodeURIComponent(_);a.push(`#${z}`),n("move",_)};return(_,z)=>{var L;const H=oe;return(L=e.links)!=null&&L.length?(o(),d("ul",x({key:0,class:t(p).wrapper},t(v)),[(o(!0),d(D,null,E(e.links,w=>(o(),d("li",{key:w.text,class:l([t(p).wrapper,w.depth===3&&t(p).depth])},[b("a",{href:`#${w.id}`,class:l([t(p).base,t(m).includes(w.id)?t(p).active:t(p).inactive]),onClick:ve(V=>u(w.id),["prevent"])},$(w.text),11,Ee),w.children?(o(),h(H,{key:0,links:w.children},null,8,["links"])):g("",!0)],2))),128))],16)):g("",!0)}}}),Re=S({inheritAttrs:!1,__name:"ContentToc",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(e){const s=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:s.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:{}})),r=e,{ui:n,attrs:a}=A("content.toc",f(r,"ui"),i,f(r,"class"),!0),c=B(!1);return(m,y)=>{var u,_;const p=j,v=oe;return o(),d("nav",x({class:t(n).wrapper},t(a)),[b("div",{class:l([(u=e.links)!=null&&u.length?t(n).container.base:t(n).container.empty])},[k(m.$slots,"top"),(_=e.links)!=null&&_.length?(o(),d("button",{key:0,class:l(t(n).button.base),tabindex:"-1",onClick:y[0]||(y[0]=z=>c.value=!t(c))},[b("span",{class:l(t(n).button.label)},$(e.title),3),C(p,{name:t(n).button.trailingIcon.name,class:l(["lg:!hidden",[t(n).button.trailingIcon.base,t(c)?t(n).button.trailingIcon.active:t(n).button.trailingIcon.inactive]])},null,8,["name","class"])],2)):g("",!0),C(v,{links:e.links,ui:t(n).links,class:l([t(c)?"lg:block":"hidden lg:block"])},null,8,["links","ui","class"]),k(m.$slots,"bottom")],2)],16)}}}),Me=(e,s)=>(console.warn("[@nuxt/ui-pro] `DocsToc` is deprecated, use `ContentToc` instead."),re(Re,s.attrs,s.slots)),Ve={key:1},We=S({__name:"[...slug]",async setup(e){let s,i;const r=ke(),{toc:n}=M(),{data:a}=([s,i]=te(()=>ne(r.path,()=>se(r.path).findOne(),"$aROEKgqrzL")),s=await s,i(),s);if(!a.value)throw xe({statusCode:404,statusMessage:"Page not found",fatal:!0});const{data:c}=([s,i]=te(()=>ne(`${r.path}-surround`,()=>se().where({_extension:"md",navigation:{$ne:!1}}).only(["title","description","_path"]).findSurround(Ce(r.path)))),s=await s,i(),s);_e({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 m=U(()=>we(a.value)),y=U(()=>{var p,v,u;return[((p=n==null?void 0:n.bottom)==null?void 0:p.edit)&&{icon:"i-heroicons-pencil-square",label:"Edit this page",to:`${n.bottom.edit}/${(v=a==null?void 0:a.value)==null?void 0:v._file}`,target:"_blank"},...((u=n==null?void 0:n.bottom)==null?void 0:u.links)||[]].filter(Boolean)});return(p,v)=>{const u=je,_=Se,z=Le,H=Pe,L=He,w=Ne,V=Me,ie=$e;return o(),h(ie,null,ae({default:O(()=>[C(u,{title:t(a).title,description:t(a).description,links:t(a).links,headline:t(m)},null,8,["title","description","links","headline"]),C(H,{prose:""},{default:O(()=>{var I;return[t(a).body?(o(),h(_,{key:0,value:t(a)},null,8,["value"])):g("",!0),(I=t(c))!=null&&I.length?(o(),d("hr",Ve)):g("",!0),C(z,{surround:t(c)},null,8,["surround"])]}),_:1})]),_:2},[t(a).toc!==!1?{name:"right",fn:O(()=>{var I,F,J,K;return[C(V,{title:(I=t(n))==null?void 0:I.title,links:(J=(F=t(a).body)==null?void 0:F.toc)==null?void 0:J.links},ae({_:2},[(K=t(n))!=null&&K.bottom?{name:"bottom",fn:O(()=>{var Q,W,X,Y,G,Z;return[b("div",{class:l(["hidden lg:block space-y-6",{"!mt-6":(X=(W=(Q=t(a).body)==null?void 0:Q.toc)==null?void 0:W.links)==null?void 0:X.length}])},[(Z=(G=(Y=t(a).body)==null?void 0:Y.toc)==null?void 0:G.links)!=null&&Z.length?(o(),h(L,{key:0,type:"dashed"})):g("",!0),C(w,{title:t(n).bottom.title,links:t(y)},null,8,["title","links"])],2)]}),key:"0"}:void 0]),1032,["title","links"])]}),key:"0"}:void 0]),1024)}}});export{We as default}; diff --git a/_nuxt/builds/latest.json b/_nuxt/builds/latest.json index c16fef6f..3dc344ae 100644 --- a/_nuxt/builds/latest.json +++ b/_nuxt/builds/latest.json @@ -1 +1 @@ -{"id":"1732807e-3c90-40ae-a601-c6fedc03a2cf","timestamp":1709806214403} \ No newline at end of file +{"id":"3d58bf2a-d4ee-4e0d-afe3-0c04e9632884","timestamp":1711702815759} \ No newline at end of file diff --git a/_nuxt/builds/meta/1732807e-3c90-40ae-a601-c6fedc03a2cf.json b/_nuxt/builds/meta/1732807e-3c90-40ae-a601-c6fedc03a2cf.json deleted file mode 100644 index 67ab238b..00000000 --- a/_nuxt/builds/meta/1732807e-3c90-40ae-a601-c6fedc03a2cf.json +++ /dev/null @@ -1 +0,0 @@ -{"id":"1732807e-3c90-40ae-a601-c6fedc03a2cf","timestamp":1709806214403,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":["/","/authentication","/get-started","/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/3d58bf2a-d4ee-4e0d-afe3-0c04e9632884.json b/_nuxt/builds/meta/3d58bf2a-d4ee-4e0d-afe3-0c04e9632884.json new file mode 100644 index 00000000..f81fdd4a --- /dev/null +++ b/_nuxt/builds/meta/3d58bf2a-d4ee-4e0d-afe3-0c04e9632884.json @@ -0,0 +1 @@ +{"id":"3d58bf2a-d4ee-4e0d-afe3-0c04e9632884","timestamp":1711702815759,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":["/","/get-started","/authentication","/usage/services/serversupabaseclient","/demo","/usage/composables/usesupabaseuser","/usage/services/serversupabasesession","/usage/services/serversupabaseuser","/usage/composables/usesupabasesession","/usage/composables/usesupabaseclient","/roadmap","/usage/services/serversupabaseservicerole","/changelog"]} \ No newline at end of file diff --git a/_nuxt/client-db.WKxx-TH9.js b/_nuxt/client-db.FY6gSh6m.js similarity index 99% rename from _nuxt/client-db.WKxx-TH9.js rename to _nuxt/client-db.FY6gSh6m.js index e768550a..47a99171 100644 --- a/_nuxt/client-db.WKxx-TH9.js +++ b/_nuxt/client-db.FY6gSh6m.js @@ -1 +1 @@ -import{bn as _,by as Y,bz as j,bA as E,bB as B,bC as W,bD as $,bE as P,bF as M,bo as T,bl as k,m as D,bG as H,bk as z,bH as J,k as G}from"./entry.rQ92EvLv.js";import{c as F}from"./_commonjsHelpers.5-cIlDoe.js";const Z="memory",q=()=>{const t=new Map;return{name:Z,options:{},hasItem(r){return t.has(r)},getItem(r){return t.get(r)??null},getItemRaw(r){return t.get(r)??null},setItem(r,n){t.set(r,n)},setItemRaw(r,n){t.set(r,n)},removeItem(r){t.delete(r)},getKeys(){return Array.from(t.keys())},clear(){t.clear()},dispose(){t.clear()}}};function V(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function p(t,...r){try{return V(t(...r))}catch(n){return Promise.reject(n)}}function Q(t){const r=typeof t;return t===null||r!=="object"&&r!=="function"}function X(t){const r=Object.getPrototypeOf(t);return!r||r.isPrototypeOf(Object)}function K(t){if(Q(t))return String(t);if(X(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return K(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function N(){if(typeof Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}const R="base64:";function ee(t){if(typeof t=="string")return t;N();const r=Buffer.from(t).toString("base64");return R+r}function te(t){return typeof t!="string"||!t.startsWith(R)?t:(N(),Buffer.from(t.slice(R.length),"base64"))}const re=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function ne(t,r){if(r=A(r),!r)return t;const n={...t};for(const a of re)n[a]=(l="",...c)=>t[a](r+l,...c);return n.getKeys=(a="",...l)=>t.getKeys(r+a,...l).then(c=>c.map(o=>o.slice(r.length))),n}function d(t){return t?t.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function ie(...t){return d(t.join(":"))}function A(t){return t=d(t),t?t+":":""}const ae="memory",se=()=>{const t=new Map;return{name:ae,options:{},hasItem(r){return t.has(r)},getItem(r){return t.get(r)??null},getItemRaw(r){return t.get(r)??null},setItem(r,n){t.set(r,n)},setItemRaw(r,n){t.set(r,n)},removeItem(r){t.delete(r)},getKeys(){return Array.from(t.keys())},clear(){t.clear()},dispose(){t.clear()}}};function oe(t={}){const r={mounts:{"":t.driver||se()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=e=>{for(const i of r.mountpoints)if(e.startsWith(i))return{base:i,relativeKey:e.slice(i.length),driver:r.mounts[i]};return{base:"",relativeKey:e,driver:r.mounts[""]}},a=(e,i)=>r.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:r.mounts[s]})),l=(e,i)=>{if(r.watching){i=d(i);for(const s of r.watchListeners)s(e,i)}},c=async()=>{if(!r.watching){r.watching=!0;for(const e in r.mounts)r.unwatch[e]=await b(r.mounts[e],l,e)}},o=async()=>{if(r.watching){for(const e in r.unwatch)await r.unwatch[e]();r.unwatch={},r.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(r.mounts).map(e=>x(e)))},async watch(e){return await c(),r.watchListeners.push(e),async()=>{r.watchListeners=r.watchListeners.filter(i=>i!==e),r.watchListeners.length===0&&await o()}},async unwatch(){r.watchListeners=[],await o()},mount(e,i){if(e=A(e),e&&r.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(r.mountpoints.push(e),r.mountpoints.sort((s,u)=>u.length-s.length)),r.mounts[e]=i,r.watching&&Promise.resolve(b(i,l,e)).then(s=>{r.unwatch[e]=s}).catch(console.error),g},async unmount(e,i=!0){e=A(e),!(!e||!r.mounts[e])&&(r.watching&&e in r.unwatch&&(r.unwatch[e](),delete r.unwatch[e]),i&&await x(r.mounts[e]),r.mountpoints=r.mountpoints.filter(s=>s!==e),delete r.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 b(t,r,n){return t.watch?t.watch((a,l)=>r(a,n+l)):()=>{}}async function x(t){typeof t.dispose=="function"&&await p(t.dispose)}function ue(t={}){const r=ce(n,t.operators);function n(a,l){return typeof l!="object"||l instanceof RegExp?r.$eq(a,l):Object.keys(l||{}).every(c=>{const o=l[c];if(c.startsWith("$")&&r[c]){const h=r[c];return typeof h=="function"?h(a,o):!1}return n(Y(a,c),o)})}return n}function ce(t,r={}){return{$match:(n,a)=>t(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)=>!t(n,a),$and:(n,a)=>(j(a,"$and requires an array as condition"),a.every(l=>t(n,l))),$or:(n,a)=>(j(a,"$or requires an array as condition"),a.some(l=>t(n,l))),$in:(n,a)=>E(a).some(l=>Array.isArray(n)?t(n,{$contains:l}):t(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)=>(j(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,...r||{}}}function le(t){const r=ue(),n=(c,{query:o,before:h,after:g})=>{const e=typeof o=="string"?{_path:o}:o,i=c.findIndex(u=>r(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=>r(g,e)));return{...c,result:h,total:h.length}},(c,o)=>E(o.sort).forEach(h=>W(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=$(P(h.without))(i),i=$(M(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,...P(["_"])(f)})}}return o},(c,o)=>({...c,result:$(P(o.without))(c.result)}),(c,o)=>({...c,result:$(M(o.only))(c.result)})];return async c=>{const o=await t(),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?{...B(["skip","limit","total"])(i),result:i.result[0]}:i}}function L(t){const r=le(t);return async n=>{var c;n.params().first&&n.withDirConfig();const a=n.params(),l=await r(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(t,r){(function(n,a,l){t.exports=l(),t.exports.default=l()})("slugify",F,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=t=>t.split(/[\s-]/g).map(k).join(" ");function he(t,r){const{navigation:n}=D().public.content;if(n===!1)return[];const a=c=>({...pe(["title",...n.fields])(c),...de(c==null?void 0:c.navigation)?c.navigation:{}}),l=t.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=r[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=r[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 U(l)}const ge=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function U(t){var n;t.forEach(a=>{a._file=a._file.split(".").slice(0,-1).join(".")});const r=t.sort((a,l)=>ge.compare(a._file,l._file));for(const a of r)(n=a.children)!=null&&n.length?U(a.children):delete a.children,delete a._file;return t}function pe(t){return r=>(r=r||{},t&&t.length?t.filter(n=>typeof r[n]<"u").reduce((n,a)=>Object.assign(n,{[a]:r[a]}),{}):r)}function de(t){return Object.prototype.toString.call(t)==="[object Object]"}const ye=t=>J(t,D().public.content.api.baseURL),we=ne(oe({driver:q()}),"@content");function ve(t){async function r(){const n=new Set(await t.getKeys("cache:")),a=z().getPreviewToken();if(a){const c=await t.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 t.getKeys(`${a}:`),h=await Promise.all(o.map(g=>t.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=>t.getItem(c)))}return{storage:t,fetch:L(r),query:n=>H(L(r),{initialParams:n,legacy:!0})}}let C=null,S=null;async function Ie(){return S?await S:C||(S=Ae(),C=await S),C}async function Ae(){const t=G(),{content:r}=D().public,n=ve(we),a=await n.storage.getItem("integrity");if(r.integrity!==+(a||0)){const{contents:l,navigation:c}=await $fetch(ye(r.integrity?`cache.${r.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",r.integrity)}return await t.callHook("content:storage",n.storage),n}async function _e(t){const r=await Ie();if(!z().getPreviewToken()&&Object.keys(t||{}).length===0)return r.storage.getItem("navigation");const n=await r.query(t).where({_partial:!1,navigation:{$ne:!1}}).find(),l=(await r.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{bn as _,by as Y,bz as j,bA as E,bB as B,bC as W,bD as $,bE as P,bF as M,bo as T,bl as k,m as D,bG as H,bk as z,bH as J,k as G}from"./entry.bb8_tySE.js";import{c as F}from"./_commonjsHelpers.5-cIlDoe.js";const Z="memory",q=()=>{const t=new Map;return{name:Z,options:{},hasItem(r){return t.has(r)},getItem(r){return t.get(r)??null},getItemRaw(r){return t.get(r)??null},setItem(r,n){t.set(r,n)},setItemRaw(r,n){t.set(r,n)},removeItem(r){t.delete(r)},getKeys(){return Array.from(t.keys())},clear(){t.clear()},dispose(){t.clear()}}};function V(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function p(t,...r){try{return V(t(...r))}catch(n){return Promise.reject(n)}}function Q(t){const r=typeof t;return t===null||r!=="object"&&r!=="function"}function X(t){const r=Object.getPrototypeOf(t);return!r||r.isPrototypeOf(Object)}function K(t){if(Q(t))return String(t);if(X(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return K(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function N(){if(typeof Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}const R="base64:";function ee(t){if(typeof t=="string")return t;N();const r=Buffer.from(t).toString("base64");return R+r}function te(t){return typeof t!="string"||!t.startsWith(R)?t:(N(),Buffer.from(t.slice(R.length),"base64"))}const re=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function ne(t,r){if(r=A(r),!r)return t;const n={...t};for(const a of re)n[a]=(l="",...c)=>t[a](r+l,...c);return n.getKeys=(a="",...l)=>t.getKeys(r+a,...l).then(c=>c.map(o=>o.slice(r.length))),n}function d(t){return t?t.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function ie(...t){return d(t.join(":"))}function A(t){return t=d(t),t?t+":":""}const ae="memory",se=()=>{const t=new Map;return{name:ae,options:{},hasItem(r){return t.has(r)},getItem(r){return t.get(r)??null},getItemRaw(r){return t.get(r)??null},setItem(r,n){t.set(r,n)},setItemRaw(r,n){t.set(r,n)},removeItem(r){t.delete(r)},getKeys(){return Array.from(t.keys())},clear(){t.clear()},dispose(){t.clear()}}};function oe(t={}){const r={mounts:{"":t.driver||se()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=e=>{for(const i of r.mountpoints)if(e.startsWith(i))return{base:i,relativeKey:e.slice(i.length),driver:r.mounts[i]};return{base:"",relativeKey:e,driver:r.mounts[""]}},a=(e,i)=>r.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:r.mounts[s]})),l=(e,i)=>{if(r.watching){i=d(i);for(const s of r.watchListeners)s(e,i)}},c=async()=>{if(!r.watching){r.watching=!0;for(const e in r.mounts)r.unwatch[e]=await b(r.mounts[e],l,e)}},o=async()=>{if(r.watching){for(const e in r.unwatch)await r.unwatch[e]();r.unwatch={},r.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(r.mounts).map(e=>x(e)))},async watch(e){return await c(),r.watchListeners.push(e),async()=>{r.watchListeners=r.watchListeners.filter(i=>i!==e),r.watchListeners.length===0&&await o()}},async unwatch(){r.watchListeners=[],await o()},mount(e,i){if(e=A(e),e&&r.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(r.mountpoints.push(e),r.mountpoints.sort((s,u)=>u.length-s.length)),r.mounts[e]=i,r.watching&&Promise.resolve(b(i,l,e)).then(s=>{r.unwatch[e]=s}).catch(console.error),g},async unmount(e,i=!0){e=A(e),!(!e||!r.mounts[e])&&(r.watching&&e in r.unwatch&&(r.unwatch[e](),delete r.unwatch[e]),i&&await x(r.mounts[e]),r.mountpoints=r.mountpoints.filter(s=>s!==e),delete r.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 b(t,r,n){return t.watch?t.watch((a,l)=>r(a,n+l)):()=>{}}async function x(t){typeof t.dispose=="function"&&await p(t.dispose)}function ue(t={}){const r=ce(n,t.operators);function n(a,l){return typeof l!="object"||l instanceof RegExp?r.$eq(a,l):Object.keys(l||{}).every(c=>{const o=l[c];if(c.startsWith("$")&&r[c]){const h=r[c];return typeof h=="function"?h(a,o):!1}return n(Y(a,c),o)})}return n}function ce(t,r={}){return{$match:(n,a)=>t(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)=>!t(n,a),$and:(n,a)=>(j(a,"$and requires an array as condition"),a.every(l=>t(n,l))),$or:(n,a)=>(j(a,"$or requires an array as condition"),a.some(l=>t(n,l))),$in:(n,a)=>E(a).some(l=>Array.isArray(n)?t(n,{$contains:l}):t(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)=>(j(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,...r||{}}}function le(t){const r=ue(),n=(c,{query:o,before:h,after:g})=>{const e=typeof o=="string"?{_path:o}:o,i=c.findIndex(u=>r(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=>r(g,e)));return{...c,result:h,total:h.length}},(c,o)=>E(o.sort).forEach(h=>W(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=$(P(h.without))(i),i=$(M(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,...P(["_"])(f)})}}return o},(c,o)=>({...c,result:$(P(o.without))(c.result)}),(c,o)=>({...c,result:$(M(o.only))(c.result)})];return async c=>{const o=await t(),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?{...B(["skip","limit","total"])(i),result:i.result[0]}:i}}function L(t){const r=le(t);return async n=>{var c;n.params().first&&n.withDirConfig();const a=n.params(),l=await r(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(t,r){(function(n,a,l){t.exports=l(),t.exports.default=l()})("slugify",F,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=t=>t.split(/[\s-]/g).map(k).join(" ");function he(t,r){const{navigation:n}=D().public.content;if(n===!1)return[];const a=c=>({...pe(["title",...n.fields])(c),...de(c==null?void 0:c.navigation)?c.navigation:{}}),l=t.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=r[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=r[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 U(l)}const ge=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function U(t){var n;t.forEach(a=>{a._file=a._file.split(".").slice(0,-1).join(".")});const r=t.sort((a,l)=>ge.compare(a._file,l._file));for(const a of r)(n=a.children)!=null&&n.length?U(a.children):delete a.children,delete a._file;return t}function pe(t){return r=>(r=r||{},t&&t.length?t.filter(n=>typeof r[n]<"u").reduce((n,a)=>Object.assign(n,{[a]:r[a]}),{}):r)}function de(t){return Object.prototype.toString.call(t)==="[object Object]"}const ye=t=>J(t,D().public.content.api.baseURL),we=ne(oe({driver:q()}),"@content");function ve(t){async function r(){const n=new Set(await t.getKeys("cache:")),a=z().getPreviewToken();if(a){const c=await t.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 t.getKeys(`${a}:`),h=await Promise.all(o.map(g=>t.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=>t.getItem(c)))}return{storage:t,fetch:L(r),query:n=>H(L(r),{initialParams:n,legacy:!0})}}let C=null,S=null;async function Ie(){return S?await S:C||(S=Ae(),C=await S),C}async function Ae(){const t=G(),{content:r}=D().public,n=ve(we),a=await n.storage.getItem("integrity");if(r.integrity!==+(a||0)){const{contents:l,navigation:c}=await $fetch(ye(r.integrity?`cache.${r.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",r.integrity)}return await t.callHook("content:storage",n.storage),n}async function _e(t){const r=await Ie();if(!z().getPreviewToken()&&Object.keys(t||{}).length===0)return r.storage.getItem("navigation");const n=await r.query(t).where({_partial:!1,navigation:{$ne:!1}}).find(),l=(await r.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.LfEo_1fh.js b/_nuxt/docs.439CkvD8.js similarity index 96% rename from _nuxt/docs.LfEo_1fh.js rename to _nuxt/docs.439CkvD8.js index fc3a7945..6009dca3 100644 --- a/_nuxt/docs.LfEo_1fh.js +++ b/_nuxt/docs.439CkvD8.js @@ -1 +1 @@ -import{d as v,ap as b,aq as f,b as m,c as g,e as i,n as r,E as e,aj as o,f as h,g as l,ak as y,bu as $,a2 as w,ai as x,w as n,bv as C,bw as N,bx as U,aX as A,a$ as j}from"./entry.rQ92EvLv.js";const B={class:"relative"},V=v({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:s,attrs:d}=b("aside",f(t,"ui"),p,f(t,"class"),!0);return(a,_)=>{const u=$;return m(),g("aside",y({class:e(s).wrapper},e(d)),[i("div",B,[a.$slots.top?(m(),g("div",{key:0,class:r(e(s).top.wrapper)},[i("div",{class:r(e(s).top.header)},null,2),i("div",{class:r(e(s).top.body)},[o(a.$slots,"top")],2),i("div",{class:r(e(s).top.footer)},null,2)],2)):h("",!0),o(a.$slots,"links",{},()=>[l(u,{links:c.links},null,8,["links"])]),o(a.$slots,"default"),o(a.$slots,"bottom")])],16)}}}),E=v({__name:"docs",setup(c){const p=w("navigation");return(t,s)=>{const d=U,a=V,_=A,u=j,k=C;return m(),x(k,null,{default:n(()=>[l(u,null,{default:n(()=>[l(_,null,{left:n(()=>[l(a,null,{default:n(()=>[l(d,{links:("mapContentNavigation"in t?t.mapContentNavigation:e(N))(e(p))},null,8,["links"])]),_:1})]),default:n(()=>[o(t.$slots,"default")]),_:3})]),_:3})]),_:3})}}});export{E as default}; +import{d as v,ap as b,aq as f,b as m,c as g,e as i,n as r,E as e,aj as o,f as h,g as l,ak as y,bu as $,a2 as w,ai as x,w as n,bv as C,bw as N,bx as U,aX as A,a$ as j}from"./entry.bb8_tySE.js";const B={class:"relative"},V=v({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:s,attrs:d}=b("aside",f(t,"ui"),p,f(t,"class"),!0);return(a,_)=>{const u=$;return m(),g("aside",y({class:e(s).wrapper},e(d)),[i("div",B,[a.$slots.top?(m(),g("div",{key:0,class:r(e(s).top.wrapper)},[i("div",{class:r(e(s).top.header)},null,2),i("div",{class:r(e(s).top.body)},[o(a.$slots,"top")],2),i("div",{class:r(e(s).top.footer)},null,2)],2)):h("",!0),o(a.$slots,"links",{},()=>[l(u,{links:c.links},null,8,["links"])]),o(a.$slots,"default"),o(a.$slots,"bottom")])],16)}}}),E=v({__name:"docs",setup(c){const p=w("navigation");return(t,s)=>{const d=U,a=V,_=A,u=j,k=C;return m(),x(k,null,{default:n(()=>[l(u,null,{default:n(()=>[l(_,null,{left:n(()=>[l(a,null,{default:n(()=>[l(d,{links:("mapContentNavigation"in t?t.mapContentNavigation:e(N))(e(p))},null,8,["links"])]),_:1})]),default:n(()=>[o(t.$slots,"default")]),_:3})]),_:3})]),_:3})}}});export{E as default}; diff --git a/_nuxt/entry.rQ92EvLv.js b/_nuxt/entry.bb8_tySE.js similarity index 98% rename from _nuxt/entry.rQ92EvLv.js rename to _nuxt/entry.bb8_tySE.js index b2788768..b3ea4a02 100644 --- a/_nuxt/entry.rQ92EvLv.js +++ b/_nuxt/entry.bb8_tySE.js @@ -1,17 +1,17 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./_...slug_.XBre0RD3.js","./ContentRenderer.UC5NeHM0.js","./ContentRendererMarkdown.vue.xY8wmzHI.js","./MDCRenderer.r7QY4jzo.js","./index.qRAVkPDV.js","./_commonjsHelpers.5-cIlDoe.js","./node.kQagOfUD.js","./Card.ecKOF5af.js","./index._GrOC0GL.css","./Releases.9vFNTiAl.js","./ProseH2.vue.-h3Br24R.js","./useGithub.Rfi70Rdj.js","./Callout.9eTIIdsO.js","./slot.yKcOMwL8.js","./Card.twaj5DXz.js","./CodeGroup.vnHZwFli.js","./ProseCodeIcon.vue.KqN3IlcY.js","./Collapsible.DnElBqvu.js","./ProseCode.R5y14qAI.js","./ProseCode.vue.EQ49g3cf.js","./ProseCodeButton.vue.MzFXlsdW.js","./ProseCode.nIRUQbb-.css","./ProseCodeButton.JRP0A_Nl.js","./ProseCodeIcon.XZsZ4xlP.js","./ProseH2.27WLsgLi.js","./ContentDoc.0ulp3XL6.js","./ContentQuery.jU91_ajs.js","./ContentList.3ZKIXiu0.js","./ContentRendererMarkdown.8F9bFpNL.js","./ContentSlot.xTk8y2OB.js","./Markdown.fQ-pBv7B.js","./ProsePre.BjzfgX-H.js","./IconCSS.DZEsYpWJ.js","./IconCSS.1T_1Lt_d.css","./GithubRepository.kebUwD03.js","./GithubReadme.3hiXFuxA.js","./GithubReleases.FrNQ9Vyl.js","./GithubLastRelease.lb0QyQvF.js","./GithubRelease.m_djzJ6F.js","./GithubContributors.nqygQep6.js","./GithubFileContributors.aWuB51BM.js","./GithubCommits.aB2eH524.js","./useStudio.kkQ9mGA6.js","./useStudio.fSfEfCNo.css","./client-db.WKxx-TH9.js","./DocsSearch.GiTpX-tp.js","./DocsSearch.3-xXTSx6.css"] + __vite__mapDeps.viteFileDeps = ["./_...slug_.gzKFHVcm.js","./ContentRenderer.kEUwcalk.js","./ContentRendererMarkdown.vue.hQ-DmwXW.js","./MDCRenderer.QrfRPW2s.js","./index.3XGNYxtw.js","./_commonjsHelpers.5-cIlDoe.js","./node.kQagOfUD.js","./Card.9CHU1W46.js","./index._GrOC0GL.css","./Releases.pJL5NErt.js","./ProseH2.vue.aRRCcZdm.js","./useGithub.24J5VJ4k.js","./Callout.BTm8JRIf.js","./slot.ZNG1_16C.js","./Card._3qn4Soe.js","./CodeGroup.OfvxpUcz.js","./ProseCodeIcon.vue.1ocGCgm0.js","./Collapsible.4dbL3TX8.js","./ProseCode.Ht9HO5C5.js","./ProseCode.vue.owh3Yxoh.js","./ProseCodeButton.vue.hp96jlsA.js","./ProseCode.nIRUQbb-.css","./ProseCodeButton.jafYu4GE.js","./ProseCodeIcon.pe79Q33q.js","./ProseH2.HbrCp_ZA.js","./ContentDoc.ecaNRUQa.js","./ContentQuery.wFxyIuKR.js","./ContentList.5TUXJOaa.js","./ContentRendererMarkdown.4lpZfIqe.js","./ContentSlot.ZrP9_N9N.js","./Markdown.uloaE4eU.js","./ProsePre.SB5kRh70.js","./IconCSS.em3mtptF.js","./IconCSS.1T_1Lt_d.css","./GithubRepository.to6TaAql.js","./GithubReadme.PW4MgVog.js","./GithubReleases.LTrMRA4x.js","./GithubLastRelease.mQglxRJ8.js","./GithubRelease.ZNvN3fkO.js","./GithubContributors.rLLQABGT.js","./GithubFileContributors.BMYnazSV.js","./GithubCommits.vbYgvn90.js","./useStudio.cwMoTLNg.js","./useStudio.fSfEfCNo.css","./client-db.FY6gSh6m.js","./DocsSearch.j3r5igXq.js","./DocsSearch.3-xXTSx6.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } function tl(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Be={},kr=[],tn=()=>{},$g=()=>!1,Uo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),nl=e=>e.startsWith("onUpdate:"),Ze=Object.assign,rl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Rg=Object.prototype.hasOwnProperty,Pe=(e,t)=>Rg.call(e,t),ce=Array.isArray,Er=e=>zo(e)==="[object Map]",Bf=e=>zo(e)==="[object Set]",Ig=e=>zo(e)==="[object RegExp]",pe=e=>typeof e=="function",We=e=>typeof e=="string",zr=e=>typeof e=="symbol",Ne=e=>e!==null&&typeof e=="object",ol=e=>(Ne(e)||pe(e))&&pe(e.then)&&pe(e.catch),Hf=Object.prototype.toString,zo=e=>Hf.call(e),Lg=e=>zo(e).slice(8,-1),Uf=e=>zo(e)==="[object Object]",sl=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,po=tl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ys=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jg=/-(\w)/g,on=Ys(e=>e.replace(jg,(t,n)=>n?n.toUpperCase():"")),Mg=/\B([A-Z])/g,vr=Ys(e=>e.replace(Mg,"-$1").toLowerCase()),Js=Ys(e=>e.charAt(0).toUpperCase()+e.slice(1)),xi=Ys(e=>e?`on${Js(e)}`:""),fr=(e,t)=>!Object.is(e,t),ho=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Dg=e=>{const t=parseFloat(e);return isNaN(t)?e:t},zf=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let Pc;const Yi=()=>Pc||(Pc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nn(e){if(ce(e)){const t={};for(let n=0;n{if(n){const r=n.split(Fg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function W(e){let t="";if(We(e))t=e;else if(ce(e))for(let n=0;nWe(e)?e:e==null?"":ce(e)||Ne(e)&&(e.toString===Hf||!pe(e.toString))?JSON.stringify(e,Wf,2):String(e),Wf=(e,t)=>t&&t.__v_isRef?Wf(e,t.value):Er(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[ki(r,s)+" =>"]=o,n),{})}:Bf(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ki(n))}:zr(t)?ki(t):Ne(t)&&!ce(t)&&!Uf(t)?String(t):t,ki=(e,t="")=>{var n;return zr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let kt;class qf{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},Gf=e=>(e.w&Fn)>0,Qf=e=>(e.n&Fn)>0,Wg=({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{(c==="length"||!zr(c)&&c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ce(e)?sl(n)&&a.push(i.get("length")):(a.push(i.get(ir)),Er(e)&&a.push(i.get(Zi)));break;case"delete":ce(e)||(a.push(i.get(ir)),Er(e)&&a.push(i.get(Zi)));break;case"set":Er(e)&&a.push(i.get(ir));break}if(a.length===1)a[0]&&ea(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);ea(al(l))}}function ea(e,t){const n=ce(e)?e:[...e];for(const r of n)r.computed&&Ac(r);for(const r of n)r.computed||Ac(r)}function Ac(e,t){(e!==Ht||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Kg(e,t){var n;return(n=Ls.get(e))==null?void 0:n.get(t)}const Gg=tl("__proto__,__v_isRef,__isVue"),Jf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zr)),Oc=Qg();function Qg(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Te(this);for(let s=0,i=this.length;s{e[t]=function(...n){Vr();const r=Te(this)[t].apply(this,n);return Wr(),r}}),e}function Xg(e){const t=Te(this);return vt(t,"has",e),t.hasOwnProperty(e)}class Zf{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?cm:rd:s?nd:td).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ce(t);if(!o){if(i&&Pe(Oc,n))return Reflect.get(Oc,n,r);if(n==="hasOwnProperty")return Xg}const a=Reflect.get(t,n,r);return(zr(n)?Jf.has(n):Gg(n))||(o||vt(t,"get",n),s)?a:et(a)?i&&sl(n)?a:a.value:Ne(a)?o?ti(a):Lt(a):a}}class ed extends Zf{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._shallow){const l=dr(s);if(!js(r)&&!dr(r)&&(s=Te(s),r=Te(r)),!ce(t)&&et(s)&&!et(r))return l?!1:(s.value=r,!0)}const i=ce(t)&&sl(n)?Number(n)e,ei=e=>Reflect.getPrototypeOf(e);function ns(e,t,n=!1,r=!1){e=e.__v_raw;const o=Te(e),s=Te(t);n||(fr(t,s)&&vt(o,"get",t),vt(o,"get",s));const{has:i}=ei(o),a=r?cl:n?dl:So;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=Te(n),o=Te(e);return t||(fr(e,o)&&vt(r,"has",e),vt(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&&vt(Te(e),"iterate",ir),Reflect.get(e,"size",e)}function $c(e){e=Te(e);const t=Te(this);return ei(t).has.call(t,e)||(t.add(e),gn(t,"add",e,e)),this}function Rc(e,t){t=Te(t);const n=Te(this),{has:r,get:o}=ei(n);let s=r.call(n,e);s||(e=Te(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 Ic(e){const t=Te(this),{has:n,get:r}=ei(t);let o=n.call(t,e);o||(e=Te(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 Lc(){const e=Te(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=Te(i),l=t?cl:e?dl:So;return!e&&vt(a,"iterate",ir),i.forEach((u,c)=>r.call(o,l(u),l(c),s))}}function is(e,t,n){return function(...r){const o=this.__v_raw,s=Te(o),i=Er(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),c=n?cl:t?dl:So;return!t&&vt(s,"iterate",l?Zi:ir),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function wn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tm(){const e={get(s){return ns(this,s)},get size(){return os(this)},has:rs,add:$c,set:Rc,delete:Ic,clear:Lc,forEach:ss(!1,!1)},t={get(s){return ns(this,s,!1,!0)},get size(){return os(this)},has:rs,add:$c,set:Rc,delete:Ic,clear:Lc,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:wn("add"),set:wn("set"),delete:wn("delete"),clear:wn("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:wn("add"),set:wn("set"),delete:wn("delete"),clear:wn("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[nm,rm,om,sm]=tm();function ul(e,t){const n=t?e?sm:om:e?rm:nm;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Pe(n,o)&&o in r?n:r,o,s)}const im={get:ul(!1,!1)},am={get:ul(!1,!0)},lm={get:ul(!0,!1)},td=new WeakMap,nd=new WeakMap,rd=new WeakMap,cm=new WeakMap;function um(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fm(e){return e.__v_skip||!Object.isExtensible(e)?0:um(Lg(e))}function Lt(e){return dr(e)?e:fl(e,!1,Jg,im,td)}function Vo(e){return fl(e,!1,em,am,nd)}function ti(e){return fl(e,!0,Zg,lm,rd)}function fl(e,t,n,r,o){if(!Ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=fm(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function Cr(e){return dr(e)?Cr(e.__v_raw):!!(e&&e.__v_isReactive)}function dr(e){return!!(e&&e.__v_isReadonly)}function js(e){return!!(e&&e.__v_isShallow)}function od(e){return Cr(e)||dr(e)}function Te(e){const t=e&&e.__v_raw;return t?Te(t):e}function sd(e){return Is(e,"__v_skip",!0),e}const So=e=>Ne(e)?Lt(e):e,dl=e=>Ne(e)?ti(e):e;function pl(e){Ln&&Ht&&(e=Te(e),Yf(e.dep||(e.dep=al())))}function ni(e,t){e=Te(e);const n=e.dep;n&&ea(n)}function et(e){return!!(e&&e.__v_isRef===!0)}function F(e){return id(e,!1)}function Bn(e){return id(e,!0)}function id(e,t){return et(e)?e:new dm(e,t)}class dm{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Te(t),this._value=n?t:So(t)}get value(){return pl(this),this._value}set value(t){const n=this.__v_isShallow||js(t)||dr(t);t=n?t:Te(t),fr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:So(t),ni(this))}}function sA(e){ni(e)}function C(e){return et(e)?e.value:e}function Zt(e){return pe(e)?e():C(e)}const pm={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 ad(e){return Cr(e)?e:new Proxy(e,pm)}class hm{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>pl(this),()=>ni(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function gm(e){return new hm(e)}function iA(e){const t=ce(e)?new Array(e.length):{};for(const n in e)t[n]=ld(e,n);return t}class mm{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 Kg(Te(this._object),this._key)}}class vm{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xe(e,t,n){return et(e)?e:pe(e)?new vm(e):Ne(e)&&arguments.length>1?ld(e,t,n):F(e)}function ld(e,t,n){const r=e[t];return et(r)?r:new mm(e,t,n)}class ym{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 ll(t,()=>{this._dirty||(this._dirty=!0,ni(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=Te(this);return pl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function bm(e,t,n=!1){let r,o;const s=pe(e);return s?(r=e,o=tn):(r=e.get,o=e.set),new ym(r,o,s||!o,n)}function jn(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){qr(s,t,n)}return o}function Rt(e,t,n,r){if(pe(e)){const s=jn(e,t,n,r);return s&&ol(s)&&s.catch(i=>{qr(i,t,n)}),s}const o=[];for(let s=0;s>>1,o=ct[r],s=To(o);sen&&ct.splice(t,1)}function na(e){ce(e)?Sr.push(...e):(!pn||!pn.includes(e,e.allowRecurse?er+1:er))&&Sr.push(e),ud()}function jc(e,t,n=Po?en+1:0){for(;nTo(n)-To(r)),er=0;ere.id==null?1/0:e.id,km=(e,t)=>{const n=To(e)-To(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function fd(e){ta=!1,Po=!0,ct.sort(km);try{for(en=0;enWe(p)?p.trim():p)),f&&(o=n.map(Dg))}let a,l=r[a=xi(t)]||r[a=xi(on(t))];!l&&s&&(l=r[a=xi(vr(t))]),l&&Rt(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Rt(u,e,6,o)}}function dd(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(!pe(e)){const l=u=>{const c=dd(u,t,!0);c&&(a=!0,Ze(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ne(e)&&r.set(e,null),null):(ce(s)?s.forEach(l=>i[l]=null):Ze(i,s),Ne(e)&&r.set(e,i),i)}function oi(e,t){return!e||!Uo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,vr(t))||Pe(e,t))}let nt=null,si=null;function Ds(e){const t=nt;return nt=e,si=e&&e.type.__scopeId||null,t}function aA(e){si=e}function lA(){si=null}function le(e,t=nt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Qc(-1);const s=Ds(t);let i;try{i=e(...o)}finally{Ds(s),r._d&&Qc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ei(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:l,emit:u,render:c,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:g}=e;let b,_;const y=Ds(e);try{if(n.shapeFlag&4){const m=o||r,w=m;b=Ot(c.call(w,m,f,s,p,d,h)),_=l}else{const m=t;b=Ot(m.length>1?m(s,{attrs:l,slots:a,emit:u}):m(s,null)),_=t.props?l:Sm(l)}}catch(m){yo.length=0,qr(m,e,1),b=K(pt)}let v=b;if(_&&g!==!1){const m=Object.keys(_),{shapeFlag:w}=v;m.length&&w&7&&(i&&m.some(nl)&&(_=Pm(_,i)),v=sn(v,_))}return n.dirs&&(v=sn(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),b=v,Ds(y),b}function Cm(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Uo(n))&&((t||(t={}))[n]=e[n]);return t},Pm=(e,t)=>{const n={};for(const r in e)(!nl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Tm(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Mc(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense,Am={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,u){e==null?Om(t,n,r,o,s,i,a,l,u):$m(e,t,n,r,o,i,a,l,u)},hydrate:Rm,create:yl,normalize:Im},vl=Am;function Ao(e,t){const n=e.props&&e.props[t];pe(n)&&n()}function Om(e,t,n,r,o,s,i,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=yl(e,o,r,t,f,n,s,i,a,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(Ao(e,"onPending"),Ao(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,s,i),Pr(d,e.ssFallback)):d.resolve(!1,!0)}function $m(e,t,n,r,o,s,i,a,{p:l,um:u,o:{createElement:c}}){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:b,isHydrating:_}=f;if(g)f.pendingBranch=d,Ut(d,g)?(l(g,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():b&&(l(h,p,n,r,o,null,s,i,a),Pr(f,p))):(f.pendingId++,_?(f.isHydrating=!1,f.activeBranch=g):u(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),b?(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),Pr(f,p))):h&&Ut(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&&Ut(d,h))l(h,d,n,r,o,f,s,i,a),Pr(f,d);else if(Ao(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:y,pendingId:v}=f;y>0?setTimeout(()=>{f.pendingId===v&&f.fallback(p)},y):y===0&&f.fallback(p)}}function yl(e,t,n,r,o,s,i,a,l,u,c=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:g,remove:b}}=u;let _;const y=Lm(e);y&&t!=null&&t.pendingBranch&&(_=t.pendingId,t.deps++);const v=e.props?zf(e.props.timeout):void 0,m={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:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(w=!1,E=!1){const{vnode:S,activeBranch:T,pendingBranch:L,pendingId:A,effects:V,parentComponent:$,container:U}=m;let ve=!1;if(m.isHydrating)m.isHydrating=!1;else if(!w){ve=T&&L.transition&&L.transition.mode==="out-in",ve&&(T.transition.afterLeave=()=>{A===m.pendingId&&(d(L,U,h(T),0),na(V))});let{anchor:ee}=m;T&&(ee=h(T),p(T,$,m,!0)),ve||d(L,U,ee,0)}Pr(m,L),m.pendingBranch=null,m.isInFallback=!1;let fe=m.parent,B=!1;for(;fe;){if(fe.pendingBranch){fe.effects.push(...V),B=!0;break}fe=fe.parent}!B&&!ve&&na(V),m.effects=[],y&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),Ao(S,"onResolve")},fallback(w){if(!m.pendingBranch)return;const{vnode:E,activeBranch:S,parentComponent:T,container:L,isSVG:A}=m;Ao(E,"onFallback");const V=h(S),$=()=>{m.isInFallback&&(f(null,w,L,V,T,null,A,a,l),Pr(m,w))},U=w.transition&&w.transition.mode==="out-in";U&&(S.transition.afterLeave=$),m.isInFallback=!0,p(S,T,null,!0),U||$()},move(w,E,S){m.activeBranch&&d(m.activeBranch,w,E,S),m.container=w},next(){return m.activeBranch&&h(m.activeBranch)},registerDep(w,E){const S=!!m.pendingBranch;S&&m.deps++;const T=w.vnode.el;w.asyncDep.catch(L=>{qr(L,w,0)}).then(L=>{if(w.isUnmounted||m.isUnmounted||m.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:A}=w;ca(w,L,!1),T&&(A.el=T);const V=!T&&w.subTree.el;E(w,A,g(T||w.subTree.el),T?null:h(w.subTree),m,i,l),V&&b(V),gl(w,A.el),S&&--m.deps===0&&m.resolve()})},unmount(w,E){m.isUnmounted=!0,m.activeBranch&&p(m.activeBranch,n,w,E),m.pendingBranch&&p(m.pendingBranch,n,w,E)}};return m}function Rm(e,t,n,r,o,s,i,a,l){const u=t.suspense=yl(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,s,i);return u.deps===0&&u.resolve(!1,!0),c}function Im(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Nc(r?n.default:n),e.ssFallback=r?Nc(n.fallback):K(pt)}function Nc(e){let t;if(pe(e)){const n=$r&&e._c;n&&(e._d=!1,j()),e=e(),n&&(e._d=!0,t=$t,Ud())}return ce(e)&&(e=Cm(e)),e=Ot(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function md(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):na(e)}function Pr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,gl(r,o))}function Lm(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Xe(e,t){return ii(e,null,t)}function jm(e,t){return ii(e,null,{flush:"post"})}const as={};function Me(e,t,n){return ii(e,t,n)}function ii(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:i}=Be){var a;const l=Zs()===((a=Qe)==null?void 0:a.scope)?Qe:null;let u,c=!1,f=!1;if(et(e)?(u=()=>e.value,c=js(e)):Cr(e)?(u=()=>e,r=!0):ce(e)?(f=!0,c=e.some(m=>Cr(m)||js(m)),u=()=>e.map(m=>{if(et(m))return m.value;if(Cr(m))return rr(m);if(pe(m))return jn(m,l,2)})):pe(e)?t?u=()=>jn(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return d&&d(),Rt(e,l,3,[p])}:u=tn,t&&r){const m=u;u=()=>rr(m())}let d,p=m=>{d=y.onStop=()=>{jn(m,l,4),d=y.onStop=void 0}},h;if(Lr)if(p=tn,t?n&&Rt(t,l,3,[u(),f?[]:void 0,p]):u(),o==="sync"){const m=Ev();h=m.__watcherHandles||(m.__watcherHandles=[])}else return tn;let g=f?new Array(e.length).fill(as):as;const b=()=>{if(y.active)if(t){const m=y.run();(r||c||(f?m.some((w,E)=>fr(w,g[E])):fr(m,g)))&&(d&&d(),Rt(t,l,3,[m,g===as?void 0:f&&g[0]===as?[]:g,p]),g=m)}else y.run()};b.allowRecurse=!!t;let _;o==="sync"?_=b:o==="post"?_=()=>it(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),_=()=>ri(b));const y=new ll(u,_);t?n?b():g=y.run():o==="post"?it(y.run.bind(y),l&&l.suspense):y.run();const v=()=>{y.stop(),l&&l.scope&&rl(l.scope.effects,y)};return h&&h.push(v),v}function Mm(e,t,n){const r=this.proxy,o=We(e)?e.includes(".")?vd(r,e):()=>r[e]:e.bind(r,r);let s;pe(t)?s=t:(s=t.handler,n=t);const i=Qe;Hn(this);const a=ii(o,s.bind(r),n);return i?Hn(i):Mn(),a}function vd(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{rr(n,t)});else if(Uf(e))for(const n in e)rr(e[n],t);return e}function Dm(e,t){const n=nt;if(n===null)return e;const r=ui(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),qo(()=>{e.isUnmounting=!0}),e}const At=[Function,Array],yd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:At,onEnter:At,onAfterEnter:At,onEnterCancelled:At,onBeforeLeave:At,onLeave:At,onAfterLeave:At,onLeaveCancelled:At,onBeforeAppear:At,onAppear:At,onAfterAppear:At,onAppearCancelled:At},Fm={name:"BaseTransition",props:yd,setup(e,{slots:t}){const n=Mt(),r=Nm();let o;return()=>{const s=t.default&&wd(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const g of s)if(g.type!==pt){i=g;break}}const a=Te(e),{mode:l}=a;if(r.isLeaving)return Ci(i);const u=Fc(i);if(!u)return Ci(i);const c=ra(u,a,r,n);Ns(u,c);const f=n.subTree,d=f&&Fc(f);let p=!1;const{getTransitionKey:h}=u.type;if(h){const g=h();o===void 0?o=g:g!==o&&(o=g,p=!0)}if(d&&d.type!==pt&&(!Ut(u,d)||p)){const g=ra(d,a,r,n);if(Ns(d,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Ci(i);l==="in-out"&&u.type!==pt&&(g.delayLeave=(b,_,y)=>{const v=bd(r,d);v[String(d.key)]=d,b[Tn]=()=>{_(),b[Tn]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return i}}},Bm=Fm;function bd(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 ra(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:g,onAppear:b,onAfterAppear:_,onAppearCancelled:y}=t,v=String(e.key),m=bd(n,e),w=(T,L)=>{T&&Rt(T,r,9,L)},E=(T,L)=>{const A=L[1];w(T,L),ce(T)?T.every(V=>V.length<=1)&&A():T.length<=1&&A()},S={mode:s,persisted:i,beforeEnter(T){let L=a;if(!n.isMounted)if(o)L=g||a;else return;T[Tn]&&T[Tn](!0);const A=m[v];A&&Ut(e,A)&&A.el[Tn]&&A.el[Tn](),w(L,[T])},enter(T){let L=l,A=u,V=c;if(!n.isMounted)if(o)L=b||l,A=_||u,V=y||c;else return;let $=!1;const U=T[ls]=ve=>{$||($=!0,ve?w(V,[T]):w(A,[T]),S.delayedLeave&&S.delayedLeave(),T[ls]=void 0)};L?E(L,[T,U]):U()},leave(T,L){const A=String(e.key);if(T[ls]&&T[ls](!0),n.isUnmounting)return L();w(f,[T]);let V=!1;const $=T[Tn]=U=>{V||(V=!0,L(),U?w(h,[T]):w(p,[T]),T[Tn]=void 0,m[A]===e&&delete m[A])};m[A]=e,d?E(d,[T,$]):$()},clone(T){return ra(T,t,n,r)}};return S}function Ci(e){if(Wo(e))return e=sn(e),e.children=null,e}function Fc(e){return Wo(e)?e.children?e.children[0]:void 0:e}function Ns(e,t){e.shapeFlag&6&&e.component?Ns(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 wd(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){pe(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,u,c=0;const f=()=>(c++,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,b)=>{a(h,()=>g(f()),()=>b(h),c+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),u=h,h)))};return re({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const p=Qe;if(u)return()=>Si(u,p);const h=y=>{l=null,qr(y,p,13,!r)};if(i&&p.suspense||Lr)return d().then(y=>()=>Si(y,p)).catch(y=>(h(y),()=>r?K(r,{error:y}):null));const g=F(!1),b=F(),_=F(!!o);return o&&setTimeout(()=>{_.value=!1},o),s!=null&&setTimeout(()=>{if(!g.value&&!b.value){const y=new Error(`Async component timed out after ${s}ms.`);h(y),b.value=y}},s),d().then(()=>{g.value=!0,p.parent&&Wo(p.parent.vnode)&&ri(p.parent.update)}).catch(y=>{h(y),b.value=y}),()=>{if(g.value&&u)return Si(u,p);if(b.value&&r)return K(r,{error:b.value});if(n&&!_.value)return K(n)}}})}function Si(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=K(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Wo=e=>e.type.__isKeepAlive,Hm={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Mt(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(y,v,m,w,E)=>{const S=y.component;u(y,v,m,0,a),l(S.vnode,y,v,m,S,a,w,y.slotScopeIds,E),it(()=>{S.isDeactivated=!1,S.a&&ho(S.a);const T=y.props&&y.props.onVnodeMounted;T&>(T,S.parent,y)},a)},r.deactivate=y=>{const v=y.component;u(y,d,null,1,a),it(()=>{v.da&&ho(v.da);const m=y.props&&y.props.onVnodeUnmounted;m&>(m,v.parent,y),v.isDeactivated=!0},a)};function p(y){Pi(y),c(y,n,a,!0)}function h(y){o.forEach((v,m)=>{const w=ua(v.type);w&&(!y||!y(w))&&g(m)})}function g(y){const v=o.get(y);!i||!Ut(v,i)?p(v):i&&Pi(i),o.delete(y),s.delete(y)}Me(()=>[e.include,e.exclude],([y,v])=>{y&&h(m=>uo(y,m)),v&&h(m=>!uo(v,m))},{flush:"post",deep:!0});let b=null;const _=()=>{b!=null&&o.set(b,Ti(n.subTree))};return Ie(_),Cd(_),qo(()=>{o.forEach(y=>{const{subTree:v,suspense:m}=n,w=Ti(v);if(y.type===w.type&&y.key===w.key){Pi(w);const E=w.component.da;E&&it(E,m);return}p(y)})}),()=>{if(b=null,!t.default)return null;const y=t.default(),v=y[0];if(y.length>1)return i=null,y;if(!Rr(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return i=null,v;let m=Ti(v);const w=m.type,E=ua(lr(m)?m.type.__asyncResolved||{}:w),{include:S,exclude:T,max:L}=e;if(S&&(!E||!uo(S,E))||T&&E&&uo(T,E))return i=m,v;const A=m.key==null?w:m.key,V=o.get(A);return m.el&&(m=sn(m),v.shapeFlag&128&&(v.ssContent=m)),b=A,V?(m.el=V.el,m.component=V.component,m.transition&&Ns(m,m.transition),m.shapeFlag|=512,s.delete(A),s.add(A)):(s.add(A),L&&s.size>parseInt(L,10)&&g(s.values().next().value)),m.shapeFlag|=256,i=m,gd(v.type)?v:m}}},Um=Hm;function uo(e,t){return ce(e)?e.some(n=>uo(n,t)):We(e)?e.split(",").includes(t):Ig(e)?e.test(t):!1}function _d(e,t){kd(e,"a",t)}function xd(e,t){kd(e,"da",t)}function kd(e,t,n=Qe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ai(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Wo(o.parent.vnode)&&zm(r,t,n,o),o=o.parent}}function zm(e,t,n,r){const o=ai(t,e,r,!0);Ye(()=>{rl(r[t],o)},n)}function Pi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ti(e){return e.shapeFlag&128?e.ssContent:e}function ai(e,t,n=Qe,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Vr(),Hn(n);const a=Rt(t,n,e,i);return Mn(),Wr(),a});return r?o.unshift(s):o.push(s),s}}const yn=e=>(t,n=Qe)=>(!Lr||e==="sp")&&ai(e,(...r)=>t(...r),n),Ed=yn("bm"),Ie=yn("m"),Vm=yn("bu"),Cd=yn("u"),qo=yn("bum"),Ye=yn("um"),Wm=yn("sp"),qm=yn("rtg"),Km=yn("rtc");function Sd(e,t=Qe){ai("ec",e,t)}function yt(e,t,n,r){let o;const s=n&&n[r];if(ce(e)||We(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 ye(e,t,n={},r,o){if(nt.isCE||nt.parent&&lr(nt.parent)&&nt.parent.isCE)return t!=="default"&&(n.name=t),K("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),j();const i=s&&Pd(s(n)),a=ae(Ee,{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 Pd(e){return e.some(t=>Rr(t)?!(t.type===pt||t.type===Ee&&!Pd(t.children)):!0)?e:null}const oa=e=>e?Wd(e)?ui(e)||e.proxy:oa(e.parent):null,go=Ze(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=>oa(e.parent),$root:e=>oa(e.root),$emit:e=>e.emit,$options:e=>wl(e),$forceUpdate:e=>e.f||(e.f=()=>ri(e.update)),$nextTick:e=>e.n||(e.n=Vn.bind(e.proxy)),$watch:e=>Mm.bind(e)}),Ai=(e,t)=>e!==Be&&!e.__isScriptSetup&&Pe(e,t),Gm={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let u;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(Ai(r,t))return i[t]=1,r[t];if(o!==Be&&Pe(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&Pe(u,t))return i[t]=3,s[t];if(n!==Be&&Pe(n,t))return i[t]=4,n[t];sa&&(i[t]=0)}}const c=go[t];let f,d;if(c)return t==="$attrs"&&vt(e,"get",t),c(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Be&&Pe(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Pe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Ai(o,t)?(o[t]=n,!0):r!==Be&&Pe(r,t)?(r[t]=n,!0):Pe(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&&Pe(e,i)||Ai(t,i)||(a=s[0])&&Pe(a,i)||Pe(r,i)||Pe(go,i)||Pe(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Td(){return Ad().slots}function Qm(){return Ad().attrs}function Ad(){const e=Mt();return e.setupContext||(e.setupContext=Kd(e))}function Bc(e){return ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function bl(e){const t=Mt();let n=e();return Mn(),ol(n)&&(n=n.catch(r=>{throw Hn(t),r})),[n,()=>Hn(t)]}let sa=!0;function Xm(e){const t=wl(e),n=e.proxy,r=e.ctx;sa=!1,t.beforeCreate&&Hc(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:g,deactivated:b,beforeDestroy:_,beforeUnmount:y,destroyed:v,unmounted:m,render:w,renderTracked:E,renderTriggered:S,errorCaptured:T,serverPrefetch:L,expose:A,inheritAttrs:V,components:$,directives:U,filters:ve}=t;if(u&&Ym(u,r,null),i)for(const ee in i){const Y=i[ee];pe(Y)&&(r[ee]=Y.bind(n))}if(o){const ee=o.call(n,n);Ne(ee)&&(e.data=Lt(ee))}if(sa=!0,s)for(const ee in s){const Y=s[ee],Le=pe(Y)?Y.bind(n,n):pe(Y.get)?Y.get.bind(n,n):tn,Je=!pe(Y)&&pe(Y.set)?Y.set.bind(n):tn,he=R({get:Le,set:Je});Object.defineProperty(r,ee,{enumerable:!0,configurable:!0,get:()=>he.value,set:de=>he.value=de})}if(a)for(const ee in a)Od(a[ee],r,n,ee);if(l){const ee=pe(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(Y=>{Ue(Y,ee[Y])})}c&&Hc(c,e,"c");function B(ee,Y){ce(Y)?Y.forEach(Le=>ee(Le.bind(n))):Y&&ee(Y.bind(n))}if(B(Ed,f),B(Ie,d),B(Vm,p),B(Cd,h),B(_d,g),B(xd,b),B(Sd,T),B(Km,E),B(qm,S),B(qo,y),B(Ye,m),B(Wm,L),ce(A))if(A.length){const ee=e.exposed||(e.exposed={});A.forEach(Y=>{Object.defineProperty(ee,Y,{get:()=>n[Y],set:Le=>n[Y]=Le})})}else e.exposed||(e.exposed={});w&&e.render===tn&&(e.render=w),V!=null&&(e.inheritAttrs=V),$&&(e.components=$),U&&(e.directives=U)}function Ym(e,t,n=tn){ce(e)&&(e=ia(e));for(const r in e){const o=e[r];let s;Ne(o)?"default"in o?s=Ce(o.from||r,o.default,!0):s=Ce(o.from||r):s=Ce(o),et(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Hc(e,t,n){Rt(ce(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Od(e,t,n,r){const o=r.includes(".")?vd(n,r):()=>n[r];if(We(e)){const s=t[e];pe(s)&&Me(o,s)}else if(pe(e))Me(o,e.bind(n));else if(Ne(e))if(ce(e))e.forEach(s=>Od(s,t,n,r));else{const s=pe(e.handler)?e.handler.bind(n):t[e.handler];pe(s)&&Me(o,s,e)}}function wl(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(u=>Fs(l,u,i,!0)),Fs(l,t,i)),Ne(t)&&s.set(t,l),l}function Fs(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Fs(e,s,n,!0),o&&o.forEach(i=>Fs(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Jm[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Jm={data:Uc,props:zc,emits:zc,methods:fo,computed:fo,beforeCreate:dt,created:dt,beforeMount:dt,mounted:dt,beforeUpdate:dt,updated:dt,beforeDestroy:dt,beforeUnmount:dt,destroyed:dt,unmounted:dt,activated:dt,deactivated:dt,errorCaptured:dt,serverPrefetch:dt,components:fo,directives:fo,watch:ev,provide:Uc,inject:Zm};function Uc(e,t){return t?e?function(){return Ze(pe(e)?e.call(this,this):e,pe(t)?t.call(this,this):t)}:t:e}function Zm(e,t){return fo(ia(e),ia(t))}function ia(e){if(ce(e)){const t={};for(let n=0;n1)return n&&pe(t)?t.call(r&&r.proxy):t}}function Rd(){return!!(Qe||nt||Oo)}function rv(e,t,n,r=!1){const o={},s={};Is(s,ci,1),e.propsDefaults=Object.create(null),Id(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 ov(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Te(o),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,p]=Ld(f,t,!0);Ze(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return Ne(e)&&r.set(e,kr),kr;if(ce(s))for(let c=0;c-1,p[1]=g<0||h-1||Pe(p,"default"))&&a.push(f)}}}const u=[i,a];return Ne(e)&&r.set(e,u),u}function Vc(e){return e[0]!=="$"}function Wc(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function qc(e,t){return Wc(e)===Wc(t)}function Kc(e,t){return ce(t)?t.findIndex(n=>qc(n,e)):pe(t)&&qc(t,e)?0:-1}const jd=e=>e[0]==="_"||e==="$stable",_l=e=>ce(e)?e.map(Ot):[Ot(e)],sv=(e,t,n)=>{if(t._n)return t;const r=le((...o)=>_l(t(...o)),n);return r._c=!1,r},Md=(e,t,n)=>{const r=e._ctx;for(const o in e){if(jd(o))continue;const s=e[o];if(pe(s))t[o]=sv(o,s,r);else if(s!=null){const i=_l(s);t[o]=()=>i}}},Dd=(e,t)=>{const n=_l(t);e.slots.default=()=>n},iv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Te(t),Is(t,"_",n)):Md(t,e.slots={})}else e.slots={},t&&Dd(e,t);Is(e.slots,ci,1)},av=(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:(Ze(o,t),!n&&a===1&&delete o._):(s=!t.$stable,Md(t,o)),i=t}else t&&(Dd(e,t),i={default:1});if(s)for(const a in o)!jd(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?ui(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Be?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==l&&(We(u)?(c[u]=null,Pe(f,u)&&(f[u]=null)):et(u)&&(u.value=null)),pe(l))jn(l,a,12,[i,c]);else{const d=We(l),p=et(l);if(d||p){const h=()=>{if(e.f){const g=d?Pe(f,l)?f[l]:c[l]:l.value;o?ce(g)&&rl(g,s):ce(g)?g.includes(s)||g.push(s):d?(c[l]=[s],Pe(f,l)&&(f[l]=c[l])):(l.value=[s],e.k&&(c[e.k]=l.value))}else d?(c[l]=i,Pe(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(c[e.k]=i))};i?(h.id=-1,it(h,n)):h()}}}let _n=!1;const cs=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",us=e=>e.nodeType===8;function lv(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(v,m)=>{if(!m.hasChildNodes()){n(null,v,m),Ms(),m._vnode=v;return}_n=!1,f(m.firstChild,v,null,null,null),Ms(),m._vnode=v,_n&&console.error("Hydration completed but contains mismatches.")},f=(v,m,w,E,S,T=!1)=>{const L=us(v)&&v.data==="[",A=()=>g(v,m,w,E,S,L),{type:V,ref:$,shapeFlag:U,patchFlag:ve}=m;let fe=v.nodeType;m.el=v,ve===-2&&(T=!1,m.dynamicChildren=null);let B=null;switch(V){case Or:fe!==3?m.children===""?(l(m.el=o(""),i(v),v),B=v):B=A():(v.data!==m.children&&(_n=!0,v.data=m.children),B=s(v));break;case pt:y(v)?(B=s(v),_(m.el=v.content.firstChild,v,w)):fe!==8||L?B=A():B=s(v);break;case vo:if(L&&(v=s(v),fe=v.nodeType),fe===1||fe===3){B=v;const ee=!m.children.length;for(let Y=0;Y{T=T||!!m.dynamicChildren;const{type:L,props:A,patchFlag:V,shapeFlag:$,dirs:U,transition:ve}=m,fe=L==="input"||L==="option";if(fe||V!==-1){U&&Jt(m,null,w,"created");let B=!1;if(y(v)){B=Fd(E,ve)&&w&&w.vnode.props&&w.vnode.props.appear;const Y=v.content.firstChild;B&&ve.beforeEnter(Y),_(Y,v,w),m.el=v=Y}if(A)if(fe||!T||V&48)for(const Y in A)(fe&&(Y.endsWith("value")||Y==="indeterminate")||Uo(Y)&&!po(Y)||Y[0]===".")&&r(v,Y,null,A[Y],!1,void 0,w);else A.onClick&&r(v,"onClick",null,A.onClick,!1,void 0,w);let ee;if((ee=A&&A.onVnodeBeforeMount)&>(ee,w,m),U&&Jt(m,null,w,"beforeMount"),((ee=A&&A.onVnodeMounted)||U||B)&&md(()=>{ee&>(ee,w,m),B&&ve.enter(v),U&&Jt(m,null,w,"mounted")},E),$&16&&!(A&&(A.innerHTML||A.textContent))){let Y=p(v.firstChild,m,v,w,E,S,T);for(;Y;){_n=!0;const Le=Y;Y=Y.nextSibling,a(Le)}}else $&8&&v.textContent!==m.children&&(_n=!0,v.textContent=m.children)}return v.nextSibling},p=(v,m,w,E,S,T,L)=>{L=L||!!m.dynamicChildren;const A=m.children,V=A.length;for(let $=0;${const{slotScopeIds:L}=m;L&&(S=S?S.concat(L):L);const A=i(v),V=p(s(v),m,A,w,E,S,T);return V&&us(V)&&V.data==="]"?s(m.anchor=V):(_n=!0,l(m.anchor=u("]"),A,V),V)},g=(v,m,w,E,S,T)=>{if(_n=!0,m.el=null,T){const V=b(v);for(;;){const $=s(v);if($&&$!==V)a($);else break}}const L=s(v),A=i(v);return a(v),n(null,m,A,L,w,E,cs(A),S),L},b=(v,m="[",w="]")=>{let E=0;for(;v;)if(v=s(v),v&&us(v)&&(v.data===m&&E++,v.data===w)){if(E===0)return s(v);E--}return v},_=(v,m,w)=>{const E=m.parentNode;E&&E.replaceChild(v,m);let S=w;for(;S;)S.vnode.el===m&&(S.vnode.el=S.subTree.el=v),S=S.parent},y=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[c,f]}const it=md;function cv(e){return Nd(e)}function uv(e){return Nd(e,lv)}function Nd(e,t){const n=Yi();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=tn,insertStaticContent:h}=e,g=(x,k,P,O=null,M=null,D=null,X=!1,H=null,z=!!k.dynamicChildren)=>{if(x===k)return;x&&!Ut(x,k)&&(O=I(x),de(x,M,D,!0),x=null),k.patchFlag===-2&&(z=!1,k.dynamicChildren=null);const{type:N,ref:ie,shapeFlag:te}=k;switch(N){case Or:b(x,k,P,O);break;case pt:_(x,k,P,O);break;case vo:x==null&&y(k,P,O,X);break;case Ee:$(x,k,P,O,M,D,X,H,z);break;default:te&1?w(x,k,P,O,M,D,X,H,z):te&6?U(x,k,P,O,M,D,X,H,z):(te&64||te&128)&&N.process(x,k,P,O,M,D,X,H,z,q)}ie!=null&&M&&Bs(ie,x&&x.ref,D,k||x,!k)},b=(x,k,P,O)=>{if(x==null)r(k.el=a(k.children),P,O);else{const M=k.el=x.el;k.children!==x.children&&u(M,k.children)}},_=(x,k,P,O)=>{x==null?r(k.el=l(k.children||""),P,O):k.el=x.el},y=(x,k,P,O)=>{[x.el,x.anchor]=h(x.children,k,P,O,x.el,x.anchor)},v=({el:x,anchor:k},P,O)=>{let M;for(;x&&x!==k;)M=d(x),r(x,P,O),x=M;r(k,P,O)},m=({el:x,anchor:k})=>{let P;for(;x&&x!==k;)P=d(x),o(x),x=P;o(k)},w=(x,k,P,O,M,D,X,H,z)=>{X=X||k.type==="svg",x==null?E(k,P,O,M,D,X,H,z):L(x,k,M,D,X,H,z)},E=(x,k,P,O,M,D,X,H)=>{let z,N;const{type:ie,props:te,shapeFlag:se,transition:ge,dirs:_e}=x;if(z=x.el=i(x.type,D,te&&te.is,te),se&8?c(z,x.children):se&16&&T(x.children,z,null,O,M,D&&ie!=="foreignObject",X,H),_e&&Jt(x,null,O,"created"),S(z,x,x.scopeId,X,O),te){for(const Oe in te)Oe!=="value"&&!po(Oe)&&s(z,Oe,null,te[Oe],D,x.children,O,M,je);"value"in te&&s(z,"value",null,te.value),(N=te.onVnodeBeforeMount)&>(N,O,x)}_e&&Jt(x,null,O,"beforeMount");const $e=Fd(M,ge);$e&&ge.beforeEnter(z),r(z,k,P),((N=te&&te.onVnodeMounted)||$e||_e)&&it(()=>{N&>(N,O,x),$e&&ge.enter(z),_e&&Jt(x,null,O,"mounted")},M)},S=(x,k,P,O,M)=>{if(P&&p(x,P),O)for(let D=0;D{for(let N=z;N{const H=k.el=x.el;let{patchFlag:z,dynamicChildren:N,dirs:ie}=k;z|=x.patchFlag&16;const te=x.props||Be,se=k.props||Be;let ge;P&&Kn(P,!1),(ge=se.onVnodeBeforeUpdate)&>(ge,P,k,x),ie&&Jt(k,x,P,"beforeUpdate"),P&&Kn(P,!0);const _e=M&&k.type!=="foreignObject";if(N?A(x.dynamicChildren,N,H,P,O,_e,D):X||Y(x,k,H,null,P,O,_e,D,!1),z>0){if(z&16)V(H,k,te,se,P,O,M);else if(z&2&&te.class!==se.class&&s(H,"class",null,se.class,M),z&4&&s(H,"style",te.style,se.style,M),z&8){const $e=k.dynamicProps;for(let Oe=0;Oe<$e.length;Oe++){const Ge=$e[Oe],Ft=te[Ge],br=se[Ge];(br!==Ft||Ge==="value")&&s(H,Ge,Ft,br,M,x.children,P,O,je)}}z&1&&x.children!==k.children&&c(H,k.children)}else!X&&N==null&&V(H,k,te,se,P,O,M);((ge=se.onVnodeUpdated)||ie)&&it(()=>{ge&>(ge,P,k,x),ie&&Jt(k,x,P,"updated")},O)},A=(x,k,P,O,M,D,X)=>{for(let H=0;H{if(P!==O){if(P!==Be)for(const H in P)!po(H)&&!(H in O)&&s(x,H,P[H],null,X,k.children,M,D,je);for(const H in O){if(po(H))continue;const z=O[H],N=P[H];z!==N&&H!=="value"&&s(x,H,N,z,X,k.children,M,D,je)}"value"in O&&s(x,"value",P.value,O.value)}},$=(x,k,P,O,M,D,X,H,z)=>{const N=k.el=x?x.el:a(""),ie=k.anchor=x?x.anchor:a("");let{patchFlag:te,dynamicChildren:se,slotScopeIds:ge}=k;ge&&(H=H?H.concat(ge):ge),x==null?(r(N,P,O),r(ie,P,O),T(k.children,P,ie,M,D,X,H,z)):te>0&&te&64&&se&&x.dynamicChildren?(A(x.dynamicChildren,se,P,M,D,X,H),(k.key!=null||M&&k===M.subTree)&&xl(x,k,!0)):Y(x,k,P,ie,M,D,X,H,z)},U=(x,k,P,O,M,D,X,H,z)=>{k.slotScopeIds=H,x==null?k.shapeFlag&512?M.ctx.activate(k,P,O,X,z):ve(k,P,O,M,D,X,z):fe(x,k,z)},ve=(x,k,P,O,M,D,X)=>{const H=x.component=yv(x,O,M);if(Wo(x)&&(H.ctx.renderer=q),bv(H),H.asyncDep){if(M&&M.registerDep(H,B),!x.el){const z=H.subTree=K(pt);_(null,z,k,P)}return}B(H,x,k,P,M,D,X)},fe=(x,k,P)=>{const O=k.component=x.component;if(Tm(x,k,P))if(O.asyncDep&&!O.asyncResolved){ee(O,k,P);return}else O.next=k,xm(O.update),O.update();else k.el=x.el,O.vnode=k},B=(x,k,P,O,M,D,X)=>{const H=()=>{if(x.isMounted){let{next:ie,bu:te,u:se,parent:ge,vnode:_e}=x,$e=ie,Oe;Kn(x,!1),ie?(ie.el=_e.el,ee(x,ie,X)):ie=_e,te&&ho(te),(Oe=ie.props&&ie.props.onVnodeBeforeUpdate)&>(Oe,ge,ie,_e),Kn(x,!0);const Ge=Ei(x),Ft=x.subTree;x.subTree=Ge,g(Ft,Ge,f(Ft.el),I(Ft),x,M,D),ie.el=Ge.el,$e===null&&gl(x,Ge.el),se&&it(se,M),(Oe=ie.props&&ie.props.onVnodeUpdated)&&it(()=>gt(Oe,ge,ie,_e),M)}else{let ie;const{el:te,props:se}=k,{bm:ge,m:_e,parent:$e}=x,Oe=lr(k);if(Kn(x,!1),ge&&ho(ge),!Oe&&(ie=se&&se.onVnodeBeforeMount)&>(ie,$e,k),Kn(x,!0),te&&Se){const Ge=()=>{x.subTree=Ei(x),Se(te,x.subTree,x,M,null)};Oe?k.type.__asyncLoader().then(()=>!x.isUnmounted&&Ge()):Ge()}else{const Ge=x.subTree=Ei(x);g(null,Ge,P,O,x,M,D),k.el=Ge.el}if(_e&&it(_e,M),!Oe&&(ie=se&&se.onVnodeMounted)){const Ge=k;it(()=>gt(ie,$e,Ge),M)}(k.shapeFlag&256||$e&&lr($e.vnode)&&$e.vnode.shapeFlag&256)&&x.a&&it(x.a,M),x.isMounted=!0,k=P=O=null}},z=x.effect=new ll(H,()=>ri(N),x.scope),N=x.update=()=>z.run();N.id=x.uid,Kn(x,!0),N()},ee=(x,k,P)=>{k.component=x;const O=x.vnode.props;x.vnode=k,x.next=null,ov(x,k.props,O,P),av(x,k.children,P),Vr(),jc(x),Wr()},Y=(x,k,P,O,M,D,X,H,z=!1)=>{const N=x&&x.children,ie=x?x.shapeFlag:0,te=k.children,{patchFlag:se,shapeFlag:ge}=k;if(se>0){if(se&128){Je(N,te,P,O,M,D,X,H,z);return}else if(se&256){Le(N,te,P,O,M,D,X,H,z);return}}ge&8?(ie&16&&je(N,M,D),te!==N&&c(P,te)):ie&16?ge&16?Je(N,te,P,O,M,D,X,H,z):je(N,M,D,!0):(ie&8&&c(P,""),ge&16&&T(te,P,O,M,D,X,H,z))},Le=(x,k,P,O,M,D,X,H,z)=>{x=x||kr,k=k||kr;const N=x.length,ie=k.length,te=Math.min(N,ie);let se;for(se=0;seie?je(x,M,D,!0,!1,te):T(k,P,O,M,D,X,H,z,te)},Je=(x,k,P,O,M,D,X,H,z)=>{let N=0;const ie=k.length;let te=x.length-1,se=ie-1;for(;N<=te&&N<=se;){const ge=x[N],_e=k[N]=z?An(k[N]):Ot(k[N]);if(Ut(ge,_e))g(ge,_e,P,null,M,D,X,H,z);else break;N++}for(;N<=te&&N<=se;){const ge=x[te],_e=k[se]=z?An(k[se]):Ot(k[se]);if(Ut(ge,_e))g(ge,_e,P,null,M,D,X,H,z);else break;te--,se--}if(N>te){if(N<=se){const ge=se+1,_e=gese)for(;N<=te;)de(x[N],M,D,!0),N++;else{const ge=N,_e=N,$e=new Map;for(N=_e;N<=se;N++){const wt=k[N]=z?An(k[N]):Ot(k[N]);wt.key!=null&&$e.set(wt.key,N)}let Oe,Ge=0;const Ft=se-_e+1;let br=!1,Ec=0;const Yr=new Array(Ft);for(N=0;N=Ft){de(wt,M,D,!0);continue}let Xt;if(wt.key!=null)Xt=$e.get(wt.key);else for(Oe=_e;Oe<=se;Oe++)if(Yr[Oe-_e]===0&&Ut(wt,k[Oe])){Xt=Oe;break}Xt===void 0?de(wt,M,D,!0):(Yr[Xt-_e]=N+1,Xt>=Ec?Ec=Xt:br=!0,g(wt,k[Xt],P,null,M,D,X,H,z),Ge++)}const Cc=br?fv(Yr):kr;for(Oe=Cc.length-1,N=Ft-1;N>=0;N--){const wt=_e+N,Xt=k[wt],Sc=wt+1{const{el:D,type:X,transition:H,children:z,shapeFlag:N}=x;if(N&6){he(x.component.subTree,k,P,O);return}if(N&128){x.suspense.move(k,P,O);return}if(N&64){X.move(x,k,P,q);return}if(X===Ee){r(D,k,P);for(let te=0;teH.enter(D),M);else{const{leave:te,delayLeave:se,afterLeave:ge}=H,_e=()=>r(D,k,P),$e=()=>{te(D,()=>{_e(),ge&&ge()})};se?se(D,_e,$e):$e()}else r(D,k,P)},de=(x,k,P,O=!1,M=!1)=>{const{type:D,props:X,ref:H,children:z,dynamicChildren:N,shapeFlag:ie,patchFlag:te,dirs:se}=x;if(H!=null&&Bs(H,null,P,x,!0),ie&256){k.ctx.deactivate(x);return}const ge=ie&1&&se,_e=!lr(x);let $e;if(_e&&($e=X&&X.onVnodeBeforeUnmount)&>($e,k,x),ie&6)st(x.component,P,O);else{if(ie&128){x.suspense.unmount(P,O);return}ge&&Jt(x,null,k,"beforeUnmount"),ie&64?x.type.remove(x,k,P,M,q,O):N&&(D!==Ee||te>0&&te&64)?je(N,k,P,!1,!0):(D===Ee&&te&384||!M&&ie&16)&&je(z,k,P),O&&Ve(x)}(_e&&($e=X&&X.onVnodeUnmounted)||ge)&&it(()=>{$e&>($e,k,x),ge&&Jt(x,null,k,"unmounted")},P)},Ve=x=>{const{type:k,el:P,anchor:O,transition:M}=x;if(k===Ee){De(P,O);return}if(k===vo){m(x);return}const D=()=>{o(P),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(x.shapeFlag&1&&M&&!M.persisted){const{leave:X,delayLeave:H}=M,z=()=>X(P,D);H?H(x.el,D,z):z()}else D()},De=(x,k)=>{let P;for(;x!==k;)P=d(x),o(x),x=P;o(k)},st=(x,k,P)=>{const{bum:O,scope:M,update:D,subTree:X,um:H}=x;O&&ho(O),M.stop(),D&&(D.active=!1,de(X,x,k,P)),H&&it(H,k),it(()=>{x.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},je=(x,k,P,O=!1,M=!1,D=0)=>{for(let X=D;Xx.shapeFlag&6?I(x.component.subTree):x.shapeFlag&128?x.suspense.next():d(x.anchor||x.el),Q=(x,k,P)=>{x==null?k._vnode&&de(k._vnode,null,null,!0):g(k._vnode||null,x,k,null,null,null,P),jc(),Ms(),k._vnode=x},q={p:g,um:de,m:he,r:Ve,mt:ve,mc:T,pc:Y,pbc:A,n:I,o:e};let oe,Se;return t&&([oe,Se]=t(q)),{render:Q,hydrate:oe,createApp:nv(Q,oe)}}function Kn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Fd(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xl(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 dv=e=>e.__isTeleport,mo=e=>e&&(e.disabled||e.disabled===""),Gc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,la=(e,t)=>{const n=e&&e.to;return We(n)?t?t(n):null:n},pv={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:g,createComment:b}}=u,_=mo(t.props);let{shapeFlag:y,children:v,dynamicChildren:m}=t;if(e==null){const w=t.el=g(""),E=t.anchor=g("");p(w,n,r),p(E,n,r);const S=t.target=la(t.props,h),T=t.targetAnchor=g("");S&&(p(T,S),i=i||Gc(S));const L=(A,V)=>{y&16&&c(v,A,V,o,s,i,a,l)};_?L(n,E):S&&L(S,T)}else{t.el=e.el;const w=t.anchor=e.anchor,E=t.target=e.target,S=t.targetAnchor=e.targetAnchor,T=mo(e.props),L=T?n:E,A=T?w:S;if(i=i||Gc(E),m?(d(e.dynamicChildren,m,L,o,s,i,a),xl(e,t,!0)):l||f(e,t,L,A,o,s,i,a,!1),_)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fs(t,n,w,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const V=t.target=la(t.props,h);V&&fs(t,V,null,u,0)}else T&&fs(t,E,S,u,1)}Hd(t)},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:l,anchor:u,targetAnchor:c,target:f,props:d}=e;if(f&&s(c),i&&s(u),a&16){const p=i||!mo(d);for(let h=0;h0?$t||kr:null,Ud(),$r>0&&$t&&$t.push(e),e}function ne(e,t,n,r,o,s){return zd(ke(e,t,n,r,o,s,!0))}function ae(e,t,n,r,o){return zd(K(e,t,n,r,o,!0))}function Rr(e){return e?e.__v_isVNode===!0:!1}function Ut(e,t){return e.type===t.type&&e.key===t.key}const ci="__vInternal",Vd=({key:e})=>e??null,xs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?We(e)||et(e)||pe(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function ke(e,t=null,n=null,r=0,o=null,s=e===Ee?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vd(t),ref:t&&xs(t),scopeId:si,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:nt};return a?(kl(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=We(n)?8:16),$r>0&&!i&&$t&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&$t.push(l),l}const K=gv;function gv(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===pd)&&(e=pt),Rr(e)){const a=sn(e,t,!0);return n&&kl(a,n),$r>0&&!s&&$t&&(a.shapeFlag&6?$t[$t.indexOf(e)]=a:$t.push(a)),a.patchFlag|=-2,a}if(xv(e)&&(e=e.__vccOpts),t){t=Ir(t);let{class:a,style:l}=t;a&&!We(a)&&(t.class=W(a)),Ne(l)&&(od(l)&&!ce(l)&&(l=Ze({},l)),t.style=Nn(l))}const i=We(e)?1:gd(e)?128:dv(e)?64:Ne(e)?4:pe(e)?2:0;return ke(e,t,n,r,o,i,s,!0)}function Ir(e){return e?od(e)||ci in e?Ze({},e):e:null}function sn(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&&Vd(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!==Ee?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&&sn(e.ssContent),ssFallback:e.ssFallback&&sn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function tt(e=" ",t=0){return K(Or,null,e,t)}function me(e="",t=!1){return t?(j(),ae(pt,null,e)):K(pt,null,e)}function Ot(e){return e==null||typeof e=="boolean"?K(pt):ce(e)?K(Ee,null,e.slice()):typeof e=="object"?An(e):K(Or,null,String(e))}function An(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:sn(e)}function kl(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),kl(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ci in t)?t._ctx=nt:o===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else pe(t)?(t={default:t,_ctx:nt},n=32):(t=String(t),r&64?(n=16,t=[tt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ue(...e){const t={};for(let n=0;nQe||nt;let El,wr,Xc="__VUE_INSTANCE_SETTERS__";(wr=Yi()[Xc])||(wr=Yi()[Xc]=[]),wr.push(e=>Qe=e),El=e=>{wr.length>1?wr.forEach(t=>t(e)):wr[0](e)};const Hn=e=>{El(e),e.scope.on()},Mn=()=>{Qe&&Qe.scope.off(),El(null)};function Wd(e){return e.vnode.shapeFlag&4}let Lr=!1;function bv(e,t=!1){Lr=t;const{props:n,children:r}=e.vnode,o=Wd(e);rv(e,n,o,t),iv(e,r);const s=o?wv(e,t):void 0;return Lr=!1,s}function wv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=sd(new Proxy(e.ctx,Gm));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Kd(e):null;Hn(e),Vr();const s=jn(r,e,0,[e.props,o]);if(Wr(),Mn(),ol(s)){if(s.then(Mn,Mn),t)return s.then(i=>{ca(e,i,t)}).catch(i=>{qr(i,e,0)});e.asyncDep=s}else ca(e,s,t)}else qd(e,t)}function ca(e,t,n){pe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ne(t)&&(e.setupState=ad(t)),qd(e,n)}let Yc;function qd(e,t,n){const r=e.type;if(!e.render){if(!t&&Yc&&!r.render){const o=r.template||wl(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=Ze(Ze({isCustomElement:s,delimiters:a},i),l);r.render=Yc(o,u)}}e.render=r.render||tn}{Hn(e),Vr();try{Xm(e)}finally{Wr(),Mn()}}}function _v(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return vt(e,"get","$attrs"),t[n]}}))}function Kd(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return _v(e)},slots:e.slots,emit:e.emit,expose:t}}function ui(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ad(sd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in go)return go[n](e)},has(t,n){return n in t||n in go}}))}function ua(e,t=!0){return pe(e)?e.displayName||e.name:e.name||t&&e.__name}function xv(e){return pe(e)&&"__vccOpts"in e}const R=(e,t)=>bm(e,t,Lr);function we(e,t,n){const r=arguments.length;return r===2?Ne(t)&&!ce(t)?Rr(t)?K(e,null,[t]):K(e,t):K(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Rr(n)&&(n=[n]),K(e,t,n))}const kv=Symbol.for("v-scx"),Ev=()=>Ce(kv),Gd="3.3.13",Cv="http://www.w3.org/2000/svg",tr=typeof document<"u"?document:null,Jc=tr&&tr.createElement("template"),Sv={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{Jc.innerHTML=r?`${e}`:e;const a=Jc.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]}},xn="transition",Jr="animation",$o=Symbol("_vtc"),Un=(e,{slots:t})=>we(Bm,Pv(e),t);Un.displayName="Transition";const Qd={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};Un.props=Ze({},yd,Qd);const Gn=(e,t=[])=>{ce(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zc=e=>e?ce(e)?e.some(t=>t.length>1):e.length>1:!1;function Pv(e){const t={};for(const $ in e)$ in Qd||(t[$]=e[$]);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:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Tv(o),g=h&&h[0],b=h&&h[1],{onBeforeEnter:_,onEnter:y,onEnterCancelled:v,onLeave:m,onLeaveCancelled:w,onBeforeAppear:E=_,onAppear:S=y,onAppearCancelled:T=v}=t,L=($,U,ve)=>{Qn($,U?c:a),Qn($,U?u:i),ve&&ve()},A=($,U)=>{$._isLeaving=!1,Qn($,f),Qn($,p),Qn($,d),U&&U()},V=$=>(U,ve)=>{const fe=$?S:y,B=()=>L(U,$,ve);Gn(fe,[U,B]),eu(()=>{Qn(U,$?l:s),kn(U,$?c:a),Zc(fe)||tu(U,r,g,B)})};return Ze(t,{onBeforeEnter($){Gn(_,[$]),kn($,s),kn($,i)},onBeforeAppear($){Gn(E,[$]),kn($,l),kn($,u)},onEnter:V(!1),onAppear:V(!0),onLeave($,U){$._isLeaving=!0;const ve=()=>A($,U);kn($,f),$v(),kn($,d),eu(()=>{$._isLeaving&&(Qn($,f),kn($,p),Zc(m)||tu($,r,b,ve))}),Gn(m,[$,ve])},onEnterCancelled($){L($,!1),Gn(v,[$])},onAppearCancelled($){L($,!0),Gn(T,[$])},onLeaveCancelled($){A($),Gn(w,[$])}})}function Tv(e){if(e==null)return null;if(Ne(e))return[Oi(e.enter),Oi(e.leave)];{const t=Oi(e);return[t,t]}}function Oi(e){return zf(e)}function kn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$o]||(e[$o]=new Set)).add(t)}function Qn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[$o];n&&(n.delete(t),n.size||(e[$o]=void 0))}function eu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Av=0;function tu(e,t,n,r){const o=e._endId=++Av,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=Ov(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[h]||"").split(", "),o=r(`${xn}Delay`),s=r(`${xn}Duration`),i=nu(o,s),a=r(`${Jr}Delay`),l=r(`${Jr}Duration`),u=nu(a,l);let c=null,f=0,d=0;t===xn?i>0&&(c=xn,f=i,d=s.length):t===Jr?u>0&&(c=Jr,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?xn:Jr:null,d=c?c===xn?s.length:l.length:0);const p=c===xn&&/\b(transform|all)(,|$)/.test(r(`${xn}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function nu(e,t){for(;e.lengthru(n)+ru(e[r])))}function ru(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function $v(){return document.body.offsetHeight}function Rv(e,t,n){const r=e[$o];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Cl=Symbol("_vod"),Iv={beforeMount(e,{value:t},{transition:n}){e[Cl]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Zr(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),Zr(e,!0),r.enter(e)):r.leave(e,()=>{Zr(e,!1)}):Zr(e,t))},beforeUnmount(e,{value:t}){Zr(e,t)}};function Zr(e,t){e.style.display=t?e[Cl]:"none"}const Xd=Symbol("");function cA(e){const t=Mt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>da(s,o))},r=()=>{const o=e(t.proxy);fa(t.subTree,o),n(o)};jm(r),Ie(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Ye(()=>o.disconnect())})}function fa(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{fa(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)da(e.el,t);else if(e.type===Ee)e.children.forEach(n=>fa(n,t));else if(e.type===vo){let{el:n,anchor:r}=e;for(;n&&(da(n,t),n!==r);)n=n.nextSibling}}function da(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[Xd]=r}}function Lv(e,t,n){const r=e.style,o=We(n);if(n&&!o){if(t&&!We(t))for(const s in t)n[s]==null&&pa(r,s,"");for(const s in n)pa(r,s,n[s])}else{const s=r.display;if(o){if(t!==n){const i=r[Xd];i&&(n+=";"+i),r.cssText=n}}else t&&e.removeAttribute("style");Cl in e&&(r.display=s)}}const ou=/\s*!important$/;function pa(e,t,n){if(ce(n))n.forEach(r=>pa(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=jv(e,t);ou.test(n)?e.setProperty(vr(r),n.replace(ou,""),"important"):e[r]=n}}const su=["Webkit","Moz","ms"],$i={};function jv(e,t){const n=$i[t];if(n)return n;let r=on(t);if(r!=="filter"&&r in e)return $i[t]=r;r=Js(r);for(let o=0;oRi||(Uv.then(()=>Ri=0),Ri=Date.now());function Vv(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Rt(Wv(r,n.value),t,5,[r])};return n.value=e,n.attached=zv(),n}function Wv(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 cu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qv=(e,t,n,r,o=!1,s,i,a,l)=>{t==="class"?Rv(e,r,o):t==="style"?Lv(e,n,r):Uo(t)?nl(t)||Bv(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kv(e,t,r,o))?Dv(e,t,r,s,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Mv(e,t,r,o))};function Kv(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&cu(t)&&pe(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 cu(t)&&We(n)?!1:t in e}const Gv=["ctrl","shift","alt","meta"],Qv={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)=>Gv.some(n=>e[`${n}Key`]&&!t.includes(n))},ks=(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=vr(o.key);if(t.some(i=>i===s||Xv[i]===s))return e(o)})},Yd=Ze({patchProp:qv},Sv);let bo,fu=!1;function Yv(){return bo||(bo=cv(Yd))}function Jv(){return bo=fu?bo:uv(Yd),fu=!0,bo}const Zv=(...e)=>{const t=Yv().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Jd(r);if(!o)return;const s=t._component;!pe(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},ey=(...e)=>{const t=Jv().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Jd(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function Jd(e){return We(e)?document.querySelector(e):e}const ty=/#/g,ny=/&/g,ry=/=/g,Sl=/\+/g,oy=/%5e/gi,sy=/%60/gi,iy=/%7c/gi,ay=/%20/gi;function ly(e){return encodeURI(""+e).replace(iy,"|")}function ha(e){return ly(typeof e=="string"?e:JSON.stringify(e)).replace(Sl,"%2B").replace(ay,"+").replace(ty,"%23").replace(ny,"%26").replace(sy,"`").replace(oy,"^")}function Ii(e){return ha(e).replace(ry,"%3D")}function Zd(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function cy(e){return Zd(e.replace(Sl," "))}function uy(e){return Zd(e.replace(Sl," "))}function fy(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=cy(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=uy(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 dy(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ii(e)}=${ha(n)}`).join("&"):`${Ii(e)}=${ha(t)}`:Ii(e)}function py(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>dy(t,e[t])).filter(Boolean).join("&")}const hy=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,ep=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,gy=/^([/\\]\s*){2,}[^/\\]/;function Pl(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?hy.test(e):ep.test(e)||(t.acceptRelative?gy.test(e):!1)}const my=/\/$|\/\?|\/#/;function ga(e="",t){return t?my.test(e):e.endsWith("/")}function tp(e="",t){if(!t)return(ga(e)?e.slice(0,-1):e)||"/";if(!ga(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 vy(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ga(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 yy(e=""){return e.startsWith("/")}function by(e=""){return yy(e)?e:"/"+e}function np(e,t){if(_y(t)||Pl(e))return e;const n=tp(t);return e.startsWith(n)?e:fi(n,e)}function wy(e,t){const n=rp(e),r={...fy(n.search),...t};return n.search=py(r),Sy(n)}function _y(e){return!e||e==="/"}function xy(e){return e&&e!=="/"}const ky=/^\.?\//;function fi(e,...t){let n=e||"";for(const r of t.filter(o=>xy(o)))if(n){const o=r.replace(ky,"");n=vy(n)+o}else n=r;return n}function Ey(e){return Cy(e,"https://")}function Cy(e,t){const n=e.match(ep);return n?t+e.slice(n[0].length):t+e}function rp(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(!Pl(e,{acceptRelative:!0}))return t?rp(t+e):du(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:u,hash:c}=du(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:u,hash:c}}function du(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Sy(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 Py=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Hs=Py().app,Ty=()=>Hs.baseURL,Ay=()=>Hs.buildAssetsDir,Tl=(...e)=>fi(op(),Ay(),...e),op=(...e)=>{const t=Hs.cdnURL||Hs.baseURL;return e.length?fi(t,...e):t};globalThis.__buildAssetsURL=Tl,globalThis.__publicAssetsURL=op;const Oy=/"(?:_|\\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*:/,$y=/"(?: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*:/,Ry=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Iy(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ly(e);return}return t}function Ly(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function jy(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(!Ry.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Oy.test(e)||$y.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Iy)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class My extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Dy(e){var l,u,c,f,d;const t=((l=e.error)==null?void 0:l.message)||((u=e.error)==null?void 0:u.toString())||"",n=((c=e.request)==null?void 0:c.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 My(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 Ny=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function pu(e="GET"){return Ny.has(e.toUpperCase())}function Fy(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 By=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Hy=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Uy(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Hy.test(t)?"json":By.has(t)||t.startsWith("text/")?"text":"blob"}function zy(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 Vy=new Set([408,409,425,429,500,502,503,504]),Wy=new Set([101,204,205,304]);function sp(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 c;typeof a.options.retry=="number"?c=a.options.retry:c=pu(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Vy.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),s(a.request,{...a.options,retry:c-1,timeout:a.options.timeout})}}const u=Dy(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,s),u}const s=async function(l,u={}){var d;const c={request:l,options:zy(u,e.defaults,n),response:void 0,error:void 0};if(c.options.method=(d=c.options.method)==null?void 0:d.toUpperCase(),c.options.onRequest&&await c.options.onRequest(c),typeof c.request=="string"&&(c.options.baseURL&&(c.request=np(c.request,c.options.baseURL)),(c.options.query||c.options.params)&&(c.request=wy(c.request,{...c.options.params,...c.options.query}))),c.options.body&&pu(c.options.method)&&(Fy(c.options.body)?(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")):("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"))),!c.options.signal&&c.options.timeout){const p=new r;setTimeout(()=>p.abort(),c.options.timeout),c.options.signal=p.signal}try{c.response=await t(c.request,c.options)}catch(p){return c.error=p,c.options.onRequestError&&await c.options.onRequestError(c),await o(c)}if(c.response.body&&!Wy.has(c.response.status)&&c.options.method!=="HEAD"){const p=(c.options.parseResponse?"json":c.options.responseType)||Uy(c.response.headers.get("content-type")||"");switch(p){case"json":{const h=await c.response.text(),g=c.options.parseResponse||jy;c.response._data=g(h);break}case"stream":{c.response._data=c.response.body;break}default:c.response._data=await c.response[p]()}}return c.options.onResponse&&await c.options.onResponse(c),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await c.options.onResponseError(c),await o(c)):c.response},i=async function(l,u){return(await s(l,u))._data};return i.raw=s,i.native=(...a)=>t(...a),i.create=(a={})=>sp({...e,defaults:{...e.defaults,...a}}),i}const Al=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")}(),qy=Al.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ky=Al.Headers,Gy=Al.AbortController,Qy=sp({fetch:qy,Headers:Ky,AbortController:Gy}),Xy=Qy;globalThis.$fetch||(globalThis.$fetch=Xy.create({baseURL:Ty()}));function ma(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?ma(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Yy={run:e=>e()},Jy=()=>Yy,ip=typeof console.createTask<"u"?console.createTask:Jy;function Zy(e,t){const n=t.shift(),r=ip(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function e0(e,t){const n=t.shift(),r=ip(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Li(e,t){for(const n of[...e])n(t)}class t0{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=ma(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=ma(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(Zy,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(e0,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Li(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Li(this._after,o)}):(this._after&&o&&Li(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 ap(){return new t0}function n0(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},u=()=>t===i?l:void 0;va.add(u);try{const c=o?o.run(i,a):a();return n||(t=void 0),await c}finally{va.delete(u)}}}}function r0(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=n0({...e,...r})),t[n],t[n]}}}const Us=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},hu="__unctx__",o0=Us[hu]||(Us[hu]=r0()),s0=(e,t={})=>o0.get(e,t),gu="__unctx_async_handlers__",va=Us[gu]||(Us[gu]=new Set);function Ro(e){const t=[];for(const o of va){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 lp=s0("nuxt-app",{asyncContext:!1}),i0="__nuxt_plugin";function a0(e){let t=0;const n={_scope:Kf(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.10.3"},get vue(){return n.vueApp.version}},payload:Lt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>u0(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=ap(),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 l0(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 c0(e,t){const n=[],r=[],o=[],s=[];let i=0;async function a(l){var c;const u=((c=l.dependsOn)==null?void 0:c.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(u.length>0)r.push([new Set(u),l]);else{const f=l0(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([d,p])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(i++,await a(p)))})))});l.parallel?o.push(f.catch(d=>s.push(d))):await f}}for(const l of t)await a(l);if(await Promise.all(o),i)for(let l=0;l{}),e,{[i0]:!0,_name:t})}function u0(e,t,n){const r=()=>n?t(...n):t();return lp.set(e),e.vueApp.runWithContext(r)}function f0(){var t;let e;return Rd()&&(e=(t=Mt())==null?void 0:t.appContext.app.$nuxt),e=e||lp.tryUse(),e||null}function Ae(){const e=f0();if(!e)throw new Error("[nuxt] instance unavailable");return e}function Dt(e){return Ae().$config}function ds(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const d0=/#/g,p0=/&/g,h0=/\//g,g0=/=/g,Ol=/\+/g,m0=/%5e/gi,v0=/%60/gi,y0=/%7c/gi,b0=/%20/gi;function w0(e){return encodeURI(""+e).replace(y0,"|")}function ya(e){return w0(typeof e=="string"?e:JSON.stringify(e)).replace(Ol,"%2B").replace(b0,"+").replace(d0,"%23").replace(p0,"%26").replace(v0,"`").replace(m0,"^").replace(h0,"%2F")}function ji(e){return ya(e).replace(g0,"%3D")}function zs(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function _0(e){return zs(e.replace(Ol," "))}function x0(e){return zs(e.replace(Ol," "))}function cp(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=_0(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=x0(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 k0(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ji(e)}=${ya(n)}`).join("&"):`${ji(e)}=${ya(t)}`:ji(e)}function E0(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>k0(t,e[t])).filter(Boolean).join("&")}const C0=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,S0=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,P0=/^([/\\]\s*){2,}[^/\\]/,T0=/^[\s\0]*(blob|data|javascript|vbscript):$/i,A0=/\/$|\/\?|\/#/,O0=/^\.?\//;function Kr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?C0.test(e):S0.test(e)||(t.acceptRelative?P0.test(e):!1)}function $0(e){return!!e&&T0.test(e)}function ba(e="",t){return t?A0.test(e):e.endsWith("/")}function $l(e="",t){if(!t)return(ba(e)?e.slice(0,-1):e)||"/";if(!ba(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 Vs(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ba(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 R0(e=""){return e.startsWith("/")}function mu(e=""){return R0(e)?e:"/"+e}function vu(e,t){if(L0(t))return e;const n=$l(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function I0(e,t){const n=Ko(e),r={...cp(n.search),...t};return n.search=E0(r),D0(n)}function L0(e){return!e||e==="/"}function j0(e){return e&&e!=="/"}function Rl(e,...t){let n=e||"";for(const r of t.filter(o=>j0(o)))if(n){const o=r.replace(O0,"");n=Vs(n)+o}else n=r;return n}function M0(e,t,n={}){return n.trailingSlash||(e=Vs(e),t=Vs(t)),n.leadingSlash||(e=mu(e),t=mu(t)),n.encoding||(e=zs(e),t=zs(t)),e===t}const up=Symbol.for("ufo:protocolRelative");function Ko(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(!Kr(e,{acceptRelative:!0}))return t?Ko(t+e):yu(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:u,hash:c}=yu(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:u,hash:c,[up]:!r}}function yu(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function D0(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[up]?(e.protocol||"")+"//":"")+o+s+t+n+r}const ps=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function N0(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=(t||{}).decode||H0;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 u=Object.keys(o);e.unorderedObjects&&(u=u.sort());let c=[];e.respectType!==!1&&!_u(o)&&(c=z0),e.excludeKeys&&(u=u.filter(d=>!e.excludeKeys(d)),c=c.filter(d=>!e.excludeKeys(d))),r("object:"+(u.length+c.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(o[d]),r(",")};for(const d of u)f(d);for(const d of c)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 u=fp(e);u.dispatch(l);for(const[c,f]of u.getContext())i.set(c,f);return u.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:"),_u(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 dp="[native code] }",V0=dp.length;function _u(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-V0)===dp}class Dn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||W0).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 Dn([...this.words])}}const W0={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("")}},q0={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("")}},K0={parse(e){const t=e.length,n=[];for(let r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Dn(n,t)}},G0={parse(e){return K0.parse(unescape(encodeURIComponent(e)))}};class Q0{constructor(){this._data=new Dn,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Dn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=G0.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,w=Xn[d-2],E=(w<<15|w>>>17)^(w<<13|w>>>19)^w>>>10;Xn[d]=m+Xn[d-7]+E+Xn[d-16]}const p=l&u^~l&c,h=o&s^o&i^s&i,g=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),b=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),_=f+b+p+Y0[d]+Xn[d],y=g+h;f=c,c=u,u=l,l=a+_|0,a=i,i=s,s=o,o=_+y|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]+u|0,r[6]=r[6]+c|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 Z0(e){return new J0().finalize(e).toString(q0)}function Io(e,t={}){const n=typeof e=="string"?e:wa(e,t);return Z0(n).slice(0,10)}function pp(e,t,n={}){return e===t||wa(e,n)===wa(t,n)}function eb(e){return{ctx:{table:e},matchAll:t=>gp(t,e)}}function hp(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,hp(o)])):new Map(Object.entries(e[n]));return t}function tb(e){return eb(hp(e))}function gp(e,t){const n=[];for(const[o,s]of ku(t.wildcard))e.startsWith(o)&&n.push(s);for(const[o,s]of ku(t.dynamic))if(e.startsWith(o+"/")){const i="/"+e.slice(o.length).split("/").splice(2).join("/");n.push(...gp(i,s))}const r=t.static.get(e);return r&&n.push(r),n.filter(Boolean)}function ku(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}const nb=/"(?:_|\\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*:/,rb=/"(?: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*:/,ob=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function sb(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){ib(e);return}return t}function ib(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ws(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!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(!ob.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(nb.test(e)||rb.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,sb)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}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 _a(e,t,n=".",r){if(!Mi(t))return _a(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]=_a(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function Il(e){return(...t)=>t.reduce((n,r)=>_a(n,r,"",e),{})}const di=Il(),ab=Il((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function lb(e,t){try{return t in e}catch{return!1}}var cb=Object.defineProperty,ub=(e,t,n)=>t in e?cb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zn=(e,t,n)=>(ub(e,typeof t!="symbol"?t+"":t,n),n);class xa 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:Ea(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=mp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Zn(xa,"__h3_error__",!0);function ka(e){if(typeof e=="string")return new xa(e);if(fb(e))return e;const t=new xa(e.message??e.statusMessage??"",{cause:e.cause||e});if(lb(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=Ea(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ea(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;mp(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 fb(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const db=/[^\u0009\u0020-\u007E]/g;function mp(e=""){return e.replace(db,"")}function Ea(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const vp=Symbol("layout-meta"),Gr=Symbol("route"),Tt=()=>{var e;return(e=Ae())==null?void 0:e.$router},mn=()=>Rd()?Ce(Gr,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:I0(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,u=Object.entries(l).filter(([c,f])=>f!==void 0).map(([c,f])=>`${c.toLowerCase()}=${f}`).join(", ");open(n,a,u)}return Promise.resolve()}const r=(t==null?void 0:t.external)||Kr(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=Ko(n).protocol;if(a&&$0(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=pb();if(!r&&o)return e;const s=Tt(),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)},yp="__nuxt_error",pi=()=>xe(Ae().payload,"error"),xr=e=>{const t=Go(e);try{const n=Ae(),r=pi();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},bp=async(e={})=>{const t=Ae(),n=pi();t.callHook("app:error:cleared",e),e.redirect&&await Tt().replace(e.redirect),n.value=null},gb=e=>!!e&&typeof e=="object"&&yp in e,Go=e=>{const t=ka(e);return Object.defineProperty(t,yp,{value:!0,configurable:!1,writable:!1}),t},mb="modulepreload",vb=function(e,t){return e[0]==="."?new URL(e,t).href:e},Eu={},yb=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=vb(i,r),i in Eu)return;Eu[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 c=document.createElement("link");if(c.rel=a?"stylesheet":mb,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((f,d)=>{c.addEventListener("load",f),c.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})},G=(...e)=>yb(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),bb=-1,wb=-2,_b=-3,xb=-4,kb=-5,Eb=-6;function Cb(e,t){return Sb(JSON.parse(e),t)}function Sb(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===bb)return;if(s===_b)return NaN;if(s===xb)return 1/0;if(s===kb)return-1/0;if(s===Eb)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],u=t==null?void 0:t[l];if(u)return r[s]=u(o(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const c=new Set;r[s]=c;for(let p=1;p>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Cu(e){return e._h||Ll(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function _p(e,t){const{props:n,tag:r}=e;if(Ob.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 Su(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function xp(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},u=o(l);return typeof u=="object"?xp(u,t):Array.isArray(u)?u:{[typeof t.key=="function"?t.key(l):t.key]:r(l),[typeof t.value=="function"?t.value(l):t.value]:u}}).flat());return n}function kp(e,t){return Object.entries(e).map(([n,r])=>{if(typeof r=="object"&&(r=kp(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 ft=e=>({keyValue:e,metaKey:"property"}),Di=e=>({keyValue:e}),jl={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return`${hn(e)}=${t}`}}},articleExpirationTime:ft("article:expiration_time"),articleModifiedTime:ft("article:modified_time"),articlePublishedTime:ft("article:published_time"),bookReleaseDate:ft("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:ft("fb:app_id"),msapplicationConfig:Di("msapplication-Config"),msapplicationTileColor:Di("msapplication-TileColor"),msapplicationTileImage:Di("msapplication-TileImage"),ogAudioSecureUrl:ft("og:audio:secure_url"),ogAudioUrl:ft("og:audio"),ogImageSecureUrl:ft("og:image:secure_url"),ogImageUrl:ft("og:image"),ogSiteName:ft("og:site_name"),ogVideoSecureUrl:ft("og:video:secure_url"),ogVideoUrl:ft("og:video"),profileFirstName:ft("profile:first_name"),profileLastName:ft("profile:last_name"),profileUsername:ft("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"}},Ep=["og","book","article","profile"];function Cp(e){var n;const t=hn(e).split(":")[0];return Ep.includes(t)?"property":((n=jl[e])==null?void 0:n.metaKey)||"name"}function Rb(e){var t;return((t=jl[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 Ep.includes(n)||n==="twitter"?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Ca(e){if(Array.isArray(e))return e.map(n=>Ca(n));if(typeof e!="object"||Array.isArray(e))return e;const t={};for(const[n,r]of Object.entries(e))t[hn(n)]=Ca(r);return t}function Ib(e,t){const n=jl[t];return t==="refresh"?`${e.seconds};url=${e.url}`:kp(Ca(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 Sp=["og:image","og:video","og:audio","twitter:image"];function Pp(e){const t={};return Object.entries(e).forEach(([n,r])=>{String(r)!=="false"&&n&&(t[n]=r)}),t}function Pu(e,t){const n=Pp(t),r=hn(e),o=Cp(r);if(Sp.includes(r)){const s={};return Object.entries(n).forEach(([i,a])=>{s[`${e}${i==="url"?"":`${i.charAt(0).toUpperCase()}${i.slice(1)}`}`]=a}),Ml(s).sort((i,a)=>{var l,u;return(((l=i[o])==null?void 0:l.length)||0)-(((u=a[o])==null?void 0:u.length)||0)})}return[{[o]:r,...n}]}function Ml(e){const t=[],n={};Object.entries(e).forEach(([o,s])=>{if(!Array.isArray(s)){if(typeof s=="object"&&s){if(Sp.includes(hn(o))){t.push(...Pu(o,s));return}n[o]=Pp(s)}else n[o]=s;return}s.forEach(i=>{t.push(...typeof i=="string"?Ml({[o]:i}):Pu(o,i))})});const r=xp(n,{key({key:o}){return Cp(o)},value({key:o}){return o==="charset"?"charset":"content"},resolveKeyData({key:o}){return Rb(o)},resolveValueData({value:o,key:s}){return o===null?"_null":typeof o=="object"?Ib(o,s):typeof o=="number"?o.toString():o}});return[...t,...r].map(o=>(o.content==="_null"&&(o.content=null),o))}async function Lb(e,t,n){const r={tag:e,props:await Tp(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return wp.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||Tb.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 jb(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 Tp(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=jb(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!wp.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 Mb=10;async function Db(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Ab.includes(n)).forEach(([n,r])=>{const o=Pb(r);t.push(...o.map(s=>Lb(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[u]||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,u)=>`${a}${u}`).trim())}),e.includes(En)&&(e.endsWith(En)&&(e=e.slice(0,-En.length).trim()),e.startsWith(En)&&(e=e.slice(En.length).trim()),e=e.replace(new RegExp(`\\${En}\\s*\\${En}`,"g"),En),e=Cs(e,{separator:n},n)),e}async function Fb(e){const t={tag:e.tagName.toLowerCase(),props:await Tp(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=_p(t),t}async function Op(e,t={}){var c;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:Es.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=(c=n==null?void 0:n[f])==null?void 0:c.children;for(const p of[...d].filter(h=>Es.includes(h.tagName.toLowerCase())))s.elMap[p.getAttribute("data-hid")||Cu(await Fb(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,b])=>{const _=`attr:${g}`;if(g==="class")for(const y of(b||"").split(" ").filter(Boolean))h&&i(f,`${_}:${y}`,()=>d.classList.remove(y)),!d.classList.contains(y)&&d.classList.add(y);else d.getAttribute(g)!==b&&d.setAttribute(g,b===!0?"":String(b)),h&&i(f,_,()=>d.removeAttribute(g))})}const l=[],u={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):Es.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),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Bb(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Op(e,t),delete e._domUpdatePromise,r()}))}function Hb(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){Bb(s,e)}}}}}const Ub=["templateParams","htmlAttrs","bodyAttrs"],zb={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=_p(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&&Ub.includes(r.tag)&&(a="merge"),a==="merge"){const l=s.props;["class","style"].forEach(u=>{l[u]&&(r.props[u]?(u==="style"&&!l[u].endsWith(";")&&(l[u]+=";"),r.props[u]=`${l[u]} ${r.props[u]}`):r.props[u]=l[u])}),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(qs(r)>qs(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Es.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))}}},Vb={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"}})}}},Wb=["script","link","bodyAttrs"];function qb(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 Kb=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(Wb.includes(n.tag)){const{props:r,eventHandlers:o}=qb(n);n.props=r,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||Ll(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(),u=`data-h-${l}`;if(r(t.id,a,()=>{}),t.$el.hasAttribute(u))return;t.$el.setAttribute(u,"");let c;const f=d=>{i(d),c==null||c.disconnect()};s in t.$el.dataset?f(new Event(s.replace("on",""))):Ap.includes(s)&&typeof MutationObserver<"u"?(c=new MutationObserver(d=>{d.some(h=>h.attributeName===`data-${s}`)&&(f(new Event(s.replace("on",""))),c==null||c.disconnect())}),c.observe(t.$el,{attributes:!0})):o.addEventListener(l,f),r(t.id,a,()=>{c==null||c.disconnect(),o.removeEventListener(l,f),t.$el.removeAttribute(u)})})}}}),Gb=["link","style","script","noscript"],Qb={hooks:{"tag:normalise":({tag:e})=>{e.key&&Gb.includes(e.tag)&&(e.props["data-hid"]=e._h=Ll(e.key))}}},Xb={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 Nb)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)=>qs(n)-qs(r))}}},Yb={meta:"content",link:"href",htmlAttrs:"lang"},Jb=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=Cs(s.pageTitle||r||"",s,i);for(const l of n.filter(u=>u.processTemplateParams!==!1)){const u=Yb[l.tag];u&&typeof l.props[u]=="string"?l.props[u]=Cs(l.props[u],s,i):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(c=>{typeof l[c]=="string"&&(l[c]=Cs(l[c],s,i))})}e._templateParams=s,e._separator=i,t.tags=n.filter(l=>l.tag!=="templateParams")}}}),Zb={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=Su(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Su(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)}}},ew={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 u=typeof l=="function"?l(a):l;(!u.key||!i.some(c=>c.key===u.key))&&(i.push(u),Ou(u.mode,n)&&t.addHooks(u.hooks||{}))},push(l,u){u==null||delete u.head;const c={_i:o++,input:l,...u};return Ou(c.mode,n)&&(s.push(c),r()),{dispose(){s=s.filter(f=>f._i!==c._i),t.callHook("entries:updated",a),r()},patch(f){s=s.map(d=>(d._i===c._i&&(d.input=c.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...s]};await t.callHook("entries:resolve",l);for(const u of l.entries){const c=u.resolvedInput||u.input;if(u.resolvedInput=await(u.transform?u.transform(c):c),u.resolvedInput)for(const f of await Db(u)){const d={tag:f,entry:u,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[zb,Vb,Kb,Qb,Xb,Jb,Zb,ew,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function rw(){return $p}const ow=Gd.startsWith("3");function sw(e){return typeof e=="function"?e():C(e)}function Ks(e,t=""){if(e instanceof Promise)return e;const n=sw(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Ks(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,C(o)]:[r,Ks(o,r)])):n}const iw={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ks(t.input)}}},Rp="usehead";function aw(e){return{install(n){ow&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Rp,e))}}.install}function lw(e={}){e.domDelayFn=e.domDelayFn||(n=>Vn(()=>setTimeout(()=>n(),0)));const t=tw(e);return t.use(iw),t.install=aw(t),t}const Sa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Pa="__unhead_injection_handler__";function cw(e){Sa[Pa]=e}function uw(){if(Pa in Sa)return Sa[Pa]();const e=Ce(Rp);return e||rw()}function Qo(e,t={}){const n=t.head||uw();if(n)return n.ssr?n.push(e,t):fw(n,e,t)}function fw(e,t,n={}){const r=F(!1),o=F({});Xe(()=>{o.value=r.value?{}:Ks(t)});const s=e.push(o.value,n);return Me(o,a=>{s.patch(a)}),Mt()&&(qo(()=>{s.dispose()}),xd(()=>{r.value=!0}),_d(()=>{r.value=!1})),s}function Ip(e,t){const{title:n,titleTemplate:r,...o}=e;return Qo({title:n,titleTemplate:r,_flatMeta:o},{...t,transform(s){const i=Ml({...s._flatMeta});return delete s._flatMeta,{...s,meta:i}}})}function Yt(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]=Yt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Yt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Yt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Yt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(Yt(o))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(o,s){n.set(Yt(s),Yt(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(Yt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const dw={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"}]}}},pw={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",menu:"i-heroicons-bars-3-20-solid",close:"i-heroicons-x-mark-20-solid",check:"i-heroicons-check-circle-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"}}}}}}}},hw={nuxt:{buildId:"1732807e-3c90-40ae-a601-c6fedc03a2cf"},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"}},ze=ab(dw,pw,hw);function lt(){const e=Ae();return e._appConfig||(e._appConfig=Lt(ze)),e._appConfig}const gw=!1,Ta=!1,mw=!1,vw={componentName:"NuxtLink"},yw={deep:!0},bw={},ww="#__nuxt";let Ss,Lp;function _w(){var t;const e=(t=lt().nuxt)==null?void 0:t.buildId;return Ss=$fetch(Tl(`builds/meta/${e}.json`)),Ss.then(n=>{Lp=tb(n.matcher)}),Ss}function hi(){return Ss||_w()}async function jp(e){return await hi(),di({},...Lp.matchAll(e).reverse())}function $u(e,t={}){const n=xw(e,t),r=Ae(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=kw(e).then(s=>s?Mp(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const Ru="json";function xw(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Kr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Rl(Dt().app.baseURL,n.pathname,r?`_payload.${r}.${Ru}`:`_payload.${Ru}`)}async function Mp(e){const t=fetch(e).then(n=>n.text().then(Dp));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function kw(e=mn().path){if(e=$l(e),(await hi()).prerendered.includes(e))return!0;const n=await jp(e);return!!n.prerender&&!n.redirect}let hs=null;async function Ew(){if(hs)return hs;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Dp(e.textContent||""),n=e.dataset.src?await Mp(e.dataset.src):void 0;return hs={...t,...n,...window.__NUXT__},hs}async function Dp(e){return await Cb(e,Ae()._payloadRevivers)}function Cw(e,t){Ae()._payloadRevivers[e]=t}const Aa={NuxtError:e=>Go(e),EmptyShallowRef:e=>Bn(e==="_"?void 0:e==="0n"?BigInt(0):Ws(e)),EmptyRef:e=>F(e==="_"?void 0:e==="0n"?BigInt(0):Ws(e)),ShallowRef:e=>Bn(e),ShallowReactive:e=>Vo(e),Ref:e=>F(e),Reactive:e=>Lt(e)};Aa.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 Sw=ot({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Aa)Cw(r,Aa[r]);Object.assign(e.payload,([t,n]=Ro(()=>e.runWithContext(Ew)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Pw=[],Tw=ot({name:"nuxt:head",enforce:"pre",setup(e){const t=lw({plugins:Pw});cw(()=>Ae().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Op(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 dp="[native code] }",V0=dp.length;function _u(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-V0)===dp}class Dn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||W0).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 Dn([...this.words])}}const W0={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("")}},q0={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("")}},K0={parse(e){const t=e.length,n=[];for(let r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Dn(n,t)}},G0={parse(e){return K0.parse(unescape(encodeURIComponent(e)))}};class Q0{constructor(){this._data=new Dn,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Dn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=G0.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,w=Xn[d-2],E=(w<<15|w>>>17)^(w<<13|w>>>19)^w>>>10;Xn[d]=m+Xn[d-7]+E+Xn[d-16]}const p=l&u^~l&c,h=o&s^o&i^s&i,g=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),b=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),_=f+b+p+Y0[d]+Xn[d],y=g+h;f=c,c=u,u=l,l=a+_|0,a=i,i=s,s=o,o=_+y|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]+u|0,r[6]=r[6]+c|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 Z0(e){return new J0().finalize(e).toString(q0)}function Io(e,t={}){const n=typeof e=="string"?e:wa(e,t);return Z0(n).slice(0,10)}function pp(e,t,n={}){return e===t||wa(e,n)===wa(t,n)}function eb(e){return{ctx:{table:e},matchAll:t=>gp(t,e)}}function hp(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,hp(o)])):new Map(Object.entries(e[n]));return t}function tb(e){return eb(hp(e))}function gp(e,t){const n=[];for(const[o,s]of ku(t.wildcard))e.startsWith(o)&&n.push(s);for(const[o,s]of ku(t.dynamic))if(e.startsWith(o+"/")){const i="/"+e.slice(o.length).split("/").splice(2).join("/");n.push(...gp(i,s))}const r=t.static.get(e);return r&&n.push(r),n.filter(Boolean)}function ku(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}const nb=/"(?:_|\\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*:/,rb=/"(?: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*:/,ob=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function sb(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){ib(e);return}return t}function ib(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ws(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!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(!ob.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(nb.test(e)||rb.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,sb)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}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 _a(e,t,n=".",r){if(!Mi(t))return _a(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]=_a(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function Il(e){return(...t)=>t.reduce((n,r)=>_a(n,r,"",e),{})}const di=Il(),ab=Il((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function lb(e,t){try{return t in e}catch{return!1}}var cb=Object.defineProperty,ub=(e,t,n)=>t in e?cb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zn=(e,t,n)=>(ub(e,typeof t!="symbol"?t+"":t,n),n);class xa 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:Ea(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=mp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Zn(xa,"__h3_error__",!0);function ka(e){if(typeof e=="string")return new xa(e);if(fb(e))return e;const t=new xa(e.message??e.statusMessage??"",{cause:e.cause||e});if(lb(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=Ea(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ea(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;mp(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 fb(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const db=/[^\u0009\u0020-\u007E]/g;function mp(e=""){return e.replace(db,"")}function Ea(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const vp=Symbol("layout-meta"),Gr=Symbol("route"),Tt=()=>{var e;return(e=Ae())==null?void 0:e.$router},mn=()=>Rd()?Ce(Gr,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:I0(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,u=Object.entries(l).filter(([c,f])=>f!==void 0).map(([c,f])=>`${c.toLowerCase()}=${f}`).join(", ");open(n,a,u)}return Promise.resolve()}const r=(t==null?void 0:t.external)||Kr(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=Ko(n).protocol;if(a&&$0(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=pb();if(!r&&o)return e;const s=Tt(),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)},yp="__nuxt_error",pi=()=>xe(Ae().payload,"error"),xr=e=>{const t=Go(e);try{const n=Ae(),r=pi();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},bp=async(e={})=>{const t=Ae(),n=pi();t.callHook("app:error:cleared",e),e.redirect&&await Tt().replace(e.redirect),n.value=null},gb=e=>!!e&&typeof e=="object"&&yp in e,Go=e=>{const t=ka(e);return Object.defineProperty(t,yp,{value:!0,configurable:!1,writable:!1}),t},mb="modulepreload",vb=function(e,t){return e[0]==="."?new URL(e,t).href:e},Eu={},yb=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=vb(i,r),i in Eu)return;Eu[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 c=document.createElement("link");if(c.rel=a?"stylesheet":mb,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((f,d)=>{c.addEventListener("load",f),c.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})},G=(...e)=>yb(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),bb=-1,wb=-2,_b=-3,xb=-4,kb=-5,Eb=-6;function Cb(e,t){return Sb(JSON.parse(e),t)}function Sb(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===bb)return;if(s===_b)return NaN;if(s===xb)return 1/0;if(s===kb)return-1/0;if(s===Eb)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],u=t==null?void 0:t[l];if(u)return r[s]=u(o(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const c=new Set;r[s]=c;for(let p=1;p>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Cu(e){return e._h||Ll(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function _p(e,t){const{props:n,tag:r}=e;if(Ob.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 Su(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function xp(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},u=o(l);return typeof u=="object"?xp(u,t):Array.isArray(u)?u:{[typeof t.key=="function"?t.key(l):t.key]:r(l),[typeof t.value=="function"?t.value(l):t.value]:u}}).flat());return n}function kp(e,t){return Object.entries(e).map(([n,r])=>{if(typeof r=="object"&&(r=kp(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 ft=e=>({keyValue:e,metaKey:"property"}),Di=e=>({keyValue:e}),jl={appleItunesApp:{unpack:{entrySeparator:", ",resolve({key:e,value:t}){return`${hn(e)}=${t}`}}},articleExpirationTime:ft("article:expiration_time"),articleModifiedTime:ft("article:modified_time"),articlePublishedTime:ft("article:published_time"),bookReleaseDate:ft("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:ft("fb:app_id"),msapplicationConfig:Di("msapplication-Config"),msapplicationTileColor:Di("msapplication-TileColor"),msapplicationTileImage:Di("msapplication-TileImage"),ogAudioSecureUrl:ft("og:audio:secure_url"),ogAudioUrl:ft("og:audio"),ogImageSecureUrl:ft("og:image:secure_url"),ogImageUrl:ft("og:image"),ogSiteName:ft("og:site_name"),ogVideoSecureUrl:ft("og:video:secure_url"),ogVideoUrl:ft("og:video"),profileFirstName:ft("profile:first_name"),profileLastName:ft("profile:last_name"),profileUsername:ft("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"}},Ep=["og","book","article","profile"];function Cp(e){var n;const t=hn(e).split(":")[0];return Ep.includes(t)?"property":((n=jl[e])==null?void 0:n.metaKey)||"name"}function Rb(e){var t;return((t=jl[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 Ep.includes(n)||n==="twitter"?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Ca(e){if(Array.isArray(e))return e.map(n=>Ca(n));if(typeof e!="object"||Array.isArray(e))return e;const t={};for(const[n,r]of Object.entries(e))t[hn(n)]=Ca(r);return t}function Ib(e,t){const n=jl[t];return t==="refresh"?`${e.seconds};url=${e.url}`:kp(Ca(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 Sp=["og:image","og:video","og:audio","twitter:image"];function Pp(e){const t={};return Object.entries(e).forEach(([n,r])=>{String(r)!=="false"&&n&&(t[n]=r)}),t}function Pu(e,t){const n=Pp(t),r=hn(e),o=Cp(r);if(Sp.includes(r)){const s={};return Object.entries(n).forEach(([i,a])=>{s[`${e}${i==="url"?"":`${i.charAt(0).toUpperCase()}${i.slice(1)}`}`]=a}),Ml(s).sort((i,a)=>{var l,u;return(((l=i[o])==null?void 0:l.length)||0)-(((u=a[o])==null?void 0:u.length)||0)})}return[{[o]:r,...n}]}function Ml(e){const t=[],n={};Object.entries(e).forEach(([o,s])=>{if(!Array.isArray(s)){if(typeof s=="object"&&s){if(Sp.includes(hn(o))){t.push(...Pu(o,s));return}n[o]=Pp(s)}else n[o]=s;return}s.forEach(i=>{t.push(...typeof i=="string"?Ml({[o]:i}):Pu(o,i))})});const r=xp(n,{key({key:o}){return Cp(o)},value({key:o}){return o==="charset"?"charset":"content"},resolveKeyData({key:o}){return Rb(o)},resolveValueData({value:o,key:s}){return o===null?"_null":typeof o=="object"?Ib(o,s):typeof o=="number"?o.toString():o}});return[...t,...r].map(o=>(o.content==="_null"&&(o.content=null),o))}async function Lb(e,t,n){const r={tag:e,props:await Tp(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return wp.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||Tb.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 jb(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 Tp(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=jb(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!wp.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 Mb=10;async function Db(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Ab.includes(n)).forEach(([n,r])=>{const o=Pb(r);t.push(...o.map(s=>Lb(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[u]||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,u)=>`${a}${u}`).trim())}),e.includes(En)&&(e.endsWith(En)&&(e=e.slice(0,-En.length).trim()),e.startsWith(En)&&(e=e.slice(En.length).trim()),e=e.replace(new RegExp(`\\${En}\\s*\\${En}`,"g"),En),e=Cs(e,{separator:n},n)),e}async function Fb(e){const t={tag:e.tagName.toLowerCase(),props:await Tp(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=_p(t),t}async function Op(e,t={}){var c;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:Es.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=(c=n==null?void 0:n[f])==null?void 0:c.children;for(const p of[...d].filter(h=>Es.includes(h.tagName.toLowerCase())))s.elMap[p.getAttribute("data-hid")||Cu(await Fb(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,b])=>{const _=`attr:${g}`;if(g==="class")for(const y of(b||"").split(" ").filter(Boolean))h&&i(f,`${_}:${y}`,()=>d.classList.remove(y)),!d.classList.contains(y)&&d.classList.add(y);else d.getAttribute(g)!==b&&d.setAttribute(g,b===!0?"":String(b)),h&&i(f,_,()=>d.removeAttribute(g))})}const l=[],u={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):Es.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),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Bb(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Op(e,t),delete e._domUpdatePromise,r()}))}function Hb(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){Bb(s,e)}}}}}const Ub=["templateParams","htmlAttrs","bodyAttrs"],zb={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=_p(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&&Ub.includes(r.tag)&&(a="merge"),a==="merge"){const l=s.props;["class","style"].forEach(u=>{l[u]&&(r.props[u]?(u==="style"&&!l[u].endsWith(";")&&(l[u]+=";"),r.props[u]=`${l[u]} ${r.props[u]}`):r.props[u]=l[u])}),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(qs(r)>qs(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Es.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))}}},Vb={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"}})}}},Wb=["script","link","bodyAttrs"];function qb(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 Kb=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(Wb.includes(n.tag)){const{props:r,eventHandlers:o}=qb(n);n.props=r,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||Ll(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(),u=`data-h-${l}`;if(r(t.id,a,()=>{}),t.$el.hasAttribute(u))return;t.$el.setAttribute(u,"");let c;const f=d=>{i(d),c==null||c.disconnect()};s in t.$el.dataset?f(new Event(s.replace("on",""))):Ap.includes(s)&&typeof MutationObserver<"u"?(c=new MutationObserver(d=>{d.some(h=>h.attributeName===`data-${s}`)&&(f(new Event(s.replace("on",""))),c==null||c.disconnect())}),c.observe(t.$el,{attributes:!0})):o.addEventListener(l,f),r(t.id,a,()=>{c==null||c.disconnect(),o.removeEventListener(l,f),t.$el.removeAttribute(u)})})}}}),Gb=["link","style","script","noscript"],Qb={hooks:{"tag:normalise":({tag:e})=>{e.key&&Gb.includes(e.tag)&&(e.props["data-hid"]=e._h=Ll(e.key))}}},Xb={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 Nb)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)=>qs(n)-qs(r))}}},Yb={meta:"content",link:"href",htmlAttrs:"lang"},Jb=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=Cs(s.pageTitle||r||"",s,i);for(const l of n.filter(u=>u.processTemplateParams!==!1)){const u=Yb[l.tag];u&&typeof l.props[u]=="string"?l.props[u]=Cs(l.props[u],s,i):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(c=>{typeof l[c]=="string"&&(l[c]=Cs(l[c],s,i))})}e._templateParams=s,e._separator=i,t.tags=n.filter(l=>l.tag!=="templateParams")}}}),Zb={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=Su(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Su(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)}}},ew={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 u=typeof l=="function"?l(a):l;(!u.key||!i.some(c=>c.key===u.key))&&(i.push(u),Ou(u.mode,n)&&t.addHooks(u.hooks||{}))},push(l,u){u==null||delete u.head;const c={_i:o++,input:l,...u};return Ou(c.mode,n)&&(s.push(c),r()),{dispose(){s=s.filter(f=>f._i!==c._i),t.callHook("entries:updated",a),r()},patch(f){s=s.map(d=>(d._i===c._i&&(d.input=c.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...s]};await t.callHook("entries:resolve",l);for(const u of l.entries){const c=u.resolvedInput||u.input;if(u.resolvedInput=await(u.transform?u.transform(c):c),u.resolvedInput)for(const f of await Db(u)){const d={tag:f,entry:u,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[zb,Vb,Kb,Qb,Xb,Jb,Zb,ew,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function rw(){return $p}const ow=Gd.startsWith("3");function sw(e){return typeof e=="function"?e():C(e)}function Ks(e,t=""){if(e instanceof Promise)return e;const n=sw(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Ks(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,C(o)]:[r,Ks(o,r)])):n}const iw={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ks(t.input)}}},Rp="usehead";function aw(e){return{install(n){ow&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Rp,e))}}.install}function lw(e={}){e.domDelayFn=e.domDelayFn||(n=>Vn(()=>setTimeout(()=>n(),0)));const t=tw(e);return t.use(iw),t.install=aw(t),t}const Sa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Pa="__unhead_injection_handler__";function cw(e){Sa[Pa]=e}function uw(){if(Pa in Sa)return Sa[Pa]();const e=Ce(Rp);return e||rw()}function Qo(e,t={}){const n=t.head||uw();if(n)return n.ssr?n.push(e,t):fw(n,e,t)}function fw(e,t,n={}){const r=F(!1),o=F({});Xe(()=>{o.value=r.value?{}:Ks(t)});const s=e.push(o.value,n);return Me(o,a=>{s.patch(a)}),Mt()&&(qo(()=>{s.dispose()}),xd(()=>{r.value=!0}),_d(()=>{r.value=!1})),s}function Ip(e,t){const{title:n,titleTemplate:r,...o}=e;return Qo({title:n,titleTemplate:r,_flatMeta:o},{...t,transform(s){const i=Ml({...s._flatMeta});return delete s._flatMeta,{...s,meta:i}}})}function Yt(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]=Yt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Yt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Yt(e[t])}return n}if(r==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Yt(e[t]);return n}return r==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(Yt(o))}),n):r==="[object Map]"?(n=new Map,e.forEach(function(o,s){n.set(Yt(s),Yt(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(Yt(e.buffer)):r==="[object ArrayBuffer]"?e.slice(0):r.slice(-6)==="Array]"?new e.constructor(e):e}const dw={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"}]}}},pw={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",menu:"i-heroicons-bars-3-20-solid",close:"i-heroicons-x-mark-20-solid",check:"i-heroicons-check-circle-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"}}}}}}}},hw={nuxt:{buildId:"3d58bf2a-d4ee-4e0d-afe3-0c04e9632884"},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"}},ze=ab(dw,pw,hw);function lt(){const e=Ae();return e._appConfig||(e._appConfig=Lt(ze)),e._appConfig}const gw=!1,Ta=!1,mw=!1,vw={componentName:"NuxtLink"},yw={deep:!0},bw={},ww="#__nuxt";let Ss,Lp;function _w(){var t;const e=(t=lt().nuxt)==null?void 0:t.buildId;return Ss=$fetch(Tl(`builds/meta/${e}.json`)),Ss.then(n=>{Lp=tb(n.matcher)}),Ss}function hi(){return Ss||_w()}async function jp(e){return await hi(),di({},...Lp.matchAll(e).reverse())}function $u(e,t={}){const n=xw(e,t),r=Ae(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=kw(e).then(s=>s?Mp(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const Ru="json";function xw(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Kr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Rl(Dt().app.baseURL,n.pathname,r?`_payload.${r}.${Ru}`:`_payload.${Ru}`)}async function Mp(e){const t=fetch(e).then(n=>n.text().then(Dp));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function kw(e=mn().path){if(e=$l(e),(await hi()).prerendered.includes(e))return!0;const n=await jp(e);return!!n.prerender&&!n.redirect}let hs=null;async function Ew(){if(hs)return hs;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Dp(e.textContent||""),n=e.dataset.src?await Mp(e.dataset.src):void 0;return hs={...t,...n,...window.__NUXT__},hs}async function Dp(e){return await Cb(e,Ae()._payloadRevivers)}function Cw(e,t){Ae()._payloadRevivers[e]=t}const Aa={NuxtError:e=>Go(e),EmptyShallowRef:e=>Bn(e==="_"?void 0:e==="0n"?BigInt(0):Ws(e)),EmptyRef:e=>F(e==="_"?void 0:e==="0n"?BigInt(0):Ws(e)),ShallowRef:e=>Bn(e),ShallowReactive:e=>Vo(e),Ref:e=>F(e),Reactive:e=>Lt(e)};Aa.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 Sw=ot({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Aa)Cw(r,Aa[r]);Object.assign(e.payload,([t,n]=Ro(()=>e.runWithContext(Ew)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Pw=[],Tw=ot({name:"nuxt:head",enforce:"pre",setup(e){const t=lw({plugins:Pw});cw(()=>Ae().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Op(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.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const _r=typeof document<"u";function Aw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Re=Object.assign;function Ni(e,t){const n={};for(const r in t){const o=t[r];n[r]=Vt(o)?o.map(e):e(o)}return n}const wo=()=>{},Vt=Array.isArray,Np=/#/g,Ow=/&/g,$w=/\//g,Rw=/=/g,Iw=/\?/g,Fp=/\+/g,Lw=/%5B/g,jw=/%5D/g,Bp=/%5E/g,Mw=/%60/g,Hp=/%7B/g,Dw=/%7C/g,Up=/%7D/g,Nw=/%20/g;function Dl(e){return encodeURI(""+e).replace(Dw,"|").replace(Lw,"[").replace(jw,"]")}function Fw(e){return Dl(e).replace(Hp,"{").replace(Up,"}").replace(Bp,"^")}function Oa(e){return Dl(e).replace(Fp,"%2B").replace(Nw,"+").replace(Np,"%23").replace(Ow,"%26").replace(Mw,"`").replace(Hp,"{").replace(Up,"}").replace(Bp,"^")}function Bw(e){return Oa(e).replace(Rw,"%3D")}function Hw(e){return Dl(e).replace(Np,"%23").replace(Iw,"%3F")}function Uw(e){return e==null?"":Hw(e).replace($w,"%2F")}function Lo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const zw=/\/$/,Vw=e=>e.replace(zw,"");function Fi(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=Gw(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Lo(i)}}function Ww(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Iu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qw(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])&&zp(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 zp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Kw(e[n],t[n]))return!1;return!0}function Kw(e,t){return Vt(e)?Lu(e,t):Vt(t)?Lu(t,e):e===t}function Lu(e,t){return Vt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Gw(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).join("/")}var jo;(function(e){e.pop="pop",e.push="push"})(jo||(jo={}));var _o;(function(e){e.back="back",e.forward="forward",e.unknown=""})(_o||(_o={}));function Qw(e){if(!e)if(_r){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vw(e)}const Xw=/^[^#]+#/;function Yw(e,t){return e.replace(Xw,"#")+t}function Jw(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 gi=()=>({left:window.scrollX,top:window.scrollY});function Zw(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=Jw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ju(e,t){return(history.state?history.state.position-t:-1)+e}const $a=new Map;function e_(e,t){$a.set(e,t)}function t_(e){const t=$a.get(e);return $a.delete(e),t}let n_=()=>location.protocol+"//"+location.host;function Vp(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),Iu(l,"")}return Iu(n,e)+r+o}function r_(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=Vp(e,location),h=n.value,g=t.value;let b=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}b=g?d.position-g.position:0}else r(p);o.forEach(_=>{_(n.value,h,{delta:b,type:jo.pop,direction:b?b>0?_o.forward:_o.back:_o.unknown})})};function l(){i=n.value}function u(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(Re({},d.state,{scroll:gi()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Mu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?gi():null}}function o_(e){const{history:t,location:n}=window,r={value:Vp(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,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:n_()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){const c=Re({},t.state,Mu(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=Re({},o.value,t.state,{forward:l,scroll:gi()});s(c.current,c,!0);const f=Re({},Mu(r.value,l,null),{position:c.position+1},u);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Wp(e){e=Qw(e);const t=o_(e),n=r_(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:Yw.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 s_(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Wp(e)}function i_(e){return typeof e=="string"||e&&typeof e=="object"}function qp(e){return typeof e=="string"||typeof e=="symbol"}const Bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Kp=Symbol("");var Du;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Du||(Du={}));function Mr(e,t){return Re(new Error,{type:e,[Kp]:!0},t)}function ln(e,t){return e instanceof Error&&Kp in e&&(t==null||!!(e.type&t))}const Nu="[^/]+?",a_={sensitive:!1,strict:!1,start:!0,end:!0},l_=/[.+*?^${}()[\]/\\]/g;function c_(e,t){const n=Re({},a_,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function f_(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const d_={type:0,value:""},p_=/[a-zA-Z0-9_]/;function h_(e){if(!e)return[[]];if(e==="/")return[[d_]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,u="",c="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{i(y)}:wo}function i(c){if(qp(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(i),c.alias.forEach(i))}}function a(){return n}function l(c){let f=0;for(;f=0&&(c.record.path!==n[f].record.path||!Gp(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!Hu(c)&&r.set(c.record.name,c)}function u(c,f){let d,p={},h,g;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw Mr(1,{location:c});g=d.record.name,p=Re(Bu(f.params,d.keys.filter(y=>!y.optional).concat(d.parent?d.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),c.params&&Bu(c.params,d.keys.map(y=>y.name))),h=d.stringify(p)}else if(c.path!=null)h=c.path,d=n.find(y=>y.re.test(h)),d&&(p=d.parse(h),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(y=>y.re.test(f.path)),!d)throw Mr(1,{location:c,currentLocation:f});g=d.record.name,p=Re({},f.params,c.params),h=d.stringify(p)}const b=[];let _=d;for(;_;)b.unshift(_.record),_=_.parent;return{name:g,path:h,params:p,matched:b,meta:b_(b)}}return e.forEach(c=>s(c)),{addRoute:s,resolve:u,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Bu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function v_(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:y_(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 y_(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 Hu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function b_(e){return e.reduce((t,n)=>Re(t,n.meta),{})}function Uu(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Gp(e,t){return t.children.some(n=>n===e||Gp(e,n))}function w_(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&Oa(s)):[r&&Oa(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function __(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Vt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const x_=Symbol(""),Vu=Symbol(""),Nl=Symbol(""),Fl=Symbol(""),Ra=Symbol("");function eo(){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 On(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Mr(4,{from:n,to:t})):d instanceof Error?l(d):i_(d)?l(Mr(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},c=s(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function Bi(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(k_(l)){const c=(l.__vccOpts||l)[t];c&&s.push(On(c,n,r,i,a,o))}else{let u=l();s.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=Aw(c)?c.default:c;i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&On(p,n,r,i,a,o)()}))}}return s}function k_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Wu(e){const t=Ce(Nl),n=Ce(Fl),r=R(()=>t.resolve(C(e.to))),o=R(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(jr.bind(null,c));if(d>-1)return d;const p=qu(l[u-2]);return u>1&&qu(c)===p&&f[f.length-1].path!==p?f.findIndex(jr.bind(null,l[u-2])):d}),s=R(()=>o.value>-1&&P_(n.params,r.value.params)),i=R(()=>o.value>-1&&o.value===n.matched.length-1&&zp(n.params,r.value.params));function a(l={}){return S_(l)?t[C(e.replace)?"replace":"push"](C(e.to)).catch(wo):Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const E_=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:Wu,setup(e,{slots:t}){const n=Lt(Wu(e)),{options:r}=Ce(Nl),o=R(()=>({[Ku(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ku(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:we("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),C_=E_;function S_(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 P_(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(!Vt(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function qu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ku=(e,t,n)=>e??t??n,T_=re({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ce(Ra),o=R(()=>e.route||r.value),s=Ce(Vu,0),i=R(()=>{let u=C(s);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=R(()=>o.value.matched[i.value]);Ue(Vu,R(()=>i.value+1)),Ue(x_,a),Ue(Ra,o);const l=F();return Me(()=>[l.value,a.value,e.name],([u,c,f],[d,p,h])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!jr(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Gu(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,b=we(d,Re({},h,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Gu(n.default,{Component:b,route:u})||b}}});function Gu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Qp=T_;function A_(e){const t=m_(e.routes,e),n=e.parseQuery||w_,r=e.stringifyQuery||zu,o=e.history,s=eo(),i=eo(),a=eo(),l=Bn(Bt);let u=Bt;_r&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ni.bind(null,I=>""+I),f=Ni.bind(null,Uw),d=Ni.bind(null,Lo);function p(I,Q){let q,oe;return qp(I)?(q=t.getRecordMatcher(I),oe=Q):oe=I,t.addRoute(oe,q)}function h(I){const Q=t.getRecordMatcher(I);Q&&t.removeRoute(Q)}function g(){return t.getRoutes().map(I=>I.record)}function b(I){return!!t.getRecordMatcher(I)}function _(I,Q){if(Q=Re({},Q||l.value),typeof I=="string"){const P=Fi(n,I,Q.path),O=t.resolve({path:P.path},Q),M=o.createHref(P.fullPath);return Re(P,O,{params:d(O.params),hash:Lo(P.hash),redirectedFrom:void 0,href:M})}let q;if(I.path!=null)q=Re({},I,{path:Fi(n,I.path,Q.path).path});else{const P=Re({},I.params);for(const O in P)P[O]==null&&delete P[O];q=Re({},I,{params:f(P)}),Q.params=f(Q.params)}const oe=t.resolve(q,Q),Se=I.hash||"";oe.params=c(d(oe.params));const x=Ww(r,Re({},I,{hash:Fw(Se),path:oe.path})),k=o.createHref(x);return Re({fullPath:x,hash:Se,query:r===zu?__(I.query):I.query||{}},oe,{redirectedFrom:void 0,href:k})}function y(I){return typeof I=="string"?Fi(n,I,l.value.path):Re({},I)}function v(I,Q){if(u!==I)return Mr(8,{from:Q,to:I})}function m(I){return S(I)}function w(I){return m(Re(y(I),{replace:!0}))}function E(I){const Q=I.matched[I.matched.length-1];if(Q&&Q.redirect){const{redirect:q}=Q;let oe=typeof q=="function"?q(I):q;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=y(oe):{path:oe},oe.params={}),Re({query:I.query,hash:I.hash,params:oe.path!=null?{}:I.params},oe)}}function S(I,Q){const q=u=_(I),oe=l.value,Se=I.state,x=I.force,k=I.replace===!0,P=E(q);if(P)return S(Re(y(P),{state:typeof P=="object"?Re({},Se,P.state):Se,force:x,replace:k}),Q||q);const O=q;O.redirectedFrom=Q;let M;return!x&&qw(r,oe,q)&&(M=Mr(16,{to:O,from:oe}),he(oe,oe,!0,!1)),(M?Promise.resolve(M):A(O,oe)).catch(D=>ln(D)?ln(D,2)?D:Je(D):Y(D,O,oe)).then(D=>{if(D){if(ln(D,2))return S(Re({replace:k},y(D.to),{state:typeof D.to=="object"?Re({},Se,D.to.state):Se,force:x}),Q||O)}else D=$(O,oe,!0,k,Se);return V(O,oe,D),D})}function T(I,Q){const q=v(I,Q);return q?Promise.reject(q):Promise.resolve()}function L(I){const Q=De.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(I):I()}function A(I,Q){let q;const[oe,Se,x]=O_(I,Q);q=Bi(oe.reverse(),"beforeRouteLeave",I,Q);for(const P of oe)P.leaveGuards.forEach(O=>{q.push(On(O,I,Q))});const k=T.bind(null,I,Q);return q.push(k),je(q).then(()=>{q=[];for(const P of s.list())q.push(On(P,I,Q));return q.push(k),je(q)}).then(()=>{q=Bi(Se,"beforeRouteUpdate",I,Q);for(const P of Se)P.updateGuards.forEach(O=>{q.push(On(O,I,Q))});return q.push(k),je(q)}).then(()=>{q=[];for(const P of x)if(P.beforeEnter)if(Vt(P.beforeEnter))for(const O of P.beforeEnter)q.push(On(O,I,Q));else q.push(On(P.beforeEnter,I,Q));return q.push(k),je(q)}).then(()=>(I.matched.forEach(P=>P.enterCallbacks={}),q=Bi(x,"beforeRouteEnter",I,Q,L),q.push(k),je(q))).then(()=>{q=[];for(const P of i.list())q.push(On(P,I,Q));return q.push(k),je(q)}).catch(P=>ln(P,8)?P:Promise.reject(P))}function V(I,Q,q){a.list().forEach(oe=>L(()=>oe(I,Q,q)))}function $(I,Q,q,oe,Se){const x=v(I,Q);if(x)return x;const k=Q===Bt,P=_r?history.state:{};q&&(oe||k?o.replace(I.fullPath,Re({scroll:k&&P&&P.scroll},Se)):o.push(I.fullPath,Se)),l.value=I,he(I,Q,q,k),Je()}let U;function ve(){U||(U=o.listen((I,Q,q)=>{if(!st.listening)return;const oe=_(I),Se=E(oe);if(Se){S(Re(Se,{replace:!0}),oe).catch(wo);return}u=oe;const x=l.value;_r&&e_(ju(x.fullPath,q.delta),gi()),A(oe,x).catch(k=>ln(k,12)?k:ln(k,2)?(S(k.to,oe).then(P=>{ln(P,20)&&!q.delta&&q.type===jo.pop&&o.go(-1,!1)}).catch(wo),Promise.reject()):(q.delta&&o.go(-q.delta,!1),Y(k,oe,x))).then(k=>{k=k||$(oe,x,!1),k&&(q.delta&&!ln(k,8)?o.go(-q.delta,!1):q.type===jo.pop&&ln(k,20)&&o.go(-1,!1)),V(oe,x,k)}).catch(wo)}))}let fe=eo(),B=eo(),ee;function Y(I,Q,q){Je(I);const oe=B.list();return oe.length?oe.forEach(Se=>Se(I,Q,q)):console.error(I),Promise.reject(I)}function Le(){return ee&&l.value!==Bt?Promise.resolve():new Promise((I,Q)=>{fe.add([I,Q])})}function Je(I){return ee||(ee=!I,ve(),fe.list().forEach(([Q,q])=>I?q(I):Q()),fe.reset()),I}function he(I,Q,q,oe){const{scrollBehavior:Se}=e;if(!_r||!Se)return Promise.resolve();const x=!q&&t_(ju(I.fullPath,0))||(oe||!q)&&history.state&&history.state.scroll||null;return Vn().then(()=>Se(I,Q,x)).then(k=>k&&Zw(k)).catch(k=>Y(k,I,Q))}const de=I=>o.go(I);let Ve;const De=new Set,st={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:g,resolve:_,options:e,push:m,replace:w,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:B.add,isReady:Le,install(I){const Q=this;I.component("RouterLink",C_),I.component("RouterView",Qp),I.config.globalProperties.$router=Q,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>C(l)}),_r&&!Ve&&l.value===Bt&&(Ve=!0,m(o.location).catch(Se=>{}));const q={};for(const Se in Bt)Object.defineProperty(q,Se,{get:()=>l.value[Se],enumerable:!0});I.provide(Nl,Q),I.provide(Fl,Vo(q)),I.provide(Ra,l);const oe=I.unmount;De.add(I),I.unmount=function(){De.delete(I),De.size<1&&(u=Bt,U&&U(),U=null,l.value=Bt,Ve=!1,ee=!1),oe()}}};function je(I){return I.reduce((Q,q)=>Q.then(()=>L(q)),Promise.resolve())}return st}function O_(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;ijr(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>jr(u,l))||o.push(l))}return[n,r,o]}function $_(){return Ce(Fl)}const R_=(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())||""}),Ia=(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&&R_(e.route,n));return typeof r=="function"?r(e.route):r},I_=(e,t)=>({default:()=>e?we(Um,e===!0?{}:e,t):t});function Bl(e){return Array.isArray(e)?e:[e]}const _t={layout:"docs"},Hi=null,Qu=[{name:(_t==null?void 0:_t.name)??"slug",path:(_t==null?void 0:_t.path)??"/:slug(.*)*",meta:_t||{},alias:(_t==null?void 0:_t.alias)||[],redirect:_t==null?void 0:_t.redirect,component:()=>G(()=>import("./_...slug_.XBre0RD3.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:Hi==null?void 0:Hi.redirect,component:()=>G(()=>import("./index.qRAVkPDV.js").then(e=>e.i),__vite__mapDeps([4,3,5,6,7,8]),import.meta.url).then(e=>e.default||e)}],Xp=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?we(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function Xu(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 L_(e,t){return e===t||t===Bt?!1:Xu(e)!==Xu(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 j_={scrollBehavior(e,t,n){var u;const r=Ae(),o=((u=Tt().options)==null?void 0:u.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&&L_(e,t)&&(s={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Yu(e.hash),behavior:o}:!1;const a=c=>!!(c.meta.pageTransition??Ta),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(s={el:e.hash,top:Yu(e.hash),behavior:o}),c(s)})})}};function Yu(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Ju(e){const t=document.querySelector(e);if(t){const n=parseFloat(getComputedStyle(t).scrollMarginTop);return{el:e,behavior:"smooth",top:n}}}const M_={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(Ju(e.hash)),50):r.hooks.hookOnce("page:finish",()=>{setTimeout(()=>o(Ju(e.hash)),50)})}):{top:0}}},D_={hashMode:!1,scrollBehaviorType:"auto"},xt={...D_,...j_,...M_},N_=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=Ae(),o=Tt();if(([t,n]=Ro(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Go({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(u=>{if(a(),u===e){const c=o.afterEach(async()=>{c(),await r.runWithContext(()=>xr(i)),window.history.pushState({},"",e.fullPath)});return!1}})},F_=async e=>{let t,n;const r=([t,n]=Ro(()=>jp(e.path)),t=await t,n(),t);if(r.redirect)return r.redirect},B_=[N_,F_],xo={};function H_(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const u=s.includes(e.slice(i))?e.slice(i).length:1;let c=s.slice(u);return c[0]!=="/"&&(c="/"+c),vu(c,"")}const a=vu(r,e),l=!n||M0(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+s}const U_=ot({name:"nuxt:router",enforce:"pre",async setup(e){var g,b;let t,n,r=Dt().app.baseURL;xt.hashMode&&!r.includes("#")&&(r+="#");const o=((g=xt.history)==null?void 0:g.call(xt,r))??(xt.hashMode?s_(r):Wp(r)),s=((b=xt.routes)==null?void 0:b.call(xt,Qu))??Qu;let i;const a=H_(r,window.location,e.payload.path),l=A_({...xt,scrollBehavior:(_,y,v)=>{if(y===Bt){i=v;return}if(xt.scrollBehavior){if(l.options.scrollBehavior=xt.scrollBehavior,"scrollRestoration"in window.history){const m=l.beforeEach(()=>{m(),window.history.scrollRestoration="manual"})}return xt.scrollBehavior(_,Bt,i||v)}},history:o,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const u=Bn(l.currentRoute.value);l.afterEach((_,y)=>{u.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const c=Bn(l.resolve(a)),f=()=>{c.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((_,y)=>{var v,m,w,E;((m=(v=_.matched[0])==null?void 0:v.components)==null?void 0:m.default)===((E=(w=y.matched[0])==null?void 0:w.components)==null?void 0:E.default)&&f()});const d={};for(const _ in c.value)Object.defineProperty(d,_,{get:()=>c.value[_]});e._route=Vo(d),e._middleware=e._middleware||{global:[],named:{}};const p=pi();try{[t,n]=Ro(()=>l.isReady()),await t,n()}catch(_){[t,n]=Ro(()=>e.runWithContext(()=>xr(_))),await t,n()}const h=e.payload.state._layout;return l.beforeEach(async(_,y)=>{var v;await e.callHook("page:loading:start"),_.meta=Lt(_.meta),e.isHydrating&&h&&!dr(_.meta.layout)&&(_.meta.layout=h),e._processingMiddleware=!0;{const m=new Set([...B_,...e._middleware.global]);for(const w of _.matched){const E=w.meta.middleware;if(E)for(const S of Bl(E))m.add(S)}for(const w of m){const E=typeof w=="string"?e._middleware.named[w]||await((v=xo[w])==null?void 0:v.call(xo).then(T=>T.default||T)):w;if(!E)throw new Error(`Unknown route middleware: '${w}'.`);const S=await e.runWithContext(()=>E(_,y));if(!e.payload.serverRendered&&e.isHydrating&&(S===!1||S instanceof Error)){const T=S||ka({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>xr(T)),!1}if(S!==!0&&(S||S===!1))return S}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(_,y,v)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(bp),v&&await e.callHook("page:loading:end"),_.matched.length===0&&await e.runWithContext(()=>xr(ka({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`,data:{path:_.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{const _=l.resolve(a);"name"in _&&(_.name=void 0),await l.replace({..._,force:!0}),l.options.scrollBehavior=xt.scrollBehavior}catch(_){await e.runWithContext(()=>xr(_))}}),{provide:{router:l}}}}),z_="$s";function yr(...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=z_+n,s=Ae(),i=xe(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 V_(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 u=s[l];typeof u<"u"&&u!==""&&(i[l]=u)}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((u,c)=>(u._priority||0)-(c._priority||0)))for(const u in n[l]){const c=u,f=n[l][u];u.startsWith("_")||(i[u]=f,s!=null&&s.debug&&(i._context[c]=((a=n[l]._context)==null?void 0:a[c])||n[l]._context||"anonymous"))}return W_(i)}return{stack:n,push:r,get:o}}function W_(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Pl(e.url,{acceptRelative:!0,strict:!1})&&(e.url=Ey(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 q_=ot({name:"nuxt-site-config",enforce:"pre",async setup(e){const t=Dt()["nuxt-site-config"]||{debug:!1};let n;const r=yr("site-config");return n||(n=V_({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}}}}),La=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),K_=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Hl=e=>{const t=Ae();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{La(e)}):La(e)},G_=ot({name:"nuxt:payload",setup(e){Tt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await $u(t.path);r&&Object.assign(e.static.data,r.data)}),Hl(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Ko(n).protocol||await $u(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(hi,1e3)})}}),Q_=ot(e=>{let t;async function n(){const r=await hi();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(Tl("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}Hl(()=>{t=setTimeout(n,1e3*60*60)})}),X_=Z(()=>G(()=>import("./Releases.9vFNTiAl.js"),__vite__mapDeps([9,10,1,2,3,11]),import.meta.url).then(e=>e.default)),Y_=Z(()=>G(()=>import("./VoltaBoard.DCgtt5wB.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),J_=Z(()=>G(()=>import("./Callout.9eTIIdsO.js"),__vite__mapDeps([12,13,6]),import.meta.url).then(e=>e.default)),Z_=Z(()=>G(()=>import("./Card.twaj5DXz.js"),__vite__mapDeps([14,7,13,6]),import.meta.url).then(e=>e.default)),e1=Z(()=>G(()=>import("./CardGroup.vhfrvK2W.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),t1=Z(()=>G(()=>import("./CodeGroup.vnHZwFli.js"),__vite__mapDeps([15,16]),import.meta.url).then(e=>e.default)),n1=Z(()=>G(()=>import("./Collapsible.DnElBqvu.js"),__vite__mapDeps([17,13,6]),import.meta.url).then(e=>e.default)),r1=Z(()=>G(()=>import("./Field.Vb3hPxbZ.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),o1=Z(()=>G(()=>import("./FieldGroup.mmLi28Ev.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),s1=Z(()=>G(()=>import("./Shortcut.oqOT4V9f.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),i1=Z(()=>G(()=>import("./Tabs.dur47YT0.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),a1=Z(()=>G(()=>import("./ProseCode.R5y14qAI.js"),__vite__mapDeps([18,19,16,20,21]),import.meta.url).then(e=>e.default)),l1=Z(()=>G(()=>import("./ProseCodeButton.JRP0A_Nl.js"),__vite__mapDeps([22,20]),import.meta.url).then(e=>e.default)),c1=Z(()=>G(()=>import("./ProseCodeIcon.XZsZ4xlP.js"),__vite__mapDeps([23,16]),import.meta.url).then(e=>e.default)),u1=Z(()=>G(()=>import("./ProseH1.E_Sd9Ahk.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),f1=Z(()=>G(()=>import("./ProseH2.27WLsgLi.js"),__vite__mapDeps([24,10]),import.meta.url).then(e=>e.default)),d1=Z(()=>G(()=>import("./ProseH3.jlr7TQZi.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),p1=Z(()=>G(()=>import("./ProseH4.kgBWr2s1.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),h1=Z(()=>G(()=>import("./ContentDoc.0ulp3XL6.js"),__vite__mapDeps([25,1,2,3,26]),import.meta.url).then(e=>e.default)),g1=Z(()=>G(()=>import("./ContentList.3ZKIXiu0.js"),__vite__mapDeps([27,26]),import.meta.url).then(e=>e.default)),m1=Z(()=>G(()=>import("./ContentNavigation.kkJ38q1M.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),v1=Z(()=>G(()=>import("./ContentQuery.jU91_ajs.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),y1=Z(()=>G(()=>import("./ContentRenderer.UC5NeHM0.js"),__vite__mapDeps([1,2,3]),import.meta.url).then(e=>e.default)),b1=Z(()=>G(()=>import("./ContentRendererMarkdown.8F9bFpNL.js"),__vite__mapDeps([28,2,3]),import.meta.url).then(e=>e.default)),w1=Z(()=>G(()=>import("./ContentSlot.xTk8y2OB.js"),__vite__mapDeps([29,6]),import.meta.url).then(e=>e.default)),_1=Z(()=>G(()=>import("./DocumentDrivenEmpty.Xb0GqhCX.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),x1=Z(()=>G(()=>import("./DocumentDrivenNotFound.PmgLix1l.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),k1=Z(()=>G(()=>import("./Markdown.fQ-pBv7B.js"),__vite__mapDeps([30,29,6]),import.meta.url).then(e=>e.default)),E1=Z(()=>G(()=>import("./ProseCodeInline.tQ8G7l3f.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),C1=Z(()=>G(()=>import("./ProsePre.BjzfgX-H.js"),__vite__mapDeps([31,19,16,20,21]),import.meta.url).then(e=>e.default)),S1=Z(()=>G(()=>import("./ProseA.5c2UcCWg.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),P1=Z(()=>G(()=>import("./ProseBlockquote.bfo8erZ_.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),T1=Z(()=>G(()=>import("./ProseEm.fu260Q1k.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),A1=Z(()=>G(()=>import("./ProseH5.iM_tMhFW.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),O1=Z(()=>G(()=>import("./ProseH6.1lIJapKi.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),$1=Z(()=>G(()=>import("./ProseHr.CAl0Npf-.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),R1=Z(()=>G(()=>import("./ProseImg.b2YIK8yw.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),I1=Z(()=>G(()=>import("./ProseLi.S5bPPj16.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),L1=Z(()=>G(()=>import("./ProseOl.ICDs0n2q.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),j1=Z(()=>G(()=>import("./ProseP.eOA4lTaq.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),M1=Z(()=>G(()=>import("./ProseScript._m6EhRfe.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),D1=Z(()=>G(()=>import("./ProseStrong.oFavrIV2.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),N1=Z(()=>G(()=>import("./ProseTable.n8golnGc.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),F1=Z(()=>G(()=>import("./ProseTbody.6ftLkMvN.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),B1=Z(()=>G(()=>import("./ProseTd.9CwXkpYM.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),H1=Z(()=>G(()=>import("./ProseTh.ekUk2PB8.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),U1=Z(()=>G(()=>import("./ProseThead.x3itRtT9.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),z1=Z(()=>G(()=>import("./ProseTr.NGz07bNK.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),V1=Z(()=>G(()=>import("./ProseUl.3nk8Z5TY.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),W1=Z(()=>G(()=>Promise.resolve().then(()=>dC),void 0,import.meta.url).then(e=>e.default)),q1=Z(()=>G(()=>import("./IconCSS.DZEsYpWJ.js"),__vite__mapDeps([32,33]),import.meta.url).then(e=>e.default)),K1=Z(()=>G(()=>import("./Static.sF5CEZKL.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),G1=Z(()=>G(()=>import("./Dynamic.JKVj_Kow.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),Q1=Z(()=>G(()=>import("./index.5xrdXsZF.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),X1=Z(()=>G(()=>import("./Cached.zpfSoTvf.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),Y1=Z(()=>G(()=>import("./WithoutCache.DWQ9lg6Z.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),J1=Z(()=>G(()=>import("./Screenshot.vYUGGEjv.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),Z1=Z(()=>G(()=>import("./GithubRepository.kebUwD03.js"),__vite__mapDeps([34,11]),import.meta.url).then(e=>e.default)),ex=Z(()=>G(()=>import("./GithubLink.TIBc7ug4.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),tx=Z(()=>G(()=>import("./GithubReadme.3hiXFuxA.js"),__vite__mapDeps([35,11]),import.meta.url).then(e=>e.default)),nx=Z(()=>G(()=>import("./GithubReleases.FrNQ9Vyl.js"),__vite__mapDeps([36,11]),import.meta.url).then(e=>e.default)),rx=Z(()=>G(()=>import("./GithubLastRelease.lb0QyQvF.js"),__vite__mapDeps([37,11]),import.meta.url).then(e=>e.default)),ox=Z(()=>G(()=>import("./GithubRelease.m_djzJ6F.js"),__vite__mapDeps([38,11]),import.meta.url).then(e=>e.default)),sx=Z(()=>G(()=>import("./GithubContributors.nqygQep6.js"),__vite__mapDeps([39,11]),import.meta.url).then(e=>e.default)),ix=Z(()=>G(()=>import("./GithubFileContributors.aWuB51BM.js"),__vite__mapDeps([40,11]),import.meta.url).then(e=>e.default)),ax=Z(()=>G(()=>import("./GithubCommits.aB2eH524.js"),__vite__mapDeps([41,11]),import.meta.url).then(e=>e.default)),lx=[["Releases",X_],["VoltaBoard",Y_],["Callout",J_],["Card",Z_],["CardGroup",e1],["CodeGroup",t1],["Collapsible",n1],["Field",r1],["FieldGroup",o1],["Shortcut",s1],["Tabs",i1],["ProseCode",a1],["ProseCodeButton",l1],["ProseCodeIcon",c1],["ProseH1",u1],["ProseH2",f1],["ProseH3",d1],["ProseH4",p1],["ContentDoc",h1],["ContentList",g1],["ContentNavigation",m1],["ContentQuery",v1],["ContentRenderer",y1],["ContentRendererMarkdown",b1],["MDCSlot",w1],["DocumentDrivenEmpty",_1],["DocumentDrivenNotFound",x1],["Markdown",k1],["ProseCodeInline",E1],["ProsePre",C1],["ProseA",S1],["ProseBlockquote",P1],["ProseEm",T1],["ProseH5",A1],["ProseH6",O1],["ProseHr",$1],["ProseImg",R1],["ProseLi",I1],["ProseOl",L1],["ProseP",j1],["ProseScript",M1],["ProseStrong",D1],["ProseTable",N1],["ProseTbody",F1],["ProseTd",B1],["ProseTh",H1],["ProseThead",U1],["ProseTr",z1],["ProseUl",V1],["Icon",W1],["IconCSS",q1],["OgImageStatic",K1],["OgImageDynamic",G1],["OgImage",Q1],["OgImageCached",X1],["OgImageWithoutCache",Y1],["OgImageScreenshot",J1],["GithubRepository",Z1],["GithubLink",ex],["GithubReadme",tx],["GithubReleases",nx],["GithubLastRelease",rx],["GithubRelease",ox],["GithubContributors",sx],["GithubFileContributors",ix],["GithubCommits",ax]],cx=ot({name:"nuxt:global-components",setup(e){for(const[t,n]of lx)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),$n={docs:()=>G(()=>import("./docs.LfEo_1fh.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},ux=ot({name:"nuxt:prefetch",setup(e){const t=Tt();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 $n[r]=="function"&&await $n[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Kr(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=Bl(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof xo[i]=="function"&&xo[i]();o&&typeof $n[o]=="function"&&$n[o]()})}}),fx={path:"/",watch:!0,decode:e=>Ws(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function Ps(e,t){var l;const n={...fx,...t},r=Zu(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=Yt(s?void 0:r[e]??((l=n.default)==null?void 0:l.call(n))),a=o&&!s?hx(i,o):F(i);{const u=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`),c=()=>{n.readonly||pp(a.value,r[e])||(px(e,a.value,n),r[e]=Yt(a.value),u==null||u.postMessage({value:n.encode(a.value)}))},f=p=>{var g;const h=p.refresh?(g=Zu(n))==null?void 0:g[e]:n.decode(p.value);d=!0,r[e]=a.value=h,Vn(()=>{d=!1})};let d=!1;Zs()&&il(()=>{d=!0,c(),u==null||u.close()}),u&&(u.onmessage=({data:p})=>f(p)),n.watch?Me(a,()=>{d||c()},{deep:n.watch!=="shallow"}):c()}return a}function Zu(e={}){return N0(document.cookie,e)}function dx(e,t,n={}){return t==null?bu(e,t,{...n,maxAge:-1}):bu(e,t,n)}function px(e,t,n={}){document.cookie=dx(e,t,n)}const ef=2147483647;function hx(e,t){let n,r=0;return Zs()&&il(()=>{clearTimeout(n)}),gm((o,s)=>{function i(){clearTimeout(n);const a=t-r,l=a{if(r+=l,r{const t=Dt().public.studio||{},n=mn(),r=Ps("previewToken",{sameSite:"none",secure:!0}),o=yr("studio-client-db",()=>null);async function s(){const i=await G(()=>import("./useStudio.kkQ9mGA6.js"),__vite__mapDeps([42,43]),import.meta.url).then(u=>u.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)),window.sessionStorage.setItem("previewAPI",typeof n.query.staging<"u"?"https://dev-api.nuxt.studio":t.apiURL),e.hook("content:storage",i=>{o.value=i}),e.hook("app:mounted",async()=>{await s()})}});function mx(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 vx(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)=>{mx(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,u,c){a.apply(this,[l,u,c]),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 u=new Set;function c(p){p instanceof HTMLAnchorElement?p.host!==location.host&&(p.addEventListener("click",l),u.add(p)):"querySelectorAll"in p&&p.querySelectorAll("a").forEach(c)}function f(p){p instanceof HTMLAnchorElement?(p.removeEventListener("click",l),u.delete(p)):"querySelectorAll"in p&&p.querySelectorAll("a").forEach(f)}const d=new MutationObserver(p=>{p.forEach(h=>{h.type==="attributes"?(f(h.target),c(h.target)):h.type==="childList"&&(h.addedNodes.forEach(c),h.removedNodes.forEach(f))})});return i.querySelectorAll("a").forEach(c),d.observe(i,a),function(){u.forEach(h=>{h.removeEventListener("click",l)}),u.clear(),d.disconnect()}}}}const yx=ot(()=>{const e=Dt().public.plausible,t=vx({...e,domain:e.domain||window.location.hostname});return e.autoPageviews&&t.enableAutoPageviews(),e.autoOutboundTracking&&t.enableAutoOutboundTracking(),{provide:{plausible:t}}});function pr(e){return Zs()?(il(e),!0):!1}function Yp(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=Kf(!0),n=r.run(()=>e(...s))),pr(o),n)}function Wt(e){return typeof e=="function"?e():C(e)}const Mo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const bx=Object.prototype.toString,wx=e=>bx.call(e)==="[object Object]",tf=()=>+Date.now(),Do=()=>{};function Jp(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 _x=e=>e();function xx(e,t={}){let n,r,o=Do;const s=a=>{clearTimeout(a),o(),o=Do};return a=>{const l=Wt(e),u=Wt(t.maxWait);return n&&s(n),l<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((c,f)=>{o=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,c(a())},u)),n=setTimeout(()=>{r&&s(r),r=null,c(a())},l)})}}function kx(...e){let t=0,n,r=!0,o=Do,s,i,a,l,u;!et(e[0])&&typeof e[0]=="object"?{delay:i,trailing:a=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[i,a=!0,l=!0,u=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,o(),o=Do)};return d=>{const p=Wt(i),h=Date.now()-t,g=()=>s=d();return c(),p<=0?(t=Date.now(),g()):(h>p&&(l||!r)?(t=Date.now(),g()):a&&(s=new Promise((b,_)=>{o=u?_:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(g()),c()},Math.max(0,p-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,s)}}function Ex(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 Cx(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 uA(e,t=200,n={}){return Jp(xx(t,n),e)}function Sx(e,t,n={}){const{eventFilter:r=_x,...o}=n;return Me(e,Jp(r,t),o)}function Px(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 u(){const c=Wt(t);c<=0||(i.value=!0,o&&e(),a(),s=setInterval(e,c))}if(r&&Mo&&u(),et(t)||typeof t=="function"){const c=Me(t,()=>{i.value&&Mo&&u()});pr(c)}return pr(l),{isActive:i,pause:l,resume:u}}function Tx(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(...u){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...u)},Wt(t))}return r&&(o.value=!0,Mo&&l()),pr(a),{isPending:ti(o),start:l,stop:a}}function fA(e,t,n={}){const{throttle:r=0,trailing:o=!0,leading:s=!0,...i}=n;return Sx(e,t,{...i,eventFilter:kx(r,o,s)})}function ja(e){var t;const n=Wt(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Qr=Mo?window:void 0,Zp=Mo?window.navigator:void 0;function Rn(...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 Do;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(c=>c()),s.length=0},a=(c,f,d,p)=>(c.addEventListener(f,d,p),()=>c.removeEventListener(f,d,p)),l=Me(()=>[ja(t),Wt(o)],([c,f])=>{if(i(),!c)return;const d=wx(f)?{...f}:f;s.push(...n.flatMap(p=>r.map(h=>a(c,p,h,d))))},{immediate:!0,flush:"post"}),u=()=>{l(),i()};return pr(u),u}function Ax(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 l;let u=o==null?void 0:o.activeElement;if(r)for(;u!=null&&u.shadowRoot;)u=(l=u==null?void 0:u.shadowRoot)==null?void 0:l.activeElement;return u},i=F(),a=()=>{i.value=s()};return n&&(Rn(n,"blur",l=>{l.relatedTarget===null&&a()},!0),Rn(n,"focus",a,!0)),a(),i}function Ox(){const e=F(!1),t=Mt();return t&&Ie(()=>{e.value=!0},t),e}function Ul(e){const t=Ox();return R(()=>(t.value,!!e()))}function $x(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 u(d){if(!s.value||!o)return;a||(a=d);const p=d-a;if(i&&pn&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=F(!1),i=u=>{s.value=u.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},l=Xe(()=>{r.value&&(a(),o=n.matchMedia(Wt(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),s.value=o.matches)});return pr(()=>{l(),a(),o=void 0}),s}const dA={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function pA(e,t={}){function n(c,f){let d=Wt(e[Wt(c)]);return f!=null&&(d=Cx(d,f)),typeof d=="number"&&(d=`${d}px`),d}const{window:r=Qr,strategy:o="min-width"}=t;function s(c){return r?r.matchMedia(c).matches:!1}const i=c=>to(()=>`(min-width: ${n(c)})`,t),a=c=>to(()=>`(max-width: ${n(c)})`,t),l=Object.keys(e).reduce((c,f)=>(Object.defineProperty(c,f,{get:()=>o==="min-width"?i(f):a(f),enumerable:!0,configurable:!0}),c),{});function u(){const c=Object.keys(e).map(f=>[f,i(f)]);return R(()=>c.filter(([,f])=>f.value).map(([f])=>f))}return Object.assign(l,{greaterOrEqual:i,smallerOrEqual:a,greater(c){return to(()=>`(min-width: ${n(c,.1)})`,t)},smaller(c){return to(()=>`(max-width: ${n(c,-.1)})`,t)},between(c,f){return to(()=>`(min-width: ${n(c)}) and (max-width: ${n(f,-.1)})`,t)},isGreater(c){return s(`(min-width: ${n(c,.1)})`)},isGreaterOrEqual(c){return s(`(min-width: ${n(c)})`)},isSmaller(c){return s(`(max-width: ${n(c,-.1)})`)},isSmallerOrEqual(c){return s(`(max-width: ${n(c)})`)},isInBetween(c,f){return s(`(min-width: ${n(c)}) and (max-width: ${n(f,-.1)})`)},current:u,active(){const c=u();return R(()=>c.value.length===0?"":c.value.at(-1))}})}function nf(e,t={}){const{controls:n=!1,navigator:r=Zp}=t,o=Ul(()=>r&&"permissions"in r);let s;const i=typeof e=="string"?{name:e}:e,a=F(),l=()=>{s&&(a.value=s.state)},u=Ex(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(i),Rn(s,"change",l),l()}catch{a.value="prompt"}return s}});return u(),n?{state:a,isSupported:o,query:u}:a}function hA(e={}){const{navigator:t=Zp,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=Ul(()=>t&&"clipboard"in t),a=nf("clipboard-read"),l=nf("clipboard-write"),u=R(()=>i.value||s),c=F(""),f=F(!1),d=Tx(()=>f.value=!1,o);function p(){i.value&&_(a.value)?t.clipboard.readText().then(y=>{c.value=y}):c.value=b()}u.value&&n&&Rn(["copy","cut"],p);async function h(y=Wt(r)){u.value&&y!=null&&(i.value&&_(l.value)?await t.clipboard.writeText(y):g(y),c.value=y,f.value=!0,d.start())}function g(y){const v=document.createElement("textarea");v.value=y??"",v.style.position="absolute",v.style.opacity="0",document.body.appendChild(v),v.select(),document.execCommand("copy"),v.remove()}function b(){var y,v,m;return(m=(v=(y=document==null?void 0:document.getSelection)==null?void 0:y.call(document))==null?void 0:v.toString())!=null?m:""}function _(y){return y==="granted"||y==="prompt"}return{isSupported:u,text:c,copied:f,copy:h}}const Rx={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 gA(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 u=null;const c=F(o.x),f=F(o.y),d=F(null),p=typeof t=="function"?t:Rx[t],h=w=>{const E=p(w);u=w,E&&([c.value,f.value]=E,d.value="mouse")},g=w=>{if(w.touches.length>0){const E=p(w.touches[0]);E&&([c.value,f.value]=E,d.value="touch")}},b=()=>{if(!u||!s)return;const w=p(u);u instanceof MouseEvent&&w&&(c.value=w[0]+s.scrollX,f.value=w[1]+s.scrollY)},_=()=>{c.value=o.x,f.value=o.y},y=l?w=>l(()=>h(w),{}):w=>h(w),v=l?w=>l(()=>g(w),{}):w=>g(w),m=l?()=>l(()=>b(),{}):()=>b();if(i){const w={passive:!0};Rn(i,["mousemove","dragover"],y,w),n&&t!=="movement"&&(Rn(i,["touchstart","touchmove"],v,w),r&&Rn(i,"touchend",_,w)),a&&t==="page"&&Rn(s,"scroll",m,{passive:!0})}return{x:c,y:f,sourceType:d}}function Ix(e={}){const{controls:t=!1,offset:n=0,immediate:r=!0,interval:o="requestAnimationFrame",callback:s}=e,i=F(tf()+n),a=()=>i.value=tf()+n,l=s?()=>{a(),s(i.value)}:a,u=o==="requestAnimationFrame"?$x(l,{immediate:r}):Px(l,o,{immediate:r});return t?{timestamp:i,...u}:i}const Lx=Symbol("nuxt-ui.modal"),jx=ot(e=>{const t=Bn({component:"div",props:{}});e.vueApp.provide(Lx,t)}),zl="-";function Mx(e){const t=Nx(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function o(i){const a=i.split(zl);return a[0]===""&&a.length!==1&&a.shift(),eh(a,t)||Dx(i)}function s(i,a){const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}return{getClassGroupId:o,getConflictingClassGroupIds:s}}function eh(e,t){var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?eh(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(zl);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId}const rf=/^\[(.+)\]$/;function Dx(e){if(rf.test(e)){const t=rf.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Nx(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Bx(Object.entries(e.classGroups),n).forEach(([s,i])=>{Ma(i,r,s,t)}),r}function Ma(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:of(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Fx(o)){Ma(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{Ma(i,of(t,s),n,r)})})}function of(e,t){let n=e;return t.split(zl).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Fx(e){return e.isThemeGetter}function Bx(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 Hx(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 th="!";function Ux(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(i){const a=[];let l=0,u=0,c;for(let g=0;gu?c-u:void 0;return{modifiers:a,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}}}function zx(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 Vx(e){return{cache:Hx(e.cacheSize),splitModifiers:Ux(e),...Mx(e)}}const Wx=/\s+/;function qx(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=new Set;return e.trim().split(Wx).map(i=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(i);let f=r(c?u.substring(0,c):u),d=!!c;if(!f){if(!c)return{isTailwindClass:!1,originalClassName:i};if(f=r(u),!f)return{isTailwindClass:!1,originalClassName:i};d=!1}const p=zx(a).join(":");return{isTailwindClass:!0,modifierId:l?p+th:p,classGroupId:f,originalClassName:i,hasPostfixModifier:d}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=i,c=a+l;return s.has(c)?!1:(s.add(c),o(l,u).forEach(f=>s.add(a+f)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function at(){let e=0,t,n,r="";for(;ef(c),e());return n=Vx(u),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=qx(l,n);return o(l,c),c}return function(){return s(at.apply(null,arguments))}}function Fe(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const rh=/^\[(?:([a-z-]+):)?(.+)\]$/i,Kx=/^\d+\/\d+$/,Gx=new Set(["px","full","screen"]),Qx=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xx=/\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$/,Yx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jx=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function cn(e){return or(e)||Gx.has(e)||Kx.test(e)}function Cn(e){return Xr(e,"length",ak)}function or(e){return!!e&&!Number.isNaN(Number(e))}function gs(e){return Xr(e,"number",or)}function no(e){return!!e&&Number.isInteger(Number(e))}function ek(e){return e.endsWith("%")&&or(e.slice(0,-1))}function be(e){return rh.test(e)}function Sn(e){return Qx.test(e)}const tk=new Set(["length","size","percentage"]);function nk(e){return Xr(e,tk,oh)}function rk(e){return Xr(e,"position",oh)}const ok=new Set(["image","url"]);function sk(e){return Xr(e,ok,ck)}function ik(e){return Xr(e,"",lk)}function ro(){return!0}function Xr(e,t,n){const r=rh.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function ak(e){return Xx.test(e)&&!Yx.test(e)}function oh(){return!1}function lk(e){return Jx.test(e)}function ck(e){return Zx.test(e)}function Na(){const e=Fe("colors"),t=Fe("spacing"),n=Fe("blur"),r=Fe("brightness"),o=Fe("borderColor"),s=Fe("borderRadius"),i=Fe("borderSpacing"),a=Fe("borderWidth"),l=Fe("contrast"),u=Fe("grayscale"),c=Fe("hueRotate"),f=Fe("invert"),d=Fe("gap"),p=Fe("gradientColorStops"),h=Fe("gradientColorStopPositions"),g=Fe("inset"),b=Fe("margin"),_=Fe("opacity"),y=Fe("padding"),v=Fe("saturate"),m=Fe("scale"),w=Fe("sepia"),E=Fe("skew"),S=Fe("space"),T=Fe("translate"),L=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",be,t],$=()=>[be,t],U=()=>["",cn,Cn],ve=()=>["auto",or,be],fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Y=()=>["start","end","center","between","around","evenly","stretch"],Le=()=>["","0",be],Je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],he=()=>[or,gs],de=()=>[or,be];return{cacheSize:500,separator:":",theme:{colors:[ro],spacing:[cn,Cn],blur:["none","",Sn,be],brightness:he(),borderColor:[e],borderRadius:["none","","full",Sn,be],borderSpacing:$(),borderWidth:U(),contrast:he(),grayscale:Le(),hueRotate:de(),invert:Le(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[ek,Cn],inset:V(),margin:V(),opacity:he(),padding:$(),saturate:he(),scale:he(),sepia:Le(),skew:de(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[Sn]}],"break-after":[{"break-after":Je()}],"break-before":[{"break-before":Je()}],"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(),be]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],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",no,be]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:Le()}],shrink:[{shrink:Le()}],order:[{order:["first","last","none",no,be]}],"grid-cols":[{"grid-cols":[ro]}],"col-start-end":[{col:["auto",{span:["full",no,be]},be]}],"col-start":[{"col-start":ve()}],"col-end":[{"col-end":ve()}],"grid-rows":[{"grid-rows":[ro]}],"row-start-end":[{row:["auto",{span:[no,be]},be]}],"row-start":[{"row-start":ve()}],"row-end":[{"row-end":ve()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,t]}],"min-w":[{"min-w":[be,t,"min","max","fit"]}],"max-w":[{"max-w":[be,t,"none","full","min","max","fit","prose",{screen:[Sn]},Sn]}],h:[{h:[be,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Sn,Cn]}],"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:[ro]}],"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",be]}],"line-clamp":[{"line-clamp":["none",or,gs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cn,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",cn,Cn]}],"underline-offset":[{"underline-offset":["auto",cn,be]}],"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:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],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",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...fe(),rk]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nk]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},sk]}],"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":[_]}],"border-style":[{border:[...B(),"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":[_]}],"divide-style":[{divide:B()}],"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:["",...B()]}],"outline-offset":[{"outline-offset":[cn,be]}],"outline-w":[{outline:[cn,Cn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[cn,Cn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Sn,ik]}],"shadow-color":[{shadow:[ro]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":ee()}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Sn,be]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"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",be]}],duration:[{duration:de()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:de()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[m]}],"scale-x":[{"scale-x":[m]}],"scale-y":[{"scale-y":[m]}],rotate:[{rotate:[no,be]}],"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",be]}],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",be]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"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",be]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[cn,Cn,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 uk(e,{cacheSize:t,prefix:n,separator:r,extend:o={},override:s={}}){Ts(e,"cacheSize",t),Ts(e,"prefix",n),Ts(e,"separator",r);for(const i in s)fk(e[i],s[i]);for(const i in o)dk(e[i],o[i]);return e}function Ts(e,t,n){n!==void 0&&(e[t]=n)}function fk(e,t){if(t)for(const n in t)Ts(e,n,t[n])}function dk(e,t){if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}}function pk(e,...t){return typeof e=="function"?Da(Na,e,...t):Da(()=>uk(Na(),e),...t)}const jt=Da(Na);function sh(e,t){const n={...e};for(const r of t)delete n[r];return n}function hk(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 mi={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}},gk={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}},mk=e=>Object.keys(mi).reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),Dr=e=>[...Object.keys(mi),...Object.keys(gk)].reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),vk=pk({extend:{classGroups:{icons:[e=>/^i-/.test(e)]}}}),yk=Il((e,t,n,r)=>{if(r==="default"||r.startsWith("default.")||r==="popper"||r.startsWith("popper.")||r.endsWith("avatar")&&t==="size"||r.endsWith("chip")&&t==="size"||r.endsWith("badge")&&t==="size"||t==="color"||t==="variant")return!1;if(typeof e[t]=="string"&&typeof n=="string"&&e[t]&&n)return e[t]=vk(e[t],n),!0});function Gt(e,...t){return e==="override"?di({},...t):yk({},...t)}function sf(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 bk="inherit",wk="currentColor",_k="transparent",xk="#000",kk="#fff",Ek={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},Ck={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) / )"},Sk={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},Pk={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},Tk={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},Ak={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},Ok={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},$k={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},Rk={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},Ik={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},Lk={50:"#EFFDF5",100:"#D9FBE8",200:"#B3F5D1",300:"#75EDAE",400:"#00DC82",500:"#00C16A",600:"#00A155",700:"#007F45",800:"#016538",900:"#0A5331",950:"#052e16"},jk={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},Mk={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},Dk={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},Nk={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},Fk={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},Bk={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},Hk={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},Uk={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},zk={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},Vk={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},Wk={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},qk="rgb(var(--ui-background) / )",Kk="rgb(var(--ui-foreground) / )",Gk={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) / )"},Qk={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},ms={inherit:bk,current:wk,transparent:_k,black:xk,white:kk,slate:Ek,gray:Ck,zinc:Sk,neutral:Pk,stone:Tk,red:Ak,orange:Ok,amber:$k,yellow:Rk,lime:Ik,green:Lk,emerald:jk,teal:Mk,cyan:Dk,sky:Nk,blue:Fk,indigo:Bk,violet:Hk,purple:Uk,fuchsia:zk,pink:Vk,rose:Wk,background:qk,foreground:Kk,primary:Gk,cool:Qk},Xk=ot(()=>{const e=lt(),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 _r=typeof document<"u";function Aw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Re=Object.assign;function Ni(e,t){const n={};for(const r in t){const o=t[r];n[r]=Vt(o)?o.map(e):e(o)}return n}const wo=()=>{},Vt=Array.isArray,Np=/#/g,Ow=/&/g,$w=/\//g,Rw=/=/g,Iw=/\?/g,Fp=/\+/g,Lw=/%5B/g,jw=/%5D/g,Bp=/%5E/g,Mw=/%60/g,Hp=/%7B/g,Dw=/%7C/g,Up=/%7D/g,Nw=/%20/g;function Dl(e){return encodeURI(""+e).replace(Dw,"|").replace(Lw,"[").replace(jw,"]")}function Fw(e){return Dl(e).replace(Hp,"{").replace(Up,"}").replace(Bp,"^")}function Oa(e){return Dl(e).replace(Fp,"%2B").replace(Nw,"+").replace(Np,"%23").replace(Ow,"%26").replace(Mw,"`").replace(Hp,"{").replace(Up,"}").replace(Bp,"^")}function Bw(e){return Oa(e).replace(Rw,"%3D")}function Hw(e){return Dl(e).replace(Np,"%23").replace(Iw,"%3F")}function Uw(e){return e==null?"":Hw(e).replace($w,"%2F")}function Lo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const zw=/\/$/,Vw=e=>e.replace(zw,"");function Fi(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=Gw(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Lo(i)}}function Ww(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Iu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qw(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])&&zp(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 zp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Kw(e[n],t[n]))return!1;return!0}function Kw(e,t){return Vt(e)?Lu(e,t):Vt(t)?Lu(t,e):e===t}function Lu(e,t){return Vt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Gw(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).join("/")}var jo;(function(e){e.pop="pop",e.push="push"})(jo||(jo={}));var _o;(function(e){e.back="back",e.forward="forward",e.unknown=""})(_o||(_o={}));function Qw(e){if(!e)if(_r){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vw(e)}const Xw=/^[^#]+#/;function Yw(e,t){return e.replace(Xw,"#")+t}function Jw(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 gi=()=>({left:window.scrollX,top:window.scrollY});function Zw(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=Jw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ju(e,t){return(history.state?history.state.position-t:-1)+e}const $a=new Map;function e_(e,t){$a.set(e,t)}function t_(e){const t=$a.get(e);return $a.delete(e),t}let n_=()=>location.protocol+"//"+location.host;function Vp(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),Iu(l,"")}return Iu(n,e)+r+o}function r_(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=Vp(e,location),h=n.value,g=t.value;let b=0;if(d){if(n.value=p,t.value=d,i&&i===h){i=null;return}b=g?d.position-g.position:0}else r(p);o.forEach(_=>{_(n.value,h,{delta:b,type:jo.pop,direction:b?b>0?_o.forward:_o.back:_o.unknown})})};function l(){i=n.value}function u(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(Re({},d.state,{scroll:gi()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Mu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?gi():null}}function o_(e){const{history:t,location:n}=window,r={value:Vp(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,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:n_()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function i(l,u){const c=Re({},t.state,Mu(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=Re({},o.value,t.state,{forward:l,scroll:gi()});s(c.current,c,!0);const f=Re({},Mu(r.value,l,null),{position:c.position+1},u);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Wp(e){e=Qw(e);const t=o_(e),n=r_(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:Yw.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 s_(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Wp(e)}function i_(e){return typeof e=="string"||e&&typeof e=="object"}function qp(e){return typeof e=="string"||typeof e=="symbol"}const Bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Kp=Symbol("");var Du;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Du||(Du={}));function Mr(e,t){return Re(new Error,{type:e,[Kp]:!0},t)}function ln(e,t){return e instanceof Error&&Kp in e&&(t==null||!!(e.type&t))}const Nu="[^/]+?",a_={sensitive:!1,strict:!1,start:!0,end:!0},l_=/[.+*?^${}()[\]/\\]/g;function c_(e,t){const n=Re({},a_,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function f_(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const d_={type:0,value:""},p_=/[a-zA-Z0-9_]/;function h_(e){if(!e)return[[]];if(e==="/")return[[d_]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,u="",c="";function f(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a{i(y)}:wo}function i(c){if(qp(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(i),c.alias.forEach(i))}}function a(){return n}function l(c){let f=0;for(;f=0&&(c.record.path!==n[f].record.path||!Gp(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!Hu(c)&&r.set(c.record.name,c)}function u(c,f){let d,p={},h,g;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw Mr(1,{location:c});g=d.record.name,p=Re(Bu(f.params,d.keys.filter(y=>!y.optional).concat(d.parent?d.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),c.params&&Bu(c.params,d.keys.map(y=>y.name))),h=d.stringify(p)}else if(c.path!=null)h=c.path,d=n.find(y=>y.re.test(h)),d&&(p=d.parse(h),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(y=>y.re.test(f.path)),!d)throw Mr(1,{location:c,currentLocation:f});g=d.record.name,p=Re({},f.params,c.params),h=d.stringify(p)}const b=[];let _=d;for(;_;)b.unshift(_.record),_=_.parent;return{name:g,path:h,params:p,matched:b,meta:b_(b)}}return e.forEach(c=>s(c)),{addRoute:s,resolve:u,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Bu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function v_(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:y_(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 y_(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 Hu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function b_(e){return e.reduce((t,n)=>Re(t,n.meta),{})}function Uu(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Gp(e,t){return t.children.some(n=>n===e||Gp(e,n))}function w_(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&Oa(s)):[r&&Oa(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function __(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Vt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const x_=Symbol(""),Vu=Symbol(""),Nl=Symbol(""),Fl=Symbol(""),Ra=Symbol("");function eo(){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 On(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Mr(4,{from:n,to:t})):d instanceof Error?l(d):i_(d)?l(Mr(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},c=s(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function Bi(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(k_(l)){const c=(l.__vccOpts||l)[t];c&&s.push(On(c,n,r,i,a,o))}else{let u=l();s.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=Aw(c)?c.default:c;i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&On(p,n,r,i,a,o)()}))}}return s}function k_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Wu(e){const t=Ce(Nl),n=Ce(Fl),r=R(()=>t.resolve(C(e.to))),o=R(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(jr.bind(null,c));if(d>-1)return d;const p=qu(l[u-2]);return u>1&&qu(c)===p&&f[f.length-1].path!==p?f.findIndex(jr.bind(null,l[u-2])):d}),s=R(()=>o.value>-1&&P_(n.params,r.value.params)),i=R(()=>o.value>-1&&o.value===n.matched.length-1&&zp(n.params,r.value.params));function a(l={}){return S_(l)?t[C(e.replace)?"replace":"push"](C(e.to)).catch(wo):Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const E_=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:Wu,setup(e,{slots:t}){const n=Lt(Wu(e)),{options:r}=Ce(Nl),o=R(()=>({[Ku(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ku(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:we("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),C_=E_;function S_(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 P_(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(!Vt(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function qu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ku=(e,t,n)=>e??t??n,T_=re({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ce(Ra),o=R(()=>e.route||r.value),s=Ce(Vu,0),i=R(()=>{let u=C(s);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=R(()=>o.value.matched[i.value]);Ue(Vu,R(()=>i.value+1)),Ue(x_,a),Ue(Ra,o);const l=F();return Me(()=>[l.value,a.value,e.name],([u,c,f],[d,p,h])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!jr(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Gu(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,b=we(d,Re({},h,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Gu(n.default,{Component:b,route:u})||b}}});function Gu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Qp=T_;function A_(e){const t=m_(e.routes,e),n=e.parseQuery||w_,r=e.stringifyQuery||zu,o=e.history,s=eo(),i=eo(),a=eo(),l=Bn(Bt);let u=Bt;_r&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ni.bind(null,I=>""+I),f=Ni.bind(null,Uw),d=Ni.bind(null,Lo);function p(I,Q){let q,oe;return qp(I)?(q=t.getRecordMatcher(I),oe=Q):oe=I,t.addRoute(oe,q)}function h(I){const Q=t.getRecordMatcher(I);Q&&t.removeRoute(Q)}function g(){return t.getRoutes().map(I=>I.record)}function b(I){return!!t.getRecordMatcher(I)}function _(I,Q){if(Q=Re({},Q||l.value),typeof I=="string"){const P=Fi(n,I,Q.path),O=t.resolve({path:P.path},Q),M=o.createHref(P.fullPath);return Re(P,O,{params:d(O.params),hash:Lo(P.hash),redirectedFrom:void 0,href:M})}let q;if(I.path!=null)q=Re({},I,{path:Fi(n,I.path,Q.path).path});else{const P=Re({},I.params);for(const O in P)P[O]==null&&delete P[O];q=Re({},I,{params:f(P)}),Q.params=f(Q.params)}const oe=t.resolve(q,Q),Se=I.hash||"";oe.params=c(d(oe.params));const x=Ww(r,Re({},I,{hash:Fw(Se),path:oe.path})),k=o.createHref(x);return Re({fullPath:x,hash:Se,query:r===zu?__(I.query):I.query||{}},oe,{redirectedFrom:void 0,href:k})}function y(I){return typeof I=="string"?Fi(n,I,l.value.path):Re({},I)}function v(I,Q){if(u!==I)return Mr(8,{from:Q,to:I})}function m(I){return S(I)}function w(I){return m(Re(y(I),{replace:!0}))}function E(I){const Q=I.matched[I.matched.length-1];if(Q&&Q.redirect){const{redirect:q}=Q;let oe=typeof q=="function"?q(I):q;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=y(oe):{path:oe},oe.params={}),Re({query:I.query,hash:I.hash,params:oe.path!=null?{}:I.params},oe)}}function S(I,Q){const q=u=_(I),oe=l.value,Se=I.state,x=I.force,k=I.replace===!0,P=E(q);if(P)return S(Re(y(P),{state:typeof P=="object"?Re({},Se,P.state):Se,force:x,replace:k}),Q||q);const O=q;O.redirectedFrom=Q;let M;return!x&&qw(r,oe,q)&&(M=Mr(16,{to:O,from:oe}),he(oe,oe,!0,!1)),(M?Promise.resolve(M):A(O,oe)).catch(D=>ln(D)?ln(D,2)?D:Je(D):Y(D,O,oe)).then(D=>{if(D){if(ln(D,2))return S(Re({replace:k},y(D.to),{state:typeof D.to=="object"?Re({},Se,D.to.state):Se,force:x}),Q||O)}else D=$(O,oe,!0,k,Se);return V(O,oe,D),D})}function T(I,Q){const q=v(I,Q);return q?Promise.reject(q):Promise.resolve()}function L(I){const Q=De.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(I):I()}function A(I,Q){let q;const[oe,Se,x]=O_(I,Q);q=Bi(oe.reverse(),"beforeRouteLeave",I,Q);for(const P of oe)P.leaveGuards.forEach(O=>{q.push(On(O,I,Q))});const k=T.bind(null,I,Q);return q.push(k),je(q).then(()=>{q=[];for(const P of s.list())q.push(On(P,I,Q));return q.push(k),je(q)}).then(()=>{q=Bi(Se,"beforeRouteUpdate",I,Q);for(const P of Se)P.updateGuards.forEach(O=>{q.push(On(O,I,Q))});return q.push(k),je(q)}).then(()=>{q=[];for(const P of x)if(P.beforeEnter)if(Vt(P.beforeEnter))for(const O of P.beforeEnter)q.push(On(O,I,Q));else q.push(On(P.beforeEnter,I,Q));return q.push(k),je(q)}).then(()=>(I.matched.forEach(P=>P.enterCallbacks={}),q=Bi(x,"beforeRouteEnter",I,Q,L),q.push(k),je(q))).then(()=>{q=[];for(const P of i.list())q.push(On(P,I,Q));return q.push(k),je(q)}).catch(P=>ln(P,8)?P:Promise.reject(P))}function V(I,Q,q){a.list().forEach(oe=>L(()=>oe(I,Q,q)))}function $(I,Q,q,oe,Se){const x=v(I,Q);if(x)return x;const k=Q===Bt,P=_r?history.state:{};q&&(oe||k?o.replace(I.fullPath,Re({scroll:k&&P&&P.scroll},Se)):o.push(I.fullPath,Se)),l.value=I,he(I,Q,q,k),Je()}let U;function ve(){U||(U=o.listen((I,Q,q)=>{if(!st.listening)return;const oe=_(I),Se=E(oe);if(Se){S(Re(Se,{replace:!0}),oe).catch(wo);return}u=oe;const x=l.value;_r&&e_(ju(x.fullPath,q.delta),gi()),A(oe,x).catch(k=>ln(k,12)?k:ln(k,2)?(S(k.to,oe).then(P=>{ln(P,20)&&!q.delta&&q.type===jo.pop&&o.go(-1,!1)}).catch(wo),Promise.reject()):(q.delta&&o.go(-q.delta,!1),Y(k,oe,x))).then(k=>{k=k||$(oe,x,!1),k&&(q.delta&&!ln(k,8)?o.go(-q.delta,!1):q.type===jo.pop&&ln(k,20)&&o.go(-1,!1)),V(oe,x,k)}).catch(wo)}))}let fe=eo(),B=eo(),ee;function Y(I,Q,q){Je(I);const oe=B.list();return oe.length?oe.forEach(Se=>Se(I,Q,q)):console.error(I),Promise.reject(I)}function Le(){return ee&&l.value!==Bt?Promise.resolve():new Promise((I,Q)=>{fe.add([I,Q])})}function Je(I){return ee||(ee=!I,ve(),fe.list().forEach(([Q,q])=>I?q(I):Q()),fe.reset()),I}function he(I,Q,q,oe){const{scrollBehavior:Se}=e;if(!_r||!Se)return Promise.resolve();const x=!q&&t_(ju(I.fullPath,0))||(oe||!q)&&history.state&&history.state.scroll||null;return Vn().then(()=>Se(I,Q,x)).then(k=>k&&Zw(k)).catch(k=>Y(k,I,Q))}const de=I=>o.go(I);let Ve;const De=new Set,st={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:g,resolve:_,options:e,push:m,replace:w,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:B.add,isReady:Le,install(I){const Q=this;I.component("RouterLink",C_),I.component("RouterView",Qp),I.config.globalProperties.$router=Q,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>C(l)}),_r&&!Ve&&l.value===Bt&&(Ve=!0,m(o.location).catch(Se=>{}));const q={};for(const Se in Bt)Object.defineProperty(q,Se,{get:()=>l.value[Se],enumerable:!0});I.provide(Nl,Q),I.provide(Fl,Vo(q)),I.provide(Ra,l);const oe=I.unmount;De.add(I),I.unmount=function(){De.delete(I),De.size<1&&(u=Bt,U&&U(),U=null,l.value=Bt,Ve=!1,ee=!1),oe()}}};function je(I){return I.reduce((Q,q)=>Q.then(()=>L(q)),Promise.resolve())}return st}function O_(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;ijr(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>jr(u,l))||o.push(l))}return[n,r,o]}function $_(){return Ce(Fl)}const R_=(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())||""}),Ia=(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&&R_(e.route,n));return typeof r=="function"?r(e.route):r},I_=(e,t)=>({default:()=>e?we(Um,e===!0?{}:e,t):t});function Bl(e){return Array.isArray(e)?e:[e]}const _t={layout:"docs"},Hi=null,Qu=[{name:(_t==null?void 0:_t.name)??"slug",path:(_t==null?void 0:_t.path)??"/:slug(.*)*",meta:_t||{},alias:(_t==null?void 0:_t.alias)||[],redirect:_t==null?void 0:_t.redirect,component:()=>G(()=>import("./_...slug_.gzKFHVcm.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:Hi==null?void 0:Hi.redirect,component:()=>G(()=>import("./index.3XGNYxtw.js").then(e=>e.i),__vite__mapDeps([4,3,5,6,7,8]),import.meta.url).then(e=>e.default||e)}],Xp=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?we(e,t,n):(r=n.default)==null?void 0:r.call(n)}});function Xu(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 L_(e,t){return e===t||t===Bt?!1:Xu(e)!==Xu(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 j_={scrollBehavior(e,t,n){var u;const r=Ae(),o=((u=Tt().options)==null?void 0:u.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&&L_(e,t)&&(s={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Yu(e.hash),behavior:o}:!1;const a=c=>!!(c.meta.pageTransition??Ta),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(s={el:e.hash,top:Yu(e.hash),behavior:o}),c(s)})})}};function Yu(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Ju(e){const t=document.querySelector(e);if(t){const n=parseFloat(getComputedStyle(t).scrollMarginTop);return{el:e,behavior:"smooth",top:n}}}const M_={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(Ju(e.hash)),50):r.hooks.hookOnce("page:finish",()=>{setTimeout(()=>o(Ju(e.hash)),50)})}):{top:0}}},D_={hashMode:!1,scrollBehaviorType:"auto"},xt={...D_,...j_,...M_},N_=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const r=Ae(),o=Tt();if(([t,n]=Ro(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Go({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(u=>{if(a(),u===e){const c=o.afterEach(async()=>{c(),await r.runWithContext(()=>xr(i)),window.history.pushState({},"",e.fullPath)});return!1}})},F_=async e=>{let t,n;const r=([t,n]=Ro(()=>jp(e.path)),t=await t,n(),t);if(r.redirect)return r.redirect},B_=[N_,F_],xo={};function H_(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const u=s.includes(e.slice(i))?e.slice(i).length:1;let c=s.slice(u);return c[0]!=="/"&&(c="/"+c),vu(c,"")}const a=vu(r,e),l=!n||M0(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+s}const U_=ot({name:"nuxt:router",enforce:"pre",async setup(e){var g,b;let t,n,r=Dt().app.baseURL;xt.hashMode&&!r.includes("#")&&(r+="#");const o=((g=xt.history)==null?void 0:g.call(xt,r))??(xt.hashMode?s_(r):Wp(r)),s=((b=xt.routes)==null?void 0:b.call(xt,Qu))??Qu;let i;const a=H_(r,window.location,e.payload.path),l=A_({...xt,scrollBehavior:(_,y,v)=>{if(y===Bt){i=v;return}if(xt.scrollBehavior){if(l.options.scrollBehavior=xt.scrollBehavior,"scrollRestoration"in window.history){const m=l.beforeEach(()=>{m(),window.history.scrollRestoration="manual"})}return xt.scrollBehavior(_,Bt,i||v)}},history:o,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const u=Bn(l.currentRoute.value);l.afterEach((_,y)=>{u.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>u.value});const c=Bn(l.resolve(a)),f=()=>{c.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((_,y)=>{var v,m,w,E;((m=(v=_.matched[0])==null?void 0:v.components)==null?void 0:m.default)===((E=(w=y.matched[0])==null?void 0:w.components)==null?void 0:E.default)&&f()});const d={};for(const _ in c.value)Object.defineProperty(d,_,{get:()=>c.value[_]});e._route=Vo(d),e._middleware=e._middleware||{global:[],named:{}};const p=pi();try{[t,n]=Ro(()=>l.isReady()),await t,n()}catch(_){[t,n]=Ro(()=>e.runWithContext(()=>xr(_))),await t,n()}const h=e.payload.state._layout;return l.beforeEach(async(_,y)=>{var v;await e.callHook("page:loading:start"),_.meta=Lt(_.meta),e.isHydrating&&h&&!dr(_.meta.layout)&&(_.meta.layout=h),e._processingMiddleware=!0;{const m=new Set([...B_,...e._middleware.global]);for(const w of _.matched){const E=w.meta.middleware;if(E)for(const S of Bl(E))m.add(S)}for(const w of m){const E=typeof w=="string"?e._middleware.named[w]||await((v=xo[w])==null?void 0:v.call(xo).then(T=>T.default||T)):w;if(!E)throw new Error(`Unknown route middleware: '${w}'.`);const S=await e.runWithContext(()=>E(_,y));if(!e.payload.serverRendered&&e.isHydrating&&(S===!1||S instanceof Error)){const T=S||ka({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>xr(T)),!1}if(S!==!0&&(S||S===!1))return S}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(_,y,v)=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await e.runWithContext(bp),v&&await e.callHook("page:loading:end"),_.matched.length===0&&await e.runWithContext(()=>xr(ka({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`,data:{path:_.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{const _=l.resolve(a);"name"in _&&(_.name=void 0),await l.replace({..._,force:!0}),l.options.scrollBehavior=xt.scrollBehavior}catch(_){await e.runWithContext(()=>xr(_))}}),{provide:{router:l}}}}),z_="$s";function yr(...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=z_+n,s=Ae(),i=xe(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 V_(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 u=s[l];typeof u<"u"&&u!==""&&(i[l]=u)}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((u,c)=>(u._priority||0)-(c._priority||0)))for(const u in n[l]){const c=u,f=n[l][u];u.startsWith("_")||(i[u]=f,s!=null&&s.debug&&(i._context[c]=((a=n[l]._context)==null?void 0:a[c])||n[l]._context||"anonymous"))}return W_(i)}return{stack:n,push:r,get:o}}function W_(e){typeof e.indexable<"u"&&(e.indexable=String(e.indexable)!=="false"),typeof e.trailingSlash<"u"&&(e.trailingSlash=String(e.trailingSlash)!=="false"),e.url&&!Pl(e.url,{acceptRelative:!0,strict:!1})&&(e.url=Ey(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 q_=ot({name:"nuxt-site-config",enforce:"pre",async setup(e){const t=Dt()["nuxt-site-config"]||{debug:!1};let n;const r=yr("site-config");return n||(n=V_({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}}}}),La=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),K_=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Hl=e=>{const t=Ae();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{La(e)}):La(e)},G_=ot({name:"nuxt:payload",setup(e){Tt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await $u(t.path);r&&Object.assign(e.static.data,r.data)}),Hl(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Ko(n).protocol||await $u(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(hi,1e3)})}}),Q_=ot(e=>{let t;async function n(){const r=await hi();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(Tl("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}Hl(()=>{t=setTimeout(n,1e3*60*60)})}),X_=Z(()=>G(()=>import("./Releases.pJL5NErt.js"),__vite__mapDeps([9,10,1,2,3,11]),import.meta.url).then(e=>e.default)),Y_=Z(()=>G(()=>import("./VoltaBoard.zdDTcWAp.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),J_=Z(()=>G(()=>import("./Callout.BTm8JRIf.js"),__vite__mapDeps([12,13,6]),import.meta.url).then(e=>e.default)),Z_=Z(()=>G(()=>import("./Card._3qn4Soe.js"),__vite__mapDeps([14,7,13,6]),import.meta.url).then(e=>e.default)),e1=Z(()=>G(()=>import("./CardGroup.ZrLJ95YA.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),t1=Z(()=>G(()=>import("./CodeGroup.OfvxpUcz.js"),__vite__mapDeps([15,16]),import.meta.url).then(e=>e.default)),n1=Z(()=>G(()=>import("./Collapsible.4dbL3TX8.js"),__vite__mapDeps([17,13,6]),import.meta.url).then(e=>e.default)),r1=Z(()=>G(()=>import("./Field.VBLlSVuT.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),o1=Z(()=>G(()=>import("./FieldGroup.ANfmYTr_.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),s1=Z(()=>G(()=>import("./Shortcut.U8Oytthf.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),i1=Z(()=>G(()=>import("./Tabs.LoQ_n_X2.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),a1=Z(()=>G(()=>import("./ProseCode.Ht9HO5C5.js"),__vite__mapDeps([18,19,16,20,21]),import.meta.url).then(e=>e.default)),l1=Z(()=>G(()=>import("./ProseCodeButton.jafYu4GE.js"),__vite__mapDeps([22,20]),import.meta.url).then(e=>e.default)),c1=Z(()=>G(()=>import("./ProseCodeIcon.pe79Q33q.js"),__vite__mapDeps([23,16]),import.meta.url).then(e=>e.default)),u1=Z(()=>G(()=>import("./ProseH1.ZsmSTvOA.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),f1=Z(()=>G(()=>import("./ProseH2.HbrCp_ZA.js"),__vite__mapDeps([24,10]),import.meta.url).then(e=>e.default)),d1=Z(()=>G(()=>import("./ProseH3.sjjNbeNl.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),p1=Z(()=>G(()=>import("./ProseH4.CF0AAm15.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),h1=Z(()=>G(()=>import("./ContentDoc.ecaNRUQa.js"),__vite__mapDeps([25,1,2,3,26]),import.meta.url).then(e=>e.default)),g1=Z(()=>G(()=>import("./ContentList.5TUXJOaa.js"),__vite__mapDeps([27,26]),import.meta.url).then(e=>e.default)),m1=Z(()=>G(()=>import("./ContentNavigation.72HoupbX.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),v1=Z(()=>G(()=>import("./ContentQuery.wFxyIuKR.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),y1=Z(()=>G(()=>import("./ContentRenderer.kEUwcalk.js"),__vite__mapDeps([1,2,3]),import.meta.url).then(e=>e.default)),b1=Z(()=>G(()=>import("./ContentRendererMarkdown.4lpZfIqe.js"),__vite__mapDeps([28,2,3]),import.meta.url).then(e=>e.default)),w1=Z(()=>G(()=>import("./ContentSlot.ZrP9_N9N.js"),__vite__mapDeps([29,6]),import.meta.url).then(e=>e.default)),_1=Z(()=>G(()=>import("./DocumentDrivenEmpty.Wqi4bsju.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),x1=Z(()=>G(()=>import("./DocumentDrivenNotFound.rc1FYH-6.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),k1=Z(()=>G(()=>import("./Markdown.uloaE4eU.js"),__vite__mapDeps([30,29,6]),import.meta.url).then(e=>e.default)),E1=Z(()=>G(()=>import("./ProseCodeInline.1tlhjpvP.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),C1=Z(()=>G(()=>import("./ProsePre.SB5kRh70.js"),__vite__mapDeps([31,19,16,20,21]),import.meta.url).then(e=>e.default)),S1=Z(()=>G(()=>import("./ProseA.OdvZOa_H.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),P1=Z(()=>G(()=>import("./ProseBlockquote.CtmQnnuJ.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),T1=Z(()=>G(()=>import("./ProseEm.5vh6i3Rn.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),A1=Z(()=>G(()=>import("./ProseH5.gQZqyTSU.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),O1=Z(()=>G(()=>import("./ProseH6.-wbTKDQB.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),$1=Z(()=>G(()=>import("./ProseHr.9tuy8L3H.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),R1=Z(()=>G(()=>import("./ProseImg.hnvRFLzT.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),I1=Z(()=>G(()=>import("./ProseLi.qz-5IUbq.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),L1=Z(()=>G(()=>import("./ProseOl.SKiLIlL9.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),j1=Z(()=>G(()=>import("./ProseP.pjRijSwV.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),M1=Z(()=>G(()=>import("./ProseScript.Ujfgap9m.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),D1=Z(()=>G(()=>import("./ProseStrong._NFKgm07.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),N1=Z(()=>G(()=>import("./ProseTable.XsW4qb3M.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),F1=Z(()=>G(()=>import("./ProseTbody.zbhEzI24.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),B1=Z(()=>G(()=>import("./ProseTd.h0hwRSDZ.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),H1=Z(()=>G(()=>import("./ProseTh.eKU6EUCZ.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),U1=Z(()=>G(()=>import("./ProseThead.nEVGYiCK.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),z1=Z(()=>G(()=>import("./ProseTr.umMggmJK.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),V1=Z(()=>G(()=>import("./ProseUl.NehyKE_A.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),W1=Z(()=>G(()=>Promise.resolve().then(()=>dC),void 0,import.meta.url).then(e=>e.default)),q1=Z(()=>G(()=>import("./IconCSS.em3mtptF.js"),__vite__mapDeps([32,33]),import.meta.url).then(e=>e.default)),K1=Z(()=>G(()=>import("./Static.KF8AZHdU.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),G1=Z(()=>G(()=>import("./Dynamic.EzR57iSz.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),Q1=Z(()=>G(()=>import("./index.rMmiTd3R.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),X1=Z(()=>G(()=>import("./Cached.5KE5zhX6.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),Y1=Z(()=>G(()=>import("./WithoutCache.jWN3-d9y.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),J1=Z(()=>G(()=>import("./Screenshot.xmeUQQE4.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),Z1=Z(()=>G(()=>import("./GithubRepository.to6TaAql.js"),__vite__mapDeps([34,11]),import.meta.url).then(e=>e.default)),ex=Z(()=>G(()=>import("./GithubLink.IxpFzLm7.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default)),tx=Z(()=>G(()=>import("./GithubReadme.PW4MgVog.js"),__vite__mapDeps([35,11]),import.meta.url).then(e=>e.default)),nx=Z(()=>G(()=>import("./GithubReleases.LTrMRA4x.js"),__vite__mapDeps([36,11]),import.meta.url).then(e=>e.default)),rx=Z(()=>G(()=>import("./GithubLastRelease.mQglxRJ8.js"),__vite__mapDeps([37,11]),import.meta.url).then(e=>e.default)),ox=Z(()=>G(()=>import("./GithubRelease.ZNvN3fkO.js"),__vite__mapDeps([38,11]),import.meta.url).then(e=>e.default)),sx=Z(()=>G(()=>import("./GithubContributors.rLLQABGT.js"),__vite__mapDeps([39,11]),import.meta.url).then(e=>e.default)),ix=Z(()=>G(()=>import("./GithubFileContributors.BMYnazSV.js"),__vite__mapDeps([40,11]),import.meta.url).then(e=>e.default)),ax=Z(()=>G(()=>import("./GithubCommits.vbYgvn90.js"),__vite__mapDeps([41,11]),import.meta.url).then(e=>e.default)),lx=[["Releases",X_],["VoltaBoard",Y_],["Callout",J_],["Card",Z_],["CardGroup",e1],["CodeGroup",t1],["Collapsible",n1],["Field",r1],["FieldGroup",o1],["Shortcut",s1],["Tabs",i1],["ProseCode",a1],["ProseCodeButton",l1],["ProseCodeIcon",c1],["ProseH1",u1],["ProseH2",f1],["ProseH3",d1],["ProseH4",p1],["ContentDoc",h1],["ContentList",g1],["ContentNavigation",m1],["ContentQuery",v1],["ContentRenderer",y1],["ContentRendererMarkdown",b1],["MDCSlot",w1],["DocumentDrivenEmpty",_1],["DocumentDrivenNotFound",x1],["Markdown",k1],["ProseCodeInline",E1],["ProsePre",C1],["ProseA",S1],["ProseBlockquote",P1],["ProseEm",T1],["ProseH5",A1],["ProseH6",O1],["ProseHr",$1],["ProseImg",R1],["ProseLi",I1],["ProseOl",L1],["ProseP",j1],["ProseScript",M1],["ProseStrong",D1],["ProseTable",N1],["ProseTbody",F1],["ProseTd",B1],["ProseTh",H1],["ProseThead",U1],["ProseTr",z1],["ProseUl",V1],["Icon",W1],["IconCSS",q1],["OgImageStatic",K1],["OgImageDynamic",G1],["OgImage",Q1],["OgImageCached",X1],["OgImageWithoutCache",Y1],["OgImageScreenshot",J1],["GithubRepository",Z1],["GithubLink",ex],["GithubReadme",tx],["GithubReleases",nx],["GithubLastRelease",rx],["GithubRelease",ox],["GithubContributors",sx],["GithubFileContributors",ix],["GithubCommits",ax]],cx=ot({name:"nuxt:global-components",setup(e){for(const[t,n]of lx)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),$n={docs:()=>G(()=>import("./docs.439CkvD8.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},ux=ot({name:"nuxt:prefetch",setup(e){const t=Tt();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 $n[r]=="function"&&await $n[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Kr(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=Bl(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof xo[i]=="function"&&xo[i]();o&&typeof $n[o]=="function"&&$n[o]()})}}),fx={path:"/",watch:!0,decode:e=>Ws(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function Ps(e,t){var l;const n={...fx,...t},r=Zu(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=Yt(s?void 0:r[e]??((l=n.default)==null?void 0:l.call(n))),a=o&&!s?hx(i,o):F(i);{const u=typeof BroadcastChannel>"u"?null:new BroadcastChannel(`nuxt:cookies:${e}`),c=()=>{n.readonly||pp(a.value,r[e])||(px(e,a.value,n),r[e]=Yt(a.value),u==null||u.postMessage({value:n.encode(a.value)}))},f=p=>{var g;const h=p.refresh?(g=Zu(n))==null?void 0:g[e]:n.decode(p.value);d=!0,r[e]=a.value=h,Vn(()=>{d=!1})};let d=!1;Zs()&&il(()=>{d=!0,c(),u==null||u.close()}),u&&(u.onmessage=({data:p})=>f(p)),n.watch?Me(a,()=>{d||c()},{deep:n.watch!=="shallow"}):c()}return a}function Zu(e={}){return N0(document.cookie,e)}function dx(e,t,n={}){return t==null?bu(e,t,{...n,maxAge:-1}):bu(e,t,n)}function px(e,t,n={}){document.cookie=dx(e,t,n)}const ef=2147483647;function hx(e,t){let n,r=0;return Zs()&&il(()=>{clearTimeout(n)}),gm((o,s)=>{function i(){clearTimeout(n);const a=t-r,l=a{if(r+=l,r{const t=Dt().public.studio||{},n=mn(),r=Ps("previewToken",{sameSite:"none",secure:!0}),o=yr("studio-client-db",()=>null);async function s(){const i=await G(()=>import("./useStudio.cwMoTLNg.js"),__vite__mapDeps([42,43]),import.meta.url).then(u=>u.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)),window.sessionStorage.setItem("previewAPI",typeof n.query.staging<"u"?"https://dev-api.nuxt.studio":t.apiURL),e.hook("content:storage",i=>{o.value=i}),e.hook("app:mounted",async()=>{await s()})}});function mx(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 vx(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)=>{mx(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,u,c){a.apply(this,[l,u,c]),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 u=new Set;function c(p){p instanceof HTMLAnchorElement?p.host!==location.host&&(p.addEventListener("click",l),u.add(p)):"querySelectorAll"in p&&p.querySelectorAll("a").forEach(c)}function f(p){p instanceof HTMLAnchorElement?(p.removeEventListener("click",l),u.delete(p)):"querySelectorAll"in p&&p.querySelectorAll("a").forEach(f)}const d=new MutationObserver(p=>{p.forEach(h=>{h.type==="attributes"?(f(h.target),c(h.target)):h.type==="childList"&&(h.addedNodes.forEach(c),h.removedNodes.forEach(f))})});return i.querySelectorAll("a").forEach(c),d.observe(i,a),function(){u.forEach(h=>{h.removeEventListener("click",l)}),u.clear(),d.disconnect()}}}}const yx=ot(()=>{const e=Dt().public.plausible,t=vx({...e,domain:e.domain||window.location.hostname});return e.autoPageviews&&t.enableAutoPageviews(),e.autoOutboundTracking&&t.enableAutoOutboundTracking(),{provide:{plausible:t}}});function pr(e){return Zs()?(il(e),!0):!1}function Yp(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=Kf(!0),n=r.run(()=>e(...s))),pr(o),n)}function Wt(e){return typeof e=="function"?e():C(e)}const Mo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const bx=Object.prototype.toString,wx=e=>bx.call(e)==="[object Object]",tf=()=>+Date.now(),Do=()=>{};function Jp(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 _x=e=>e();function xx(e,t={}){let n,r,o=Do;const s=a=>{clearTimeout(a),o(),o=Do};return a=>{const l=Wt(e),u=Wt(t.maxWait);return n&&s(n),l<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((c,f)=>{o=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,c(a())},u)),n=setTimeout(()=>{r&&s(r),r=null,c(a())},l)})}}function kx(...e){let t=0,n,r=!0,o=Do,s,i,a,l,u;!et(e[0])&&typeof e[0]=="object"?{delay:i,trailing:a=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[i,a=!0,l=!0,u=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,o(),o=Do)};return d=>{const p=Wt(i),h=Date.now()-t,g=()=>s=d();return c(),p<=0?(t=Date.now(),g()):(h>p&&(l||!r)?(t=Date.now(),g()):a&&(s=new Promise((b,_)=>{o=u?_:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(g()),c()},Math.max(0,p-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,s)}}function Ex(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 Cx(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 uA(e,t=200,n={}){return Jp(xx(t,n),e)}function Sx(e,t,n={}){const{eventFilter:r=_x,...o}=n;return Me(e,Jp(r,t),o)}function Px(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 u(){const c=Wt(t);c<=0||(i.value=!0,o&&e(),a(),s=setInterval(e,c))}if(r&&Mo&&u(),et(t)||typeof t=="function"){const c=Me(t,()=>{i.value&&Mo&&u()});pr(c)}return pr(l),{isActive:i,pause:l,resume:u}}function Tx(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(...u){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...u)},Wt(t))}return r&&(o.value=!0,Mo&&l()),pr(a),{isPending:ti(o),start:l,stop:a}}function fA(e,t,n={}){const{throttle:r=0,trailing:o=!0,leading:s=!0,...i}=n;return Sx(e,t,{...i,eventFilter:kx(r,o,s)})}function ja(e){var t;const n=Wt(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Qr=Mo?window:void 0,Zp=Mo?window.navigator:void 0;function Rn(...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 Do;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(c=>c()),s.length=0},a=(c,f,d,p)=>(c.addEventListener(f,d,p),()=>c.removeEventListener(f,d,p)),l=Me(()=>[ja(t),Wt(o)],([c,f])=>{if(i(),!c)return;const d=wx(f)?{...f}:f;s.push(...n.flatMap(p=>r.map(h=>a(c,p,h,d))))},{immediate:!0,flush:"post"}),u=()=>{l(),i()};return pr(u),u}function Ax(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 l;let u=o==null?void 0:o.activeElement;if(r)for(;u!=null&&u.shadowRoot;)u=(l=u==null?void 0:u.shadowRoot)==null?void 0:l.activeElement;return u},i=F(),a=()=>{i.value=s()};return n&&(Rn(n,"blur",l=>{l.relatedTarget===null&&a()},!0),Rn(n,"focus",a,!0)),a(),i}function Ox(){const e=F(!1),t=Mt();return t&&Ie(()=>{e.value=!0},t),e}function Ul(e){const t=Ox();return R(()=>(t.value,!!e()))}function $x(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 u(d){if(!s.value||!o)return;a||(a=d);const p=d-a;if(i&&pn&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=F(!1),i=u=>{s.value=u.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},l=Xe(()=>{r.value&&(a(),o=n.matchMedia(Wt(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),s.value=o.matches)});return pr(()=>{l(),a(),o=void 0}),s}const dA={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function pA(e,t={}){function n(c,f){let d=Wt(e[Wt(c)]);return f!=null&&(d=Cx(d,f)),typeof d=="number"&&(d=`${d}px`),d}const{window:r=Qr,strategy:o="min-width"}=t;function s(c){return r?r.matchMedia(c).matches:!1}const i=c=>to(()=>`(min-width: ${n(c)})`,t),a=c=>to(()=>`(max-width: ${n(c)})`,t),l=Object.keys(e).reduce((c,f)=>(Object.defineProperty(c,f,{get:()=>o==="min-width"?i(f):a(f),enumerable:!0,configurable:!0}),c),{});function u(){const c=Object.keys(e).map(f=>[f,i(f)]);return R(()=>c.filter(([,f])=>f.value).map(([f])=>f))}return Object.assign(l,{greaterOrEqual:i,smallerOrEqual:a,greater(c){return to(()=>`(min-width: ${n(c,.1)})`,t)},smaller(c){return to(()=>`(max-width: ${n(c,-.1)})`,t)},between(c,f){return to(()=>`(min-width: ${n(c)}) and (max-width: ${n(f,-.1)})`,t)},isGreater(c){return s(`(min-width: ${n(c,.1)})`)},isGreaterOrEqual(c){return s(`(min-width: ${n(c)})`)},isSmaller(c){return s(`(max-width: ${n(c,-.1)})`)},isSmallerOrEqual(c){return s(`(max-width: ${n(c)})`)},isInBetween(c,f){return s(`(min-width: ${n(c)}) and (max-width: ${n(f,-.1)})`)},current:u,active(){const c=u();return R(()=>c.value.length===0?"":c.value.at(-1))}})}function nf(e,t={}){const{controls:n=!1,navigator:r=Zp}=t,o=Ul(()=>r&&"permissions"in r);let s;const i=typeof e=="string"?{name:e}:e,a=F(),l=()=>{s&&(a.value=s.state)},u=Ex(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(i),Rn(s,"change",l),l()}catch{a.value="prompt"}return s}});return u(),n?{state:a,isSupported:o,query:u}:a}function hA(e={}){const{navigator:t=Zp,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=Ul(()=>t&&"clipboard"in t),a=nf("clipboard-read"),l=nf("clipboard-write"),u=R(()=>i.value||s),c=F(""),f=F(!1),d=Tx(()=>f.value=!1,o);function p(){i.value&&_(a.value)?t.clipboard.readText().then(y=>{c.value=y}):c.value=b()}u.value&&n&&Rn(["copy","cut"],p);async function h(y=Wt(r)){u.value&&y!=null&&(i.value&&_(l.value)?await t.clipboard.writeText(y):g(y),c.value=y,f.value=!0,d.start())}function g(y){const v=document.createElement("textarea");v.value=y??"",v.style.position="absolute",v.style.opacity="0",document.body.appendChild(v),v.select(),document.execCommand("copy"),v.remove()}function b(){var y,v,m;return(m=(v=(y=document==null?void 0:document.getSelection)==null?void 0:y.call(document))==null?void 0:v.toString())!=null?m:""}function _(y){return y==="granted"||y==="prompt"}return{isSupported:u,text:c,copied:f,copy:h}}const Rx={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 gA(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 u=null;const c=F(o.x),f=F(o.y),d=F(null),p=typeof t=="function"?t:Rx[t],h=w=>{const E=p(w);u=w,E&&([c.value,f.value]=E,d.value="mouse")},g=w=>{if(w.touches.length>0){const E=p(w.touches[0]);E&&([c.value,f.value]=E,d.value="touch")}},b=()=>{if(!u||!s)return;const w=p(u);u instanceof MouseEvent&&w&&(c.value=w[0]+s.scrollX,f.value=w[1]+s.scrollY)},_=()=>{c.value=o.x,f.value=o.y},y=l?w=>l(()=>h(w),{}):w=>h(w),v=l?w=>l(()=>g(w),{}):w=>g(w),m=l?()=>l(()=>b(),{}):()=>b();if(i){const w={passive:!0};Rn(i,["mousemove","dragover"],y,w),n&&t!=="movement"&&(Rn(i,["touchstart","touchmove"],v,w),r&&Rn(i,"touchend",_,w)),a&&t==="page"&&Rn(s,"scroll",m,{passive:!0})}return{x:c,y:f,sourceType:d}}function Ix(e={}){const{controls:t=!1,offset:n=0,immediate:r=!0,interval:o="requestAnimationFrame",callback:s}=e,i=F(tf()+n),a=()=>i.value=tf()+n,l=s?()=>{a(),s(i.value)}:a,u=o==="requestAnimationFrame"?$x(l,{immediate:r}):Px(l,o,{immediate:r});return t?{timestamp:i,...u}:i}const Lx=Symbol("nuxt-ui.modal"),jx=ot(e=>{const t=Bn({component:"div",props:{}});e.vueApp.provide(Lx,t)}),zl="-";function Mx(e){const t=Nx(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function o(i){const a=i.split(zl);return a[0]===""&&a.length!==1&&a.shift(),eh(a,t)||Dx(i)}function s(i,a){const l=n[i]||[];return a&&r[i]?[...l,...r[i]]:l}return{getClassGroupId:o,getConflictingClassGroupIds:s}}function eh(e,t){var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?eh(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(zl);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId}const rf=/^\[(.+)\]$/;function Dx(e){if(rf.test(e)){const t=rf.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Nx(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Bx(Object.entries(e.classGroups),n).forEach(([s,i])=>{Ma(i,r,s,t)}),r}function Ma(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:of(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Fx(o)){Ma(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{Ma(i,of(t,s),n,r)})})}function of(e,t){let n=e;return t.split(zl).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Fx(e){return e.isThemeGetter}function Bx(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 Hx(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 th="!";function Ux(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(i){const a=[];let l=0,u=0,c;for(let g=0;gu?c-u:void 0;return{modifiers:a,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}}}function zx(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 Vx(e){return{cache:Hx(e.cacheSize),splitModifiers:Ux(e),...Mx(e)}}const Wx=/\s+/;function qx(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=new Set;return e.trim().split(Wx).map(i=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(i);let f=r(c?u.substring(0,c):u),d=!!c;if(!f){if(!c)return{isTailwindClass:!1,originalClassName:i};if(f=r(u),!f)return{isTailwindClass:!1,originalClassName:i};d=!1}const p=zx(a).join(":");return{isTailwindClass:!0,modifierId:l?p+th:p,classGroupId:f,originalClassName:i,hasPostfixModifier:d}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=i,c=a+l;return s.has(c)?!1:(s.add(c),o(l,u).forEach(f=>s.add(a+f)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function at(){let e=0,t,n,r="";for(;ef(c),e());return n=Vx(u),r=n.cache.get,o=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=qx(l,n);return o(l,c),c}return function(){return s(at.apply(null,arguments))}}function Fe(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const rh=/^\[(?:([a-z-]+):)?(.+)\]$/i,Kx=/^\d+\/\d+$/,Gx=new Set(["px","full","screen"]),Qx=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xx=/\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$/,Yx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jx=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function cn(e){return or(e)||Gx.has(e)||Kx.test(e)}function Cn(e){return Xr(e,"length",ak)}function or(e){return!!e&&!Number.isNaN(Number(e))}function gs(e){return Xr(e,"number",or)}function no(e){return!!e&&Number.isInteger(Number(e))}function ek(e){return e.endsWith("%")&&or(e.slice(0,-1))}function be(e){return rh.test(e)}function Sn(e){return Qx.test(e)}const tk=new Set(["length","size","percentage"]);function nk(e){return Xr(e,tk,oh)}function rk(e){return Xr(e,"position",oh)}const ok=new Set(["image","url"]);function sk(e){return Xr(e,ok,ck)}function ik(e){return Xr(e,"",lk)}function ro(){return!0}function Xr(e,t,n){const r=rh.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function ak(e){return Xx.test(e)&&!Yx.test(e)}function oh(){return!1}function lk(e){return Jx.test(e)}function ck(e){return Zx.test(e)}function Na(){const e=Fe("colors"),t=Fe("spacing"),n=Fe("blur"),r=Fe("brightness"),o=Fe("borderColor"),s=Fe("borderRadius"),i=Fe("borderSpacing"),a=Fe("borderWidth"),l=Fe("contrast"),u=Fe("grayscale"),c=Fe("hueRotate"),f=Fe("invert"),d=Fe("gap"),p=Fe("gradientColorStops"),h=Fe("gradientColorStopPositions"),g=Fe("inset"),b=Fe("margin"),_=Fe("opacity"),y=Fe("padding"),v=Fe("saturate"),m=Fe("scale"),w=Fe("sepia"),E=Fe("skew"),S=Fe("space"),T=Fe("translate"),L=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",be,t],$=()=>[be,t],U=()=>["",cn,Cn],ve=()=>["auto",or,be],fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Y=()=>["start","end","center","between","around","evenly","stretch"],Le=()=>["","0",be],Je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],he=()=>[or,gs],de=()=>[or,be];return{cacheSize:500,separator:":",theme:{colors:[ro],spacing:[cn,Cn],blur:["none","",Sn,be],brightness:he(),borderColor:[e],borderRadius:["none","","full",Sn,be],borderSpacing:$(),borderWidth:U(),contrast:he(),grayscale:Le(),hueRotate:de(),invert:Le(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[ek,Cn],inset:V(),margin:V(),opacity:he(),padding:$(),saturate:he(),scale:he(),sepia:Le(),skew:de(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",be]}],container:["container"],columns:[{columns:[Sn]}],"break-after":[{"break-after":Je()}],"break-before":[{"break-before":Je()}],"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(),be]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],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",no,be]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:Le()}],shrink:[{shrink:Le()}],order:[{order:["first","last","none",no,be]}],"grid-cols":[{"grid-cols":[ro]}],"col-start-end":[{col:["auto",{span:["full",no,be]},be]}],"col-start":[{"col-start":ve()}],"col-end":[{"col-end":ve()}],"grid-rows":[{"grid-rows":[ro]}],"row-start-end":[{row:["auto",{span:[no,be]},be]}],"row-start":[{"row-start":ve()}],"row-end":[{"row-end":ve()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,t]}],"min-w":[{"min-w":[be,t,"min","max","fit"]}],"max-w":[{"max-w":[be,t,"none","full","min","max","fit","prose",{screen:[Sn]},Sn]}],h:[{h:[be,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Sn,Cn]}],"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:[ro]}],"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",be]}],"line-clamp":[{"line-clamp":["none",or,gs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cn,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",cn,Cn]}],"underline-offset":[{"underline-offset":["auto",cn,be]}],"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:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],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",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...fe(),rk]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nk]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},sk]}],"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":[_]}],"border-style":[{border:[...B(),"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":[_]}],"divide-style":[{divide:B()}],"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:["",...B()]}],"outline-offset":[{"outline-offset":[cn,be]}],"outline-w":[{outline:[cn,Cn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[cn,Cn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Sn,ik]}],"shadow-color":[{shadow:[ro]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":ee()}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Sn,be]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"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",be]}],duration:[{duration:de()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:de()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[m]}],"scale-x":[{"scale-x":[m]}],"scale-y":[{"scale-y":[m]}],rotate:[{rotate:[no,be]}],"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",be]}],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",be]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"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",be]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[cn,Cn,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 uk(e,{cacheSize:t,prefix:n,separator:r,extend:o={},override:s={}}){Ts(e,"cacheSize",t),Ts(e,"prefix",n),Ts(e,"separator",r);for(const i in s)fk(e[i],s[i]);for(const i in o)dk(e[i],o[i]);return e}function Ts(e,t,n){n!==void 0&&(e[t]=n)}function fk(e,t){if(t)for(const n in t)Ts(e,n,t[n])}function dk(e,t){if(t)for(const n in t){const r=t[n];r!==void 0&&(e[n]=(e[n]||[]).concat(r))}}function pk(e,...t){return typeof e=="function"?Da(Na,e,...t):Da(()=>uk(Na(),e),...t)}const jt=Da(Na);function sh(e,t){const n={...e};for(const r of t)delete n[r];return n}function hk(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 mi={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}},gk={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}},mk=e=>Object.keys(mi).reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),Dr=e=>[...Object.keys(mi),...Object.keys(gk)].reduce((n,r)=>(e[r]!==void 0&&(n[r]=e[r]),n),{}),vk=pk({extend:{classGroups:{icons:[e=>/^i-/.test(e)]}}}),yk=Il((e,t,n,r)=>{if(r==="default"||r.startsWith("default.")||r==="popper"||r.startsWith("popper.")||r.endsWith("avatar")&&t==="size"||r.endsWith("chip")&&t==="size"||r.endsWith("badge")&&t==="size"||t==="color"||t==="variant")return!1;if(typeof e[t]=="string"&&typeof n=="string"&&e[t]&&n)return e[t]=vk(e[t],n),!0});function Gt(e,...t){return e==="override"?di({},...t):yk({},...t)}function sf(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 bk="inherit",wk="currentColor",_k="transparent",xk="#000",kk="#fff",Ek={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},Ck={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) / )"},Sk={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},Pk={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},Tk={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},Ak={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},Ok={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},$k={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},Rk={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},Ik={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},Lk={50:"#EFFDF5",100:"#D9FBE8",200:"#B3F5D1",300:"#75EDAE",400:"#00DC82",500:"#00C16A",600:"#00A155",700:"#007F45",800:"#016538",900:"#0A5331",950:"#052e16"},jk={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},Mk={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},Dk={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},Nk={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},Fk={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},Bk={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},Hk={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},Uk={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},zk={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},Vk={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},Wk={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},qk="rgb(var(--ui-background) / )",Kk="rgb(var(--ui-foreground) / )",Gk={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) / )"},Qk={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},ms={inherit:bk,current:wk,transparent:_k,black:xk,white:kk,slate:Ek,gray:Ck,zinc:Sk,neutral:Pk,stone:Tk,red:Ak,orange:Ok,amber:$k,yellow:Rk,lime:Ik,green:Lk,emerald:jk,teal:Mk,cyan:Dk,sky:Nk,blue:Fk,indigo:Bk,violet:Hk,purple:Uk,fuchsia:zk,pink:Vk,rose:Wk,background:qk,foreground:Kk,primary:Gk,cool:Qk},Xk=ot(()=>{const e=lt(),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}: ${sf(a)};`).join(` `)} --color-primary-DEFAULT: var(--color-primary-500); @@ -36,4 +36,4 @@ ${Object.entries(s||ms.cool).map(([i,a])=>`--color-gray-${i}: ${sf(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]'))"}]}Qo(r)}),ih=Object.freeze({left:0,top:0,width:16,height:16}),ah=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Vl=Object.freeze({...ih,...ah});Object.freeze({...Vl,body:"",hidden:!1});({...ih});const lh=Object.freeze({width:null,height:null}),ch=Object.freeze({...lh,...ah});function sE(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in lh?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const iE=/[\s,]+/;function aE(e,t){t.split(iE).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function lE(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 cE=/(-?[0-9.]*[0-9]+[0-9.]*)/g,uE=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function af(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(cE);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=uE.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 fE=e=>e==="unset"||e==="undefined"||e==="none";function dE(e,t){const n={...Vl,...e},r={...ch,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const g=[],b=h.hFlip,_=h.vFlip;let y=h.rotate;b?_?y+=2:(g.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),g.push("scale(-1 1)"),o.top=o.left=0):_&&(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(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){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}y%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,u=o.height;let c,f;i===null?(f=a===null?"1em":a==="auto"?u:a,c=af(f,l/u)):(c=i==="auto"?l:i,f=a===null?af(c,u/l):a==="auto"?u:a);const d={},p=(h,g)=>{fE(g)||(d[h]=g.toString())};return p("width",c),p("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+u.toString(),{attributes:d,body:s}}const pE=/\sid="(\S+)"/g,hE="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let gE=0;function mE(e,t=hE){const n=[];let r;for(;r=pE.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+(gE++).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 vE(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 yE(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function bE(e){return"data:image/svg+xml,"+yE(e)}function wE(e){return'url("'+bE(e)+'")'}const lf={...ch,inline:!1},_E={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},xE={display:"inline-block"},Fa={backgroundColor:"currentColor"},uh={backgroundColor:"transparent"},cf={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},uf={webkitMask:Fa,mask:Fa,background:uh};for(const e in uf){const t=uf[e];for(const n in cf)t[e+n]=cf[n]}const As={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";As[e+"-flip"]=t,As[e.slice(0,1)+"-flip"]=t,As[e+"Flip"]=t});function ff(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const kE=(e,t)=>{const n=sE(lf,t),r={..._E},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let g in t){const b=t[g];if(b!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&aE(n,b);break;case"color":s.color=b;break;case"rotate":typeof b=="string"?n[g]=lE(b):typeof b=="number"&&(n[g]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete r["aria-hidden"];break;default:{const _=As[g];_?(b===!0||b==="true"||b===1)&&(n[_]=!0):lf[g]===void 0&&(r[g]=b)}}}const l=dE(e,n),u=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...a},Object.assign(r,u);let g=0,b=t.id;return typeof b=="string"&&(b=b.replace(/-/g,"_")),r.innerHTML=mE(l.body,b?()=>b+"ID"+g++:"iconifyVue"),we("svg",r)}const{body:c,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:c.indexOf("currentColor")!==-1),h=vE(c,{...u,width:f+"",height:d+""});return r.style={...s,"--svg":wE(h),width:ff(u.width),height:ff(u.height),...xE,...p?Fa:uh,...a},we("span",r)},EE=Object.create(null),CE=re({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?EE[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:kE({...Vl,...n},e)}}),ko=/^[a-z0-9]+(-[a-z0-9]+)*$/,vi=(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(),u={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!Os(u)?null:u}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Os(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Os(a,n)?null:a}return null},Os=(e,t)=>e?!!((e.provider===""||e.provider.match(ko))&&(t&&e.prefix===""||e.prefix.match(ko))&&e.name.match(ko)):!1,fh=Object.freeze({left:0,top:0,width:16,height:16}),Gs=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Wl=Object.freeze({...fh,...Gs}),Ba=Object.freeze({...Wl,body:"",hidden:!1});function SE(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 df(e,t){const n=SE(e,t);for(const r in Ba)r in Gs?r in e&&!(r in n)&&(n[r]=Gs[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function PE(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 TE(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=df(r[a]||o[a],s)}return i(t),n.forEach(i),df(e,s)}function dh(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=PE(e);for(const o in r){const s=r[o];s&&(t(o,TE(e,o,s)),n.push(o))}return n}const AE={provider:"",aliases:{},not_found:{},...fh};function Ui(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ph(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ui(e,AE))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(ko)||typeof s.body!="string"||!Ui(s,Ba))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(ko)||typeof i!="string"||!n[i]&&!r[i]||!Ui(s,Ba))return null}return t}const pf=Object.create(null);function OE(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function hr(e,t){const n=pf[e]||(pf[e]=Object.create(null));return n[t]||(n[t]=OE(e,t))}function ql(e,t){return ph(t)?dh(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function $E(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let No=!1;function hh(e){return typeof e=="boolean"&&(No=e),No}function RE(e){const t=typeof e=="string"?vi(e,!0,No):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 IE(e,t){const n=vi(e,!0,No);if(!n)return!1;const r=hr(n.provider,n.prefix);return $E(r,n.name,t)}function LE(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),No&&!t&&!e.prefix){let o=!1;return ph(e)&&(e.prefix="",dh(e,(s,i)=>{i&&IE(s,i)&&(o=!0)})),o}const n=e.prefix;if(!Os({provider:t,prefix:n,name:"a"}))return!1;const r=hr(t,n);return!!ql(r,e)}const jE=Object.freeze({width:null,height:null}),ME=Object.freeze({...jE,...Gs});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Ha=Object.create(null);function DE(e,t){Ha[e]=t}function Ua(e){return Ha[e]||Ha[""]}function Kl(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 Gl=Object.create(null),oo=["https://api.simplesvg.com","https://api.unisvg.com"],$s=[];for(;oo.length>0;)oo.length===1||Math.random()>.5?$s.push(oo.shift()):$s.push(oo.pop());Gl[""]=Kl({resources:["https://api.iconify.design"].concat($s)});function za(e,t){const n=Kl(t);return n===null?!1:(Gl[e]=n,!0)}function Ql(e){return Gl[e]}const NE=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let hf=NE();function FE(e,t){const n=Ql(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 BE(e){return e===404}const HE=(e,t,n)=>{const r=[],o=FE(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,u)=>{a+=l.length+1,a>=o&&u>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function UE(e){if(typeof e=="string"){const t=Ql(e);if(t)return t.path}return"/"}const zE=(e,t,n)=>{if(!hf){n("abort",424);return}let r=UE(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;hf(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(BE(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)})},VE={prepare:HE,send:zE};function WE(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)),u=l[i]||(l[i]=hr(s,i));let c;a in u.icons?c=t.loaded:i===""||u.missing.has(a)?c=t.missing:c=t.pending;const f={provider:s,prefix:i,name:a};c.push(f)}),t}function gh(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function qE(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 u=l.name;if(e.icons[u])i.loaded.push({provider:r,prefix:o,name:u});else if(e.missing.has(u))i.missing.push({provider:r,prefix:o,name:u});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||gh([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let KE=0;function GE(e,t,n){const r=KE++,o=gh.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 QE(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?vi(o,t,n):o;s&&r.push(s)}),r}var XE={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function YE(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 S=Math.floor(Math.random()*E.length);i.push(E[S]),E=E.slice(0,S).concat(E.slice(S+1))}i=i.concat(E)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",u=0,c,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 b(E,S){S&&(p=[]),typeof E=="function"&&p.push(E)}function _(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:d.length,subscribe:b,abort:g}}function y(){l="failed",p.forEach(E=>{E(void 0,c)})}function v(){d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function m(E,S,T){const L=S!=="success";switch(d=d.filter(A=>A!==E),l){case"pending":break;case"failed":if(L||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){c=T,y();return}if(L){c=T,d.length||(i.length?w():y());return}if(h(),v(),!e.random){const A=e.resources.indexOf(E.resource);A!==-1&&A!==e.index&&(e.index=A)}l="completed",p.forEach(A=>{A(T)})}function w(){if(l!=="pending")return;h();const E=i.shift();if(E===void 0){if(d.length){f=setTimeout(()=>{h(),l==="pending"&&(v(),y())},e.timeout);return}y();return}const S={status:"pending",resource:E,callback:(T,L)=>{m(S,T,L)}};d.push(S),u++,f=setTimeout(w,e.rotate),n(E,t,S.callback)}return setTimeout(w),_}function mh(e){const t={...XE,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,l,u){const c=YE(t,a,l,(f,d)=>{r(),u&&u(f,d)});return n.push(c),c}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 gf(){}const zi=Object.create(null);function JE(e){if(!zi[e]){const t=Ql(e);if(!t)return;const n=mh(t),r={config:t,redundancy:n};zi[e]=r}return zi[e]}function ZE(e,t,n){let r,o;if(typeof e=="string"){const s=Ua(e);if(!s)return n(void 0,424),gf;o=s.send;const i=JE(e);i&&(r=i.redundancy)}else{const s=Kl(e);if(s){r=mh(s);const i=e.resources?e.resources[0]:"",a=Ua(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),gf):r.query(t,o,n)().abort}const mf="iconify2",Fo="iconify",vh=Fo+"-count",vf=Fo+"-version",yh=36e5,eC=168;function Va(e,t){try{return e.getItem(t)}catch{}}function Xl(e,t,n){try{return e.setItem(t,n),!0}catch{}}function yf(e,t){try{e.removeItem(t)}catch{}}function Wa(e,t){return Xl(e,vh,t.toString())}function qa(e){return parseInt(Va(e,vh))||0}const yi={local:!0,session:!0},bh={local:new Set,session:new Set};let Yl=!1;function tC(e){Yl=e}let vs=typeof window>"u"?{}:window;function wh(e){const t=e+"Storage";try{if(vs&&vs[t]&&typeof vs[t].length=="number")return vs[t]}catch{}yi[e]=!1}function _h(e,t){const n=wh(e);if(!n)return;const r=Va(n,vf);if(r!==mf){if(r){const a=qa(n);for(let l=0;l{const l=Fo+a.toString(),u=Va(n,l);if(typeof u=="string"){try{const c=JSON.parse(u);if(typeof c=="object"&&typeof c.cached=="number"&&c.cached>o&&typeof c.provider=="string"&&typeof c.data=="object"&&typeof c.data.prefix=="string"&&t(c,a))return!0}catch{}yf(n,l)}};let i=qa(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,Wa(n,i)):bh[e].add(a))}function xh(){if(!Yl){tC(!0);for(const e in yi)_h(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=hr(r,o);if(!ql(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function nC(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in yi)_h(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function rC(e,t){Yl||xh();function n(r){let o;if(!yi[r]||!(o=wh(r)))return;const s=bh[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=qa(o),!Wa(o,i+1))return;const a={cached:Math.floor(Date.now()/yh),provider:e.provider,data:t};return Xl(o,Fo+i.toString(),JSON.stringify(a))}t.lastModified&&!nC(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function bf(){}function oC(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qE(e)}))}function sC(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=Ua(n)))return;s.prepare(n,r,o).forEach(a=>{ZE(n,a,l=>{if(typeof l!="object")a.icons.forEach(u=>{e.missing.add(u)});else try{const u=ql(e,l);if(!u.length)return;const c=e.pendingIcons;c&&u.forEach(f=>{c.delete(f)}),rC(e,l)}catch(u){console.error(u)}oC(e)})})}))}const iC=(e,t)=>{const n=QE(e,!0,hh()),r=WE(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,bf)}),()=>{l=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(l=>{const{provider:u,prefix:c}=l;if(c===a&&u===i)return;i=u,a=c,s.push(hr(u,c));const f=o[u]||(o[u]=Object.create(null));f[c]||(f[c]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:c,name:f}=l,d=hr(u,c),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(f)||(p.add(f),o[u][c].push(f))}),s.forEach(l=>{const{provider:u,prefix:c}=l;o[u][c].length&&sC(l,o[u][c])}),t?GE(t,r,s):bf},aC=e=>new Promise((t,n)=>{const r=typeof e=="string"?vi(e,!0):e;if(!r){n(e);return}iC([r||e],o=>{if(o.length&&r){const s=RE(r);if(s){t({...Wl,...s});return}}n(e)})});({...ME});const wf={backgroundColor:"currentColor"},lC={backgroundColor:"transparent"},_f={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},xf={webkitMask:wf,mask:wf,background:lC};for(const e in xf){const t=xf[e];for(const n in _f)t[e+n]=_f[n]}const Vi={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Vi[e+"-flip"]=t,Vi[e.slice(0,1)+"-flip"]=t,Vi[e+"Flip"]=t});hh(!0);DE("",VE);if(typeof document<"u"&&typeof window<"u"){xh();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"||!LE(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;za(n,o)||console.error(r)}catch{console.error(r)}}}}({...Wl});const cC=["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 uC(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 cC)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 fC=re({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){let t,n;const r=Ae(),o=lt(),s=e;Me(()=>{var b;return(b=o.nuxtIcon)==null?void 0:b.iconifyApiOptions},()=>{var b,_,y,v,m,w;if((_=(b=o.nuxtIcon)==null?void 0:b.iconifyApiOptions)!=null&&_.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((v=(y=o.nuxtIcon)==null?void 0:y.iconifyApiOptions)!=null&&v.publicApiFallback){za("custom",{resources:[(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions.url],index:0});return}za("",{resources:[(w=o.nuxtIcon)==null?void 0:w.iconifyApiOptions.url]})}},{immediate:!0});const i=yr("icons",()=>({})),a=F(!1),l=R(()=>{var b,_;return(_=(b=o.nuxtIcon)==null?void 0:b.aliases)!=null&&_[s.name]?o.nuxtIcon.aliases[s.name]:s.name}),u=R(()=>uC(l.value)),c=R(()=>[u.value.provider,u.value.prefix,u.value.name].filter(Boolean).join(":")),f=R(()=>{var b;return(b=i.value)==null?void 0:b[c.value]}),d=R(()=>r.vueApp.component(l.value)),p=R(()=>{var _,y,v;if(!s.size&&typeof((_=o.nuxtIcon)==null?void 0:_.size)=="boolean"&&!((y=o.nuxtIcon)!=null&&y.size))return;const b=s.size||((v=o.nuxtIcon)==null?void 0:v.size)||"1em";return String(Number(b))===b?`${b}px`:b}),h=R(()=>{var b;return((b=o==null?void 0:o.nuxtIcon)==null?void 0:b.class)??"icon"});async function g(){var b;d.value||(b=i.value)!=null&&b[c.value]||(a.value=!0,i.value[c.value]=await aC(u.value).catch(()=>{}),a.value=!1)}return Me(l,g),!d.value&&([t,n]=bl(()=>g()),t=await t,n()),(b,_)=>a.value?(j(),ne("span",{key:0,class:W(h.value),style:Nn({width:p.value,height:p.value})},null,6)):f.value?(j(),ae(C(CE),{key:1,icon:f.value,class:W(h.value),width:p.value,height:p.value},null,8,["icon","class","width","height"])):d.value?(j(),ae(Ar(d.value),{key:2,class:W(h.value),width:p.value,height:p.value},null,8,["class","width","height"])):(j(),ne("span",{key:3,class:W(h.value),style:Nn({fontSize:p.value,lineHeight:p.value,width:p.value,height:p.value})},[ye(b.$slots,"default",{},()=>[tt(He(e.name),1)],!0)],6))}}),Nt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},kh=Nt(fC,[["__scopeId","data-v-79c500aa"]]),dC=Object.freeze(Object.defineProperty({__proto__:null,default:kh},Symbol.toStringTag,{value:"Module"})),pC=re({props:{name:{type:String,required:!0},dynamic:{type:Boolean,default:!1}},setup(e){const t=lt();return{dynamic:R(()=>{var r,o;return e.dynamic||((o=(r=t.ui)==null?void 0:r.icons)==null?void 0:o.dynamic)})}}});function hC(e,t,n,r,o,s){const i=kh;return e.dynamic?(j(),ae(i,{key:0,name:e.name},null,8,["name"])):(j(),ne("span",{key:1,class:W(e.name)},null,2))}const bt=Nt(pC,[["render",hC]]);async function Eh(e,t=Tt()){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(()=>Eh(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 gC=(...e)=>e.find(t=>t!==void 0);function mC(e){const t=e.componentName||"NuxtLink";function n(r,o){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return kf(r,e.trailingSlash);const s="path"in r&&r.path!==void 0?r.path:o(r).path,i={...r,path:kf(s,e.trailingSlash)};return"name"in i&&delete i.name,i}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=Tt(),i=Dt(),a=R(()=>{const h=r.to||r.href||"";return n(h,s.resolve)}),l=R(()=>typeof a.value=="string"&&Kr(a.value,{acceptRelative:!0})),u=R(()=>r.target&&r.target!=="_self"),c=R(()=>r.external||u.value?!0:typeof a.value=="object"?!1:a.value===""||l.value),f=F(!1),d=F(null),p=h=>{var g;d.value=r.custom?(g=h==null?void 0:h.$el)==null?void 0:g.nextElementSibling:h==null?void 0:h.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!yC()){const g=Ae();let b,_=null;Ie(()=>{const y=vC();Hl(()=>{b=La(()=>{var v;(v=d==null?void 0:d.value)!=null&&v.tagName&&(_=y.observe(d.value,async()=>{_==null||_(),_=null;const m=typeof a.value=="string"?a.value:s.resolve(a.value).fullPath;await Promise.all([g.hooks.callHook("link:prefetch",m).catch(()=>{}),!c.value&&Eh(a.value,s).catch(()=>{})]),f.value=!0}))})})}),qo(()=>{b&&K_(b),_==null||_(),_=null})}return()=>{var _,y;if(!c.value){const v={ref:p,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||(f.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel||void 0),we(ar("RouterLink"),v,o.default)}const h=typeof a.value=="object"?((_=s.resolve(a.value))==null?void 0:_.href)??null:a.value&&!r.external&&!l.value?n(Rl(i.app.baseURL,a.value),s.resolve):a.value||null,g=r.target||null,b=gC(r.noRel?"":r.rel,e.externalRelAttribute,l.value||u.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const v=()=>hb(h,{replace:r.replace,external:r.external});return o.default({href:h,navigate:v,get route(){if(!h)return;const m=Ko(h);return{path:m.pathname,fullPath:m.pathname,get query(){return cp(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:b,target:g,isExternal:c.value,isActive:!1,isExactActive:!1})}return we("a",{ref:d,href:h,rel:b,target:g},(y=o.default)==null?void 0:y.call(o))}}})}const Ch=mC(vw);function kf(e,t){const n=t==="append"?Vs:$l;return Kr(e)&&!e.startsWith("http")?e:n(e,!0)}function vC(){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 u=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}})),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 yC(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const bC=re({inheritAttrs:!1,props:{...mi,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&&!pp(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}}}),wC=["href","aria-disabled","role","rel","target","onClick"];function _C(e,t,n,r,o,s){const i=Ch;return e.to?(j(),ae(i,ue({key:1},e.$props,{custom:""}),{default:le(({route:a,href:l,target:u,rel:c,navigate:f,isActive:d,isExactActive:p,isExternal:h})=>[ke("a",ue(e.$attrs,{href:e.disabled?void 0:l,"aria-disabled":e.disabled?"true":void 0,role:e.disabled?"link":void 0,rel:c,target:u,class:e.active!==void 0?e.active?e.activeClass:e.inactiveClass:e.resolveLinkClass(a,e._.provides[Gr]||e.$route,{isActive:d,isExactActive:p}),onClick:g=>!h&&!e.disabled&&f(g)}),[ye(e.$slots,"default",Tr(Ir({isActive:e.active!==void 0?e.active:e.exact?p:d})))],16,wC)]),_:3},16)):(j(),ae(Ar(e.as),ue({key:0,type:e.type,disabled:e.disabled},e.$attrs,{class:e.active?e.activeClass:e.inactiveClass}),{default:le(()=>[ye(e.$slots,"default",Tr(Ir({isActive:e.active})))]),_:3},16,["type","disabled","class"]))}const Wn=Nt(bC,[["render",_C]]),Ke=(e,t,n,r,o=!1)=>{const s=Qm(),i=lt(),a=R(()=>{var d;const u=Zt(t),c=Zt(n),f=Zt(r);return Gt((u==null?void 0:u.strategy)||((d=i.ui)==null?void 0:d.strategy),f?{wrapper:f}:{},u||{},o?hk(i.ui,e,{}):{},c||{})}),l=R(()=>sh(s,["class"]));return{ui:a,attrs:l}};function Sh({ui:e,props:t}){const n=Mt();let r=n.parent,o;for(;r&&!o;){if(r.type.name==="ButtonGroup"){o=Ce(`group-${r.uid}`);break}r=r.parent}const s=R(()=>o==null?void 0:o.value.children.indexOf(n));return Ie(()=>{o==null||o.value.register(n)}),Ye(()=>{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 xC={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"}},kC={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"}},Ph={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"}},Xo={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"};({...Xo});const EC={wrapper:"w-full flex flex-col",container:"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"}},CC={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"}},Ef={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-1.5 py-1.5",size:"text-sm",color:"text-gray-900 dark:text-white",container:"flex items-center gap-1.5 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-5 w-5",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-5 w-5 text-gray-900 dark:text-white flex-shrink-0"},avatar:{base:"flex-shrink-0",size:"2xs"},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:{...Xo,ring:"before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",background:"before:bg-white dark:before:bg-gray-700"}};({...Ef,option:{...Ef.option},arrow:{...Xo}});const SC={base:"mx-auto",padding:"px-4 sm:px-6 lg:px-8",constrained:"max-w-7xl"};({...Xo});const PC={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"},default:{openDelay:0,closeDelay:0},arrow:Xo},TC={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"}}},AC={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=Gt(ze.ui.strategy,ze.ui.button,Ph),OC=re({components:{UIcon:bt,ULink:Wn},inheritAttrs:!1,props:{...mi,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[...ze.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}=Ke("button",xe(e,"ui"),fn),{size:o,rounded:s}=Sh({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),u=R(()=>{var b,_;const g=((_=(b=n.value.color)==null?void 0:b[e.color])==null?void 0:_[e.variant])||n.value.variant[e.variant];return jt(at(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)}),c=R(()=>e.loading?e.loadingIcon:e.leadingIcon||e.icon),f=R(()=>e.loading&&!i.value?e.loadingIcon:e.trailingIcon||e.icon),d=R(()=>at(n.value.icon.base,n.value.icon.size[o.value],e.loading&&n.value.icon.loading)),p=R(()=>at(n.value.icon.base,n.value.icon.size[o.value],e.loading&&!i.value&&n.value.icon.loading)),h=R(()=>mk(e));return{ui:n,attrs:r,isLeading:i,isTrailing:a,isSquare:l,buttonClass:u,leadingIconName:c,trailingIconName:f,leadingIconClass:d,trailingIconClass:p,linkProps:h}}});function $C(e,t,n,r,o,s){const i=bt,a=Wn;return j(),ae(a,ue({type:e.type,disabled:e.disabled||e.loading,class:e.buttonClass},{...e.linkProps,...e.attrs}),{default:le(()=>[ye(e.$slots,"leading",{disabled:e.disabled,loading:e.loading},()=>[e.isLeading&&e.leadingIconName?(j(),ae(i,{key:0,name:e.leadingIconName,class:W(e.leadingIconClass),"aria-hidden":"true"},null,8,["name","class"])):me("",!0)]),ye(e.$slots,"default",{},()=>[e.label?(j(),ne("span",{key:0,class:W([e.truncate?e.ui.truncate:""])},He(e.label),3)):me("",!0)]),ye(e.$slots,"trailing",{disabled:e.disabled,loading:e.loading},()=>[e.isTrailing&&e.trailingIconName?(j(),ae(i,{key:0,name:e.trailingIconName,class:W(e.trailingIconClass),"aria-hidden":"true"},null,8,["name","class"])):me("",!0)])]),_:3},16,["type","disabled","class"])}const Qt=Nt(OC,[["render",$C]]),RC=ot(e=>{e.vueApp.component("UButton",Qt)}),IC=[Sw,Tw,U_,q_,G_,Q_,cx,ux,gx,yx,jx,Xk,Zk,tE,nE,rE,oE,RC],LC=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)=>(j(),ne(Ee,null,[(j(),ae(Ar(e.as),ue({src:e.light,class:"dark:hidden"},t.$attrs),null,16,["src"])),(j(),ae(Ar(e.as),ue({src:e.dark,class:"hidden dark:block"},t.$attrs),null,16,["src"]))],64))}}),Pn=Gt(ze.ui.strategy,ze.ui.badge,kC),jC=re({inheritAttrs:!1,props:{size:{type:String,default:()=>Pn.default.size,validator(e){return Object.keys(Pn.size).includes(e)}},color:{type:String,default:()=>Pn.default.color,validator(e){return[...ze.ui.colors,...Object.keys(Pn.color)].includes(e)}},variant:{type:String,default:()=>Pn.default.variant,validator(e){return[...Object.keys(Pn.variant),...Object.values(Pn.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}=Ke("badge",xe(e,"ui"),Pn),{size:r,rounded:o}=Sh({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 jt(at(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 MC(e,t,n,r,o,s){return j(),ne("span",ue({class:e.badgeClass},e.attrs),[ye(e.$slots,"default",{},()=>[tt(He(e.label),1)])],16)}const Th=Nt(jC,[["render",MC]]),Wi=Gt(ze.ui.strategy,ze.ui.kbd,CC),DC=re({inheritAttrs:!1,props:{value:{type:String,default:null},size:{type:String,default:()=>Wi.default.size,validator(e){return Object.keys(Wi.size).includes(e)}},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=Ke("kbd",xe(e,"ui"),Wi),r=R(()=>jt(at(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 NC(e,t,n,r,o,s){return j(),ne("kbd",ue({class:e.kbdClass},e.attrs),[ye(e.$slots,"default",{},()=>[tt(He(e.value),1)])],16)}const FC=Nt(DC,[["render",NC]]),BC=()=>{const e=mn(),t=F(!1),n=F(!1),r=F(!1),o=F(!1);function s(){if(t.value){t.value=!1,setTimeout(()=>{n.value=!n.value},0);return}n.value=!n.value}function i(){if(r.value){r.value=!1,setTimeout(()=>{o.value=!o.value},200);return}o.value=!o.value}return Me(()=>e.path,()=>{r.value=!1}),{isHeaderDialogOpen:t,isContentSearchModalOpen:n,isDashboardSidebarSlidoverOpen:r,isDashboardSearchModalOpen:o,toggleContentSearch:s,toggleDashboardSearch:i}},Ah=Yp(BC),HC=()=>{const e=R(()=>navigator&&navigator.userAgent&&navigator.userAgent.match(/Macintosh;/)),t=F(" "),n=Ax(),r=R(()=>{var a,l,u;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"?((u=n.value)==null?void 0:u.name)||!0:!1});return Ie(()=>{t.value=e.value?"⌘":"Ctrl"}),{macOS:e,metaSymbol:t,activeElement:n,usingInput:r}},UC=Yp(HC),zC={class:"hidden lg:flex items-center gap-0.5 ml-auto -my-1 flex-shrink-0"},VC=re({__name:"ContentSearchButton",props:{label:{type:String,default:"Search..."}},setup(e){const t=lt(),{toggleContentSearch:n}=Ah(),{metaSymbol:r}=UC();return(o,s)=>{var l,u,c,f;const i=FC,a=Qt;return j(),ae(a,ue({icon:C(t).ui.icons.search,label:e.label,truncate:""},e.label?(u=(l=o.$ui)==null?void 0:l.button)==null?void 0:u.input:(f=(c=o.$ui)==null?void 0:c.button)==null?void 0:f.secondary,{"aria-label":"Search",class:[!!e.label&&"flex-1"],onClick:C(n)}),li({_:2},[e.label?{name:"trailing",fn:le(()=>[ke("div",zC,[K(i,null,{default:le(()=>[tt(He(C(r)),1)]),_:1}),K(i,null,{default:le(()=>[tt(" K ")]),_:1})])]),key:"0"}:void 0]),1040,["icon","label","class","onClick"])}}}),WC=(e,t)=>(console.warn("[@nuxt/ui-pro] `DocsSearchButton` is deprecated, use `ContentSearchButton` instead."),we(VC,t.attrs,t.slots)),Oh=Symbol.for("nuxt:client-only"),Jl=re({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=F(!1);return Ie(()=>{r.value=!0}),Ue(Oh,!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)}}}),qC=()=>yr("color-mode").value,KC=ke("div",{class:"w-8 h-8"},null,-1),$h=re({inheritAttrs:!1,__name:"ColorModeButton",setup(e){const t=qC(),n=lt(),r=R({get(){return t.value==="dark"},set(){t.preference=t.value==="dark"?"light":"dark"}});return(o,s)=>{var l;const i=Qt,a=Jl;return(l=C(t))!=null&&l.forced?me("",!0):(j(),ae(a,{key:0},{fallback:le(()=>[KC]),default:le(()=>{var u,c;return[K(i,ue({icon:C(r)?C(n).ui.icons.dark:C(n).ui.icons.light},{...(c=(u=o.$ui)==null?void 0:u.button)==null?void 0:c.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}))}}}),GC="data-n-ids";function Zl(e){var o,s,i,a,l,u;if(typeof e!="string")throw new TypeError("[nuxt] [useId] key must be a string.");e=e.slice(1);const t=Ae(),n=Mt();if(!n)throw new TypeError("[nuxt] `useId` must be called within a component setup function.");t._id||(t._id=0),n._nuxtIdIndex||(n._nuxtIdIndex={}),(o=n._nuxtIdIndex)[e]||(o[e]=0);const r=e+":"+n._nuxtIdIndex[e]++;if(t.payload.serverRendered&&t.isHydrating&&!Ce(Oh,!1)){const c=((s=n.vnode.el)==null?void 0:s.nodeType)===8&&((a=(i=n.vnode.el)==null?void 0:i.nextElementSibling)!=null&&a.getAttribute)?(l=n.vnode.el)==null?void 0:l.nextElementSibling:n.vnode.el,f=JSON.parse(((u=c==null?void 0:c.getAttribute)==null?void 0:u.call(c,GC))||"{}");if(f[r])return f[r]}return e+"_"+t._id++}let Rh=Symbol("headlessui.useid"),QC=0;function nn(){return Ce(Rh,()=>`${++QC}`)()}function ec(e){Ue(Rh,e)}function J(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function rt(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,rt),r}var XC=Object.defineProperty,YC=(e,t,n)=>t in e?XC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cf=(e,t,n)=>(YC(e,typeof t!="symbol"?t+"":t,n),n);let JC=class{constructor(){Cf(this,"current",this.detect()),Cf(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"}},Yo=new JC;function bn(e){if(Yo.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=J(e);if(t)return t.ownerDocument}return document}let Ka=["[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 ut=(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))(ut||{}),Bo=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Bo||{}),ZC=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(ZC||{});function bi(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Ka)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var tc=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(tc||{});function Ih(e,t=0){var n;return e===((n=bn(e))==null?void 0:n.body)?!1:rt(t,{0(){return e.matches(Ka)},1(){let r=e;for(;r!==null;){if(r.matches(Ka))return!0;r=r.parentElement}return!1}})}var eS=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(eS||{});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 tS=["textarea","input"].join(",");function nS(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,tS))!=null?n:!1}function rS(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 zt(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?rS(e):e:bi(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")})(),u=(()=>{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")})(),c=t&32?{preventScroll:!0}:{},f=0,d=a.length,p;do{if(f>=d||f+d<=0)return 0;let h=u+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(c),f+=l}while(p!==i.activeElement);return t&6&&nS(p)&&p.select(),2}function Lh(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function oS(){return/Android/gi.test(window.navigator.userAgent)}function sS(){return Lh()||oS()}function ys(e,t,n){Yo.isServer||Xe(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function jh(e,t,n){Yo.isServer||Xe(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function Mh(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 u(c){return typeof c=="function"?u(c()):Array.isArray(c)||c instanceof Set?c:[c]}(e);for(let u of l){if(u===null)continue;let c=u instanceof HTMLElement?u:J(u);if(c!=null&&c.contains(a)||s.composed&&s.composedPath().includes(c))return}return!Ih(a,tc.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=>{sS()||o.value&&(r(s,()=>o.value),o.value=null)},!0),ys("touchend",s=>r(s,()=>s.target instanceof HTMLElement?s.target:null),!0),jh("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Sf(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Dh(e,t){let n=F(Sf(e.value.type,e.value.as));return Ie(()=>{n.value=Sf(e.value.type,e.value.as)}),Xe(()=>{var r;n.value||J(t)&&J(t)instanceof HTMLButtonElement&&!((r=J(t))!=null&&r.hasAttribute("type"))&&(n.value="button")}),n}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 ht({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...o}){var s;let i=Fh(r,n),a=Object.assign(o,{props:i});if(e||t&2&&i.static)return qi(a);if(t&1){let l=(s=i.unmount)==null||s?0:1;return rt(l,{0(){return null},1(){return qi({...o,props:{...i,hidden:!0,style:{display:"none"}}})}})}return qi(a)}function qi({props:e,attrs:t,slots:n,slot:r,name:o}){var s,i;let{as:a,...l}=Bh(e,["unmount","static"]),u=(s=n.default)==null?void 0:s.call(n,r),c={};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&&(c["data-headlessui-state"]=d.join(" "))}if(a==="template"){if(u=Nh(u??[]),Object.keys(l).length>0||Object.keys(t).length>0){let[f,...d]=u??[];if(!iS(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,b,_)=>_.indexOf(g)===b).sort((g,b)=>g.localeCompare(b)).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=Fh((i=f.props)!=null?i:{},l,c),h=sn(f,p,!0);for(let g in p)g.startsWith("on")&&(h.props||(h.props={}),h.props[g]=p[g]);return h}return Array.isArray(u)&&u.length===1?u[0]:u}return we(a,Object.assign({},l,c),{default:()=>u})}function Nh(e){return e.flatMap(t=>t.type===Ee?Nh(t.children):[t])}function Fh(...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 vA(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Bh(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function iS(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var gr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(gr||{});let Nr=re({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{var r;let{features:o,...s}=e,i={"aria-hidden":(o&2)===2?!0:(r=s["aria-hidden"])!=null?r: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",...(o&4)===4&&(o&2)!==2&&{display:"none"}}};return ht({ourProps:i,theirProps:s,slot:{},attrs:n,slots:t,name:"Hidden"})}}}),Hh=Symbol("Context");var qe=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(qe||{});function aS(){return Jo()!==null}function Jo(){return Ce(Hh,null)}function nc(e){Ue(Hh,e)}var mt=(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))(mt||{});function lS(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let nr=[];lS(()=>{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 rc(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 rc(()=>{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}function oc(e,t,n,r){Yo.isServer||Xe(o=>{e=e??window,e.addEventListener(t,n,r),o(()=>e.removeEventListener(t,n,r))})}var Et=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Et||{});function sc(){let e=F(0);return jh("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function Uh(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=J(n);r instanceof HTMLElement&&t.add(r)}return t}var zh=(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))(zh||{});let so=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(()=>bn(o)),i=F(!1);Ie(()=>i.value=!0),Ye(()=>i.value=!1),uS({ownerDocument:s},R(()=>i.value&&!!(e.features&16)));let a=fS({ownerDocument:s,container:o,initialFocus:R(()=>e.initialFocus)},R(()=>i.value&&!!(e.features&2)));dS({ownerDocument:s,container:o,containers:e.containers,previousActiveElement:a},R(()=>i.value&&!!(e.features&8)));let l=sc();function u(p){let h=J(o);h&&(g=>g())(()=>{rt(l.value,{[Et.Forwards]:()=>{zt(h,ut.First,{skipElements:[p.relatedTarget]})},[Et.Backwards]:()=>{zt(h,ut.Last,{skipElements:[p.relatedTarget]})}})})}let c=F(!1);function f(p){p.key==="Tab"&&(c.value=!0,requestAnimationFrame(()=>{c.value=!1}))}function d(p){if(!i.value)return;let h=Uh(e.containers);J(o)instanceof HTMLElement&&h.add(J(o));let g=p.relatedTarget;g instanceof HTMLElement&&g.dataset.headlessuiFocusGuard!=="true"&&(Vh(h,g)||(c.value?zt(J(o),rt(l.value,{[Et.Forwards]:()=>ut.Next,[Et.Backwards]:()=>ut.Previous})|ut.WrapAround,{relativeTo:p.target}):p.target instanceof HTMLElement&&cr(p.target)))}return()=>{let p={},h={ref:o,onKeydown:f,onFocusout:d},{features:g,initialFocus:b,containers:_,...y}=e;return we(Ee,[!!(g&4)&&we(Nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:u,features:gr.Focusable}),ht({ourProps:h,theirProps:{...t,...y},slot:p,attrs:t,slots:n,name:"FocusTrap"}),!!(g&4)&&we(Nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:u,features:gr.Focusable})])}}}),{features:zh});function cS(e){let t=F(nr.slice());return Me([e],([n],[r])=>{r===!0&&n===!1?rc(()=>{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 uS({ownerDocument:e},t){let n=cS(t);Ie(()=>{Xe(()=>{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"})}),Ye(()=>{t.value&&cr(n())})}function fS({ownerDocument:e,container:t,initialFocus:n},r){let o=F(null),s=F(!1);return Ie(()=>s.value=!0),Ye(()=>s.value=!1),Ie(()=>{Me([t,n,r],(i,a)=>{if(i.every((u,c)=>(a==null?void 0:a[c])===u)||!r.value)return;let l=J(t);l&&rc(()=>{var u,c;if(!s.value)return;let f=J(n),d=(u=e.value)==null?void 0:u.activeElement;if(f){if(f===d){o.value=d;return}}else if(l.contains(d)){o.value=d;return}f?cr(f):zt(l,ut.First|ut.NoScroll)===Bo.Error&&console.warn("There are no focusable elements inside the "),o.value=(c=e.value)==null?void 0:c.activeElement})},{immediate:!0,flush:"post"})}),o}function dS({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){var s;oc((s=e.value)==null?void 0:s.defaultView,"focus",i=>{if(!o.value)return;let a=Uh(n);J(t)instanceof HTMLElement&&a.add(J(t));let l=r.value;if(!l)return;let u=i.target;u&&u instanceof HTMLElement?Vh(a,u)?(r.value=u,cr(u)):(i.preventDefault(),i.stopPropagation(),cr(l)):cr(r.value)},!0)}function Vh(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function pS(e){let t=Bn(e.getSnapshot());return Ye(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function hS(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 gS(){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 mS(){return Lh()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(s=>s()).some(s=>s.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let a=Zo();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let s=(o=window.scrollY)!=null?o:window.pageYOffset,i=null;t.addEventListener(e,"click",a=>{if(a.target instanceof HTMLElement)try{let l=a.target.closest("a");if(!l)return;let{hash:u}=new URL(l.href),c=e.querySelector(u);c&&!r(c)&&(i=c)}catch{}},!0),t.addEventListener(e,"touchstart",a=>{if(a.target instanceof HTMLElement)if(r(a.target)){let l=a.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(a.target,"touchAction","none")}),t.addEventListener(e,"touchmove",a=>{if(a.target instanceof HTMLElement)if(r(a.target)){let l=a.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&a.preventDefault()}else a.preventDefault()},{passive:!1}),t.add(()=>{var a;let l=(a=window.scrollY)!=null?a:window.pageYOffset;s!==l&&window.scrollTo(0,s),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{}}function vS(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function yS(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let sr=hS(()=>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:yS(n)},o=[mS(),gS(),vS()];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 bS(e,t,n){let r=pS(sr),o=R(()=>{let s=e.value?r.value.get(e.value):void 0;return s?s.count>0:!1});return Me([e,t],([s,i],[a],l)=>{if(!s||!i)return;sr.dispatch("PUSH",s,n);let u=!1;l(()=>{u||(sr.dispatch("POP",a??s,n),u=!0)})},{immediate:!0}),o}let Ki=new Map,io=new Map;function Pf(e,t=F(!0)){Xe(n=>{var r;if(!t.value)return;let o=J(e);if(!o)return;n(function(){var i;if(!o)return;let a=(i=io.get(o))!=null?i:1;if(a===1?io.delete(o):io.set(o,a-1),a!==1)return;let l=Ki.get(o);l&&(l["aria-hidden"]===null?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",l["aria-hidden"]),o.inert=l.inert,Ki.delete(o))});let s=(r=io.get(o))!=null?r:0;io.set(o,s+1),s===0&&(Ki.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),inert:o.inert}),o.setAttribute("aria-hidden","true"),o.inert=!0)})}function Wh({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=F(null),o=bn(r);function s(){var i,a,l;let u=[];for(let c of e)c!==null&&(c instanceof HTMLElement?u.push(c):"value"in c&&c.value instanceof HTMLElement&&u.push(c.value));if(t!=null&&t.value)for(let c of t.value)u.push(c);for(let c of(i=o==null?void 0:o.querySelectorAll("html > *, body > *"))!=null?i:[])c!==document.body&&c!==document.head&&c instanceof HTMLElement&&c.id!=="headlessui-portal-root"&&(c.contains(J(r))||c.contains((l=(a=J(r))==null?void 0:a.getRootNode())==null?void 0:l.host)||u.some(f=>c.contains(f))||u.push(c));return u}return{resolveContainers:s,contains(i){return s().some(a=>a.contains(i))},mainTreeNodeRef:r,MainTreeNode(){return n!=null?null:we(Nr,{features:gr.Hidden,ref:r})}}}let qh=Symbol("ForcePortalRootContext");function wS(){return Ce(qh,!1)}let Tf=re({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return Ue(qh,e.force),()=>{let{force:r,...o}=e;return ht({theirProps:o,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}}),Kh=Symbol("StackContext");var Ga=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Ga||{});function _S(){return Ce(Kh,()=>{})}function xS({type:e,enabled:t,element:n,onUpdate:r}){let o=_S();function s(...i){r==null||r(...i),o(...i)}Ie(()=>{Me(t,(i,a)=>{i?s(0,e,n):a===!0&&s(1,e,n)},{immediate:!0,flush:"sync"})}),Ye(()=>{t.value&&s(1,e,n)}),Ue(Kh,s)}let kS=Symbol("DescriptionContext");function ES({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 Ue(kS,{register:o,slot:e,name:t,props:n}),R(()=>r.value.length>0?r.value.join(" "):void 0)}function CS(e){let t=bn(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 SS=re({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=F(null),o=R(()=>bn(r)),s=wS(),i=Ce(Qh,null),a=F(s===!0||i==null?CS(r.value):i.resolveTarget()),l=F(!1);Ie(()=>{l.value=!0}),Xe(()=>{s||i!=null&&(a.value=i.resolveTarget())});let u=Ce(Qa,null),c=!1,f=Mt();return Me(r,()=>{if(c||!u)return;let d=J(r);d&&(Ye(u.register(d),f),c=!0)}),Ye(()=>{var d,p;let h=(d=o.value)==null?void 0:d.getElementById("headlessui-portal-root");h&&a.value===h&&a.value.children.length<=0&&((p=a.value.parentElement)==null||p.removeChild(a.value))}),()=>{if(!l.value||a.value===null)return null;let d={ref:r,"data-headlessui-portal":""};return we(Bd,{to:a.value},ht({ourProps:d,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),Qa=Symbol("PortalParentContext");function Gh(){let e=Ce(Qa,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 Ue(Qa,o),()=>{var a;return(a=i.default)==null?void 0:a.call(i)}}})]}let Qh=Symbol("PortalGroupContext"),PS=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 Ue(Qh,r),()=>{let{target:o,...s}=e;return ht({theirProps:s,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var TS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(TS||{});let Xa=Symbol("DialogContext");function Xh(e){let t=Ce(Xa,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Xh),n}return t}let bs="DC8F892D-2EBD-447C-A4C8-A03058436FF4",AS=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:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){var s,i;let a=(s=e.id)!=null?s:`headlessui-dialog-${nn()}`,l=F(!1);Ie(()=>{l.value=!0});let u=!1,c=R(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(u||(u=!0,console.warn(`Invalid role [${c}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),f=F(0),d=Jo(),p=R(()=>e.open===bs&&d!==null?(d.value&qe.Open)===qe.Open:e.open),h=F(null),g=R(()=>bn(h));if(o({el:h,$el:h}),!(e.open!==bs||d!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof p.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${p.value===bs?void 0:e.open}`);let b=R(()=>l.value&&p.value?0:1),_=R(()=>b.value===0),y=R(()=>f.value>1),v=Ce(Xa,null)!==null,[m,w]=Gh(),{resolveContainers:E,mainTreeNodeRef:S,MainTreeNode:T}=Wh({portals:m,defaultContainers:[R(()=>{var he;return(he=ee.panelRef.value)!=null?he:h.value})]}),L=R(()=>y.value?"parent":"leaf"),A=R(()=>d!==null?(d.value&qe.Closing)===qe.Closing:!1),V=R(()=>v||A.value?!1:_.value),$=R(()=>{var he,de,Ve;return(Ve=Array.from((de=(he=g.value)==null?void 0:he.querySelectorAll("body > *"))!=null?de:[]).find(De=>De.id==="headlessui-portal-root"?!1:De.contains(J(S))&&De instanceof HTMLElement))!=null?Ve:null});Pf($,V);let U=R(()=>y.value?!0:_.value),ve=R(()=>{var he,de,Ve;return(Ve=Array.from((de=(he=g.value)==null?void 0:he.querySelectorAll("[data-headlessui-portal]"))!=null?de:[]).find(De=>De.contains(J(S))&&De instanceof HTMLElement))!=null?Ve:null});Pf(ve,U),xS({type:"Dialog",enabled:R(()=>b.value===0),element:h,onUpdate:(he,de)=>{if(de==="Dialog")return rt(he,{[Ga.Add]:()=>f.value+=1,[Ga.Remove]:()=>f.value-=1})}});let fe=ES({name:"DialogDescription",slot:R(()=>({open:p.value}))}),B=F(null),ee={titleId:B,panelRef:F(null),dialogState:b,setTitleId(he){B.value!==he&&(B.value=he)},close(){t("close",!1)}};Ue(Xa,ee);let Y=R(()=>!(!_.value||y.value));Mh(E,(he,de)=>{ee.close(),Vn(()=>de==null?void 0:de.focus())},Y);let Le=R(()=>!(y.value||b.value!==0));oc((i=g.value)==null?void 0:i.defaultView,"keydown",he=>{Le.value&&(he.defaultPrevented||he.key===mt.Escape&&(he.preventDefault(),he.stopPropagation(),ee.close()))});let Je=R(()=>!(A.value||b.value!==0||v));return bS(g,Je,he=>{var de;return{containers:[...(de=he.containers)!=null?de:[],E]}}),Xe(he=>{if(b.value!==0)return;let de=J(h);if(!de)return;let Ve=new ResizeObserver(De=>{for(let st of De){let je=st.target.getBoundingClientRect();je.x===0&&je.y===0&&je.width===0&&je.height===0&&ee.close()}});Ve.observe(de),he(()=>Ve.disconnect())}),()=>{let{open:he,initialFocus:de,...Ve}=e,De={...n,ref:h,id:a,role:c.value,"aria-modal":b.value===0?!0:void 0,"aria-labelledby":B.value,"aria-describedby":fe.value},st={open:b.value===0};return we(Tf,{force:!0},()=>[we(SS,()=>we(PS,{target:h.value},()=>we(Tf,{force:!1},()=>we(so,{initialFocus:de,containers:E,features:_.value?rt(L.value,{parent:so.features.RestoreFocus,leaf:so.features.All&~so.features.FocusLock}):so.features.None},()=>we(w,{},()=>ht({ourProps:De,theirProps:{...Ve,...n},slot:st,attrs:n,slots:r,visible:b.value===0,features:zn.RenderStrategy|zn.Static,name:"Dialog"})))))),we(T)])}}}),OS=re({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var o;let s=(o=e.id)!=null?o:`headlessui-dialog-panel-${nn()}`,i=Xh("DialogPanel");r({el:i.panelRef,$el:i.panelRef});function a(l){l.stopPropagation()}return()=>{let{...l}=e,u={id:s,ref:i.panelRef,onClick:a};return ht({ourProps:u,theirProps:l,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});var $S=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))($S||{});let Yh=Symbol("DisclosureContext");function ic(e){let t=Ce(Yh,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ic),n}return t}let Jh=Symbol("DisclosurePanelContext");function RS(){return Ce(Jh,null)}let IS=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-${nn()}`),panelId:F(`headlessui-disclosure-panel-${nn()}`),disclosureState:r,panel:o,button:s,toggleDisclosure(){r.value=rt(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?J(a):J(i.button):J(i.button);l==null||l.focus()}};return Ue(Yh,i),nc(R(()=>rt(r.value,{0:qe.Open,1:qe.Closed}))),()=>{let{defaultOpen:a,...l}=e,u={open:r.value===0,close:i.close};return ht({theirProps:l,ourProps:{},slot:u,slots:t,attrs:n,name:"Disclosure"})}}}),LS=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=ic("DisclosureButton"),s=RS(),i=R(()=>s===null?!1:s.value===o.panelId.value);Ie(()=>{i.value||e.id!==null&&(o.buttonId.value=e.id)}),Ye(()=>{i.value||(o.buttonId.value=null)});let a=F(null);r({el:a,$el:a}),i.value||Xe(()=>{o.button.value=a.value});let l=Dh(R(()=>({as:e.as,type:t.type})),a);function u(){var d;e.disabled||(i.value?(o.toggleDisclosure(),(d=J(o.button))==null||d.focus()):o.toggleDisclosure())}function c(d){var p;if(!e.disabled)if(i.value)switch(d.key){case mt.Space:case mt.Enter:d.preventDefault(),d.stopPropagation(),o.toggleDisclosure(),(p=J(o.button))==null||p.focus();break}else switch(d.key){case mt.Space:case mt.Enter:d.preventDefault(),d.stopPropagation(),o.toggleDisclosure();break}}function f(d){switch(d.key){case mt.Space:d.preventDefault();break}}return()=>{var d;let p={open:o.disclosureState.value===0},{id:h,...g}=e,b=i.value?{ref:a,type:l.value,onClick:u,onKeydown:c}:{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||J(o.panel)?o.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:u,onKeydown:c,onKeyup:f};return ht({ourProps:b,theirProps:g,slot:p,attrs:t,slots:n,name:"DisclosureButton"})}}}),jS=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=ic("DisclosurePanel");Ie(()=>{e.id!==null&&(o.panelId.value=e.id)}),Ye(()=>{o.panelId.value=null}),r({el:o.panel,$el:o.panel}),Ue(Jh,o.panelId);let s=Jo(),i=R(()=>s!==null?(s.value&qe.Open)===qe.Open:o.disclosureState.value===0);return()=>{var a;let l={open:o.disclosureState.value===0,close:o.close},{id:u,...c}=e,f={id:(a=o.panelId.value)!=null?a:u,ref:o.panel};return ht({ourProps:f,theirProps:c,slot:l,attrs:t,slots:n,features:zn.RenderStrategy|zn.Static,visible:i.value,name:"DisclosurePanel"})}}});var MS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(MS||{});let Zh=Symbol("PopoverContext");function ac(e){let t=Ce(Zh,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <${ng.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ac),n}return t}let DS=Symbol("PopoverGroupContext");function eg(){return Ce(DS,null)}let tg=Symbol("PopoverPanelContext");function NS(){return Ce(tg,null)}let ng=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),u=F(null),c=F(null),f=R(()=>bn(s)),d=R(()=>{var w,E;if(!J(a)||!J(c))return!1;for(let U of document.querySelectorAll("body > *"))if(Number(U==null?void 0:U.contains(J(a)))^Number(U==null?void 0:U.contains(J(c))))return!0;let S=bi(),T=S.indexOf(J(a)),L=(T+S.length-1)%S.length,A=(T+1)%S.length,V=S[L],$=S[A];return!((w=J(c))!=null&&w.contains(V))&&!((E=J(c))!=null&&E.contains($))}),p={popoverState:i,buttonId:F(null),panelId:F(null),panel:c,button:a,isPortalled:d,beforePanelSentinel:l,afterPanelSentinel:u,togglePopover(){i.value=rt(i.value,{0:1,1:0})},closePopover(){i.value!==1&&(i.value=1)},close(w){p.closePopover();let E=w?w instanceof HTMLElement?w:w.value instanceof HTMLElement?J(w):J(p.button):J(p.button);E==null||E.focus()}};Ue(Zh,p),nc(R(()=>rt(i.value,{0:qe.Open,1:qe.Closed})));let h={buttonId:p.buttonId,panelId:p.panelId,close(){p.closePopover()}},g=eg(),b=g==null?void 0:g.registerPopover,[_,y]=Gh(),v=Wh({mainTreeNodeRef:g==null?void 0:g.mainTreeNodeRef,portals:_,defaultContainers:[a,c]});function m(){var w,E,S,T;return(T=g==null?void 0:g.isFocusWithinPopoverGroup())!=null?T:((w=f.value)==null?void 0:w.activeElement)&&(((E=J(a))==null?void 0:E.contains(f.value.activeElement))||((S=J(c))==null?void 0:S.contains(f.value.activeElement)))}return Xe(()=>b==null?void 0:b(h)),oc((o=f.value)==null?void 0:o.defaultView,"focus",w=>{var E,S;w.target!==window&&w.target instanceof HTMLElement&&i.value===0&&(m()||a&&c&&(v.contains(w.target)||(E=J(p.beforePanelSentinel))!=null&&E.contains(w.target)||(S=J(p.afterPanelSentinel))!=null&&S.contains(w.target)||p.closePopover()))},!0),Mh(v.resolveContainers,(w,E)=>{var S;p.closePopover(),Ih(E,tc.Loose)||(w.preventDefault(),(S=J(a))==null||S.focus())},R(()=>i.value===0)),()=>{let w={open:i.value===0,close:p.close};return we(Ee,[we(y,{},()=>ht({theirProps:{...e,...n},ourProps:{ref:s},slot:w,slots:t,attrs:n,name:"Popover"})),we(v.MainTreeNode)])}}}),FS=re({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var o;let s=(o=e.id)!=null?o:`headlessui-popover-button-${nn()}`,i=ac("PopoverButton"),a=R(()=>bn(i.button));r({el:i.button,$el:i.button}),Ie(()=>{i.buttonId.value=s}),Ye(()=>{i.buttonId.value=null});let l=eg(),u=l==null?void 0:l.closeOthers,c=NS(),f=R(()=>c===null?!1:c.value===i.panelId.value),d=F(null),p=`headlessui-focus-sentinel-${nn()}`;f.value||Xe(()=>{i.button.value=J(d)});let h=Dh(R(()=>({as:e.as,type:t.type})),d);function g(w){var E,S,T,L,A;if(f.value){if(i.popoverState.value===1)return;switch(w.key){case mt.Space:case mt.Enter:w.preventDefault(),(S=(E=w.target).click)==null||S.call(E),i.closePopover(),(T=J(i.button))==null||T.focus();break}}else switch(w.key){case mt.Space:case mt.Enter:w.preventDefault(),w.stopPropagation(),i.popoverState.value===1&&(u==null||u(i.buttonId.value)),i.togglePopover();break;case mt.Escape:if(i.popoverState.value!==0)return u==null?void 0:u(i.buttonId.value);if(!J(i.button)||(L=a.value)!=null&&L.activeElement&&!((A=J(i.button))!=null&&A.contains(a.value.activeElement)))return;w.preventDefault(),w.stopPropagation(),i.closePopover();break}}function b(w){f.value||w.key===mt.Space&&w.preventDefault()}function _(w){var E,S;e.disabled||(f.value?(i.closePopover(),(E=J(i.button))==null||E.focus()):(w.preventDefault(),w.stopPropagation(),i.popoverState.value===1&&(u==null||u(i.buttonId.value)),i.togglePopover(),(S=J(i.button))==null||S.focus()))}function y(w){w.preventDefault(),w.stopPropagation()}let v=sc();function m(){let w=J(i.panel);if(!w)return;function E(){rt(v.value,{[Et.Forwards]:()=>zt(w,ut.First),[Et.Backwards]:()=>zt(w,ut.Last)})===Bo.Error&&zt(bi().filter(S=>S.dataset.headlessuiFocusGuard!=="true"),rt(v.value,{[Et.Forwards]:ut.Next,[Et.Backwards]:ut.Previous}),{relativeTo:J(i.button)})}E()}return()=>{let w=i.popoverState.value===0,E={open:w},{...S}=e,T=f.value?{ref:d,type:h.value,onKeydown:g,onClick:_}:{ref:d,id:s,type:h.value,"aria-expanded":i.popoverState.value===0,"aria-controls":J(i.panel)?i.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:g,onKeyup:b,onClick:_,onMousedown:y};return we(Ee,[ht({ourProps:T,theirProps:{...t,...S},slot:E,attrs:t,slots:n,name:"PopoverButton"}),w&&!f.value&&i.isPortalled.value&&we(Nr,{id:p,features:gr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:m})])}}}),BS=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:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var o;let s=(o=e.id)!=null?o:`headlessui-popover-panel-${nn()}`,{focus:i}=e,a=ac("PopoverPanel"),l=R(()=>bn(a.panel)),u=`headlessui-focus-sentinel-before-${nn()}`,c=`headlessui-focus-sentinel-after-${nn()}`;r({el:a.panel,$el:a.panel}),Ie(()=>{a.panelId.value=s}),Ye(()=>{a.panelId.value=null}),Ue(tg,a.panelId),Xe(()=>{var y,v;if(!i||a.popoverState.value!==0||!a.panel)return;let m=(y=l.value)==null?void 0:y.activeElement;(v=J(a.panel))!=null&&v.contains(m)||zt(J(a.panel),ut.First)});let f=Jo(),d=R(()=>f!==null?(f.value&qe.Open)===qe.Open:a.popoverState.value===0);function p(y){var v,m;switch(y.key){case mt.Escape:if(a.popoverState.value!==0||!J(a.panel)||l.value&&!((v=J(a.panel))!=null&&v.contains(l.value.activeElement)))return;y.preventDefault(),y.stopPropagation(),a.closePopover(),(m=J(a.button))==null||m.focus();break}}function h(y){var v,m,w,E,S;let T=y.relatedTarget;T&&J(a.panel)&&((v=J(a.panel))!=null&&v.contains(T)||(a.closePopover(),((w=(m=J(a.beforePanelSentinel))==null?void 0:m.contains)!=null&&w.call(m,T)||(S=(E=J(a.afterPanelSentinel))==null?void 0:E.contains)!=null&&S.call(E,T))&&T.focus({preventScroll:!0})))}let g=sc();function b(){let y=J(a.panel);if(!y)return;function v(){rt(g.value,{[Et.Forwards]:()=>{var m;zt(y,ut.First)===Bo.Error&&((m=J(a.afterPanelSentinel))==null||m.focus())},[Et.Backwards]:()=>{var m;(m=J(a.button))==null||m.focus({preventScroll:!0})}})}v()}function _(){let y=J(a.panel);if(!y)return;function v(){rt(g.value,{[Et.Forwards]:()=>{let m=J(a.button),w=J(a.panel);if(!m)return;let E=bi(),S=E.indexOf(m),T=E.slice(0,S+1),L=[...E.slice(S+1),...T];for(let A of L.slice())if(A.dataset.headlessuiFocusGuard==="true"||w!=null&&w.contains(A)){let V=L.indexOf(A);V!==-1&&L.splice(V,1)}zt(L,ut.First,{sorted:!1})},[Et.Backwards]:()=>{var m;zt(y,ut.Previous)===Bo.Error&&((m=J(a.button))==null||m.focus())}})}v()}return()=>{let y={open:a.popoverState.value===0,close:a.close},{focus:v,...m}=e,w={ref:a.panel,id:s,onKeydown:p,onFocusout:i&&a.popoverState.value===0?h:void 0,tabIndex:-1};return ht({ourProps:w,theirProps:{...t,...m},attrs:t,slot:y,slots:{...n,default:(...E)=>{var S;return[we(Ee,[d.value&&a.isPortalled.value&&we(Nr,{id:u,ref:a.beforePanelSentinel,features:gr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:b}),(S=n.default)==null?void 0:S.call(n,...E),d.value&&a.isPortalled.value&&we(Nr,{id:c,ref:a.afterPanelSentinel,features:gr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:_})])]}},features:zn.RenderStrategy|zn.Static,visible:d.value,name:"PopoverPanel"})}}});function HS(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function Gi(e,...t){e&&t.length>0&&e.classList.add(...t)}function ws(e,...t){e&&t.length>0&&e.classList.remove(...t)}var Ya=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(Ya||{});function US(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(u=>u.includes("ms")?parseFloat(u):parseFloat(u)*1e3).sort((u,c)=>c-u);return l});return s!==0?n.setTimeout(()=>t("finished"),s+i):t("finished"),n.add(()=>t("cancelled")),n.dispose}function Af(e,t,n,r,o,s){let i=Zo(),a=s!==void 0?HS(s):()=>{};return ws(e,...o),Gi(e,...t,...n),i.nextFrame(()=>{ws(e,...n),Gi(e,...r),i.add(US(e,l=>(ws(e,...r,...t),Gi(e,...o),a(l))))}),i.add(()=>ws(e,...t,...n,...r,...o)),i.add(()=>a("cancelled")),i.dispose}function Yn(e=""){return e.split(/\s+/).filter(t=>t.length>1)}let lc=Symbol("TransitionContext");var zS=(e=>(e.Visible="visible",e.Hidden="hidden",e))(zS||{});function VS(){return Ce(lc,null)!==null}function WS(){let e=Ce(lc,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}function qS(){let e=Ce(cc,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}let cc=Symbol("NestingContext");function wi(e){return"children"in e?wi(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function rg(e){let t=F([]),n=F(!1);Ie(()=>n.value=!0),Ye(()=>n.value=!1);function r(s,i=In.Hidden){let a=t.value.findIndex(({id:l})=>l===s);a!==-1&&(rt(i,{[In.Unmount](){t.value.splice(a,1)},[In.Hidden](){t.value[a].state="hidden"}}),!wi(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 og=zn.RenderStrategy,KS=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|=qe.Opening,t("beforeEnter")}function a(){s.value&=~qe.Opening,t("afterEnter")}function l(){s.value|=qe.Closing,t("beforeLeave")}function u(){s.value&=~qe.Closing,t("afterLeave")}if(!VS()&&aS())return()=>we(sg,{...e,onBeforeEnter:i,onAfterEnter:a,onBeforeLeave:l,onAfterLeave:u},r);let c=F(null),f=R(()=>e.unmount?In.Unmount:In.Hidden);o({el:c,$el:c});let{show:d,appear:p}=WS(),{register:h,unregister:g}=qS(),b=F(d.value?"visible":"hidden"),_={value:!0},y=nn(),v={value:!1},m=rg(()=>{!v.value&&b.value!=="hidden"&&(b.value="hidden",g(y),u())});Ie(()=>{let U=h(y);Ye(U)}),Xe(()=>{if(f.value===In.Hidden&&y){if(d.value&&b.value!=="visible"){b.value="visible";return}rt(b.value,{hidden:()=>g(y),visible:()=>h(y)})}});let w=Yn(e.enter),E=Yn(e.enterFrom),S=Yn(e.enterTo),T=Yn(e.entered),L=Yn(e.leave),A=Yn(e.leaveFrom),V=Yn(e.leaveTo);Ie(()=>{Xe(()=>{if(b.value==="visible"){let U=J(c);if(U instanceof Comment&&U.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function $(U){let ve=_.value&&!p.value,fe=J(c);!fe||!(fe instanceof HTMLElement)||ve||(v.value=!0,d.value&&i(),d.value||l(),U(d.value?Af(fe,w,E,S,T,B=>{v.value=!1,B===Ya.Finished&&a()}):Af(fe,L,A,V,T,B=>{v.value=!1,B===Ya.Finished&&(wi(m)||(b.value="hidden",g(y),u()))})))}return Ie(()=>{Me([d],(U,ve,fe)=>{$(fe),_.value=!1},{immediate:!0})}),Ue(cc,m),nc(R(()=>rt(b.value,{visible:qe.Open,hidden:qe.Closed})|s.value)),()=>{let{appear:U,show:ve,enter:fe,enterFrom:B,enterTo:ee,entered:Y,leave:Le,leaveFrom:Je,leaveTo:he,...de}=e,Ve={ref:c},De={...de,...p.value&&d.value&&Yo.isServer?{class:W([n.class,de.class,...w,...E])}:{}};return ht({theirProps:De,ourProps:Ve,slot:{},slots:r,attrs:n,features:og,visible:b.value==="visible",name:"TransitionChild"})}}}),GS=KS,sg=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=Jo(),s=R(()=>e.show===null&&o!==null?(o.value&qe.Open)===qe.Open:e.show);Xe(()=>{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=rg(()=>{i.value="hidden"}),l=F(!0),u={show:s,appear:R(()=>e.appear||!l.value)};return Ie(()=>{Xe(()=>{l.value=!1,s.value?i.value="visible":wi(a)||(i.value="hidden")})}),Ue(cc,a),Ue(lc,u),()=>{let c=Bh(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),f={unmount:e.unmount};return ht({ourProps:{...f,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[we(GS,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...n,...f,...c},r.default)]},attrs:{},features:og,visible:i.value==="visible",name:"Transition"})}}});const Qi=Gt(ze.ui.strategy,ze.ui.accordion,EC),QS=Gt(ze.ui.strategy,ze.ui.button,Ph),XS=re({components:{HDisclosure:IS,HDisclosureButton:LS,HDisclosurePanel:jS,UIcon:bt,UButton:Qt},inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},defaultOpen:{type:Boolean,default:!1},openIcon:{type:String,default:()=>Qi.default.openIcon},closeIcon:{type:String,default:()=>Qi.default.closeIcon},multiple:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=Ke("accordion",xe(e,"ui"),Qi,xe(e,"class")),r=R(()=>QS),o=F([]);function s(c,f){!e.items[c].closeOthers&&e.multiple||o.value.forEach(d=>{d.open&&d.close(f.target)})}function i(c,f){const d=c;d.style.height="0",d.offsetHeight,d.style.height=d.scrollHeight+"px",d.addEventListener("transitionend",f,{once:!0})}function a(c){const f=c;f.style.height=f.scrollHeight+"px",f.offsetHeight}function l(c){const f=c;f.style.height="auto"}function u(c,f){const d=c;d.style.height="0",d.addEventListener("transitionend",f,{once:!0})}return ec(()=>Zl("$lPCIu25Y3X")),{ui:t,uiButton:r,attrs:n,buttonRefs:o,closeOthers:s,omit:sh,onEnter:i,onBeforeLeave:a,onAfterEnter:l,onLeave:u}}});function YS(e,t,n,r,o,s){const i=bt,a=Qt,l=ar("HDisclosureButton"),u=ar("HDisclosurePanel"),c=ar("HDisclosure");return j(),ne("div",{class:W(e.ui.wrapper)},[(j(!0),ne(Ee,null,yt(e.items,(f,d)=>(j(),ae(c,{key:d,as:"div",class:W(e.ui.container),"default-open":e.defaultOpen||f.defaultOpen},{default:le(({open:p,close:h})=>[K(l,{ref_for:!0,ref:()=>e.buttonRefs[d]={open:p,close:h},as:"template",disabled:f.disabled,onClick:g=>e.closeOthers(d,g),onKeydown:[uu(g=>e.closeOthers(d,g),["enter"]),uu(g=>e.closeOthers(d,g),["space"])]},{default:le(()=>[ye(e.$slots,"default",{item:f,index:d,open:p,close:h},()=>[K(a,Tr(Ir({...e.omit(e.ui.default,["openIcon","closeIcon"]),...e.attrs,...e.omit(f,["slot","disabled","content","defaultOpen"])})),{trailing:le(()=>[K(i,{name:p&&e.closeIcon?e.closeIcon:e.openIcon,class:W([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"]),K(Un,ue(e.ui.transition,{onEnter:e.onEnter,onAfterEnter:e.onAfterEnter,onBeforeLeave:e.onBeforeLeave,onLeave:e.onLeave}),{default:le(()=>[Dm(ke("div",null,[K(u,{class:W([e.ui.item.base,e.ui.item.size,e.ui.item.color,e.ui.item.padding]),static:""},{default:le(()=>[ye(e.$slots,f.slot||"item",{item:f,index:d,open:p,close:h},()=>[tt(He(f.content),1)])]),_:2},1032,["class"])],512),[[Iv,p]])]),_:2},1040,["onEnter","onAfterEnter","onBeforeLeave","onLeave"])]),_:2},1032,["class","default-open"]))),128))],2)}const JS=Nt(XS,[["render",YS]]),ZS=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=lt(),n=R(()=>{const l=at("space-y-3",r.level>0&&"border-l border-gray-200 dark:border-gray-800 -ml-px hover:border-gray-300 dark:hover:border-gray-700"),u=at("border-l border-gray-200 dark:border-gray-800",r.level>0?"ml-6":"ml-2.5");return{wrapper:l,container:"space-y-3",item:{padding:"",color:"text-inherit dark:text-inherit"},button:{base:"flex items-center gap-1.5 group w-full focus-visible:outline-primary",active:"text-primary border-current",inactive:"border-transparent",level:"border-l -ml-px pl-3.5",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:u}}),r=e,o=mn(),{ui:s,attrs:i}=Ke("navigation.accordion",xe(r,"ui"),n,xe(r,"class"),!0),a=R(()=>{var l;return(l=r.links)==null?void 0:l.map(u=>{const c=!r.defaultOpen||typeof r.defaultOpen=="number"&&r.level{const c=bt,f=Wn,d=ig,p=JS;return j(),ae(p,ue({key:C(o).path,items:C(a),multiple:e.multiple,ui:C(s)},C(i)),li({default:le(({item:h,open:g})=>[K(f,{class:W([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?(j(),ae(c,{key:0,name:h.icon,class:W(C(s).button.icon.base)},null,8,["name","class"])):me("",!0),ke("span",{class:W(C(s).button.label)},He(h.label),3),h.disabled?me("",!0):(j(),ae(c,{key:1,name:C(s).button.trailingIcon.name,class:W([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},[yt(e.links,({label:h},g)=>({name:h.toLowerCase(),fn:le(({item:b})=>[K(d,{links:b.children,level:e.level+1,"default-open":e.defaultOpen,multiple:e.multiple,class:W(C(s).tree)},null,8,["links","level","default-open","multiple","class"])])}))]),1040,["items","multiple","ui"])}}}),eP=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}=Ke("navigation.links",xe(n,"ui"),t,xe(n,"class"),!0);return(s,i)=>{var c;const a=bt,l=Th,u=Wn;return(c=e.links)!=null&&c.length?(j(),ne("div",ue({key:0,class:e.level>0?C(r).wrapperLevel:C(r).wrapper},C(o)),[(j(!0),ne(Ee,null,yt(e.links,(f,d)=>(j(),ae(u,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?(j(),ae(a,{key:0,name:f.icon,class:W(C(jt)(C(r).icon.base,f.iconClass))},null,8,["name","class"])):me("",!0),ke("span",{class:W(C(r).label)},He(f.label),3),ye(s.$slots,"badge",{link:f},()=>[f.badge?(j(),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"])):me("",!0)])]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):me("",!0)}}}),ig=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}=Ke("navigation.tree",xe(n,"ui"),t,xe(n,"class"),!0),s=R(()=>{var l;const i=[];let a={type:void 0,children:[]};for(const u of n.links){const c=(l=u.children)!=null&&l.length?"accordion":"link";a.type||(a.type=c),a.type===c?a.children.push(u):(i.push(a),a={type:c,children:[u]})}return a.children.length&&i.push(a),i});return(i,a)=>{var c;const l=ZS,u=eP;return(c=C(s))!=null&&c.length?(j(),ne("nav",ue({key:0,class:C(r).wrapper},C(o)),[(j(!0),ne(Ee,null,yt(C(s),(f,d)=>(j(),ne(Ee,{key:d},[f.type==="accordion"?(j(),ae(l,{key:0,links:f.children,level:e.level,multiple:e.multiple,"default-open":e.defaultOpen},null,8,["links","level","multiple","default-open"])):(j(),ae(u,{key:1,links:f.children,level:e.level},null,8,["links","level"]))],64))),128))],16)):me("",!0)}}}),tP=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=lt(),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}=Ke("header.popover.links",xe(r,"ui"),n,xe(r,"class"),!0);return(i,a)=>{var c;const l=bt,u=Wn;return(c=e.links)!=null&&c.length?(j(),ne("div",ue({key:0,class:C(o).wrapper},C(s)),[(j(!0),ne(Ee,null,yt(e.links,(f,d)=>(j(),ae(u,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?(j(),ae(l,{key:0,name:f.icon,class:W(C(jt)(C(o).icon.base,f.iconClass))},null,8,["name","class"])):me("",!0),ke("p",{class:W([f.target==="_blank"&&"pr-3"])},[ke("span",{class:W(C(o).label)},[tt(He(f.label)+" ",1),f.target==="_blank"?(j(),ae(l,{key:0,name:C(o).externalIcon.name,class:W(C(o).externalIcon.base)},null,8,["name","class"])):me("",!0)],2),f.description?(j(),ne("span",{key:0,class:W(C(o).description)},He(f.description),3)):me("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):me("",!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 mr(e){var t=Pt(e).Element;return e instanceof t||e instanceof Element}function It(e){var t=Pt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function uc(e){if(typeof ShadowRoot>"u")return!1;var t=Pt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ur=Math.max,Qs=Math.min,Fr=Math.round;function Ja(){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 ag(){return!/^((?!chrome|android).)*safari/i.test(Ja())}function Br(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&It(e)&&(o=e.offsetWidth>0&&Fr(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Fr(r.height)/e.offsetHeight||1);var i=mr(e)?Pt(e):window,a=i.visualViewport,l=!ag()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/o,d=r.height/s;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function fc(e){var t=Pt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function nP(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function rP(e){return e===Pt(e)||!It(e)?fc(e):nP(e)}function an(e){return e?(e.nodeName||"").toLowerCase():null}function qn(e){return((mr(e)?e.ownerDocument:e.document)||window.document).documentElement}function dc(e){return Br(qn(e)).left+fc(e).scrollLeft}function vn(e){return Pt(e).getComputedStyle(e)}function pc(e){var t=vn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function oP(e){var t=e.getBoundingClientRect(),n=Fr(t.width)/e.offsetWidth||1,r=Fr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function sP(e,t,n){n===void 0&&(n=!1);var r=It(t),o=It(t)&&oP(t),s=qn(t),i=Br(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((an(t)!=="body"||pc(s))&&(a=rP(t)),It(t)?(l=Br(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=dc(s))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function hc(e){var t=Br(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 _i(e){return an(e)==="html"?e:e.assignedSlot||e.parentNode||(uc(e)?e.host:null)||qn(e)}function lg(e){return["html","body","#document"].indexOf(an(e))>=0?e.ownerDocument.body:It(e)&&pc(e)?e:lg(_i(e))}function Eo(e,t){var n;t===void 0&&(t=[]);var r=lg(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Pt(r),i=o?[s].concat(s.visualViewport||[],pc(r)?r:[]):r,a=t.concat(i);return o?a:a.concat(Eo(_i(i)))}function iP(e){return["table","td","th"].indexOf(an(e))>=0}function Of(e){return!It(e)||vn(e).position==="fixed"?null:e.offsetParent}function aP(e){var t=/firefox/i.test(Ja()),n=/Trident/i.test(Ja());if(n&&It(e)){var r=vn(e);if(r.position==="fixed")return null}var o=_i(e);for(uc(o)&&(o=o.host);It(o)&&["html","body"].indexOf(an(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=Of(e);n&&iP(n)&&vn(n).position==="static";)n=Of(n);return n&&(an(n)==="html"||an(n)==="body"&&vn(n).position==="static")?t:n||aP(e)||t}var Ct="top",qt="bottom",Kt="right",St="left",gc="auto",ts=[Ct,qt,Kt,St],Hr="start",Ho="end",lP="clippingParents",cg="viewport",ao="popper",cP="reference",$f=ts.reduce(function(e,t){return e.concat([t+"-"+Hr,t+"-"+Ho])},[]),ug=[].concat(ts,[gc]).reduce(function(e,t){return e.concat([t,t+"-"+Hr,t+"-"+Ho])},[]),uP="beforeRead",fP="read",dP="afterRead",pP="beforeMain",hP="main",gP="afterMain",mP="beforeWrite",vP="write",yP="afterWrite",bP=[uP,fP,dP,pP,hP,gP,mP,vP,yP];function wP(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 _P(e){var t=wP(e);return bP.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function xP(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function kP(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 EP(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 u=ag();(u||!u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a+dc(e),y:l}}function CP(e){var t,n=qn(e),r=fc(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+dc(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 fg(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&uc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Za(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function SP(e,t){var n=Br(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 Rf(e,t,n){return t===cg?Za(EP(e,n)):mr(t)?SP(t,n):Za(CP(qn(e)))}function PP(e){var t=Eo(_i(e)),n=["absolute","fixed"].indexOf(vn(e).position)>=0,r=n&&It(e)?es(e):e;return mr(r)?t.filter(function(o){return mr(o)&&fg(o,r)&&an(o)!=="body"}):[]}function TP(e,t,n,r){var o=t==="clippingParents"?PP(e):[].concat(t),s=[].concat(o,[n]),i=s[0],a=s.reduce(function(l,u){var c=Rf(e,u,r);return l.top=ur(c.top,l.top),l.right=Qs(c.right,l.right),l.bottom=Qs(c.bottom,l.bottom),l.left=ur(c.left,l.left),l},Rf(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 rn(e){return e.split("-")[0]}function Ur(e){return e.split("-")[1]}function mc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dg(e){var t=e.reference,n=e.element,r=e.placement,o=r?rn(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 qt:l={x:i,y:t.y+t.height};break;case Kt: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 u=o?mc(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case Hr:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Ho:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function pg(){return{top:0,right:0,bottom:0,left:0}}function hg(e){return Object.assign({},pg(),e)}function gg(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}function vc(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?lP:a,u=n.rootBoundary,c=u===void 0?cg:u,f=n.elementContext,d=f===void 0?ao:f,p=n.altBoundary,h=p===void 0?!1:p,g=n.padding,b=g===void 0?0:g,_=hg(typeof b!="number"?b:gg(b,ts)),y=d===ao?cP:ao,v=e.rects.popper,m=e.elements[h?y:d],w=TP(mr(m)?m:m.contextElement||qn(e.elements.popper),l,c,i),E=Br(e.elements.reference),S=dg({reference:E,element:v,strategy:"absolute",placement:o}),T=Za(Object.assign({},v,S)),L=d===ao?T:E,A={top:w.top-L.top+_.top,bottom:L.bottom-w.bottom+_.bottom,left:w.left-L.left+_.left,right:L.right-w.right+_.right},V=e.modifiersData.offset;if(d===ao&&V){var $=V[o];Object.keys(A).forEach(function(U){var ve=[Kt,qt].indexOf(U)>=0?1:-1,fe=[Ct,qt].indexOf(U)>=0?"y":"x";A[U]+=$[fe]*ve})}return A}var If={placement:"bottom",modifiers:[],strategy:"absolute"};function Lf(){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]=vc(e,{placement:g,boundary:o,rootBoundary:s,padding:i})[rn(g)],h},{});return Object.keys(p).sort(function(h,g){return p[h]-p[g]})}function zP(e){if(rn(e)===gc)return[];var t=Rs(e);return[Mf(e),t,Mf(t)]}function VP(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,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,g=n.allowedAutoPlacements,b=t.options.placement,_=rn(b),y=_===b,v=l||(y||!h?[Rs(b)]:zP(b)),m=[b].concat(v).reduce(function(De,st){return De.concat(rn(st)===gc?UP(t,{placement:st,boundary:c,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:g}):st)},[]),w=t.rects.reference,E=t.rects.popper,S=new Map,T=!0,L=m[0],A=0;A=0,fe=ve?"width":"height",B=vc(t,{placement:V,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),ee=ve?U?Kt:St:U?qt:Ct;w[fe]>E[fe]&&(ee=Rs(ee));var Y=Rs(ee),Le=[];if(s&&Le.push(B[$]<=0),a&&Le.push(B[ee]<=0,B[Y]<=0),Le.every(function(De){return De})){L=V,T=!1;break}S.set(V,Le)}if(T)for(var Je=h?3:1,he=function(st){var je=m.find(function(I){var Q=S.get(I);if(Q)return Q.slice(0,st).every(function(q){return q})});if(je)return L=je,"break"},de=Je;de>0;de--){var Ve=he(de);if(Ve==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const WP={name:"flip",enabled:!0,phase:"main",fn:VP,requiresIfExists:["offset"],data:{_skip:!1}};function qP(e,t,n){var r=rn(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,Kt].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function KP(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,i=ug.reduce(function(c,f){return c[f]=qP(f,t.rects,s),c},{}),a=i[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}const GP={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:KP};function QP(e){return e==="x"?"y":"x"}function Co(e,t,n){return ur(e,Qs(t,n))}function XP(e,t,n){var r=Co(e,t,n);return r>n?n:r}function YP(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,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,p=d===void 0?!0:d,h=n.tetherOffset,g=h===void 0?0:h,b=vc(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),_=rn(t.placement),y=Ur(t.placement),v=!y,m=mc(_),w=QP(m),E=t.modifiersData.popperOffsets,S=t.rects.reference,T=t.rects.popper,L=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,A=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(E){if(s){var U,ve=m==="y"?Ct:St,fe=m==="y"?qt:Kt,B=m==="y"?"height":"width",ee=E[m],Y=ee+b[ve],Le=ee-b[fe],Je=p?-T[B]/2:0,he=y===Hr?S[B]:T[B],de=y===Hr?-T[B]:-S[B],Ve=t.elements.arrow,De=p&&Ve?hc(Ve):{width:0,height:0},st=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:pg(),je=st[ve],I=st[fe],Q=Co(0,S[B],De[B]),q=v?S[B]/2-Je-Q-je-A.mainAxis:he-Q-je-A.mainAxis,oe=v?-S[B]/2+Je+Q+I+A.mainAxis:de+Q+I+A.mainAxis,Se=t.elements.arrow&&es(t.elements.arrow),x=Se?m==="y"?Se.clientTop||0:Se.clientLeft||0:0,k=(U=V==null?void 0:V[m])!=null?U:0,P=ee+q-k-x,O=ee+oe-k,M=Co(p?Qs(Y,P):Y,ee,p?ur(Le,O):Le);E[m]=M,$[m]=M-ee}if(a){var D,X=m==="x"?Ct:St,H=m==="x"?qt:Kt,z=E[w],N=w==="y"?"height":"width",ie=z+b[X],te=z-b[H],se=[Ct,St].indexOf(_)!==-1,ge=(D=V==null?void 0:V[w])!=null?D:0,_e=se?ie:z-S[N]-T[N]-ge+A.altAxis,$e=se?z+S[N]+T[N]-ge-A.altAxis:te,Oe=p&&se?XP(_e,z,$e):Co(p?_e:ie,z,p?$e:te);E[w]=Oe,$[w]=Oe-z}t.modifiersData[r]=$}}const JP={name:"preventOverflow",enabled:!0,phase:"main",fn:YP,requiresIfExists:["offset"]};var ZP=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,hg(typeof t!="number"?t:gg(t,ts))};function eT(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,i=n.modifiersData.popperOffsets,a=rn(n.placement),l=mc(a),u=[St,Kt].indexOf(a)>=0,c=u?"height":"width";if(!(!s||!i)){var f=ZP(o.padding,n),d=hc(s),p=l==="y"?Ct:St,h=l==="y"?qt:Kt,g=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],b=i[l]-n.rects.reference[l],_=es(s),y=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,v=g/2-b/2,m=f[p],w=y-d[c]-f[h],E=y/2-d[c]/2+v,S=Co(m,E,w),T=l;n.modifiersData[r]=(t={},t[T]=S,t.centerOffset=S-E,t)}}function tT(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)||fg(t.elements.popper,o)&&(t.elements.arrow=o))}const nT={name:"arrow",enabled:!0,phase:"main",fn:eT,effect:tT,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},rT=AP({defaultModifiers:[...FP,GP,WP,JP,vg,mg,nT]});function oT({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:u,strategy:c},f){const d=F(null),p=F(null),h=F(null);return Ie(()=>{Xe(g=>{if(!p.value||!d.value&&!(f!=null&&f.value))return;const b=ja(p),_=(f==null?void 0:f.value)||ja(d);if(!(b instanceof HTMLElement)||!_)return;const y={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}]};u&&(y.placement=u),c&&(y.strategy=c),h.value=rT(_,b,y),g(h.value.destroy)})}),[d,p,h]}const Xi=Gt(ze.ui.strategy,ze.ui.popover,PC),sT=re({components:{HPopover:ng,HPopoverButton:FS,HPopoverPanel:BS},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:()=>Xi.default.openDelay},closeDelay:{type:Number,default:()=>Xi.default.closeDelay},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}=Ke("popover",xe(e,"ui"),Xi,xe(e,"class")),o=R(()=>di(e.mode==="hover"?{offsetDistance:0}:{},e.popper,n.value.popper)),[s,i]=oT(o.value),a=F(null),l=F(null);let u=null,c=null;Ie(()=>{var _,y;const g=(_=a.value)==null?void 0:_.$.provides;if(!g)return;const b=Object.getOwnPropertySymbols(g);l.value=b.length&&g[b[0]],e.open&&((y=l.value)==null||y.togglePopover())});const f=R(()=>{var y,v,m;if(e.mode!=="hover")return{};const g=((y=e.popper)==null?void 0:y.offsetDistance)||((v=n.value.popper)==null?void 0:v.offsetDistance)||8,b=(m=o.value.placement)==null?void 0:m.split("-")[0],_=`${g}px`;return b==="top"||b==="bottom"?{paddingTop:_,paddingBottom:_}:b==="left"||b==="right"?{paddingLeft:_,paddingRight:_}:{paddingTop:_,paddingBottom:_,paddingLeft:_,paddingRight:_}});function d(){l.value&&(l.value.popoverState===0?l.value.closePopover():l.value.togglePopover())}function p(){e.mode!=="hover"||!l.value||(c&&(clearTimeout(c),c=null),l.value.popoverState!==0&&(u=u||setTimeout(()=>{l.value.togglePopover&&l.value.togglePopover(),u=null},e.openDelay)))}function h(){e.mode!=="hover"||!l.value||(u&&(clearTimeout(u),u=null),l.value.popoverState!==1&&(c=c||setTimeout(()=>{l.value.closePopover&&l.value.closePopover(),c=null},e.closeDelay)))}return Me(()=>e.open,(g,b)=>{l.value&&(b===void 0||g===b||(g?l.value.popoverState=0:l.value.closePopover()))}),Me(()=>{var g;return(g=l.value)==null?void 0:g.popoverState},(g,b)=>{b===void 0||g===b||t("update:open",g===0)}),ec(()=>Zl("$BzHN7t5qR3")),{ui:n,attrs:r,popover:a,popper:o,trigger:s,container:i,containerStyle:f,onTouchStart:d,onMouseEnter:p,onMouseLeave:h}}}),iT=["disabled"];function aT(e,t,n,r,o,s){const i=ar("HPopoverButton"),a=ar("HPopoverPanel"),l=ar("HPopover");return j(),ae(l,ue({ref:"popover",class:e.ui.wrapper},e.attrs,{onMouseleave:e.onMouseLeave}),{default:le(({open:u,close:c})=>[K(i,{ref:"trigger",as:"div",disabled:e.disabled,class:W(e.ui.trigger),role:"button",onMouseenter:e.onMouseEnter,onTouchstart:ks(e.onTouchStart,["prevent"])},{default:le(()=>[ye(e.$slots,"default",{open:u,close:c},()=>[ke("button",{disabled:e.disabled}," Open ",8,iT)])]),_:2},1032,["disabled","class","onMouseenter","onTouchstart"]),e.overlay?(j(),ae(Un,ue({key:0,appear:""},e.ui.overlay.transition),{default:le(()=>[u?(j(),ne("div",{key:0,class:W([e.ui.overlay.base,e.ui.overlay.background])},null,2)):me("",!0)]),_:2},1040)):me("",!0),u?(j(),ne("div",{key:1,ref:"container",class:W([e.ui.container,e.ui.width]),style:Nn(e.containerStyle)},[K(Un,ue({appear:""},e.ui.transition),{default:le(()=>[ke("div",null,[e.popper.arrow?(j(),ne("div",{key:0,"data-popper-arrow":"",class:W(Object.values(e.ui.arrow))},null,2)):me("",!0),K(a,{class:W([e.ui.base,e.ui.background,e.ui.ring,e.ui.rounded,e.ui.shadow]),static:""},{default:le(()=>[ye(e.$slots,"panel",{open:u,close:c})]),_:2},1032,["class"])])]),_:2},1040)],6)):me("",!0)]),_:3},16,["class","onMouseleave"])}const lT=Nt(sT,[["render",aT]]),cT=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=lt(),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"},default:{popover:{mode:"hover",openDelay:0,ui:{width:"max-w-[16rem]"}}}})),r=e,{ui:o,attrs:s}=Ke("header.links",xe(r,"ui"),n,xe(r,"class"),!0);return(i,a)=>{var d;const l=bt,u=Wn,c=tP,f=lT;return(d=e.links)!=null&&d.length?(j(),ne("ul",ue({key:0,class:C(o).wrapper},C(s)),[(j(!0),ne(Ee,null,yt(e.links,(p,h)=>{var g;return j(),ne("li",{key:h,class:"relative"},[(g=p.children)!=null&&g.length?(j(),ae(f,Tr(ue({key:0},C(o).default.popover)),{default:le(({open:b})=>[K(u,ue(C(Dr)(p),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:p.click}),{default:le(()=>[ye(i.$slots,"label",{link:p},()=>[tt(He(p.label),1)]),K(l,{name:C(o).trailingIcon.name,class:W([C(o).trailingIcon.base,b?C(o).trailingIcon.active:C(o).trailingIcon.inactive])},null,8,["name","class"])]),_:2},1040,["class","active-class","inactive-class","onClick"])]),panel:le(({close:b})=>[ye(i.$slots,"panel",{link:p,close:b},()=>[K(c,{links:p.children,onClick:b},null,8,["links","onClick"])])]),_:2},1040)):(j(),ae(u,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(()=>[ye(i.$slots,"label",{link:p},()=>[tt(He(p.label),1)]),p.target==="_blank"?(j(),ae(l,{key:0,name:C(o).externalIcon.name,class:W(C(o).externalIcon.base)},null,8,["name","class"])):me("",!0)]),_:2},1040,["class","active-class","inactive-class","onClick"]))])}),128))],16)):me("",!0)}}}),uT=Gt(ze.ui.strategy,ze.ui.container,SC),fT=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}=Ke("container",xe(e,"ui"),uT),r=R(()=>jt(at(t.value.base,t.value.padding,t.value.constrained),e.class));return{ui:t,attrs:n,containerClass:r}}});function dT(e,t,n,r,o,s){return j(),ae(Ar(e.as),ue({class:e.containerClass},e.attrs),{default:le(()=>[ye(e.$slots,"default")]),_:3},16,["class"])}const yc=Nt(fT,[["render",dT]]),pT=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=lt(),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}=Ke("aside.links",xe(r,"ui"),n,xe(r,"class"),!0);return(i,a)=>{var c;const l=bt,u=Wn;return(c=e.links)!=null&&c.length?(j(),ne("div",ue({key:0,class:C(o).wrapper},C(s)),[(j(!0),ne(Ee,null,yt(e.links,(f,d)=>(j(),ae(u,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?(j(),ne("div",{key:0,class:W([C(o).icon.wrapper,f.active||p?C(o).icon.active:C(o).icon.inactive])},[K(l,{name:f.icon,class:W(C(jt)(C(o).icon.base,f.iconClass))},null,8,["name","class"])],2)):me("",!0),ke("span",{class:W(C(o).label)},[tt(He(f.label)+" ",1),f.target==="_blank"?(j(),ae(l,{key:0,name:C(o).externalIcon.name,class:W(C(o).externalIcon.base)},null,8,["name","class"])):me("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):me("",!0)}}}),el=e=>e.map(t=>{if(!t.children||typeof t.children=="string")return t.children||"";if(Array.isArray(t.children))return el(t.children);if(t.children.default)return el(t.children.default())}).join(""),hT=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=lt(),n=R(()=>({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:t.ui.icons.menu,close:t.ui.icons.close}}})),r=e,o=mn(),s=Td(),{isHeaderDialogOpen:i}=Ah(),{ui:a,attrs:l}=Ke("header",xe(r,"ui"),n,xe(r,"class"),!0),u=R(()=>(r.title||s.title&&el(s.title())||"Logo").trim());return Me(()=>o.fullPath,()=>{i.value=!1}),ec(()=>Zl("$QgwvFlW8lo")),(c,f)=>{const d=Ch,p=cT,h=Qt,g=yc,b=pT;return j(),ne("header",ue({class:C(a).wrapper},C(l)),[ye(c.$slots,"top"),K(g,{class:W(C(a).container)},{default:le(()=>[ke("div",{class:W(C(a).left)},[ye(c.$slots,"left",{},()=>[K(d,{to:e.to,"aria-label":C(u),class:W(C(a).logo)},{default:le(()=>[ye(c.$slots,"logo",{},()=>[tt(He(e.title||"Nuxt UI Pro"),1)])]),_:3},8,["to","aria-label","class"])])],2),ye(c.$slots,"center",{},()=>[K(p,{links:e.links,class:W(C(a).center)},null,8,["links","class"])]),ke("div",{class:W(C(a).right)},[ye(c.$slots,"right"),ye(c.$slots,"panel-button",{open:C(i)},()=>{var _,y;return[e.links.length||c.$slots.panel?(j(),ae(h,ue({key:0,class:C(a).button.base},(y=(_=c.$ui)==null?void 0:_.button)==null?void 0:y.secondary,{"aria-label":`${C(i)?"Close":"Open"} Menu`,icon:C(i)?C(a).button.icon.close:C(a).button.icon.open,onClick:f[0]||(f[0]=v=>i.value=!C(i))}),null,16,["class","aria-label","icon"])):me("",!0)]})],2)]),_:3},8,["class"]),ye(c.$slots,"bottom"),K(C(sg),{show:C(i),as:"template"},{default:le(()=>[K(C(AS),{as:"div",onClose:f[2]||(f[2]=_=>i.value=!1)},{default:le(()=>[K(C(OS),{class:W(C(a).panel.wrapper)},{default:le(()=>[ke("div",{class:W([C(a).panel.header,C(a).wrapper])},[ke("div",{class:W(C(a).container)},[ke("div",{class:W(C(a).left)},[ye(c.$slots,"left",{},()=>[K(d,{to:e.to,"aria-label":C(u),class:W(C(a).logo)},{default:le(()=>[ye(c.$slots,"logo",{},()=>[tt(He(e.title||"Nuxt UI Pro"),1)])]),_:3},8,["to","aria-label","class"])])],2),ye(c.$slots,"center"),ke("div",{class:W(C(a).right)},[ye(c.$slots,"right"),ye(c.$slots,"panel-button",{open:C(i)},()=>{var _,y;return[K(h,ue({class:C(a).button.base},(y=(_=c.$ui)==null?void 0:_.button)==null?void 0:y.secondary,{"aria-label":`${C(i)?"Close":"Open"} Menu`,icon:C(i)?C(a).button.icon.close:C(a).button.icon.open,onClick:f[1]||(f[1]=v=>i.value=!C(i))}),null,16,["class","aria-label","icon"])]})],2)],2)],2),ke("div",{class:W(C(a).panel.body)},[ye(c.$slots,"panel",{},()=>[K(b,{links:e.links},null,8,["links"])])],2)]),_:3},8,["class"])]),_:3})]),_:3},8,["show"])],16)}}}),gT=/\d/,mT=["-","_","/","."];function vT(e=""){if(!gT.test(e))return e!==e.toLowerCase()}function bc(e,t){const n=t??mT,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 u=vT(a);if(i===!1){if(s===!1&&u===!0){r.push(o),o=a,s=u;continue}if(s===!0&&u===!1&&o.length>1){const c=o.at(-1);r.push(o.slice(0,Math.max(0,o.length-1))),o=c+a,s=u;continue}}o+=a,s=u,i=l}return r.push(o),r}function yg(e){return e?e[0].toUpperCase()+e.slice(1):""}function yA(e,t){return e?(Array.isArray(e)?e:bc(e)).map(n=>yg(t!=null&&t.normalize?n.toLowerCase():n)).join(""):""}function bA(e,t){return e?(Array.isArray(e)?e:bc(e)).map(n=>n.toLowerCase()).join(t??"-"):""}const yT={title:"label",_path:"to"};function bg(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?bg(n.children):void 0;continue}n[s]&&(r[yT[s]||s]=n[s])}return r})}function wA(e){var t;return(t=e._dir)!=null&&t.title?e._dir.title:bc(e._dir).map(n=>yg(n)).join(" ")}function bT(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(...bT(r.children,t))),n},[])}const wT=""+globalThis.__publicAssetsURL("favicon.ico"),_T={class:"hidden sm:block"},xT=ke("img",{class:"block sm:hidden h-6 w-auto",src:wT,alt:"mobile favicon"},null,-1),wg=re({__name:"Header",setup(e){const t=Ce("navigation",[]),{header:n}=lt();return(r,o)=>{var d;const s=LC,i=Th,a=WC,l=$h,u=Qt,c=ig,f=hT;return j(),ae(f,null,li({logo:le(()=>{var p,h,g,b,_;return[(h=(p=C(n))==null?void 0:p.logo)!=null&&h.dark||(b=(g=C(n))==null?void 0:g.logo)!=null&&b.light?(j(),ne(Ee,{key:0},[ke("div",_T,[K(s,Tr(Ir({class:"h-6 w-auto",...(_=C(n))==null?void 0:_.logo})),null,16)]),xT],64)):(j(),ne(Ee,{key:1},[tt(" Nuxt UI Pro "),K(i,{label:"Docs",variant:"subtle",class:"mb-0.5"})],64))]}),right:le(()=>{var p,h,g;return[(p=C(n))!=null&&p.search?(j(),ae(a,{key:0,label:null,class:"lg:hidden"})):me("",!0),(h=C(n))!=null&&h.colorMode?(j(),ae(l,{key:1})):me("",!0),(g=C(n))!=null&&g.links?(j(!0),ne(Ee,{key:2},yt(C(n).links,(b,_)=>(j(),ae(u,ue({key:_},{color:"gray",variant:"ghost",...b}),null,16))),128)):me("",!0)]}),panel:le(()=>[K(c,{links:("mapContentNavigation"in r?r.mapContentNavigation:C(bg))(C(t))},null,8,["links"])]),_:2},[(d=C(n))!=null&&d.search?{name:"center",fn:le(()=>[K(a,{class:"hidden lg:flex"})]),key:"0"}:void 0]),1024)}}}),kT=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 Ue(Gr,Vo(r)),()=>we(e.vnode,{ref:e.vnodeRef})}}),ET=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=Ce(Gr,null);let i;n({pageRef:o});const a=Ce(vp,null);let l;const u=r.deferHydration();if(r.isHydrating){const c=r.hooks.hookOnce("app:error",u);Tt().beforeEach(c)}return e.pageKey&&Me(()=>e.pageKey,(c,f)=>{c!==f&&r.callHook("page:loading:start")}),()=>we(Qp,{name:e.name,route:e.route,...t},{default:c=>{const f=ST(s,c.route,c.Component),d=s&&s.matched.length===c.route.matched.length;if(!c.Component){if(l&&!d)return l;u();return}if(l&&a&&!a.isCurrent(c.route))return l;if(f&&s&&(!a||a!=null&&a.isCurrent(s)))return d?l:null;const p=Ia(c,e.pageKey);!r.isHydrating&&!PT(s,c.route,c.Component)&&i===p&&r.callHook("page:loading:end"),i=p;const h=!!(e.transition??c.route.meta.pageTransition??Ta),g=h&&CT([e.transition,c.route.meta.pageTransition,Ta,{onAfterLeave:()=>{r.callHook("page:transition:finish",c.Component)}}].filter(Boolean)),b=e.keepalive??c.route.meta.keepalive??mw;return l=Xp(Un,h&&g,I_(b,we(vl,{suspensible:!0,onPending:()=>r.callHook("page:start",c.Component),onResolve:()=>{Vn(()=>r.callHook("page:finish",c.Component).then(()=>r.callHook("page:loading:end")).finally(u))}},{default:()=>{const _=we(kT,{key:p||void 0,vnode:c.Component,route:c.route,renderKey:p||void 0,trackRootNodes:h,vnodeRef:o});return b&&(_.type.name=c.Component.type.name||c.Component.type.__name||"RouteProvider"),_}}))).default(),l}})}});function CT(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Bl(n.onAfterLeave):void 0}));return di(...t)}function ST(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&&Ia({route:t,Component:n})!==Ia({route:e,Component:n})}function PT(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()=>we(n,e.layoutProps,t.slots)}}),AT=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=Ce(Gr),o=r===mn()?$_():r,s=R(()=>{let l=C(e.name)??o.meta.layout??"default";return l&&!(l in $n)&&e.fallback&&(l=C(e.fallback)),l}),i=F();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);Tt().beforeEach(l)}return()=>{const l=s.value&&s.value in $n,u=o.meta.layoutTransition??gw;return Xp(Un,l&&u,{default:()=>we(vl,{suspensible:!0,onResolve:()=>{Vn(a)}},{default:()=>we(OT,{layoutProps:ue(t.attrs,{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),OT=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&&Ue(vp,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,o;return!n||typeof n=="string"&&!(n in $n)?(o=(r=t.slots).default)==null?void 0:o.call(r):we(TT,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),_g=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}=Ke("main",xe(n,"ui"),t,xe(n,"class"),!0);return(s,i)=>(j(),ne("main",ue({class:C(r).wrapper},C(o)),[ye(s.$slots,"default")],16))}}),$T=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=lt(),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}=Ke("footer.links",xe(r,"ui"),n,xe(r,"class"),!0);return(i,a)=>{var c;const l=bt,u=Wn;return(c=e.links)!=null&&c.length?(j(),ne("ul",ue({key:0,class:C(o).wrapper},C(s)),[(j(!0),ne(Ee,null,yt(e.links,(f,d)=>(j(),ne("li",{key:d,class:"relative"},[K(u,ue(C(Dr)(f),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:f.click}),{default:le(()=>[tt(He(f.label)+" ",1),f.target==="_blank"?(j(),ae(l,{key:0,name:C(o).externalIcon.name,class:W(C(o).externalIcon.base)},null,8,["name","class"])):me("",!0)]),_:2},1040,["class","active-class","inactive-class","onClick"])]))),128))],16)):me("",!0)}}}),RT=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}=Ke("footer",xe(n,"ui"),t,xe(n,"class"),!0);return(s,i)=>{const a=yc,l=$T;return j(),ne("footer",ue({class:C(r).wrapper},C(o)),[s.$slots.top?(j(),ne("div",{key:0,class:W(C(r).top.wrapper)},[K(a,{class:W(C(r).top.container)},{default:le(()=>[ye(s.$slots,"top")]),_:3},8,["class"])],2)):me("",!0),ke("div",{class:W(C(r).bottom.wrapper)},[K(a,{class:W(C(r).bottom.container)},{default:le(()=>[ke("div",{class:W(C(r).bottom.right)},[ye(s.$slots,"right")],2),ke("div",{class:W(C(r).bottom.center)},[ye(s.$slots,"center",{},()=>[K(l,{links:e.links},null,8,["links"])])],2),ke("div",{class:W(C(r).bottom.left)},[ye(s.$slots,"left")],2)]),_:3},8,["class"])],2)],16)}}}),xg=re({__name:"Footer",setup(e){const{footer:t}=lt();return(n,r)=>{const o=$h,s=Qt,i=RT;return j(),ae(i,null,{left:le(()=>[tt(He(C(t).credits),1)]),right:le(()=>{var a,l,u;return[(a=C(t))!=null&&a.colorMode?(j(),ae(o,{key:0})):me("",!0),(l=C(t))!=null&&l.links?(j(!0),ne(Ee,{key:1},yt((u=C(t))==null?void 0:u.links,(c,f)=>(j(),ae(s,ue({key:f},{color:"gray",variant:"ghost",...c}),null,16))),128)):me("",!0)]}),_:1})}}}),Jn=Gt(ze.ui.strategy,ze.ui.avatar,xC),IT=re({components:{UIcon:bt},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",...ze.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}=Ke("avatar",xe(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(()=>jt(at(t.value.wrapper,(u.value||!r.value)&&t.value.background,t.value.rounded,t.value.size[e.size]),e.class)),i=R(()=>jt(at(t.value.rounded,t.value.size[e.size]),e.imgClass)),a=R(()=>at(t.value.icon.base,t.value.icon.size[e.size])),l=R(()=>at(t.value.chip.base,t.value.chip.size[e.size],t.value.chip.position[e.chipPosition],t.value.chip.background.replaceAll("{color}",e.chipColor))),u=F(!1);Me(()=>e.src,()=>{u.value&&(u.value=!1)});function c(){u.value=!0}return{ui:t,attrs:n,wrapperClass:s,imgClass:i,iconClass:a,chipClass:l,url:r,placeholder:o,error:u,onError:c}}}),LT=["alt","src"];function jT(e,t,n,r,o,s){const i=bt;return j(),ne("span",{class:W(e.wrapperClass)},[e.url&&!e.error?(j(),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,LT)):e.text?(j(),ne("span",{key:1,class:W(e.ui.text)},He(e.text),3)):e.icon?(j(),ae(i,{key:2,name:e.icon,class:W(e.iconClass)},null,8,["name","class"])):e.placeholder?(j(),ne("span",{key:3,class:W(e.ui.placeholder)},He(e.placeholder),3)):me("",!0),e.chipColor?(j(),ne("span",{key:4,class:W(e.chipClass)},He(e.chipText),3)):me("",!0),ye(e.$slots,"default")],2)}const kg=Nt(IT,[["render",jT]]);function MT(e,t,n){let r=null;const{pause:o,resume:s,timestamp:i}=Ix({...n||{},controls:!0}),a=F(null),l=R(()=>a.value?t-(i.value-a.value):0);function u(...g){r=setTimeout(()=>{r=null,a.value=null,e(...g)},l.value)}function c(){r&&(clearTimeout(r),r=null)}function f(){a.value=Date.now(),u()}function d(){c(),o()}function p(){c(),o()}function h(){u(),s(),a.value=(a.value||0)+(Date.now()-i.value)}return f(),{start:f,stop:d,pause:p,resume:h,remaining:l}}const lo=Gt(ze.ui.strategy,ze.ui.notification,TC),DT=re({components:{UIcon:bt,UAvatar:kg,UButton:Qt},inheritAttrs:!1,props:{id:{type:[String,Number],required:!0},title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:()=>lo.default.icon},avatar:{type:Object,default:null},closeButton:{type:Object,default:()=>lo.default.closeButton},timeout:{type:Number,default:()=>lo.default.timeout},actions:{type:Array,default:()=>[]},callback:{type:Function,default:null},color:{type:String,default:()=>lo.default.color,validator(e){return["gray",...ze.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}=Ke("notification",xe(e,"ui"),lo);let o=null;const s=F(e.timeout),i=R(()=>{var h;return jt(at(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 at(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}%`})),u=R(()=>{var h;return at(n.value.icon.base,(h=n.value.icon.color)==null?void 0:h.replaceAll("{color}",e.color))});function c(){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 Ie(()=>{e.timeout&&(o=MT(()=>{d()},e.timeout),Xe(()=>{s.value=o.remaining.value}))}),Ye(()=>{o&&o.stop()}),{ui:n,attrs:r,wrapperClass:i,progressClass:a,progressStyle:l,iconClass:u,onMouseover:c,onMouseleave:f,onClose:d,onAction:p,twMerge:jt}}});function NT(e,t,n,r,o,s){const i=bt,a=kg,l=Qt;return j(),ae(Un,ue({appear:""},e.ui.transition),{default:le(()=>[ke("div",ue({class:e.wrapperClass,role:"status"},e.attrs,{onMouseover:t[0]||(t[0]=(...u)=>e.onMouseover&&e.onMouseover(...u)),onMouseleave:t[1]||(t[1]=(...u)=>e.onMouseleave&&e.onMouseleave(...u))}),[ke("div",{class:W([e.ui.container,e.ui.rounded,e.ui.ring])},[ke("div",{class:W(["flex",[e.ui.padding,e.ui.gap,{"items-start":e.description||e.$slots.description,"items-center":!e.description&&!e.$slots.description}]])},[e.icon?(j(),ae(i,{key:0,name:e.icon,class:W(e.iconClass)},null,8,["name","class"])):me("",!0),e.avatar?(j(),ae(a,ue({key:1},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):me("",!0),ke("div",{class:W(e.ui.inner)},[e.title||e.$slots.title?(j(),ne("p",{key:0,class:W(e.ui.title)},[ye(e.$slots,"title",{title:e.title},()=>[tt(He(e.title),1)])],2)):me("",!0),e.description||e.$slots.description?(j(),ne("p",{key:1,class:W(e.twMerge(e.ui.description,!(e.title&&e.$slots.title)&&"mt-0 leading-5"))},[ye(e.$slots,"description",{description:e.description},()=>[tt(He(e.description),1)])],2)):me("",!0),(e.description||e.$slots.description)&&e.actions.length?(j(),ne("div",{key:2,class:W(e.ui.actions)},[(j(!0),ne(Ee,null,yt(e.actions,(u,c)=>(j(),ae(l,ue({key:c},{...e.ui.default.actionButton||{},...u},{onClick:ks(f=>e.onAction(u),["stop"])}),null,16,["onClick"]))),128))],2)):me("",!0)],2),e.closeButton||!e.description&&!e.$slots.description&&e.actions.length?(j(),ne("div",{key:2,class:W(e.twMerge(e.ui.actions,"mt-0"))},[!e.description&&!e.$slots.description&&e.actions.length?(j(!0),ne(Ee,{key:0},yt(e.actions,(u,c)=>(j(),ae(l,ue({key:c},{...e.ui.default.actionButton||{},...u},{onClick:ks(f=>e.onAction(u),["stop"])}),null,16,["onClick"]))),128)):me("",!0),e.closeButton?(j(),ae(l,ue({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{onClick:ks(e.onClose,["stop"])}),null,16,["onClick"])):me("",!0)],2)):me("",!0)],2),e.timeout?(j(),ne("div",{key:0,class:W(e.progressClass),style:Nn(e.progressStyle)},null,6)):me("",!0)],2)],16)]),_:3},16)}const Eg=Nt(DT,[["render",NT]]);function FT(){const e=yr("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 BT=Gt(ze.ui.strategy,ze.ui.notifications,AC),HT=re({components:{UNotification:Eg},inheritAttrs:!1,props:{class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=Ke("notifications",xe(e,"ui"),BT),r=FT(),o=yr("notifications",()=>[]),s=R(()=>jt(at(t.value.wrapper,t.value.position,t.value.width),e.class));return{ui:t,attrs:n,toast:r,notifications:o,wrapperClass:s}}});function UT(e,t,n,r,o,s){const i=Eg;return j(),ae(Bd,{to:"body"},[ke("div",ue({class:e.wrapperClass,role:"region"},e.attrs),[e.notifications.length?(j(),ne("div",{key:0,class:W(e.ui.container)},[(j(!0),ne(Ee,null,yt(e.notifications,a=>(j(),ne("div",{key:a.id},[K(i,ue(a,{class:a.click&&"cursor-pointer",onClick:l=>a.click&&a.click(a),onClose:l=>e.toast.remove(a.id)}),li({_:2},[yt(e.$slots,(l,u)=>({name:u,fn:le(c=>[ye(e.$slots,u,Tr(Ir(c)))])}))]),1040,["class","onClick","onClose"])]))),128))],2)):me("",!0)],16)])}const Cg=Nt(HT,[["render",UT]]),zT=e=>e==="defer"||e===!1;function wc(...e){var h;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=r,a=()=>null,l=()=>s.isHydrating?s.payload.data[n]:s.static.data[n];o.server=o.server??!0,o.default=o.default??a,o.getCachedData=o.getCachedData??l,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??yw.deep,o.dedupe=o.dedupe??"cancel";const u=()=>![null,void 0].includes(o.getCachedData(n));if(!s._asyncData[n]||!o.immediate){(h=s.payload._errors)[n]??(h[n]=null);const g=o.deep?F:Bn;s._asyncData[n]={data:g(o.getCachedData(n)??o.default()),pending:F(!u()),error:xe(s.payload._errors,n),status:F("idle")}}const c={...s._asyncData[n]};c.refresh=c.execute=(g={})=>{if(s._asyncDataPromises[n]){if(zT(g.dedupe??o.dedupe))return s._asyncDataPromises[n];s._asyncDataPromises[n].cancelled=!0}if((g._initial||s.isHydrating&&g._initial!==!1)&&u())return Promise.resolve(o.getCachedData(n));c.pending.value=!0,c.status.value="pending";const b=new Promise((_,y)=>{try{_(i(s))}catch(v){y(v)}}).then(_=>{if(b.cancelled)return s._asyncDataPromises[n];let y=_;o.transform&&(y=o.transform(_)),o.pick&&(y=VT(y,o.pick)),s.payload.data[n]=y,c.data.value=y,c.error.value=null,c.status.value="success"}).catch(_=>{if(b.cancelled)return s._asyncDataPromises[n];c.error.value=Go(_),c.data.value=C(o.default()),c.status.value="error"}).finally(()=>{b.cancelled||(c.pending.value=!1,delete s._asyncDataPromises[n])});return s._asyncDataPromises[n]=b,s._asyncDataPromises[n]};const f=()=>c.refresh({_initial:!0}),d=o.server!==!1&&s.payload.serverRendered;{const g=Mt();if(g&&!g._nuxtOnBeforeMountCbs){g._nuxtOnBeforeMountCbs=[];const _=g._nuxtOnBeforeMountCbs;g&&(Ed(()=>{_.forEach(y=>{y()}),_.splice(0,_.length)}),Ye(()=>_.splice(0,_.length)))}d&&s.isHydrating&&(c.error.value||u())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):g&&(s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?g._nuxtOnBeforeMountCbs.push(f):o.immediate&&f(),o.watch&&Me(o.watch,()=>c.refresh());const b=s.hook("app:data:refresh",async _=>{(!_||_.includes(n))&&await c.refresh()});g&&Ye(b)}const p=Promise.resolve(s._asyncDataPromises[n]).then(()=>c);return Object.assign(p,c),p}function VT(e,t){const n={};for(const r of t)n[r]=e[r];return n}function _c(e){return JSON.stringify(e,WT)}function WT(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const Sg=e=>{let t=_c(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("/")},xc=()=>({isEnabled:()=>{const r=mn().query;return Object.prototype.hasOwnProperty.call(r,"preview")&&!r.preview?!1:!!(r.preview||Ps("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>Ps("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:r=>{Ps("previewToken").value=r,mn().query.preview=r||"",r?sessionStorage.setItem("previewToken",r):sessionStorage.removeItem("previewToken"),window.location.reload()}}),Xs=e=>np(e,Dt().public.content.api.baseURL),_A=()=>{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.")},Pg=()=>{const{experimental:e}=Dt().public.content;return e.clientDB?!0:xc().isEnabled()},Df=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),kc=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),xA=e=>t=>e&&e.length?kc(t,n=>!e.includes(n)):t,kA=e=>t=>Array.isArray(t)?t.map(n=>e(n)):e(t),Tg=e=>{const t=[],n=[];for(const r of e)["$","_"].includes(r)?t.push(r):n.push(r);return{prefixes:t,properties:n}},EA=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Tg(e);return kc(t,o=>!r.includes(o)&&!n.includes(o[0]))},CA=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Tg(e);return kc(t,o=>r.includes(o)||n.includes(o[0]))},SA=(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=[Df(s,o),Df(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},PA=(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],qT=["sort","where","only","without"];function KT(e,t={}){const n={};for(const i of Object.keys(t.initialParams||{}))n[i]=qT.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 GT=()=>async e=>{const{content:t}=Dt().public,n=e.params(),r=t.experimental.stripQueryParameters?Xs(`/query/${`${Io(n)}.${t.integrity}`}/${Sg(n)}.json`):Xs(`/query/${Io(n)}.${t.integrity}.json`);if(Pg())return(await G(()=>import("./client-db.WKxx-TH9.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:_c(n),previewToken:xc().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function QT(e,...t){const{content:n}=Dt().public,r=KT(GT(),{initialParams:typeof e!="string"?e:{},legacy:!0});let o;typeof e=="string"&&(o=by(fi(e,...t)));const s=r.params;return r.params=()=>{var a,l,u;const i=s();return o&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:tp(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&&((u=(l=i.where)==null?void 0:l.find(f=>f._locale))!=null&&u._locale||(i.where=i.where||[],i.where.push({_locale:n.defaultLocale}))),i},r}const Ag=async e=>{const{content:t}=Dt().public;typeof(e==null?void 0:e.params)!="function"&&(e=QT(e));const n=e.params(),r=t.experimental.stripQueryParameters?Xs(`/navigation/${`${Io(n)}.${t.integrity}`}/${Sg(n)}.json`):Xs(`/navigation/${Io(n)}.${t.integrity}.json`);if(Pg())return(await G(()=>import("./client-db.WKxx-TH9.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:_c(n),previewToken:xc().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function XT(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],s=R(()=>{let S=e;return typeof S=="function"&&(S=S()),Zt(S)}),i=r.key||Io([o,typeof s.value=="string"?s.value:"",...YT(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:u,default:c,transform:f,pick:d,watch:p,immediate:h,getCachedData:g,deep:b,dedupe:_,...y}=r,v=Lt({...bw,...y,cache:typeof r.cache=="boolean"?void 0:r.cache}),m={server:l,lazy:u,default:c,transform:f,pick:d,immediate:h,getCachedData:g,deep:b,dedupe:_,watch:p===!1?[]:[v,s,...p||[]]};let w;return wc(a,()=>{var L;(L=w==null?void 0:w.abort)==null||L.call(w),w=typeof AbortController<"u"?new AbortController:{};const S=Zt(r.timeout);return S&&setTimeout(()=>w.abort(),S),(r.$fetch||globalThis.$fetch)(s.value,{signal:w.signal,...v})},m)}function Og(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n];return XT(e,{...r,lazy:!0},o)}function YT(e){var n;const t=[((n=Zt(e.method))==null?void 0:n.toUpperCase())||"GET",Zt(e.baseURL)];for(const r of[e.params||e.query]){const o=Zt(r);if(!o)continue;const s={};for(const[i,a]of Object.entries(o))s[Zt(i)]=Zt(a);t.push(s)}return t}const JT=Z(()=>G(()=>import("./DocsSearch.GiTpX-tp.js"),__vite__mapDeps([45,46]),import.meta.url).then(e=>e.default||e)),ZT=re({__name:"app",async setup(e){let t,n;const{data:r}=([t,n]=bl(()=>wc("navigation",()=>Ag())),t=await t,n(),t),{data:o}=Og("/api/search.json",{default:()=>[],server:!1},"$siNM9WAguS");return Qo({meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",href:"/favicon.ico"}],htmlAttrs:{lang:"en"}}),Ip({ogSiteName:"Nuxt x Supabase - Docs",twitterCard:"summary_large_image"}),Ue("navigation",r),(s,i)=>{const a=wg,l=ET,u=AT,c=_g,f=xg,d=JT,p=Jl,h=Cg;return j(),ne("div",null,[K(a),K(c,null,{default:le(()=>[K(u,null,{default:le(()=>[K(l)]),_:1})]),_:1}),K(f),K(p,null,{default:le(()=>[K(d,{files:C(o),navigation:C(r)},null,8,["files","navigation"])]),_:1}),K(h)])}}}),eA=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}=Ke("page.error",xe(n,"ui"),t,xe(n,"class"),!0),s=()=>bp({redirect:"/"});return(i,a)=>{var u,c,f,d;const l=Qt;return j(),ne("div",ue({class:C(r).wrapper},C(o)),[ke("p",{class:W(C(r).status)},He(((u=e.error)==null?void 0:u.statusCode)||e.status),3),ke("h1",{class:W(C(r).name)},He(((c=e.error)==null?void 0:c.name)||((f=e.error)==null?void 0:f.statusMessage)||e.name),3),ke("p",{class:W(C(r).message)},He((d=e.error)!=null&&d.message&&e.error.message!==(e.error.name||e.error.statusMessage||e.name)?e.error.message:e.message),3),ke("div",{class:W(C(r).links)},[K(l,ue({...C(r).default.clearButton,...e.clearButton},{onClick:s}),null,16)],2)],16)}}}),tA=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=Td(),{ui:o,attrs:s}=Ke("page",xe(n,"ui"),t,xe(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)=>(j(),ne("div",ue({class:C(o).wrapper},C(s)),[a.$slots.left?(j(),ne("div",{key:0,class:W(C(o).left)},[ye(a.$slots,"left")],2)):me("",!0),ke("div",{class:W(C(i))},[ye(a.$slots,"default")],2),a.$slots.right?(j(),ne("div",{key:1,class:W(C(o).right)},[ye(a.$slots,"right")],2)):me("",!0)],16))}}),nA=Z(()=>G(()=>import("./DocsSearch.GiTpX-tp.js"),__vite__mapDeps([45,46]),import.meta.url).then(e=>e.default||e)),rA=re({__name:"error",props:{error:{}},async setup(e){let t,n;Ip({title:"Page not found",description:"We are sorry but this page could not be found."}),Qo({htmlAttrs:{lang:"en"}});const{data:r}=([t,n]=bl(()=>wc("navigation",()=>Ag())),t=await t,n(),t),{data:o}=Og("/api/search.json",{default:()=>[],server:!1},"$mar46U4SiV");return Ue("navigation",r),(s,i)=>{const a=wg,l=eA,u=tA,c=yc,f=_g,d=xg,p=nA,h=Jl,g=Cg;return j(),ne("div",null,[K(a),K(f,null,{default:le(()=>[K(c,null,{default:le(()=>[K(u,null,{default:le(()=>[K(l,{error:s.error},null,8,["error"])]),_:1})]),_:1})]),_:1}),K(d),K(h,null,{default:le(()=>[K(p,{files:C(o),navigation:C(r)},null,8,["files","navigation"])]),_:1}),K(g)])}}}),oA={__name:"nuxt-root",setup(e){const t=()=>null,n=Ae(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);Tt().beforeEach(a)}const o=!1;Ue(Gr,mn()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const s=pi();Sd((a,l,u)=>{if(n.hooks.callHook("vue:error",a,l,u).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),gb(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>xr(a)),!1});const i=!1;return(a,l)=>(j(),ae(vl,{onResolve:C(r)},{default:le(()=>[C(s)?(j(),ae(C(rA),{key:0,error:C(s)},null,8,["error"])):C(i)?(j(),ae(C(t),{key:1,context:C(i)},null,8,["context"])):C(o)?(j(),ae(Ar(C(o)),{key:2})):(j(),ae(C(ZT),{key:3}))]),_:1},8,["onResolve"]))}},Nf=oA;let Ff;{let e;Ff=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")?ey(Nf):Zv(Nf),o=a0({vueApp:r});async function s(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||Go(l)}r.config.errorHandler=s;try{await c0(o,IC)}catch(l){s(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(ww),await o.hooks.callHook("app:mounted",r),await Vn()}catch(l){s(l)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=Ff().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{nn as $,_A as A,Te as B,Il as C,R as D,C as E,Ee as F,Bn as G,Me as H,sA as I,il as J,Xe as K,bn as L,rt as M,Lt as N,J as O,Mh as P,Ue as Q,nc as R,qe as S,Un as T,we as U,Nr as V,vA as W,gr as X,ht as Y,Bh as Z,G as _,Ye as a,yc as a$,zn as a0,Jo as a1,Ce as a2,sn as a3,rS as a4,Zo as a5,mt as a6,Vn as a7,nr as a8,sS as a9,OS as aA,sg as aB,KS as aC,UC as aD,Rn as aE,Ah as aF,pA as aG,qC as aH,bT as aI,et as aJ,dA as aK,Ch as aL,jt as aM,Dr as aN,Wn as aO,Ed as aP,qo as aQ,ks as aR,bl as aS,Go as aT,Ip as aU,wc as aV,wA as aW,tA as aX,tp as aY,bA as aZ,Io as a_,Wt as aa,bt as ab,kg as ac,FC as ad,ec as ae,Zl as af,ar as ag,yt as ah,ae as ai,ye as aj,ue as ak,Nn as al,Gt as am,ze as an,Qt as ao,Ke as ap,xe as aq,di as ar,uA as as,at,Dm as au,Iv as av,li as aw,Tr as ax,Ir as ay,AS as az,j as b,Yp as b0,gA as b1,Qr as b2,fA as b3,ja as b4,mi as b5,cA as b6,ms as b7,Td as b8,mk as b9,dn as bA,xA as bB,SA as bC,kA as bD,EA as bE,CA as bF,KT as bG,np as bH,el as ba,Ar as bb,LS as bc,jS as bd,IS as be,Vm as bf,Qo as bg,vy as bh,iA as bi,Ag as bj,xc as bk,yA as bl,Or as bm,jy as bn,fi as bo,hA as bp,FT as bq,Mt as br,by as bs,uC as bt,pT as bu,_g as bv,bg as bw,ig as bx,Df as by,PA as bz,ne as c,re as d,ke as e,me as f,K as g,Ps as h,lA as i,tt as j,Ae as k,Nt as l,Dt as m,W as n,Ie as o,aA as p,yr as q,F as r,QT as s,He as t,Tt as u,mn as v,le as w,u0 as x,lt as y,Zv as z}; +`));let p=Fh((i=f.props)!=null?i:{},l,c),h=sn(f,p,!0);for(let g in p)g.startsWith("on")&&(h.props||(h.props={}),h.props[g]=p[g]);return h}return Array.isArray(u)&&u.length===1?u[0]:u}return we(a,Object.assign({},l,c),{default:()=>u})}function Nh(e){return e.flatMap(t=>t.type===Ee?Nh(t.children):[t])}function Fh(...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 vA(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Bh(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function iS(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var gr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(gr||{});let Nr=re({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{var r;let{features:o,...s}=e,i={"aria-hidden":(o&2)===2?!0:(r=s["aria-hidden"])!=null?r: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",...(o&4)===4&&(o&2)!==2&&{display:"none"}}};return ht({ourProps:i,theirProps:s,slot:{},attrs:n,slots:t,name:"Hidden"})}}}),Hh=Symbol("Context");var qe=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(qe||{});function aS(){return Jo()!==null}function Jo(){return Ce(Hh,null)}function nc(e){Ue(Hh,e)}var mt=(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))(mt||{});function lS(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let nr=[];lS(()=>{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 rc(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 rc(()=>{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}function oc(e,t,n,r){Yo.isServer||Xe(o=>{e=e??window,e.addEventListener(t,n,r),o(()=>e.removeEventListener(t,n,r))})}var Et=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Et||{});function sc(){let e=F(0);return jh("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function Uh(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=J(n);r instanceof HTMLElement&&t.add(r)}return t}var zh=(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))(zh||{});let so=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(()=>bn(o)),i=F(!1);Ie(()=>i.value=!0),Ye(()=>i.value=!1),uS({ownerDocument:s},R(()=>i.value&&!!(e.features&16)));let a=fS({ownerDocument:s,container:o,initialFocus:R(()=>e.initialFocus)},R(()=>i.value&&!!(e.features&2)));dS({ownerDocument:s,container:o,containers:e.containers,previousActiveElement:a},R(()=>i.value&&!!(e.features&8)));let l=sc();function u(p){let h=J(o);h&&(g=>g())(()=>{rt(l.value,{[Et.Forwards]:()=>{zt(h,ut.First,{skipElements:[p.relatedTarget]})},[Et.Backwards]:()=>{zt(h,ut.Last,{skipElements:[p.relatedTarget]})}})})}let c=F(!1);function f(p){p.key==="Tab"&&(c.value=!0,requestAnimationFrame(()=>{c.value=!1}))}function d(p){if(!i.value)return;let h=Uh(e.containers);J(o)instanceof HTMLElement&&h.add(J(o));let g=p.relatedTarget;g instanceof HTMLElement&&g.dataset.headlessuiFocusGuard!=="true"&&(Vh(h,g)||(c.value?zt(J(o),rt(l.value,{[Et.Forwards]:()=>ut.Next,[Et.Backwards]:()=>ut.Previous})|ut.WrapAround,{relativeTo:p.target}):p.target instanceof HTMLElement&&cr(p.target)))}return()=>{let p={},h={ref:o,onKeydown:f,onFocusout:d},{features:g,initialFocus:b,containers:_,...y}=e;return we(Ee,[!!(g&4)&&we(Nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:u,features:gr.Focusable}),ht({ourProps:h,theirProps:{...t,...y},slot:p,attrs:t,slots:n,name:"FocusTrap"}),!!(g&4)&&we(Nr,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:u,features:gr.Focusable})])}}}),{features:zh});function cS(e){let t=F(nr.slice());return Me([e],([n],[r])=>{r===!0&&n===!1?rc(()=>{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 uS({ownerDocument:e},t){let n=cS(t);Ie(()=>{Xe(()=>{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"})}),Ye(()=>{t.value&&cr(n())})}function fS({ownerDocument:e,container:t,initialFocus:n},r){let o=F(null),s=F(!1);return Ie(()=>s.value=!0),Ye(()=>s.value=!1),Ie(()=>{Me([t,n,r],(i,a)=>{if(i.every((u,c)=>(a==null?void 0:a[c])===u)||!r.value)return;let l=J(t);l&&rc(()=>{var u,c;if(!s.value)return;let f=J(n),d=(u=e.value)==null?void 0:u.activeElement;if(f){if(f===d){o.value=d;return}}else if(l.contains(d)){o.value=d;return}f?cr(f):zt(l,ut.First|ut.NoScroll)===Bo.Error&&console.warn("There are no focusable elements inside the "),o.value=(c=e.value)==null?void 0:c.activeElement})},{immediate:!0,flush:"post"})}),o}function dS({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){var s;oc((s=e.value)==null?void 0:s.defaultView,"focus",i=>{if(!o.value)return;let a=Uh(n);J(t)instanceof HTMLElement&&a.add(J(t));let l=r.value;if(!l)return;let u=i.target;u&&u instanceof HTMLElement?Vh(a,u)?(r.value=u,cr(u)):(i.preventDefault(),i.stopPropagation(),cr(l)):cr(r.value)},!0)}function Vh(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function pS(e){let t=Bn(e.getSnapshot());return Ye(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function hS(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 gS(){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 mS(){return Lh()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(s=>s()).some(s=>s.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let a=Zo();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let s=(o=window.scrollY)!=null?o:window.pageYOffset,i=null;t.addEventListener(e,"click",a=>{if(a.target instanceof HTMLElement)try{let l=a.target.closest("a");if(!l)return;let{hash:u}=new URL(l.href),c=e.querySelector(u);c&&!r(c)&&(i=c)}catch{}},!0),t.addEventListener(e,"touchstart",a=>{if(a.target instanceof HTMLElement)if(r(a.target)){let l=a.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(a.target,"touchAction","none")}),t.addEventListener(e,"touchmove",a=>{if(a.target instanceof HTMLElement)if(r(a.target)){let l=a.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&a.preventDefault()}else a.preventDefault()},{passive:!1}),t.add(()=>{var a;let l=(a=window.scrollY)!=null?a:window.pageYOffset;s!==l&&window.scrollTo(0,s),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{}}function vS(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function yS(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let sr=hS(()=>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:yS(n)},o=[mS(),gS(),vS()];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 bS(e,t,n){let r=pS(sr),o=R(()=>{let s=e.value?r.value.get(e.value):void 0;return s?s.count>0:!1});return Me([e,t],([s,i],[a],l)=>{if(!s||!i)return;sr.dispatch("PUSH",s,n);let u=!1;l(()=>{u||(sr.dispatch("POP",a??s,n),u=!0)})},{immediate:!0}),o}let Ki=new Map,io=new Map;function Pf(e,t=F(!0)){Xe(n=>{var r;if(!t.value)return;let o=J(e);if(!o)return;n(function(){var i;if(!o)return;let a=(i=io.get(o))!=null?i:1;if(a===1?io.delete(o):io.set(o,a-1),a!==1)return;let l=Ki.get(o);l&&(l["aria-hidden"]===null?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",l["aria-hidden"]),o.inert=l.inert,Ki.delete(o))});let s=(r=io.get(o))!=null?r:0;io.set(o,s+1),s===0&&(Ki.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),inert:o.inert}),o.setAttribute("aria-hidden","true"),o.inert=!0)})}function Wh({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=F(null),o=bn(r);function s(){var i,a,l;let u=[];for(let c of e)c!==null&&(c instanceof HTMLElement?u.push(c):"value"in c&&c.value instanceof HTMLElement&&u.push(c.value));if(t!=null&&t.value)for(let c of t.value)u.push(c);for(let c of(i=o==null?void 0:o.querySelectorAll("html > *, body > *"))!=null?i:[])c!==document.body&&c!==document.head&&c instanceof HTMLElement&&c.id!=="headlessui-portal-root"&&(c.contains(J(r))||c.contains((l=(a=J(r))==null?void 0:a.getRootNode())==null?void 0:l.host)||u.some(f=>c.contains(f))||u.push(c));return u}return{resolveContainers:s,contains(i){return s().some(a=>a.contains(i))},mainTreeNodeRef:r,MainTreeNode(){return n!=null?null:we(Nr,{features:gr.Hidden,ref:r})}}}let qh=Symbol("ForcePortalRootContext");function wS(){return Ce(qh,!1)}let Tf=re({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return Ue(qh,e.force),()=>{let{force:r,...o}=e;return ht({theirProps:o,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}}),Kh=Symbol("StackContext");var Ga=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Ga||{});function _S(){return Ce(Kh,()=>{})}function xS({type:e,enabled:t,element:n,onUpdate:r}){let o=_S();function s(...i){r==null||r(...i),o(...i)}Ie(()=>{Me(t,(i,a)=>{i?s(0,e,n):a===!0&&s(1,e,n)},{immediate:!0,flush:"sync"})}),Ye(()=>{t.value&&s(1,e,n)}),Ue(Kh,s)}let kS=Symbol("DescriptionContext");function ES({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 Ue(kS,{register:o,slot:e,name:t,props:n}),R(()=>r.value.length>0?r.value.join(" "):void 0)}function CS(e){let t=bn(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 SS=re({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=F(null),o=R(()=>bn(r)),s=wS(),i=Ce(Qh,null),a=F(s===!0||i==null?CS(r.value):i.resolveTarget()),l=F(!1);Ie(()=>{l.value=!0}),Xe(()=>{s||i!=null&&(a.value=i.resolveTarget())});let u=Ce(Qa,null),c=!1,f=Mt();return Me(r,()=>{if(c||!u)return;let d=J(r);d&&(Ye(u.register(d),f),c=!0)}),Ye(()=>{var d,p;let h=(d=o.value)==null?void 0:d.getElementById("headlessui-portal-root");h&&a.value===h&&a.value.children.length<=0&&((p=a.value.parentElement)==null||p.removeChild(a.value))}),()=>{if(!l.value||a.value===null)return null;let d={ref:r,"data-headlessui-portal":""};return we(Bd,{to:a.value},ht({ourProps:d,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),Qa=Symbol("PortalParentContext");function Gh(){let e=Ce(Qa,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 Ue(Qa,o),()=>{var a;return(a=i.default)==null?void 0:a.call(i)}}})]}let Qh=Symbol("PortalGroupContext"),PS=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 Ue(Qh,r),()=>{let{target:o,...s}=e;return ht({theirProps:s,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}});var TS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(TS||{});let Xa=Symbol("DialogContext");function Xh(e){let t=Ce(Xa,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Xh),n}return t}let bs="DC8F892D-2EBD-447C-A4C8-A03058436FF4",AS=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:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){var s,i;let a=(s=e.id)!=null?s:`headlessui-dialog-${nn()}`,l=F(!1);Ie(()=>{l.value=!0});let u=!1,c=R(()=>e.role==="dialog"||e.role==="alertdialog"?e.role:(u||(u=!0,console.warn(`Invalid role [${c}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),f=F(0),d=Jo(),p=R(()=>e.open===bs&&d!==null?(d.value&qe.Open)===qe.Open:e.open),h=F(null),g=R(()=>bn(h));if(o({el:h,$el:h}),!(e.open!==bs||d!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof p.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${p.value===bs?void 0:e.open}`);let b=R(()=>l.value&&p.value?0:1),_=R(()=>b.value===0),y=R(()=>f.value>1),v=Ce(Xa,null)!==null,[m,w]=Gh(),{resolveContainers:E,mainTreeNodeRef:S,MainTreeNode:T}=Wh({portals:m,defaultContainers:[R(()=>{var he;return(he=ee.panelRef.value)!=null?he:h.value})]}),L=R(()=>y.value?"parent":"leaf"),A=R(()=>d!==null?(d.value&qe.Closing)===qe.Closing:!1),V=R(()=>v||A.value?!1:_.value),$=R(()=>{var he,de,Ve;return(Ve=Array.from((de=(he=g.value)==null?void 0:he.querySelectorAll("body > *"))!=null?de:[]).find(De=>De.id==="headlessui-portal-root"?!1:De.contains(J(S))&&De instanceof HTMLElement))!=null?Ve:null});Pf($,V);let U=R(()=>y.value?!0:_.value),ve=R(()=>{var he,de,Ve;return(Ve=Array.from((de=(he=g.value)==null?void 0:he.querySelectorAll("[data-headlessui-portal]"))!=null?de:[]).find(De=>De.contains(J(S))&&De instanceof HTMLElement))!=null?Ve:null});Pf(ve,U),xS({type:"Dialog",enabled:R(()=>b.value===0),element:h,onUpdate:(he,de)=>{if(de==="Dialog")return rt(he,{[Ga.Add]:()=>f.value+=1,[Ga.Remove]:()=>f.value-=1})}});let fe=ES({name:"DialogDescription",slot:R(()=>({open:p.value}))}),B=F(null),ee={titleId:B,panelRef:F(null),dialogState:b,setTitleId(he){B.value!==he&&(B.value=he)},close(){t("close",!1)}};Ue(Xa,ee);let Y=R(()=>!(!_.value||y.value));Mh(E,(he,de)=>{ee.close(),Vn(()=>de==null?void 0:de.focus())},Y);let Le=R(()=>!(y.value||b.value!==0));oc((i=g.value)==null?void 0:i.defaultView,"keydown",he=>{Le.value&&(he.defaultPrevented||he.key===mt.Escape&&(he.preventDefault(),he.stopPropagation(),ee.close()))});let Je=R(()=>!(A.value||b.value!==0||v));return bS(g,Je,he=>{var de;return{containers:[...(de=he.containers)!=null?de:[],E]}}),Xe(he=>{if(b.value!==0)return;let de=J(h);if(!de)return;let Ve=new ResizeObserver(De=>{for(let st of De){let je=st.target.getBoundingClientRect();je.x===0&&je.y===0&&je.width===0&&je.height===0&&ee.close()}});Ve.observe(de),he(()=>Ve.disconnect())}),()=>{let{open:he,initialFocus:de,...Ve}=e,De={...n,ref:h,id:a,role:c.value,"aria-modal":b.value===0?!0:void 0,"aria-labelledby":B.value,"aria-describedby":fe.value},st={open:b.value===0};return we(Tf,{force:!0},()=>[we(SS,()=>we(PS,{target:h.value},()=>we(Tf,{force:!1},()=>we(so,{initialFocus:de,containers:E,features:_.value?rt(L.value,{parent:so.features.RestoreFocus,leaf:so.features.All&~so.features.FocusLock}):so.features.None},()=>we(w,{},()=>ht({ourProps:De,theirProps:{...Ve,...n},slot:st,attrs:n,slots:r,visible:b.value===0,features:zn.RenderStrategy|zn.Static,name:"Dialog"})))))),we(T)])}}}),OS=re({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){var o;let s=(o=e.id)!=null?o:`headlessui-dialog-panel-${nn()}`,i=Xh("DialogPanel");r({el:i.panelRef,$el:i.panelRef});function a(l){l.stopPropagation()}return()=>{let{...l}=e,u={id:s,ref:i.panelRef,onClick:a};return ht({ourProps:u,theirProps:l,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});var $S=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))($S||{});let Yh=Symbol("DisclosureContext");function ic(e){let t=Ce(Yh,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ic),n}return t}let Jh=Symbol("DisclosurePanelContext");function RS(){return Ce(Jh,null)}let IS=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-${nn()}`),panelId:F(`headlessui-disclosure-panel-${nn()}`),disclosureState:r,panel:o,button:s,toggleDisclosure(){r.value=rt(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?J(a):J(i.button):J(i.button);l==null||l.focus()}};return Ue(Yh,i),nc(R(()=>rt(r.value,{0:qe.Open,1:qe.Closed}))),()=>{let{defaultOpen:a,...l}=e,u={open:r.value===0,close:i.close};return ht({theirProps:l,ourProps:{},slot:u,slots:t,attrs:n,name:"Disclosure"})}}}),LS=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=ic("DisclosureButton"),s=RS(),i=R(()=>s===null?!1:s.value===o.panelId.value);Ie(()=>{i.value||e.id!==null&&(o.buttonId.value=e.id)}),Ye(()=>{i.value||(o.buttonId.value=null)});let a=F(null);r({el:a,$el:a}),i.value||Xe(()=>{o.button.value=a.value});let l=Dh(R(()=>({as:e.as,type:t.type})),a);function u(){var d;e.disabled||(i.value?(o.toggleDisclosure(),(d=J(o.button))==null||d.focus()):o.toggleDisclosure())}function c(d){var p;if(!e.disabled)if(i.value)switch(d.key){case mt.Space:case mt.Enter:d.preventDefault(),d.stopPropagation(),o.toggleDisclosure(),(p=J(o.button))==null||p.focus();break}else switch(d.key){case mt.Space:case mt.Enter:d.preventDefault(),d.stopPropagation(),o.toggleDisclosure();break}}function f(d){switch(d.key){case mt.Space:d.preventDefault();break}}return()=>{var d;let p={open:o.disclosureState.value===0},{id:h,...g}=e,b=i.value?{ref:a,type:l.value,onClick:u,onKeydown:c}:{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||J(o.panel)?o.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:u,onKeydown:c,onKeyup:f};return ht({ourProps:b,theirProps:g,slot:p,attrs:t,slots:n,name:"DisclosureButton"})}}}),jS=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=ic("DisclosurePanel");Ie(()=>{e.id!==null&&(o.panelId.value=e.id)}),Ye(()=>{o.panelId.value=null}),r({el:o.panel,$el:o.panel}),Ue(Jh,o.panelId);let s=Jo(),i=R(()=>s!==null?(s.value&qe.Open)===qe.Open:o.disclosureState.value===0);return()=>{var a;let l={open:o.disclosureState.value===0,close:o.close},{id:u,...c}=e,f={id:(a=o.panelId.value)!=null?a:u,ref:o.panel};return ht({ourProps:f,theirProps:c,slot:l,attrs:t,slots:n,features:zn.RenderStrategy|zn.Static,visible:i.value,name:"DisclosurePanel"})}}});var MS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(MS||{});let Zh=Symbol("PopoverContext");function ac(e){let t=Ce(Zh,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <${ng.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ac),n}return t}let DS=Symbol("PopoverGroupContext");function eg(){return Ce(DS,null)}let tg=Symbol("PopoverPanelContext");function NS(){return Ce(tg,null)}let ng=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),u=F(null),c=F(null),f=R(()=>bn(s)),d=R(()=>{var w,E;if(!J(a)||!J(c))return!1;for(let U of document.querySelectorAll("body > *"))if(Number(U==null?void 0:U.contains(J(a)))^Number(U==null?void 0:U.contains(J(c))))return!0;let S=bi(),T=S.indexOf(J(a)),L=(T+S.length-1)%S.length,A=(T+1)%S.length,V=S[L],$=S[A];return!((w=J(c))!=null&&w.contains(V))&&!((E=J(c))!=null&&E.contains($))}),p={popoverState:i,buttonId:F(null),panelId:F(null),panel:c,button:a,isPortalled:d,beforePanelSentinel:l,afterPanelSentinel:u,togglePopover(){i.value=rt(i.value,{0:1,1:0})},closePopover(){i.value!==1&&(i.value=1)},close(w){p.closePopover();let E=w?w instanceof HTMLElement?w:w.value instanceof HTMLElement?J(w):J(p.button):J(p.button);E==null||E.focus()}};Ue(Zh,p),nc(R(()=>rt(i.value,{0:qe.Open,1:qe.Closed})));let h={buttonId:p.buttonId,panelId:p.panelId,close(){p.closePopover()}},g=eg(),b=g==null?void 0:g.registerPopover,[_,y]=Gh(),v=Wh({mainTreeNodeRef:g==null?void 0:g.mainTreeNodeRef,portals:_,defaultContainers:[a,c]});function m(){var w,E,S,T;return(T=g==null?void 0:g.isFocusWithinPopoverGroup())!=null?T:((w=f.value)==null?void 0:w.activeElement)&&(((E=J(a))==null?void 0:E.contains(f.value.activeElement))||((S=J(c))==null?void 0:S.contains(f.value.activeElement)))}return Xe(()=>b==null?void 0:b(h)),oc((o=f.value)==null?void 0:o.defaultView,"focus",w=>{var E,S;w.target!==window&&w.target instanceof HTMLElement&&i.value===0&&(m()||a&&c&&(v.contains(w.target)||(E=J(p.beforePanelSentinel))!=null&&E.contains(w.target)||(S=J(p.afterPanelSentinel))!=null&&S.contains(w.target)||p.closePopover()))},!0),Mh(v.resolveContainers,(w,E)=>{var S;p.closePopover(),Ih(E,tc.Loose)||(w.preventDefault(),(S=J(a))==null||S.focus())},R(()=>i.value===0)),()=>{let w={open:i.value===0,close:p.close};return we(Ee,[we(y,{},()=>ht({theirProps:{...e,...n},ourProps:{ref:s},slot:w,slots:t,attrs:n,name:"Popover"})),we(v.MainTreeNode)])}}}),FS=re({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var o;let s=(o=e.id)!=null?o:`headlessui-popover-button-${nn()}`,i=ac("PopoverButton"),a=R(()=>bn(i.button));r({el:i.button,$el:i.button}),Ie(()=>{i.buttonId.value=s}),Ye(()=>{i.buttonId.value=null});let l=eg(),u=l==null?void 0:l.closeOthers,c=NS(),f=R(()=>c===null?!1:c.value===i.panelId.value),d=F(null),p=`headlessui-focus-sentinel-${nn()}`;f.value||Xe(()=>{i.button.value=J(d)});let h=Dh(R(()=>({as:e.as,type:t.type})),d);function g(w){var E,S,T,L,A;if(f.value){if(i.popoverState.value===1)return;switch(w.key){case mt.Space:case mt.Enter:w.preventDefault(),(S=(E=w.target).click)==null||S.call(E),i.closePopover(),(T=J(i.button))==null||T.focus();break}}else switch(w.key){case mt.Space:case mt.Enter:w.preventDefault(),w.stopPropagation(),i.popoverState.value===1&&(u==null||u(i.buttonId.value)),i.togglePopover();break;case mt.Escape:if(i.popoverState.value!==0)return u==null?void 0:u(i.buttonId.value);if(!J(i.button)||(L=a.value)!=null&&L.activeElement&&!((A=J(i.button))!=null&&A.contains(a.value.activeElement)))return;w.preventDefault(),w.stopPropagation(),i.closePopover();break}}function b(w){f.value||w.key===mt.Space&&w.preventDefault()}function _(w){var E,S;e.disabled||(f.value?(i.closePopover(),(E=J(i.button))==null||E.focus()):(w.preventDefault(),w.stopPropagation(),i.popoverState.value===1&&(u==null||u(i.buttonId.value)),i.togglePopover(),(S=J(i.button))==null||S.focus()))}function y(w){w.preventDefault(),w.stopPropagation()}let v=sc();function m(){let w=J(i.panel);if(!w)return;function E(){rt(v.value,{[Et.Forwards]:()=>zt(w,ut.First),[Et.Backwards]:()=>zt(w,ut.Last)})===Bo.Error&&zt(bi().filter(S=>S.dataset.headlessuiFocusGuard!=="true"),rt(v.value,{[Et.Forwards]:ut.Next,[Et.Backwards]:ut.Previous}),{relativeTo:J(i.button)})}E()}return()=>{let w=i.popoverState.value===0,E={open:w},{...S}=e,T=f.value?{ref:d,type:h.value,onKeydown:g,onClick:_}:{ref:d,id:s,type:h.value,"aria-expanded":i.popoverState.value===0,"aria-controls":J(i.panel)?i.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:g,onKeyup:b,onClick:_,onMousedown:y};return we(Ee,[ht({ourProps:T,theirProps:{...t,...S},slot:E,attrs:t,slots:n,name:"PopoverButton"}),w&&!f.value&&i.isPortalled.value&&we(Nr,{id:p,features:gr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:m})])}}}),BS=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:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var o;let s=(o=e.id)!=null?o:`headlessui-popover-panel-${nn()}`,{focus:i}=e,a=ac("PopoverPanel"),l=R(()=>bn(a.panel)),u=`headlessui-focus-sentinel-before-${nn()}`,c=`headlessui-focus-sentinel-after-${nn()}`;r({el:a.panel,$el:a.panel}),Ie(()=>{a.panelId.value=s}),Ye(()=>{a.panelId.value=null}),Ue(tg,a.panelId),Xe(()=>{var y,v;if(!i||a.popoverState.value!==0||!a.panel)return;let m=(y=l.value)==null?void 0:y.activeElement;(v=J(a.panel))!=null&&v.contains(m)||zt(J(a.panel),ut.First)});let f=Jo(),d=R(()=>f!==null?(f.value&qe.Open)===qe.Open:a.popoverState.value===0);function p(y){var v,m;switch(y.key){case mt.Escape:if(a.popoverState.value!==0||!J(a.panel)||l.value&&!((v=J(a.panel))!=null&&v.contains(l.value.activeElement)))return;y.preventDefault(),y.stopPropagation(),a.closePopover(),(m=J(a.button))==null||m.focus();break}}function h(y){var v,m,w,E,S;let T=y.relatedTarget;T&&J(a.panel)&&((v=J(a.panel))!=null&&v.contains(T)||(a.closePopover(),((w=(m=J(a.beforePanelSentinel))==null?void 0:m.contains)!=null&&w.call(m,T)||(S=(E=J(a.afterPanelSentinel))==null?void 0:E.contains)!=null&&S.call(E,T))&&T.focus({preventScroll:!0})))}let g=sc();function b(){let y=J(a.panel);if(!y)return;function v(){rt(g.value,{[Et.Forwards]:()=>{var m;zt(y,ut.First)===Bo.Error&&((m=J(a.afterPanelSentinel))==null||m.focus())},[Et.Backwards]:()=>{var m;(m=J(a.button))==null||m.focus({preventScroll:!0})}})}v()}function _(){let y=J(a.panel);if(!y)return;function v(){rt(g.value,{[Et.Forwards]:()=>{let m=J(a.button),w=J(a.panel);if(!m)return;let E=bi(),S=E.indexOf(m),T=E.slice(0,S+1),L=[...E.slice(S+1),...T];for(let A of L.slice())if(A.dataset.headlessuiFocusGuard==="true"||w!=null&&w.contains(A)){let V=L.indexOf(A);V!==-1&&L.splice(V,1)}zt(L,ut.First,{sorted:!1})},[Et.Backwards]:()=>{var m;zt(y,ut.Previous)===Bo.Error&&((m=J(a.button))==null||m.focus())}})}v()}return()=>{let y={open:a.popoverState.value===0,close:a.close},{focus:v,...m}=e,w={ref:a.panel,id:s,onKeydown:p,onFocusout:i&&a.popoverState.value===0?h:void 0,tabIndex:-1};return ht({ourProps:w,theirProps:{...t,...m},attrs:t,slot:y,slots:{...n,default:(...E)=>{var S;return[we(Ee,[d.value&&a.isPortalled.value&&we(Nr,{id:u,ref:a.beforePanelSentinel,features:gr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:b}),(S=n.default)==null?void 0:S.call(n,...E),d.value&&a.isPortalled.value&&we(Nr,{id:c,ref:a.afterPanelSentinel,features:gr.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:_})])]}},features:zn.RenderStrategy|zn.Static,visible:d.value,name:"PopoverPanel"})}}});function HS(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function Gi(e,...t){e&&t.length>0&&e.classList.add(...t)}function ws(e,...t){e&&t.length>0&&e.classList.remove(...t)}var Ya=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(Ya||{});function US(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(u=>u.includes("ms")?parseFloat(u):parseFloat(u)*1e3).sort((u,c)=>c-u);return l});return s!==0?n.setTimeout(()=>t("finished"),s+i):t("finished"),n.add(()=>t("cancelled")),n.dispose}function Af(e,t,n,r,o,s){let i=Zo(),a=s!==void 0?HS(s):()=>{};return ws(e,...o),Gi(e,...t,...n),i.nextFrame(()=>{ws(e,...n),Gi(e,...r),i.add(US(e,l=>(ws(e,...r,...t),Gi(e,...o),a(l))))}),i.add(()=>ws(e,...t,...n,...r,...o)),i.add(()=>a("cancelled")),i.dispose}function Yn(e=""){return e.split(/\s+/).filter(t=>t.length>1)}let lc=Symbol("TransitionContext");var zS=(e=>(e.Visible="visible",e.Hidden="hidden",e))(zS||{});function VS(){return Ce(lc,null)!==null}function WS(){let e=Ce(lc,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}function qS(){let e=Ce(cc,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}let cc=Symbol("NestingContext");function wi(e){return"children"in e?wi(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function rg(e){let t=F([]),n=F(!1);Ie(()=>n.value=!0),Ye(()=>n.value=!1);function r(s,i=In.Hidden){let a=t.value.findIndex(({id:l})=>l===s);a!==-1&&(rt(i,{[In.Unmount](){t.value.splice(a,1)},[In.Hidden](){t.value[a].state="hidden"}}),!wi(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 og=zn.RenderStrategy,KS=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|=qe.Opening,t("beforeEnter")}function a(){s.value&=~qe.Opening,t("afterEnter")}function l(){s.value|=qe.Closing,t("beforeLeave")}function u(){s.value&=~qe.Closing,t("afterLeave")}if(!VS()&&aS())return()=>we(sg,{...e,onBeforeEnter:i,onAfterEnter:a,onBeforeLeave:l,onAfterLeave:u},r);let c=F(null),f=R(()=>e.unmount?In.Unmount:In.Hidden);o({el:c,$el:c});let{show:d,appear:p}=WS(),{register:h,unregister:g}=qS(),b=F(d.value?"visible":"hidden"),_={value:!0},y=nn(),v={value:!1},m=rg(()=>{!v.value&&b.value!=="hidden"&&(b.value="hidden",g(y),u())});Ie(()=>{let U=h(y);Ye(U)}),Xe(()=>{if(f.value===In.Hidden&&y){if(d.value&&b.value!=="visible"){b.value="visible";return}rt(b.value,{hidden:()=>g(y),visible:()=>h(y)})}});let w=Yn(e.enter),E=Yn(e.enterFrom),S=Yn(e.enterTo),T=Yn(e.entered),L=Yn(e.leave),A=Yn(e.leaveFrom),V=Yn(e.leaveTo);Ie(()=>{Xe(()=>{if(b.value==="visible"){let U=J(c);if(U instanceof Comment&&U.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function $(U){let ve=_.value&&!p.value,fe=J(c);!fe||!(fe instanceof HTMLElement)||ve||(v.value=!0,d.value&&i(),d.value||l(),U(d.value?Af(fe,w,E,S,T,B=>{v.value=!1,B===Ya.Finished&&a()}):Af(fe,L,A,V,T,B=>{v.value=!1,B===Ya.Finished&&(wi(m)||(b.value="hidden",g(y),u()))})))}return Ie(()=>{Me([d],(U,ve,fe)=>{$(fe),_.value=!1},{immediate:!0})}),Ue(cc,m),nc(R(()=>rt(b.value,{visible:qe.Open,hidden:qe.Closed})|s.value)),()=>{let{appear:U,show:ve,enter:fe,enterFrom:B,enterTo:ee,entered:Y,leave:Le,leaveFrom:Je,leaveTo:he,...de}=e,Ve={ref:c},De={...de,...p.value&&d.value&&Yo.isServer?{class:W([n.class,de.class,...w,...E])}:{}};return ht({theirProps:De,ourProps:Ve,slot:{},slots:r,attrs:n,features:og,visible:b.value==="visible",name:"TransitionChild"})}}}),GS=KS,sg=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=Jo(),s=R(()=>e.show===null&&o!==null?(o.value&qe.Open)===qe.Open:e.show);Xe(()=>{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=rg(()=>{i.value="hidden"}),l=F(!0),u={show:s,appear:R(()=>e.appear||!l.value)};return Ie(()=>{Xe(()=>{l.value=!1,s.value?i.value="visible":wi(a)||(i.value="hidden")})}),Ue(cc,a),Ue(lc,u),()=>{let c=Bh(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),f={unmount:e.unmount};return ht({ourProps:{...f,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[we(GS,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...n,...f,...c},r.default)]},attrs:{},features:og,visible:i.value==="visible",name:"Transition"})}}});const Qi=Gt(ze.ui.strategy,ze.ui.accordion,EC),QS=Gt(ze.ui.strategy,ze.ui.button,Ph),XS=re({components:{HDisclosure:IS,HDisclosureButton:LS,HDisclosurePanel:jS,UIcon:bt,UButton:Qt},inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},defaultOpen:{type:Boolean,default:!1},openIcon:{type:String,default:()=>Qi.default.openIcon},closeIcon:{type:String,default:()=>Qi.default.closeIcon},multiple:{type:Boolean,default:!1},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=Ke("accordion",xe(e,"ui"),Qi,xe(e,"class")),r=R(()=>QS),o=F([]);function s(c,f){!e.items[c].closeOthers&&e.multiple||o.value.forEach(d=>{d.open&&d.close(f.target)})}function i(c,f){const d=c;d.style.height="0",d.offsetHeight,d.style.height=d.scrollHeight+"px",d.addEventListener("transitionend",f,{once:!0})}function a(c){const f=c;f.style.height=f.scrollHeight+"px",f.offsetHeight}function l(c){const f=c;f.style.height="auto"}function u(c,f){const d=c;d.style.height="0",d.addEventListener("transitionend",f,{once:!0})}return ec(()=>Zl("$lPCIu25Y3X")),{ui:t,uiButton:r,attrs:n,buttonRefs:o,closeOthers:s,omit:sh,onEnter:i,onBeforeLeave:a,onAfterEnter:l,onLeave:u}}});function YS(e,t,n,r,o,s){const i=bt,a=Qt,l=ar("HDisclosureButton"),u=ar("HDisclosurePanel"),c=ar("HDisclosure");return j(),ne("div",{class:W(e.ui.wrapper)},[(j(!0),ne(Ee,null,yt(e.items,(f,d)=>(j(),ae(c,{key:d,as:"div",class:W(e.ui.container),"default-open":e.defaultOpen||f.defaultOpen},{default:le(({open:p,close:h})=>[K(l,{ref_for:!0,ref:()=>e.buttonRefs[d]={open:p,close:h},as:"template",disabled:f.disabled,onClick:g=>e.closeOthers(d,g),onKeydown:[uu(g=>e.closeOthers(d,g),["enter"]),uu(g=>e.closeOthers(d,g),["space"])]},{default:le(()=>[ye(e.$slots,"default",{item:f,index:d,open:p,close:h},()=>[K(a,Tr(Ir({...e.omit(e.ui.default,["openIcon","closeIcon"]),...e.attrs,...e.omit(f,["slot","disabled","content","defaultOpen"])})),{trailing:le(()=>[K(i,{name:p&&e.closeIcon?e.closeIcon:e.openIcon,class:W([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"]),K(Un,ue(e.ui.transition,{onEnter:e.onEnter,onAfterEnter:e.onAfterEnter,onBeforeLeave:e.onBeforeLeave,onLeave:e.onLeave}),{default:le(()=>[Dm(ke("div",null,[K(u,{class:W([e.ui.item.base,e.ui.item.size,e.ui.item.color,e.ui.item.padding]),static:""},{default:le(()=>[ye(e.$slots,f.slot||"item",{item:f,index:d,open:p,close:h},()=>[tt(He(f.content),1)])]),_:2},1032,["class"])],512),[[Iv,p]])]),_:2},1040,["onEnter","onAfterEnter","onBeforeLeave","onLeave"])]),_:2},1032,["class","default-open"]))),128))],2)}const JS=Nt(XS,[["render",YS]]),ZS=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=lt(),n=R(()=>{const l=at("space-y-3",r.level>0&&"border-l border-gray-200 dark:border-gray-800 -ml-px hover:border-gray-300 dark:hover:border-gray-700"),u=at("border-l border-gray-200 dark:border-gray-800",r.level>0?"ml-6":"ml-2.5");return{wrapper:l,container:"space-y-3",item:{padding:"",color:"text-inherit dark:text-inherit"},button:{base:"flex items-center gap-1.5 group w-full focus-visible:outline-primary",active:"text-primary border-current",inactive:"border-transparent",level:"border-l -ml-px pl-3.5",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:u}}),r=e,o=mn(),{ui:s,attrs:i}=Ke("navigation.accordion",xe(r,"ui"),n,xe(r,"class"),!0),a=R(()=>{var l;return(l=r.links)==null?void 0:l.map(u=>{const c=!r.defaultOpen||typeof r.defaultOpen=="number"&&r.level{const c=bt,f=Wn,d=ig,p=JS;return j(),ae(p,ue({key:C(o).path,items:C(a),multiple:e.multiple,ui:C(s)},C(i)),li({default:le(({item:h,open:g})=>[K(f,{class:W([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?(j(),ae(c,{key:0,name:h.icon,class:W(C(s).button.icon.base)},null,8,["name","class"])):me("",!0),ke("span",{class:W(C(s).button.label)},He(h.label),3),h.disabled?me("",!0):(j(),ae(c,{key:1,name:C(s).button.trailingIcon.name,class:W([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},[yt(e.links,({label:h},g)=>({name:h.toLowerCase(),fn:le(({item:b})=>[K(d,{links:b.children,level:e.level+1,"default-open":e.defaultOpen,multiple:e.multiple,class:W(C(s).tree)},null,8,["links","level","default-open","multiple","class"])])}))]),1040,["items","multiple","ui"])}}}),eP=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}=Ke("navigation.links",xe(n,"ui"),t,xe(n,"class"),!0);return(s,i)=>{var c;const a=bt,l=Th,u=Wn;return(c=e.links)!=null&&c.length?(j(),ne("div",ue({key:0,class:e.level>0?C(r).wrapperLevel:C(r).wrapper},C(o)),[(j(!0),ne(Ee,null,yt(e.links,(f,d)=>(j(),ae(u,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?(j(),ae(a,{key:0,name:f.icon,class:W(C(jt)(C(r).icon.base,f.iconClass))},null,8,["name","class"])):me("",!0),ke("span",{class:W(C(r).label)},He(f.label),3),ye(s.$slots,"badge",{link:f},()=>[f.badge?(j(),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"])):me("",!0)])]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):me("",!0)}}}),ig=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}=Ke("navigation.tree",xe(n,"ui"),t,xe(n,"class"),!0),s=R(()=>{var l;const i=[];let a={type:void 0,children:[]};for(const u of n.links){const c=(l=u.children)!=null&&l.length?"accordion":"link";a.type||(a.type=c),a.type===c?a.children.push(u):(i.push(a),a={type:c,children:[u]})}return a.children.length&&i.push(a),i});return(i,a)=>{var c;const l=ZS,u=eP;return(c=C(s))!=null&&c.length?(j(),ne("nav",ue({key:0,class:C(r).wrapper},C(o)),[(j(!0),ne(Ee,null,yt(C(s),(f,d)=>(j(),ne(Ee,{key:d},[f.type==="accordion"?(j(),ae(l,{key:0,links:f.children,level:e.level,multiple:e.multiple,"default-open":e.defaultOpen},null,8,["links","level","multiple","default-open"])):(j(),ae(u,{key:1,links:f.children,level:e.level},null,8,["links","level"]))],64))),128))],16)):me("",!0)}}}),tP=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=lt(),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}=Ke("header.popover.links",xe(r,"ui"),n,xe(r,"class"),!0);return(i,a)=>{var c;const l=bt,u=Wn;return(c=e.links)!=null&&c.length?(j(),ne("div",ue({key:0,class:C(o).wrapper},C(s)),[(j(!0),ne(Ee,null,yt(e.links,(f,d)=>(j(),ae(u,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?(j(),ae(l,{key:0,name:f.icon,class:W(C(jt)(C(o).icon.base,f.iconClass))},null,8,["name","class"])):me("",!0),ke("p",{class:W([f.target==="_blank"&&"pr-3"])},[ke("span",{class:W(C(o).label)},[tt(He(f.label)+" ",1),f.target==="_blank"?(j(),ae(l,{key:0,name:C(o).externalIcon.name,class:W(C(o).externalIcon.base)},null,8,["name","class"])):me("",!0)],2),f.description?(j(),ne("span",{key:0,class:W(C(o).description)},He(f.description),3)):me("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):me("",!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 mr(e){var t=Pt(e).Element;return e instanceof t||e instanceof Element}function It(e){var t=Pt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function uc(e){if(typeof ShadowRoot>"u")return!1;var t=Pt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ur=Math.max,Qs=Math.min,Fr=Math.round;function Ja(){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 ag(){return!/^((?!chrome|android).)*safari/i.test(Ja())}function Br(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&It(e)&&(o=e.offsetWidth>0&&Fr(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Fr(r.height)/e.offsetHeight||1);var i=mr(e)?Pt(e):window,a=i.visualViewport,l=!ag()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/o,d=r.height/s;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function fc(e){var t=Pt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function nP(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function rP(e){return e===Pt(e)||!It(e)?fc(e):nP(e)}function an(e){return e?(e.nodeName||"").toLowerCase():null}function qn(e){return((mr(e)?e.ownerDocument:e.document)||window.document).documentElement}function dc(e){return Br(qn(e)).left+fc(e).scrollLeft}function vn(e){return Pt(e).getComputedStyle(e)}function pc(e){var t=vn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function oP(e){var t=e.getBoundingClientRect(),n=Fr(t.width)/e.offsetWidth||1,r=Fr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function sP(e,t,n){n===void 0&&(n=!1);var r=It(t),o=It(t)&&oP(t),s=qn(t),i=Br(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((an(t)!=="body"||pc(s))&&(a=rP(t)),It(t)?(l=Br(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=dc(s))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function hc(e){var t=Br(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 _i(e){return an(e)==="html"?e:e.assignedSlot||e.parentNode||(uc(e)?e.host:null)||qn(e)}function lg(e){return["html","body","#document"].indexOf(an(e))>=0?e.ownerDocument.body:It(e)&&pc(e)?e:lg(_i(e))}function Eo(e,t){var n;t===void 0&&(t=[]);var r=lg(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Pt(r),i=o?[s].concat(s.visualViewport||[],pc(r)?r:[]):r,a=t.concat(i);return o?a:a.concat(Eo(_i(i)))}function iP(e){return["table","td","th"].indexOf(an(e))>=0}function Of(e){return!It(e)||vn(e).position==="fixed"?null:e.offsetParent}function aP(e){var t=/firefox/i.test(Ja()),n=/Trident/i.test(Ja());if(n&&It(e)){var r=vn(e);if(r.position==="fixed")return null}var o=_i(e);for(uc(o)&&(o=o.host);It(o)&&["html","body"].indexOf(an(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=Of(e);n&&iP(n)&&vn(n).position==="static";)n=Of(n);return n&&(an(n)==="html"||an(n)==="body"&&vn(n).position==="static")?t:n||aP(e)||t}var Ct="top",qt="bottom",Kt="right",St="left",gc="auto",ts=[Ct,qt,Kt,St],Hr="start",Ho="end",lP="clippingParents",cg="viewport",ao="popper",cP="reference",$f=ts.reduce(function(e,t){return e.concat([t+"-"+Hr,t+"-"+Ho])},[]),ug=[].concat(ts,[gc]).reduce(function(e,t){return e.concat([t,t+"-"+Hr,t+"-"+Ho])},[]),uP="beforeRead",fP="read",dP="afterRead",pP="beforeMain",hP="main",gP="afterMain",mP="beforeWrite",vP="write",yP="afterWrite",bP=[uP,fP,dP,pP,hP,gP,mP,vP,yP];function wP(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 _P(e){var t=wP(e);return bP.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function xP(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function kP(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 EP(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 u=ag();(u||!u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a+dc(e),y:l}}function CP(e){var t,n=qn(e),r=fc(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+dc(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 fg(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&uc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Za(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function SP(e,t){var n=Br(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 Rf(e,t,n){return t===cg?Za(EP(e,n)):mr(t)?SP(t,n):Za(CP(qn(e)))}function PP(e){var t=Eo(_i(e)),n=["absolute","fixed"].indexOf(vn(e).position)>=0,r=n&&It(e)?es(e):e;return mr(r)?t.filter(function(o){return mr(o)&&fg(o,r)&&an(o)!=="body"}):[]}function TP(e,t,n,r){var o=t==="clippingParents"?PP(e):[].concat(t),s=[].concat(o,[n]),i=s[0],a=s.reduce(function(l,u){var c=Rf(e,u,r);return l.top=ur(c.top,l.top),l.right=Qs(c.right,l.right),l.bottom=Qs(c.bottom,l.bottom),l.left=ur(c.left,l.left),l},Rf(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 rn(e){return e.split("-")[0]}function Ur(e){return e.split("-")[1]}function mc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dg(e){var t=e.reference,n=e.element,r=e.placement,o=r?rn(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 qt:l={x:i,y:t.y+t.height};break;case Kt: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 u=o?mc(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case Hr:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Ho:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function pg(){return{top:0,right:0,bottom:0,left:0}}function hg(e){return Object.assign({},pg(),e)}function gg(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}function vc(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?lP:a,u=n.rootBoundary,c=u===void 0?cg:u,f=n.elementContext,d=f===void 0?ao:f,p=n.altBoundary,h=p===void 0?!1:p,g=n.padding,b=g===void 0?0:g,_=hg(typeof b!="number"?b:gg(b,ts)),y=d===ao?cP:ao,v=e.rects.popper,m=e.elements[h?y:d],w=TP(mr(m)?m:m.contextElement||qn(e.elements.popper),l,c,i),E=Br(e.elements.reference),S=dg({reference:E,element:v,strategy:"absolute",placement:o}),T=Za(Object.assign({},v,S)),L=d===ao?T:E,A={top:w.top-L.top+_.top,bottom:L.bottom-w.bottom+_.bottom,left:w.left-L.left+_.left,right:L.right-w.right+_.right},V=e.modifiersData.offset;if(d===ao&&V){var $=V[o];Object.keys(A).forEach(function(U){var ve=[Kt,qt].indexOf(U)>=0?1:-1,fe=[Ct,qt].indexOf(U)>=0?"y":"x";A[U]+=$[fe]*ve})}return A}var If={placement:"bottom",modifiers:[],strategy:"absolute"};function Lf(){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]=vc(e,{placement:g,boundary:o,rootBoundary:s,padding:i})[rn(g)],h},{});return Object.keys(p).sort(function(h,g){return p[h]-p[g]})}function zP(e){if(rn(e)===gc)return[];var t=Rs(e);return[Mf(e),t,Mf(t)]}function VP(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,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,g=n.allowedAutoPlacements,b=t.options.placement,_=rn(b),y=_===b,v=l||(y||!h?[Rs(b)]:zP(b)),m=[b].concat(v).reduce(function(De,st){return De.concat(rn(st)===gc?UP(t,{placement:st,boundary:c,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:g}):st)},[]),w=t.rects.reference,E=t.rects.popper,S=new Map,T=!0,L=m[0],A=0;A=0,fe=ve?"width":"height",B=vc(t,{placement:V,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),ee=ve?U?Kt:St:U?qt:Ct;w[fe]>E[fe]&&(ee=Rs(ee));var Y=Rs(ee),Le=[];if(s&&Le.push(B[$]<=0),a&&Le.push(B[ee]<=0,B[Y]<=0),Le.every(function(De){return De})){L=V,T=!1;break}S.set(V,Le)}if(T)for(var Je=h?3:1,he=function(st){var je=m.find(function(I){var Q=S.get(I);if(Q)return Q.slice(0,st).every(function(q){return q})});if(je)return L=je,"break"},de=Je;de>0;de--){var Ve=he(de);if(Ve==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const WP={name:"flip",enabled:!0,phase:"main",fn:VP,requiresIfExists:["offset"],data:{_skip:!1}};function qP(e,t,n){var r=rn(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,Kt].indexOf(r)>=0?{x:a,y:i}:{x:i,y:a}}function KP(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,i=ug.reduce(function(c,f){return c[f]=qP(f,t.rects,s),c},{}),a=i[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}const GP={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:KP};function QP(e){return e==="x"?"y":"x"}function Co(e,t,n){return ur(e,Qs(t,n))}function XP(e,t,n){var r=Co(e,t,n);return r>n?n:r}function YP(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,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,p=d===void 0?!0:d,h=n.tetherOffset,g=h===void 0?0:h,b=vc(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),_=rn(t.placement),y=Ur(t.placement),v=!y,m=mc(_),w=QP(m),E=t.modifiersData.popperOffsets,S=t.rects.reference,T=t.rects.popper,L=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,A=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(E){if(s){var U,ve=m==="y"?Ct:St,fe=m==="y"?qt:Kt,B=m==="y"?"height":"width",ee=E[m],Y=ee+b[ve],Le=ee-b[fe],Je=p?-T[B]/2:0,he=y===Hr?S[B]:T[B],de=y===Hr?-T[B]:-S[B],Ve=t.elements.arrow,De=p&&Ve?hc(Ve):{width:0,height:0},st=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:pg(),je=st[ve],I=st[fe],Q=Co(0,S[B],De[B]),q=v?S[B]/2-Je-Q-je-A.mainAxis:he-Q-je-A.mainAxis,oe=v?-S[B]/2+Je+Q+I+A.mainAxis:de+Q+I+A.mainAxis,Se=t.elements.arrow&&es(t.elements.arrow),x=Se?m==="y"?Se.clientTop||0:Se.clientLeft||0:0,k=(U=V==null?void 0:V[m])!=null?U:0,P=ee+q-k-x,O=ee+oe-k,M=Co(p?Qs(Y,P):Y,ee,p?ur(Le,O):Le);E[m]=M,$[m]=M-ee}if(a){var D,X=m==="x"?Ct:St,H=m==="x"?qt:Kt,z=E[w],N=w==="y"?"height":"width",ie=z+b[X],te=z-b[H],se=[Ct,St].indexOf(_)!==-1,ge=(D=V==null?void 0:V[w])!=null?D:0,_e=se?ie:z-S[N]-T[N]-ge+A.altAxis,$e=se?z+S[N]+T[N]-ge-A.altAxis:te,Oe=p&&se?XP(_e,z,$e):Co(p?_e:ie,z,p?$e:te);E[w]=Oe,$[w]=Oe-z}t.modifiersData[r]=$}}const JP={name:"preventOverflow",enabled:!0,phase:"main",fn:YP,requiresIfExists:["offset"]};var ZP=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,hg(typeof t!="number"?t:gg(t,ts))};function eT(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,i=n.modifiersData.popperOffsets,a=rn(n.placement),l=mc(a),u=[St,Kt].indexOf(a)>=0,c=u?"height":"width";if(!(!s||!i)){var f=ZP(o.padding,n),d=hc(s),p=l==="y"?Ct:St,h=l==="y"?qt:Kt,g=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],b=i[l]-n.rects.reference[l],_=es(s),y=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,v=g/2-b/2,m=f[p],w=y-d[c]-f[h],E=y/2-d[c]/2+v,S=Co(m,E,w),T=l;n.modifiersData[r]=(t={},t[T]=S,t.centerOffset=S-E,t)}}function tT(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)||fg(t.elements.popper,o)&&(t.elements.arrow=o))}const nT={name:"arrow",enabled:!0,phase:"main",fn:eT,effect:tT,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},rT=AP({defaultModifiers:[...FP,GP,WP,JP,vg,mg,nT]});function oT({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:u,strategy:c},f){const d=F(null),p=F(null),h=F(null);return Ie(()=>{Xe(g=>{if(!p.value||!d.value&&!(f!=null&&f.value))return;const b=ja(p),_=(f==null?void 0:f.value)||ja(d);if(!(b instanceof HTMLElement)||!_)return;const y={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}]};u&&(y.placement=u),c&&(y.strategy=c),h.value=rT(_,b,y),g(h.value.destroy)})}),[d,p,h]}const Xi=Gt(ze.ui.strategy,ze.ui.popover,PC),sT=re({components:{HPopover:ng,HPopoverButton:FS,HPopoverPanel:BS},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:()=>Xi.default.openDelay},closeDelay:{type:Number,default:()=>Xi.default.closeDelay},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}=Ke("popover",xe(e,"ui"),Xi,xe(e,"class")),o=R(()=>di(e.mode==="hover"?{offsetDistance:0}:{},e.popper,n.value.popper)),[s,i]=oT(o.value),a=F(null),l=F(null);let u=null,c=null;Ie(()=>{var _,y;const g=(_=a.value)==null?void 0:_.$.provides;if(!g)return;const b=Object.getOwnPropertySymbols(g);l.value=b.length&&g[b[0]],e.open&&((y=l.value)==null||y.togglePopover())});const f=R(()=>{var y,v,m;if(e.mode!=="hover")return{};const g=((y=e.popper)==null?void 0:y.offsetDistance)||((v=n.value.popper)==null?void 0:v.offsetDistance)||8,b=(m=o.value.placement)==null?void 0:m.split("-")[0],_=`${g}px`;return b==="top"||b==="bottom"?{paddingTop:_,paddingBottom:_}:b==="left"||b==="right"?{paddingLeft:_,paddingRight:_}:{paddingTop:_,paddingBottom:_,paddingLeft:_,paddingRight:_}});function d(){l.value&&(l.value.popoverState===0?l.value.closePopover():l.value.togglePopover())}function p(){e.mode!=="hover"||!l.value||(c&&(clearTimeout(c),c=null),l.value.popoverState!==0&&(u=u||setTimeout(()=>{l.value.togglePopover&&l.value.togglePopover(),u=null},e.openDelay)))}function h(){e.mode!=="hover"||!l.value||(u&&(clearTimeout(u),u=null),l.value.popoverState!==1&&(c=c||setTimeout(()=>{l.value.closePopover&&l.value.closePopover(),c=null},e.closeDelay)))}return Me(()=>e.open,(g,b)=>{l.value&&(b===void 0||g===b||(g?l.value.popoverState=0:l.value.closePopover()))}),Me(()=>{var g;return(g=l.value)==null?void 0:g.popoverState},(g,b)=>{b===void 0||g===b||t("update:open",g===0)}),ec(()=>Zl("$BzHN7t5qR3")),{ui:n,attrs:r,popover:a,popper:o,trigger:s,container:i,containerStyle:f,onTouchStart:d,onMouseEnter:p,onMouseLeave:h}}}),iT=["disabled"];function aT(e,t,n,r,o,s){const i=ar("HPopoverButton"),a=ar("HPopoverPanel"),l=ar("HPopover");return j(),ae(l,ue({ref:"popover",class:e.ui.wrapper},e.attrs,{onMouseleave:e.onMouseLeave}),{default:le(({open:u,close:c})=>[K(i,{ref:"trigger",as:"div",disabled:e.disabled,class:W(e.ui.trigger),role:"button",onMouseenter:e.onMouseEnter,onTouchstart:ks(e.onTouchStart,["prevent"])},{default:le(()=>[ye(e.$slots,"default",{open:u,close:c},()=>[ke("button",{disabled:e.disabled}," Open ",8,iT)])]),_:2},1032,["disabled","class","onMouseenter","onTouchstart"]),e.overlay?(j(),ae(Un,ue({key:0,appear:""},e.ui.overlay.transition),{default:le(()=>[u?(j(),ne("div",{key:0,class:W([e.ui.overlay.base,e.ui.overlay.background])},null,2)):me("",!0)]),_:2},1040)):me("",!0),u?(j(),ne("div",{key:1,ref:"container",class:W([e.ui.container,e.ui.width]),style:Nn(e.containerStyle)},[K(Un,ue({appear:""},e.ui.transition),{default:le(()=>[ke("div",null,[e.popper.arrow?(j(),ne("div",{key:0,"data-popper-arrow":"",class:W(Object.values(e.ui.arrow))},null,2)):me("",!0),K(a,{class:W([e.ui.base,e.ui.background,e.ui.ring,e.ui.rounded,e.ui.shadow]),static:""},{default:le(()=>[ye(e.$slots,"panel",{open:u,close:c})]),_:2},1032,["class"])])]),_:2},1040)],6)):me("",!0)]),_:3},16,["class","onMouseleave"])}const lT=Nt(sT,[["render",aT]]),cT=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=lt(),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"},default:{popover:{mode:"hover",openDelay:0,ui:{width:"max-w-[16rem]"}}}})),r=e,{ui:o,attrs:s}=Ke("header.links",xe(r,"ui"),n,xe(r,"class"),!0);return(i,a)=>{var d;const l=bt,u=Wn,c=tP,f=lT;return(d=e.links)!=null&&d.length?(j(),ne("ul",ue({key:0,class:C(o).wrapper},C(s)),[(j(!0),ne(Ee,null,yt(e.links,(p,h)=>{var g;return j(),ne("li",{key:h,class:"relative"},[(g=p.children)!=null&&g.length?(j(),ae(f,Tr(ue({key:0},C(o).default.popover)),{default:le(({open:b})=>[K(u,ue(C(Dr)(p),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:p.click}),{default:le(()=>[ye(i.$slots,"label",{link:p},()=>[tt(He(p.label),1)]),K(l,{name:C(o).trailingIcon.name,class:W([C(o).trailingIcon.base,b?C(o).trailingIcon.active:C(o).trailingIcon.inactive])},null,8,["name","class"])]),_:2},1040,["class","active-class","inactive-class","onClick"])]),panel:le(({close:b})=>[ye(i.$slots,"panel",{link:p,close:b},()=>[K(c,{links:p.children,onClick:b},null,8,["links","onClick"])])]),_:2},1040)):(j(),ae(u,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(()=>[ye(i.$slots,"label",{link:p},()=>[tt(He(p.label),1)]),p.target==="_blank"?(j(),ae(l,{key:0,name:C(o).externalIcon.name,class:W(C(o).externalIcon.base)},null,8,["name","class"])):me("",!0)]),_:2},1040,["class","active-class","inactive-class","onClick"]))])}),128))],16)):me("",!0)}}}),uT=Gt(ze.ui.strategy,ze.ui.container,SC),fT=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}=Ke("container",xe(e,"ui"),uT),r=R(()=>jt(at(t.value.base,t.value.padding,t.value.constrained),e.class));return{ui:t,attrs:n,containerClass:r}}});function dT(e,t,n,r,o,s){return j(),ae(Ar(e.as),ue({class:e.containerClass},e.attrs),{default:le(()=>[ye(e.$slots,"default")]),_:3},16,["class"])}const yc=Nt(fT,[["render",dT]]),pT=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=lt(),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}=Ke("aside.links",xe(r,"ui"),n,xe(r,"class"),!0);return(i,a)=>{var c;const l=bt,u=Wn;return(c=e.links)!=null&&c.length?(j(),ne("div",ue({key:0,class:C(o).wrapper},C(s)),[(j(!0),ne(Ee,null,yt(e.links,(f,d)=>(j(),ae(u,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?(j(),ne("div",{key:0,class:W([C(o).icon.wrapper,f.active||p?C(o).icon.active:C(o).icon.inactive])},[K(l,{name:f.icon,class:W(C(jt)(C(o).icon.base,f.iconClass))},null,8,["name","class"])],2)):me("",!0),ke("span",{class:W(C(o).label)},[tt(He(f.label)+" ",1),f.target==="_blank"?(j(),ae(l,{key:0,name:C(o).externalIcon.name,class:W(C(o).externalIcon.base)},null,8,["name","class"])):me("",!0)],2)]),_:2},1040,["class","active-class","inactive-class","onClick"]))),128))],16)):me("",!0)}}}),el=e=>e.map(t=>{if(!t.children||typeof t.children=="string")return t.children||"";if(Array.isArray(t.children))return el(t.children);if(t.children.default)return el(t.children.default())}).join(""),hT=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=lt(),n=R(()=>({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:t.ui.icons.menu,close:t.ui.icons.close}}})),r=e,o=mn(),s=Td(),{isHeaderDialogOpen:i}=Ah(),{ui:a,attrs:l}=Ke("header",xe(r,"ui"),n,xe(r,"class"),!0),u=R(()=>(r.title||s.title&&el(s.title())||"Logo").trim());return Me(()=>o.fullPath,()=>{i.value=!1}),ec(()=>Zl("$QgwvFlW8lo")),(c,f)=>{const d=Ch,p=cT,h=Qt,g=yc,b=pT;return j(),ne("header",ue({class:C(a).wrapper},C(l)),[ye(c.$slots,"top"),K(g,{class:W(C(a).container)},{default:le(()=>[ke("div",{class:W(C(a).left)},[ye(c.$slots,"left",{},()=>[K(d,{to:e.to,"aria-label":C(u),class:W(C(a).logo)},{default:le(()=>[ye(c.$slots,"logo",{},()=>[tt(He(e.title||"Nuxt UI Pro"),1)])]),_:3},8,["to","aria-label","class"])])],2),ye(c.$slots,"center",{},()=>[K(p,{links:e.links,class:W(C(a).center)},null,8,["links","class"])]),ke("div",{class:W(C(a).right)},[ye(c.$slots,"right"),ye(c.$slots,"panel-button",{open:C(i)},()=>{var _,y;return[e.links.length||c.$slots.panel?(j(),ae(h,ue({key:0,class:C(a).button.base},(y=(_=c.$ui)==null?void 0:_.button)==null?void 0:y.secondary,{"aria-label":`${C(i)?"Close":"Open"} Menu`,icon:C(i)?C(a).button.icon.close:C(a).button.icon.open,onClick:f[0]||(f[0]=v=>i.value=!C(i))}),null,16,["class","aria-label","icon"])):me("",!0)]})],2)]),_:3},8,["class"]),ye(c.$slots,"bottom"),K(C(sg),{show:C(i),as:"template"},{default:le(()=>[K(C(AS),{as:"div",onClose:f[2]||(f[2]=_=>i.value=!1)},{default:le(()=>[K(C(OS),{class:W(C(a).panel.wrapper)},{default:le(()=>[ke("div",{class:W([C(a).panel.header,C(a).wrapper])},[ke("div",{class:W(C(a).container)},[ke("div",{class:W(C(a).left)},[ye(c.$slots,"left",{},()=>[K(d,{to:e.to,"aria-label":C(u),class:W(C(a).logo)},{default:le(()=>[ye(c.$slots,"logo",{},()=>[tt(He(e.title||"Nuxt UI Pro"),1)])]),_:3},8,["to","aria-label","class"])])],2),ye(c.$slots,"center"),ke("div",{class:W(C(a).right)},[ye(c.$slots,"right"),ye(c.$slots,"panel-button",{open:C(i)},()=>{var _,y;return[K(h,ue({class:C(a).button.base},(y=(_=c.$ui)==null?void 0:_.button)==null?void 0:y.secondary,{"aria-label":`${C(i)?"Close":"Open"} Menu`,icon:C(i)?C(a).button.icon.close:C(a).button.icon.open,onClick:f[1]||(f[1]=v=>i.value=!C(i))}),null,16,["class","aria-label","icon"])]})],2)],2)],2),ke("div",{class:W(C(a).panel.body)},[ye(c.$slots,"panel",{},()=>[K(b,{links:e.links},null,8,["links"])])],2)]),_:3},8,["class"])]),_:3})]),_:3},8,["show"])],16)}}}),gT=/\d/,mT=["-","_","/","."];function vT(e=""){if(!gT.test(e))return e!==e.toLowerCase()}function bc(e,t){const n=t??mT,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 u=vT(a);if(i===!1){if(s===!1&&u===!0){r.push(o),o=a,s=u;continue}if(s===!0&&u===!1&&o.length>1){const c=o.at(-1);r.push(o.slice(0,Math.max(0,o.length-1))),o=c+a,s=u;continue}}o+=a,s=u,i=l}return r.push(o),r}function yg(e){return e?e[0].toUpperCase()+e.slice(1):""}function yA(e,t){return e?(Array.isArray(e)?e:bc(e)).map(n=>yg(t!=null&&t.normalize?n.toLowerCase():n)).join(""):""}function bA(e,t){return e?(Array.isArray(e)?e:bc(e)).map(n=>n.toLowerCase()).join(t??"-"):""}const yT={title:"label",_path:"to"};function bg(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?bg(n.children):void 0;continue}n[s]&&(r[yT[s]||s]=n[s])}return r})}function wA(e){var t;return(t=e._dir)!=null&&t.title?e._dir.title:bc(e._dir).map(n=>yg(n)).join(" ")}function bT(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(...bT(r.children,t))),n},[])}const wT=""+globalThis.__publicAssetsURL("favicon.ico"),_T={class:"hidden sm:block"},xT=ke("img",{class:"block sm:hidden h-6 w-auto",src:wT,alt:"mobile favicon"},null,-1),wg=re({__name:"Header",setup(e){const t=Ce("navigation",[]),{header:n}=lt();return(r,o)=>{var d;const s=LC,i=Th,a=WC,l=$h,u=Qt,c=ig,f=hT;return j(),ae(f,null,li({logo:le(()=>{var p,h,g,b,_;return[(h=(p=C(n))==null?void 0:p.logo)!=null&&h.dark||(b=(g=C(n))==null?void 0:g.logo)!=null&&b.light?(j(),ne(Ee,{key:0},[ke("div",_T,[K(s,Tr(Ir({class:"h-6 w-auto",...(_=C(n))==null?void 0:_.logo})),null,16)]),xT],64)):(j(),ne(Ee,{key:1},[tt(" Nuxt UI Pro "),K(i,{label:"Docs",variant:"subtle",class:"mb-0.5"})],64))]}),right:le(()=>{var p,h,g;return[(p=C(n))!=null&&p.search?(j(),ae(a,{key:0,label:null,class:"lg:hidden"})):me("",!0),(h=C(n))!=null&&h.colorMode?(j(),ae(l,{key:1})):me("",!0),(g=C(n))!=null&&g.links?(j(!0),ne(Ee,{key:2},yt(C(n).links,(b,_)=>(j(),ae(u,ue({key:_},{color:"gray",variant:"ghost",...b}),null,16))),128)):me("",!0)]}),panel:le(()=>[K(c,{links:("mapContentNavigation"in r?r.mapContentNavigation:C(bg))(C(t))},null,8,["links"])]),_:2},[(d=C(n))!=null&&d.search?{name:"center",fn:le(()=>[K(a,{class:"hidden lg:flex"})]),key:"0"}:void 0]),1024)}}}),kT=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 Ue(Gr,Vo(r)),()=>we(e.vnode,{ref:e.vnodeRef})}}),ET=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=Ce(Gr,null);let i;n({pageRef:o});const a=Ce(vp,null);let l;const u=r.deferHydration();if(r.isHydrating){const c=r.hooks.hookOnce("app:error",u);Tt().beforeEach(c)}return e.pageKey&&Me(()=>e.pageKey,(c,f)=>{c!==f&&r.callHook("page:loading:start")}),()=>we(Qp,{name:e.name,route:e.route,...t},{default:c=>{const f=ST(s,c.route,c.Component),d=s&&s.matched.length===c.route.matched.length;if(!c.Component){if(l&&!d)return l;u();return}if(l&&a&&!a.isCurrent(c.route))return l;if(f&&s&&(!a||a!=null&&a.isCurrent(s)))return d?l:null;const p=Ia(c,e.pageKey);!r.isHydrating&&!PT(s,c.route,c.Component)&&i===p&&r.callHook("page:loading:end"),i=p;const h=!!(e.transition??c.route.meta.pageTransition??Ta),g=h&&CT([e.transition,c.route.meta.pageTransition,Ta,{onAfterLeave:()=>{r.callHook("page:transition:finish",c.Component)}}].filter(Boolean)),b=e.keepalive??c.route.meta.keepalive??mw;return l=Xp(Un,h&&g,I_(b,we(vl,{suspensible:!0,onPending:()=>r.callHook("page:start",c.Component),onResolve:()=>{Vn(()=>r.callHook("page:finish",c.Component).then(()=>r.callHook("page:loading:end")).finally(u))}},{default:()=>{const _=we(kT,{key:p||void 0,vnode:c.Component,route:c.route,renderKey:p||void 0,trackRootNodes:h,vnodeRef:o});return b&&(_.type.name=c.Component.type.name||c.Component.type.__name||"RouteProvider"),_}}))).default(),l}})}});function CT(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Bl(n.onAfterLeave):void 0}));return di(...t)}function ST(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&&Ia({route:t,Component:n})!==Ia({route:e,Component:n})}function PT(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()=>we(n,e.layoutProps,t.slots)}}),AT=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=Ce(Gr),o=r===mn()?$_():r,s=R(()=>{let l=C(e.name)??o.meta.layout??"default";return l&&!(l in $n)&&e.fallback&&(l=C(e.fallback)),l}),i=F();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);Tt().beforeEach(l)}return()=>{const l=s.value&&s.value in $n,u=o.meta.layoutTransition??gw;return Xp(Un,l&&u,{default:()=>we(vl,{suspensible:!0,onResolve:()=>{Vn(a)}},{default:()=>we(OT,{layoutProps:ue(t.attrs,{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!u},t.slots)})}).default()}}}),OT=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&&Ue(vp,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>{var r,o;return!n||typeof n=="string"&&!(n in $n)?(o=(r=t.slots).default)==null?void 0:o.call(r):we(TT,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),_g=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}=Ke("main",xe(n,"ui"),t,xe(n,"class"),!0);return(s,i)=>(j(),ne("main",ue({class:C(r).wrapper},C(o)),[ye(s.$slots,"default")],16))}}),$T=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=lt(),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}=Ke("footer.links",xe(r,"ui"),n,xe(r,"class"),!0);return(i,a)=>{var c;const l=bt,u=Wn;return(c=e.links)!=null&&c.length?(j(),ne("ul",ue({key:0,class:C(o).wrapper},C(s)),[(j(!0),ne(Ee,null,yt(e.links,(f,d)=>(j(),ne("li",{key:d,class:"relative"},[K(u,ue(C(Dr)(f),{class:C(o).base,"active-class":C(o).active,"inactive-class":C(o).inactive,onClick:f.click}),{default:le(()=>[tt(He(f.label)+" ",1),f.target==="_blank"?(j(),ae(l,{key:0,name:C(o).externalIcon.name,class:W(C(o).externalIcon.base)},null,8,["name","class"])):me("",!0)]),_:2},1040,["class","active-class","inactive-class","onClick"])]))),128))],16)):me("",!0)}}}),RT=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}=Ke("footer",xe(n,"ui"),t,xe(n,"class"),!0);return(s,i)=>{const a=yc,l=$T;return j(),ne("footer",ue({class:C(r).wrapper},C(o)),[s.$slots.top?(j(),ne("div",{key:0,class:W(C(r).top.wrapper)},[K(a,{class:W(C(r).top.container)},{default:le(()=>[ye(s.$slots,"top")]),_:3},8,["class"])],2)):me("",!0),ke("div",{class:W(C(r).bottom.wrapper)},[K(a,{class:W(C(r).bottom.container)},{default:le(()=>[ke("div",{class:W(C(r).bottom.right)},[ye(s.$slots,"right")],2),ke("div",{class:W(C(r).bottom.center)},[ye(s.$slots,"center",{},()=>[K(l,{links:e.links},null,8,["links"])])],2),ke("div",{class:W(C(r).bottom.left)},[ye(s.$slots,"left")],2)]),_:3},8,["class"])],2)],16)}}}),xg=re({__name:"Footer",setup(e){const{footer:t}=lt();return(n,r)=>{const o=$h,s=Qt,i=RT;return j(),ae(i,null,{left:le(()=>[tt(He(C(t).credits),1)]),right:le(()=>{var a,l,u;return[(a=C(t))!=null&&a.colorMode?(j(),ae(o,{key:0})):me("",!0),(l=C(t))!=null&&l.links?(j(!0),ne(Ee,{key:1},yt((u=C(t))==null?void 0:u.links,(c,f)=>(j(),ae(s,ue({key:f},{color:"gray",variant:"ghost",...c}),null,16))),128)):me("",!0)]}),_:1})}}}),Jn=Gt(ze.ui.strategy,ze.ui.avatar,xC),IT=re({components:{UIcon:bt},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",...ze.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}=Ke("avatar",xe(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(()=>jt(at(t.value.wrapper,(u.value||!r.value)&&t.value.background,t.value.rounded,t.value.size[e.size]),e.class)),i=R(()=>jt(at(t.value.rounded,t.value.size[e.size]),e.imgClass)),a=R(()=>at(t.value.icon.base,t.value.icon.size[e.size])),l=R(()=>at(t.value.chip.base,t.value.chip.size[e.size],t.value.chip.position[e.chipPosition],t.value.chip.background.replaceAll("{color}",e.chipColor))),u=F(!1);Me(()=>e.src,()=>{u.value&&(u.value=!1)});function c(){u.value=!0}return{ui:t,attrs:n,wrapperClass:s,imgClass:i,iconClass:a,chipClass:l,url:r,placeholder:o,error:u,onError:c}}}),LT=["alt","src"];function jT(e,t,n,r,o,s){const i=bt;return j(),ne("span",{class:W(e.wrapperClass)},[e.url&&!e.error?(j(),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,LT)):e.text?(j(),ne("span",{key:1,class:W(e.ui.text)},He(e.text),3)):e.icon?(j(),ae(i,{key:2,name:e.icon,class:W(e.iconClass)},null,8,["name","class"])):e.placeholder?(j(),ne("span",{key:3,class:W(e.ui.placeholder)},He(e.placeholder),3)):me("",!0),e.chipColor?(j(),ne("span",{key:4,class:W(e.chipClass)},He(e.chipText),3)):me("",!0),ye(e.$slots,"default")],2)}const kg=Nt(IT,[["render",jT]]);function MT(e,t,n){let r=null;const{pause:o,resume:s,timestamp:i}=Ix({...n||{},controls:!0}),a=F(null),l=R(()=>a.value?t-(i.value-a.value):0);function u(...g){r=setTimeout(()=>{r=null,a.value=null,e(...g)},l.value)}function c(){r&&(clearTimeout(r),r=null)}function f(){a.value=Date.now(),u()}function d(){c(),o()}function p(){c(),o()}function h(){u(),s(),a.value=(a.value||0)+(Date.now()-i.value)}return f(),{start:f,stop:d,pause:p,resume:h,remaining:l}}const lo=Gt(ze.ui.strategy,ze.ui.notification,TC),DT=re({components:{UIcon:bt,UAvatar:kg,UButton:Qt},inheritAttrs:!1,props:{id:{type:[String,Number],required:!0},title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:()=>lo.default.icon},avatar:{type:Object,default:null},closeButton:{type:Object,default:()=>lo.default.closeButton},timeout:{type:Number,default:()=>lo.default.timeout},actions:{type:Array,default:()=>[]},callback:{type:Function,default:null},color:{type:String,default:()=>lo.default.color,validator(e){return["gray",...ze.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}=Ke("notification",xe(e,"ui"),lo);let o=null;const s=F(e.timeout),i=R(()=>{var h;return jt(at(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 at(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}%`})),u=R(()=>{var h;return at(n.value.icon.base,(h=n.value.icon.color)==null?void 0:h.replaceAll("{color}",e.color))});function c(){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 Ie(()=>{e.timeout&&(o=MT(()=>{d()},e.timeout),Xe(()=>{s.value=o.remaining.value}))}),Ye(()=>{o&&o.stop()}),{ui:n,attrs:r,wrapperClass:i,progressClass:a,progressStyle:l,iconClass:u,onMouseover:c,onMouseleave:f,onClose:d,onAction:p,twMerge:jt}}});function NT(e,t,n,r,o,s){const i=bt,a=kg,l=Qt;return j(),ae(Un,ue({appear:""},e.ui.transition),{default:le(()=>[ke("div",ue({class:e.wrapperClass,role:"status"},e.attrs,{onMouseover:t[0]||(t[0]=(...u)=>e.onMouseover&&e.onMouseover(...u)),onMouseleave:t[1]||(t[1]=(...u)=>e.onMouseleave&&e.onMouseleave(...u))}),[ke("div",{class:W([e.ui.container,e.ui.rounded,e.ui.ring])},[ke("div",{class:W(["flex",[e.ui.padding,e.ui.gap,{"items-start":e.description||e.$slots.description,"items-center":!e.description&&!e.$slots.description}]])},[e.icon?(j(),ae(i,{key:0,name:e.icon,class:W(e.iconClass)},null,8,["name","class"])):me("",!0),e.avatar?(j(),ae(a,ue({key:1},{size:e.ui.avatar.size,...e.avatar},{class:e.ui.avatar.base}),null,16,["class"])):me("",!0),ke("div",{class:W(e.ui.inner)},[e.title||e.$slots.title?(j(),ne("p",{key:0,class:W(e.ui.title)},[ye(e.$slots,"title",{title:e.title},()=>[tt(He(e.title),1)])],2)):me("",!0),e.description||e.$slots.description?(j(),ne("p",{key:1,class:W(e.twMerge(e.ui.description,!(e.title&&e.$slots.title)&&"mt-0 leading-5"))},[ye(e.$slots,"description",{description:e.description},()=>[tt(He(e.description),1)])],2)):me("",!0),(e.description||e.$slots.description)&&e.actions.length?(j(),ne("div",{key:2,class:W(e.ui.actions)},[(j(!0),ne(Ee,null,yt(e.actions,(u,c)=>(j(),ae(l,ue({key:c},{...e.ui.default.actionButton||{},...u},{onClick:ks(f=>e.onAction(u),["stop"])}),null,16,["onClick"]))),128))],2)):me("",!0)],2),e.closeButton||!e.description&&!e.$slots.description&&e.actions.length?(j(),ne("div",{key:2,class:W(e.twMerge(e.ui.actions,"mt-0"))},[!e.description&&!e.$slots.description&&e.actions.length?(j(!0),ne(Ee,{key:0},yt(e.actions,(u,c)=>(j(),ae(l,ue({key:c},{...e.ui.default.actionButton||{},...u},{onClick:ks(f=>e.onAction(u),["stop"])}),null,16,["onClick"]))),128)):me("",!0),e.closeButton?(j(),ae(l,ue({key:1,"aria-label":"Close"},{...e.ui.default.closeButton||{},...e.closeButton},{onClick:ks(e.onClose,["stop"])}),null,16,["onClick"])):me("",!0)],2)):me("",!0)],2),e.timeout?(j(),ne("div",{key:0,class:W(e.progressClass),style:Nn(e.progressStyle)},null,6)):me("",!0)],2)],16)]),_:3},16)}const Eg=Nt(DT,[["render",NT]]);function FT(){const e=yr("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 BT=Gt(ze.ui.strategy,ze.ui.notifications,AC),HT=re({components:{UNotification:Eg},inheritAttrs:!1,props:{class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},setup(e){const{ui:t,attrs:n}=Ke("notifications",xe(e,"ui"),BT),r=FT(),o=yr("notifications",()=>[]),s=R(()=>jt(at(t.value.wrapper,t.value.position,t.value.width),e.class));return{ui:t,attrs:n,toast:r,notifications:o,wrapperClass:s}}});function UT(e,t,n,r,o,s){const i=Eg;return j(),ae(Bd,{to:"body"},[ke("div",ue({class:e.wrapperClass,role:"region"},e.attrs),[e.notifications.length?(j(),ne("div",{key:0,class:W(e.ui.container)},[(j(!0),ne(Ee,null,yt(e.notifications,a=>(j(),ne("div",{key:a.id},[K(i,ue(a,{class:a.click&&"cursor-pointer",onClick:l=>a.click&&a.click(a),onClose:l=>e.toast.remove(a.id)}),li({_:2},[yt(e.$slots,(l,u)=>({name:u,fn:le(c=>[ye(e.$slots,u,Tr(Ir(c)))])}))]),1040,["class","onClick","onClose"])]))),128))],2)):me("",!0)],16)])}const Cg=Nt(HT,[["render",UT]]),zT=e=>e==="defer"||e===!1;function wc(...e){var h;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=r,a=()=>null,l=()=>s.isHydrating?s.payload.data[n]:s.static.data[n];o.server=o.server??!0,o.default=o.default??a,o.getCachedData=o.getCachedData??l,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??yw.deep,o.dedupe=o.dedupe??"cancel";const u=()=>![null,void 0].includes(o.getCachedData(n));if(!s._asyncData[n]||!o.immediate){(h=s.payload._errors)[n]??(h[n]=null);const g=o.deep?F:Bn;s._asyncData[n]={data:g(o.getCachedData(n)??o.default()),pending:F(!u()),error:xe(s.payload._errors,n),status:F("idle")}}const c={...s._asyncData[n]};c.refresh=c.execute=(g={})=>{if(s._asyncDataPromises[n]){if(zT(g.dedupe??o.dedupe))return s._asyncDataPromises[n];s._asyncDataPromises[n].cancelled=!0}if((g._initial||s.isHydrating&&g._initial!==!1)&&u())return Promise.resolve(o.getCachedData(n));c.pending.value=!0,c.status.value="pending";const b=new Promise((_,y)=>{try{_(i(s))}catch(v){y(v)}}).then(_=>{if(b.cancelled)return s._asyncDataPromises[n];let y=_;o.transform&&(y=o.transform(_)),o.pick&&(y=VT(y,o.pick)),s.payload.data[n]=y,c.data.value=y,c.error.value=null,c.status.value="success"}).catch(_=>{if(b.cancelled)return s._asyncDataPromises[n];c.error.value=Go(_),c.data.value=C(o.default()),c.status.value="error"}).finally(()=>{b.cancelled||(c.pending.value=!1,delete s._asyncDataPromises[n])});return s._asyncDataPromises[n]=b,s._asyncDataPromises[n]};const f=()=>c.refresh({_initial:!0}),d=o.server!==!1&&s.payload.serverRendered;{const g=Mt();if(g&&!g._nuxtOnBeforeMountCbs){g._nuxtOnBeforeMountCbs=[];const _=g._nuxtOnBeforeMountCbs;g&&(Ed(()=>{_.forEach(y=>{y()}),_.splice(0,_.length)}),Ye(()=>_.splice(0,_.length)))}d&&s.isHydrating&&(c.error.value||u())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):g&&(s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?g._nuxtOnBeforeMountCbs.push(f):o.immediate&&f(),o.watch&&Me(o.watch,()=>c.refresh());const b=s.hook("app:data:refresh",async _=>{(!_||_.includes(n))&&await c.refresh()});g&&Ye(b)}const p=Promise.resolve(s._asyncDataPromises[n]).then(()=>c);return Object.assign(p,c),p}function VT(e,t){const n={};for(const r of t)n[r]=e[r];return n}function _c(e){return JSON.stringify(e,WT)}function WT(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const Sg=e=>{let t=_c(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("/")},xc=()=>({isEnabled:()=>{const r=mn().query;return Object.prototype.hasOwnProperty.call(r,"preview")&&!r.preview?!1:!!(r.preview||Ps("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>Ps("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:r=>{Ps("previewToken").value=r,mn().query.preview=r||"",r?sessionStorage.setItem("previewToken",r):sessionStorage.removeItem("previewToken"),window.location.reload()}}),Xs=e=>np(e,Dt().public.content.api.baseURL),_A=()=>{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.")},Pg=()=>{const{experimental:e}=Dt().public.content;return e.clientDB?!0:xc().isEnabled()},Df=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),kc=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),xA=e=>t=>e&&e.length?kc(t,n=>!e.includes(n)):t,kA=e=>t=>Array.isArray(t)?t.map(n=>e(n)):e(t),Tg=e=>{const t=[],n=[];for(const r of e)["$","_"].includes(r)?t.push(r):n.push(r);return{prefixes:t,properties:n}},EA=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Tg(e);return kc(t,o=>!r.includes(o)&&!n.includes(o[0]))},CA=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=Tg(e);return kc(t,o=>r.includes(o)||n.includes(o[0]))},SA=(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=[Df(s,o),Df(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},PA=(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],qT=["sort","where","only","without"];function KT(e,t={}){const n={};for(const i of Object.keys(t.initialParams||{}))n[i]=qT.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 GT=()=>async e=>{const{content:t}=Dt().public,n=e.params(),r=t.experimental.stripQueryParameters?Xs(`/query/${`${Io(n)}.${t.integrity}`}/${Sg(n)}.json`):Xs(`/query/${Io(n)}.${t.integrity}.json`);if(Pg())return(await G(()=>import("./client-db.FY6gSh6m.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:_c(n),previewToken:xc().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function QT(e,...t){const{content:n}=Dt().public,r=KT(GT(),{initialParams:typeof e!="string"?e:{},legacy:!0});let o;typeof e=="string"&&(o=by(fi(e,...t)));const s=r.params;return r.params=()=>{var a,l,u;const i=s();return o&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:tp(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&&((u=(l=i.where)==null?void 0:l.find(f=>f._locale))!=null&&u._locale||(i.where=i.where||[],i.where.push({_locale:n.defaultLocale}))),i},r}const Ag=async e=>{const{content:t}=Dt().public;typeof(e==null?void 0:e.params)!="function"&&(e=QT(e));const n=e.params(),r=t.experimental.stripQueryParameters?Xs(`/navigation/${`${Io(n)}.${t.integrity}`}/${Sg(n)}.json`):Xs(`/navigation/${Io(n)}.${t.integrity}.json`);if(Pg())return(await G(()=>import("./client-db.FY6gSh6m.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:_c(n),previewToken:xc().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function XT(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],s=R(()=>{let S=e;return typeof S=="function"&&(S=S()),Zt(S)}),i=r.key||Io([o,typeof s.value=="string"?s.value:"",...YT(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:u,default:c,transform:f,pick:d,watch:p,immediate:h,getCachedData:g,deep:b,dedupe:_,...y}=r,v=Lt({...bw,...y,cache:typeof r.cache=="boolean"?void 0:r.cache}),m={server:l,lazy:u,default:c,transform:f,pick:d,immediate:h,getCachedData:g,deep:b,dedupe:_,watch:p===!1?[]:[v,s,...p||[]]};let w;return wc(a,()=>{var L;(L=w==null?void 0:w.abort)==null||L.call(w),w=typeof AbortController<"u"?new AbortController:{};const S=Zt(r.timeout);return S&&setTimeout(()=>w.abort(),S),(r.$fetch||globalThis.$fetch)(s.value,{signal:w.signal,...v})},m)}function Og(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n];return XT(e,{...r,lazy:!0},o)}function YT(e){var n;const t=[((n=Zt(e.method))==null?void 0:n.toUpperCase())||"GET",Zt(e.baseURL)];for(const r of[e.params||e.query]){const o=Zt(r);if(!o)continue;const s={};for(const[i,a]of Object.entries(o))s[Zt(i)]=Zt(a);t.push(s)}return t}const JT=Z(()=>G(()=>import("./DocsSearch.j3r5igXq.js"),__vite__mapDeps([45,46]),import.meta.url).then(e=>e.default||e)),ZT=re({__name:"app",async setup(e){let t,n;const{data:r}=([t,n]=bl(()=>wc("navigation",()=>Ag())),t=await t,n(),t),{data:o}=Og("/api/search.json",{default:()=>[],server:!1},"$siNM9WAguS");return Qo({meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",href:"/favicon.ico"}],htmlAttrs:{lang:"en"}}),Ip({ogSiteName:"Nuxt x Supabase - Docs",twitterCard:"summary_large_image"}),Ue("navigation",r),(s,i)=>{const a=wg,l=ET,u=AT,c=_g,f=xg,d=JT,p=Jl,h=Cg;return j(),ne("div",null,[K(a),K(c,null,{default:le(()=>[K(u,null,{default:le(()=>[K(l)]),_:1})]),_:1}),K(f),K(p,null,{default:le(()=>[K(d,{files:C(o),navigation:C(r)},null,8,["files","navigation"])]),_:1}),K(h)])}}}),eA=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}=Ke("page.error",xe(n,"ui"),t,xe(n,"class"),!0),s=()=>bp({redirect:"/"});return(i,a)=>{var u,c,f,d;const l=Qt;return j(),ne("div",ue({class:C(r).wrapper},C(o)),[ke("p",{class:W(C(r).status)},He(((u=e.error)==null?void 0:u.statusCode)||e.status),3),ke("h1",{class:W(C(r).name)},He(((c=e.error)==null?void 0:c.name)||((f=e.error)==null?void 0:f.statusMessage)||e.name),3),ke("p",{class:W(C(r).message)},He((d=e.error)!=null&&d.message&&e.error.message!==(e.error.name||e.error.statusMessage||e.name)?e.error.message:e.message),3),ke("div",{class:W(C(r).links)},[K(l,ue({...C(r).default.clearButton,...e.clearButton},{onClick:s}),null,16)],2)],16)}}}),tA=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=Td(),{ui:o,attrs:s}=Ke("page",xe(n,"ui"),t,xe(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)=>(j(),ne("div",ue({class:C(o).wrapper},C(s)),[a.$slots.left?(j(),ne("div",{key:0,class:W(C(o).left)},[ye(a.$slots,"left")],2)):me("",!0),ke("div",{class:W(C(i))},[ye(a.$slots,"default")],2),a.$slots.right?(j(),ne("div",{key:1,class:W(C(o).right)},[ye(a.$slots,"right")],2)):me("",!0)],16))}}),nA=Z(()=>G(()=>import("./DocsSearch.j3r5igXq.js"),__vite__mapDeps([45,46]),import.meta.url).then(e=>e.default||e)),rA=re({__name:"error",props:{error:{}},async setup(e){let t,n;Ip({title:"Page not found",description:"We are sorry but this page could not be found."}),Qo({htmlAttrs:{lang:"en"}});const{data:r}=([t,n]=bl(()=>wc("navigation",()=>Ag())),t=await t,n(),t),{data:o}=Og("/api/search.json",{default:()=>[],server:!1},"$mar46U4SiV");return Ue("navigation",r),(s,i)=>{const a=wg,l=eA,u=tA,c=yc,f=_g,d=xg,p=nA,h=Jl,g=Cg;return j(),ne("div",null,[K(a),K(f,null,{default:le(()=>[K(c,null,{default:le(()=>[K(u,null,{default:le(()=>[K(l,{error:s.error},null,8,["error"])]),_:1})]),_:1})]),_:1}),K(d),K(h,null,{default:le(()=>[K(p,{files:C(o),navigation:C(r)},null,8,["files","navigation"])]),_:1}),K(g)])}}}),oA={__name:"nuxt-root",setup(e){const t=()=>null,n=Ae(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);Tt().beforeEach(a)}const o=!1;Ue(Gr,mn()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const s=pi();Sd((a,l,u)=>{if(n.hooks.callHook("vue:error",a,l,u).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),gb(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>xr(a)),!1});const i=!1;return(a,l)=>(j(),ae(vl,{onResolve:C(r)},{default:le(()=>[C(s)?(j(),ae(C(rA),{key:0,error:C(s)},null,8,["error"])):C(i)?(j(),ae(C(t),{key:1,context:C(i)},null,8,["context"])):C(o)?(j(),ae(Ar(C(o)),{key:2})):(j(),ae(C(ZT),{key:3}))]),_:1},8,["onResolve"]))}},Nf=oA;let Ff;{let e;Ff=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")?ey(Nf):Zv(Nf),o=a0({vueApp:r});async function s(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||Go(l)}r.config.errorHandler=s;try{await c0(o,IC)}catch(l){s(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(ww),await o.hooks.callHook("app:mounted",r),await Vn()}catch(l){s(l)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=Ff().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{nn as $,_A as A,Te as B,Il as C,R as D,C as E,Ee as F,Bn as G,Me as H,sA as I,il as J,Xe as K,bn as L,rt as M,Lt as N,J as O,Mh as P,Ue as Q,nc as R,qe as S,Un as T,we as U,Nr as V,vA as W,gr as X,ht as Y,Bh as Z,G as _,Ye as a,yc as a$,zn as a0,Jo as a1,Ce as a2,sn as a3,rS as a4,Zo as a5,mt as a6,Vn as a7,nr as a8,sS as a9,OS as aA,sg as aB,KS as aC,UC as aD,Rn as aE,Ah as aF,pA as aG,qC as aH,bT as aI,et as aJ,dA as aK,Ch as aL,jt as aM,Dr as aN,Wn as aO,Ed as aP,qo as aQ,ks as aR,bl as aS,Go as aT,Ip as aU,wc as aV,wA as aW,tA as aX,tp as aY,bA as aZ,Io as a_,Wt as aa,bt as ab,kg as ac,FC as ad,ec as ae,Zl as af,ar as ag,yt as ah,ae as ai,ye as aj,ue as ak,Nn as al,Gt as am,ze as an,Qt as ao,Ke as ap,xe as aq,di as ar,uA as as,at,Dm as au,Iv as av,li as aw,Tr as ax,Ir as ay,AS as az,j as b,Yp as b0,gA as b1,Qr as b2,fA as b3,ja as b4,mi as b5,cA as b6,ms as b7,Td as b8,mk as b9,dn as bA,xA as bB,SA as bC,kA as bD,EA as bE,CA as bF,KT as bG,np as bH,el as ba,Ar as bb,LS as bc,jS as bd,IS as be,Vm as bf,Qo as bg,vy as bh,iA as bi,Ag as bj,xc as bk,yA as bl,Or as bm,jy as bn,fi as bo,hA as bp,FT as bq,Mt as br,by as bs,uC as bt,pT as bu,_g as bv,bg as bw,ig as bx,Df as by,PA as bz,ne as c,re as d,ke as e,me as f,K as g,Ps as h,lA as i,tt as j,Ae as k,Nt as l,Dt as m,W as n,Ie as o,aA as p,yr as q,F as r,QT as s,He as t,Tt as u,mn as v,le as w,u0 as x,lt as y,Zv as z}; diff --git a/_nuxt/index.qRAVkPDV.js b/_nuxt/index.3XGNYxtw.js similarity index 99% rename from _nuxt/index.qRAVkPDV.js rename to _nuxt/index.3XGNYxtw.js index 3f85eb79..c3a199e4 100644 --- a/_nuxt/index.qRAVkPDV.js +++ b/_nuxt/index.3XGNYxtw.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./mdc-imports.rU9K4kSx.js","./entry.rQ92EvLv.js","./entry.jnCQ1O-o.css","./MDCRenderer.r7QY4jzo.js","./_commonjsHelpers.5-cIlDoe.js","./node.kQagOfUD.js","./Card.ecKOF5af.js"] + __vite__mapDeps.viteFileDeps = ["./mdc-imports.SdErBHLE.js","./entry.bb8_tySE.js","./entry.jnCQ1O-o.css","./MDCRenderer.QrfRPW2s.js","./_commonjsHelpers.5-cIlDoe.js","./node.kQagOfUD.js","./Card.9CHU1W46.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{h as cu,f as Zr,n as On,s as pa,a as Ya,_ as uu}from"./MDCRenderer.r7QY4jzo.js";import{aZ as sa,_ as zr,ar as Ln,d as Ht,D as Qe,a_ as lu,aS as cs,aV as us,H as fu,aj as le,b as Z,ai as wt,n as se,E as V,f as ue,at as oa,ap as $a,aq as ct,c as ne,g as Be,w as it,e as Bt,ak as qe,a$ as ls,j as kt,t as Re,F as Ft,ah as Ot,ao as fs,b0 as hu,b1 as du,r as xa,b2 as pu,b3 as _u,b4 as mu,b5 as gu,b6 as yu,b7 as ka,b8 as ku,b9 as bu,ba as wu,aL as Eu,ab as hs,p as Tu,i as Au,l as Cu,y as xu,aM as Du,aU as zu,ax as Iu,s as Su}from"./entry.rQ92EvLv.js";import{g as en}from"./_commonjsHelpers.5-cIlDoe.js";import{n as Rn}from"./node.kQagOfUD.js";import{_ as Nu}from"./Card.ecKOF5af.js";function vn(e){if(e)throw e}var Da=Object.prototype.hasOwnProperty,ds=Object.prototype.toString,Bn=Object.defineProperty,Pn=Object.getOwnPropertyDescriptor,Mn=function(t){return typeof Array.isArray=="function"?Array.isArray(t):ds.call(t)==="[object Array]"},Hn=function(t){if(!t||ds.call(t)!=="[object Object]")return!1;var a=Da.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Da.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!a&&!r)return!1;var n;for(n in t);return typeof n>"u"||Da.call(t,n)},Un=function(t,a){Bn&&a.name==="__proto__"?Bn(t,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0}):t[a.name]=a.newValue},jn=function(t,a){if(a==="__proto__")if(Da.call(t,a)){if(Pn)return Pn(t,a).value}else return;return t[a]},Fu=function e(){var t,a,r,n,s,i,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={});ui.length;let u;o&&i.push(n);try{u=e.apply(this,i)}catch(l){const p=l;if(o&&a)throw p;return n(p)}o||(u instanceof Promise?u.then(s,n):u instanceof Error?n(u):s(u))}function n(i,...o){a||(a=!0,t(i,...o))}function s(i){n(null,i)}}function Zt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?qn(e.position):"start"in e||"end"in e?qn(e):"line"in e||"column"in e?Sr(e):""}function Sr(e){return Yn(e&&e.line)+":"+Yn(e&&e.column)}function qn(e){return Sr(e&&e.start)+"-"+Sr(e&&e.end)}function Yn(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="",s={},i=!1;if(a&&("line"in a&&"column"in a?s={place:a}:"start"in a&&"end"in a?s={place:a}:"type"in a?s={ancestors:[a],place:a.position}:s={...a}),typeof t=="string"?n=t:!s.cause&&t&&(i=!0,n=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?s.ruleId=r:(s.source=r.slice(0,u),s.ruleId=r.slice(u+1))}if(!s.place&&s.ancestors&&s.ancestors){const u=s.ancestors[s.ancestors.length-1];u&&(s.place=u.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=o?o.line:void 0,this.name=Zt(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=i&&s.cause&&typeof s.cause.stack=="string"?s.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:Ru,dirname:vu,extname:Bu,join:Pu,sep:"/"};function Ru(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');_a(e);let a=0,r=-1,n=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;n--;)if(e.codePointAt(n)===47){if(s){a=n+1;break}}else r<0&&(s=!0,r=n+1);return r<0?"":e.slice(a,r)}if(t===e)return"";let i=-1,o=t.length-1;for(;n--;)if(e.codePointAt(n)===47){if(s){a=n+1;break}}else i<0&&(s=!0,i=n+1),o>-1&&(e.codePointAt(n)===t.codePointAt(o--)?o<0&&(r=n):(o=-1,r=i));return a===r?r=i:r<0&&(r=e.length),e.slice(a,r)}function vu(e){if(_a(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 Bu(e){_a(e);let t=e.length,a=-1,r=0,n=-1,s=0,i;for(;t--;){const o=e.codePointAt(t);if(o===47){if(i){r=t+1;break}continue}a<0&&(i=!0,a=t+1),o===46?n<0?n=t:s!==1&&(s=1):n>-1&&(s=-1)}return n<0||a<0||s===0||s===1&&n===a-1&&n===r+1?"":e.slice(n,a)}function Pu(...e){let t=-1,a;for(;++t0&&e.codePointAt(e.length-1)===47&&(a+="/"),t?"/"+a:a}function Hu(e,t){let a="",r=0,n=-1,s=0,i=-1,o,u;for(;++i<=e.length;){if(i2){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=i,s=0;continue}}else if(a.length>0){a="",r=0,n=i,s=0;continue}}t&&(a=a.length>0?a+"/..":"..",r=2)}else a.length>0?a+="/"+e.slice(n+1,i):a=e.slice(n+1,i),r=i-n-1;n=i,s=0}else o===46&&s>-1?s++:s=-1}return a}function _a(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Uu={cwd:ju};function ju(){return"/"}function Nr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function qu(e){if(typeof e=="string")e=new URL(e);else if(!Nr(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 Yu(e)}function Yu(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[_,...y]=p;const b=r[f][1];Ir(b)&&Ir(_)&&(_=ir(!0,b,_)),r[f]=[l,_,...y]}}}}const Qu=new tn().freeze();function ur(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function lr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function fr(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 Vn(e){if(!Ir(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Wn(e,t,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ba(e){return Xu(e)?e:new $u(e)}function Xu(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Ku(e){return typeof e=="string"||Ju(e)}function Ju(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Zu={};function an(e,t){const a=t||Zu,r=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,n=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return ps(e,r,n)}function ps(e,t,a){if(el(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 Gn(e.children,t,a)}return Array.isArray(e)?Gn(e,t,a):""}function Gn(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)i=Array.from(r),i.unshift(t,a),e.splice(...i);else for(a&&e.splice(t,a);s0?(Ie(e,e.length,0,t),e):t}const Xn={}.hasOwnProperty;function _s(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 rl=lt(new RegExp("\\p{P}","u")),me=lt(/[A-Za-z]/),pe=lt(/[\dA-Za-z]/),nl=lt(/[#-'*+\--9=?A-Z^-~]/);function Na(e){return e!==null&&(e<32||e===127)}const Fr=lt(/\d/),il=lt(/[\dA-Fa-f]/),gs=lt(/[!-/:-@[-`{-~]/);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 Va(e){return gs(e)||rl(e)}const Et=lt(/\s/);function lt(e){return t;function t(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function ft(e){const t=[];let a=-1,r=0,n=0;for(;++a55295&&s<57344){const o=e.charCodeAt(a+1);s<56320&&o>56319&&o<57344?(i=String.fromCharCode(s,o),n=1):i="�"}else i=String.fromCharCode(s);i&&(t.push(e.slice(r,a),encodeURIComponent(i)),r=a+n+1,i=""),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 s=0;return i;function i(u){return X(u)?(e.enter(a),o(u)):t(u)}function o(u){return X(u)&&s++i))return;const z=t.events.length;let U=z,$,D;for(;U--;)if(t.events[U][0]==="exit"&&t.events[U][1].type==="chunkFlow"){if($){D=t.events[U][1].end;break}$=!0}for(A(r),d=z;dO;){const N=a[M];t.containerState=N[1],N[0].exit.call(t,e)}a.length=O}function S(){n.write([null]),s=void 0,n=void 0,t.containerState._closeFlow=void 0}}function ll(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 Fa(e){if(e===null||ae(e)||Et(e))return 1;if(Va(e))return 2}function Wa(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);Jn(h,-u),Jn(f,u),i={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},s={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({},i.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},i.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",i,t],["exit",i,t],["enter",s,t]]),l=Se(l,Wa(t.parser.constructs.insideSpan.null,e.slice(r+1,a),t)),l=Se(l,[["exit",s,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",s+1)(d):S(d)}function S(d){return d===null||Y(d)?e.check(Zn,b,M)(d):(e.enter("codeFlowValue"),O(d))}function O(d){return d===null||Y(d)?(e.exit("codeFlowValue"),S(d)):(e.consume(d),O)}function M(d){return e.exit("codeFenced"),t(d)}function N(d,z,U){let $=0;return D;function D(B){return d.enter("lineEnding"),d.consume(B),d.exit("lineEnding"),I}function I(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)):U(B)}function Q(B){return B===o?($++,d.consume(B),Q):$>=i?(d.exit("codeFencedFenceSequence"),X(B)?G(d,te,"whitespace")(B):te(B)):U(B)}function te(B){return B===null||Y(B)?(d.exit("codeFencedFence"),z(B)):U(B)}}}function El(e,t,a){const r=this;return n;function n(i){return i===null?a(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s)}function s(i){return r.parser.lazy[r.now().line]?a(i):t(i)}}const hr={name:"codeIndented",tokenize:Al},Tl={tokenize:Cl,partial:!0};function Al(e,t,a){const r=this;return n;function n(l){return e.enter("codeIndented"),G(e,s,"linePrefix",5)(l)}function s(l){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?i(l):a(l)}function i(l){return l===null?u(l):Y(l)?e.attempt(Tl,i,u)(l):(e.enter("codeFlowValue"),o(l))}function o(l){return l===null||Y(l)?(e.exit("codeFlowValue"),i(l)):(e.consume(l),o)}function u(l){return e.exit("codeIndented"),t(l)}}function Cl(e,t,a){const r=this;return n;function n(i){return r.parser.lazy[r.now().line]?a(i):Y(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n):G(e,s,"linePrefix",5)(i)}function s(i){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):Y(i)?n(i):a(i)}}const xl={name:"codeText",tokenize:Il,resolve:Dl,previous:zl};function Dl(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(i):e.interrupt(r.parser.constructs.flow,a,t)(i)}}function Es(e,t,a,r,n,s,i,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(s),e.consume(A),e.exit(s),f):A===null||A===32||A===41||Na(A)?a(A):(e.enter(r),e.enter(i),e.enter(o),e.enter("chunkString",{contentType:"string"}),b(A))}function f(A){return A===62?(e.enter(s),e.consume(A),e.exit(s),e.exit(n),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),_(A))}function _(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:_)}function y(A){return A===60||A===62||A===92?(e.consume(A),_):_(A)}function b(A){return!p&&(A===null||A===41||ae(A))?(e.exit("chunkString"),e.exit(o),e.exit(i),e.exit(r),t(A)):p999||_===null||_===91||_===93&&!u||_===94&&!o&&"_hiddenFootnoteSupport"in i.parser.constructs?a(_):_===93?(e.exit(s),e.enter(n),e.consume(_),e.exit(n),e.exit(r),t):Y(_)?(e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),h(_))}function h(_){return _===null||_===91||_===93||Y(_)||o++>999?(e.exit("chunkString"),p(_)):(e.consume(_),u||(u=!X(_)),_===92?f:h)}function f(_){return _===91||_===92||_===93?(e.consume(_),o++,h):h(_)}}function As(e,t,a,r,n,s){let i;return o;function o(f){return f===34||f===39||f===40?(e.enter(r),e.enter(n),e.consume(f),e.exit(n),i=f===40?41:f,u):a(f)}function u(f){return f===i?(e.enter(n),e.consume(f),e.exit(n),e.exit(r),t):(e.enter(s),l(f))}function l(f){return f===i?(e.exit(s),u(i)):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===i||f===null||Y(f)?(e.exit("chunkString"),l(f)):(e.consume(f),f===92?h:p)}function h(f){return f===i||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 vl={name:"definition",tokenize:Pl},Bl={tokenize:Ml,partial:!0};function Pl(e,t,a){const r=this;let n;return s;function s(_){return e.enter("definition"),i(_)}function i(_){return Ts.call(r,e,o,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(_)}function o(_){return n=Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),_===58?(e.enter("definitionMarker"),e.consume(_),e.exit("definitionMarker"),u):a(_)}function u(_){return ae(_)?Ue(e,l)(_):l(_)}function l(_){return Es(e,p,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(_)}function p(_){return e.attempt(Bl,h,h)(_)}function h(_){return X(_)?G(e,f,"whitespace")(_):f(_)}function f(_){return _===null||Y(_)?(e.exit("definition"),r.parser.defined.push(n),t(_)):a(_)}}function Ml(e,t,a){return r;function r(o){return ae(o)?Ue(e,n)(o):a(o)}function n(o){return As(e,s,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function s(o){return X(o)?G(e,i,"whitespace")(o):i(o)}function i(o){return o===null||Y(o)?t(o):a(o)}}const Hl={name:"hardBreakEscape",tokenize:Ul};function Ul(e,t,a){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),n}function n(s){return Y(s)?(e.exit("hardBreakEscape"),t(s)):a(s)}}const jl={name:"headingAtx",tokenize:Yl,resolve:ql};function ql(e,t){let a=e.length-2,r=3,n,s;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},s={type:"chunkText",start:e[r][1].start,end:e[a][1].end,contentType:"text"},Ie(e,r,a-r+1,[["enter",n,t],["enter",s,t],["exit",s,t],["exit",n,t]])),e}function Yl(e,t,a){let r=0;return n;function n(p){return e.enter("atxHeading"),s(p)}function s(p){return e.enter("atxHeadingSequence"),i(p)}function i(p){return p===35&&r++<6?(e.consume(p),i):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 $l=["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"],ei=["pre","script","style","textarea"],Vl={name:"htmlFlow",tokenize:Xl,resolveTo:Ql,concrete:!0},Wl={tokenize:Jl,partial:!0},Gl={tokenize:Kl,partial:!0};function Ql(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 Xl(e,t,a){const r=this;let n,s,i,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),s=!0,b):E===63?(e.consume(E),n=3,r.interrupt?t:w):me(E)?(e.consume(E),i=String.fromCharCode(E),C):a(E)}function f(E){return E===45?(e.consume(E),n=2,_):E===91?(e.consume(E),n=5,o=0,y):me(E)?(e.consume(E),n=4,r.interrupt?t:w):a(E)}function _(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 me(E)?(e.consume(E),i=String.fromCharCode(E),C):a(E)}function C(E){if(E===null||E===47||E===62||ae(E)){const Fe=E===47,ht=i.toLowerCase();return!Fe&&!s&&ei.includes(ht)?(n=1,r.interrupt?t(E):P(E)):$l.includes(i.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):s?S(E):O(E))}return E===45||pe(E)?(e.consume(E),i+=String.fromCharCode(E),C):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):D(E)}function O(E){return E===47?(e.consume(E),D):E===58||E===95||me(E)?(e.consume(E),M):X(E)?(e.consume(E),O):D(E)}function M(E){return E===45||E===46||E===58||E===95||pe(E)?(e.consume(E),M):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,z):X(E)?(e.consume(E),d):U(E)}function z(E){return E===u?(e.consume(E),u=null,$):E===null||Y(E)?a(E):(e.consume(E),z)}function U(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),U)}function $(E){return E===47||E===62||X(E)?O(E):a(E)}function D(E){return E===62?(e.consume(E),I):a(E)}function I(E){return E===null||Y(E)?P(E):X(E)?(e.consume(E),I):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(Wl,Ve,Q)(E)):E===null||Y(E)?(e.exit("htmlFlowData"),Q(E)):(e.consume(E),P)}function Q(E){return e.check(Gl,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),i="",K):P(E)}function K(E){if(E===62){const Fe=i.toLowerCase();return ei.includes(Fe)?(e.consume(E),Ne):P(E)}return me(E)&&i.length<8?(e.consume(E),i+=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 Kl(e,t,a){const r=this;return n;function n(i){return Y(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s):a(i)}function s(i){return r.parser.lazy[r.now().line]?a(i):t(i)}}function Jl(e,t,a){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(ma,t,a)}}const Zl={name:"htmlText",tokenize:ef};function ef(e,t,a){const r=this;let n,s,i;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):me(w)?(e.consume(w),U):a(w)}function l(w){return w===45?(e.consume(w),p):w===91?(e.consume(w),s=0,y):me(w)?(e.consume(w),S):a(w)}function p(w){return w===45?(e.consume(w),_):a(w)}function h(w){return w===null?a(w):w===45?(e.consume(w),f):Y(w)?(i=h,T(w)):(e.consume(w),h)}function f(w){return w===45?(e.consume(w),_):h(w)}function _(w){return w===62?q(w):w===45?f(w):h(w)}function y(w){const Ne="CDATA[";return w===Ne.charCodeAt(s++)?(e.consume(w),s===Ne.length?b:y):a(w)}function b(w){return w===null?a(w):w===93?(e.consume(w),C):Y(w)?(i=b,T(w)):(e.consume(w),b)}function C(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)?(i=S,T(w)):(e.consume(w),S)}function O(w){return w===null?a(w):w===63?(e.consume(w),M):Y(w)?(i=O,T(w)):(e.consume(w),O)}function M(w){return w===62?q(w):O(w)}function N(w){return me(w)?(e.consume(w),d):a(w)}function d(w){return w===45||pe(w)?(e.consume(w),d):z(w)}function z(w){return Y(w)?(i=z,T(w)):X(w)?(e.consume(w),z):q(w)}function U(w){return w===45||pe(w)?(e.consume(w),U):w===47||w===62||ae(w)?$(w):a(w)}function $(w){return w===47?(e.consume(w),q):w===58||w===95||me(w)?(e.consume(w),D):Y(w)?(i=$,T(w)):X(w)?(e.consume(w),$):q(w)}function D(w){return w===45||w===46||w===58||w===95||pe(w)?(e.consume(w),D):I(w)}function I(w){return w===61?(e.consume(w),P):Y(w)?(i=I,T(w)):X(w)?(e.consume(w),I):$(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)?(i=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)?(i=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"),i(w)}}const rn={name:"labelEnd",tokenize:of,resolveTo:sf,resolveAll:nf},tf={tokenize:cf},af={tokenize:uf},rf={tokenize:lf};function nf(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:kf,continuation:{tokenize:bf},exit:Ef},gf={tokenize:Tf,partial:!0},yf={tokenize:wf,partial:!0};function kf(e,t,a){const r=this,n=r.events[r.events.length-1];let s=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,i=0;return o;function o(_){const y=r.containerState.type||(_===42||_===43||_===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||_===r.containerState.marker:Fr(_)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),_===42||_===45?e.check(za,a,l)(_):l(_);if(!r.interrupt||_===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(_)}return a(_)}function u(_){return Fr(_)&&++i<10?(e.consume(_),u):(!r.interrupt||i<2)&&(r.containerState.marker?_===r.containerState.marker:_===41||_===46)?(e.exit("listItemValue"),l(_)):a(_)}function l(_){return e.enter("listItemMarker"),e.consume(_),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||_,e.check(ma,r.interrupt?a:p,e.attempt(gf,f,h))}function p(_){return r.containerState.initialBlankLine=!0,s++,f(_)}function h(_){return X(_)?(e.enter("listItemPrefixWhitespace"),e.consume(_),e.exit("listItemPrefixWhitespace"),f):a(_)}function f(_){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(_)}}function bf(e,t,a){const r=this;return r.containerState._closeFlow=void 0,e.check(ma,n,s);function n(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,G(e,t,"listItemIndent",r.containerState.size+1)(o)}function s(o){return r.containerState.furtherBlankLines||!X(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(yf,t,i)(o))}function i(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 wf(e,t,a){const r=this;return G(e,n,"listItemIndent",r.containerState.size+1);function n(s){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(s):a(s)}}function Ef(e){e.exit(this.containerState.type)}function Tf(e,t,a){const r=this;return G(e,n,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(s){const i=r.events[r.events.length-1];return!X(s)&&i&&i[1].type==="listItemPrefixWhitespace"?t(s):a(s)}}const ti={name:"setextUnderline",tokenize:Cf,resolveTo:Af};function Af(e,t){let a=e.length,r,n,s;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),!s&&e[a][1].type==="definition"&&(s=a);const i={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[n][1].type="setextHeadingText",s?(e.splice(n,0,["enter",i,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[s][1].end)):e[r][1]=i,e.push(["exit",i,t]),e}function Cf(e,t,a){const r=this;let n;return s;function s(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,i(l)):a(l)}function i(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 xf={tokenize:Df};function Df(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(Nl,n)),"linePrefix")));return a;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,a}function n(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,a}}const zf={resolveAll:xs()},If=Cs("string"),Sf=Cs("text");function Cs(e){return{tokenize:t,resolveAll:xs(e==="text"?Nf:void 0)};function t(a){const r=this,n=this.parser.constructs[e],s=a.attempt(n,i,o);return i;function i(p){return l(p)?s(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"),s(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=i[0];typeof o=="string"?i[0]=o.slice(r):i.shift()}s>0&&i.push(e[n].slice(0,s))}return i}function Lf(e,t){let a=-1;const r=[];let n;for(;++a"u"||Da.call(t,n)},Un=function(t,a){Bn&&a.name==="__proto__"?Bn(t,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0}):t[a.name]=a.newValue},jn=function(t,a){if(a==="__proto__")if(Da.call(t,a)){if(Pn)return Pn(t,a).value}else return;return t[a]},Fu=function e(){var t,a,r,n,s,i,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={});ui.length;let u;o&&i.push(n);try{u=e.apply(this,i)}catch(l){const p=l;if(o&&a)throw p;return n(p)}o||(u instanceof Promise?u.then(s,n):u instanceof Error?n(u):s(u))}function n(i,...o){a||(a=!0,t(i,...o))}function s(i){n(null,i)}}function Zt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?qn(e.position):"start"in e||"end"in e?qn(e):"line"in e||"column"in e?Sr(e):""}function Sr(e){return Yn(e&&e.line)+":"+Yn(e&&e.column)}function qn(e){return Sr(e&&e.start)+"-"+Sr(e&&e.end)}function Yn(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="",s={},i=!1;if(a&&("line"in a&&"column"in a?s={place:a}:"start"in a&&"end"in a?s={place:a}:"type"in a?s={ancestors:[a],place:a.position}:s={...a}),typeof t=="string"?n=t:!s.cause&&t&&(i=!0,n=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?s.ruleId=r:(s.source=r.slice(0,u),s.ruleId=r.slice(u+1))}if(!s.place&&s.ancestors&&s.ancestors){const u=s.ancestors[s.ancestors.length-1];u&&(s.place=u.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=n,this.line=o?o.line:void 0,this.name=Zt(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=i&&s.cause&&typeof s.cause.stack=="string"?s.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:Ru,dirname:vu,extname:Bu,join:Pu,sep:"/"};function Ru(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');_a(e);let a=0,r=-1,n=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;n--;)if(e.codePointAt(n)===47){if(s){a=n+1;break}}else r<0&&(s=!0,r=n+1);return r<0?"":e.slice(a,r)}if(t===e)return"";let i=-1,o=t.length-1;for(;n--;)if(e.codePointAt(n)===47){if(s){a=n+1;break}}else i<0&&(s=!0,i=n+1),o>-1&&(e.codePointAt(n)===t.codePointAt(o--)?o<0&&(r=n):(o=-1,r=i));return a===r?r=i:r<0&&(r=e.length),e.slice(a,r)}function vu(e){if(_a(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 Bu(e){_a(e);let t=e.length,a=-1,r=0,n=-1,s=0,i;for(;t--;){const o=e.codePointAt(t);if(o===47){if(i){r=t+1;break}continue}a<0&&(i=!0,a=t+1),o===46?n<0?n=t:s!==1&&(s=1):n>-1&&(s=-1)}return n<0||a<0||s===0||s===1&&n===a-1&&n===r+1?"":e.slice(n,a)}function Pu(...e){let t=-1,a;for(;++t0&&e.codePointAt(e.length-1)===47&&(a+="/"),t?"/"+a:a}function Hu(e,t){let a="",r=0,n=-1,s=0,i=-1,o,u;for(;++i<=e.length;){if(i2){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=i,s=0;continue}}else if(a.length>0){a="",r=0,n=i,s=0;continue}}t&&(a=a.length>0?a+"/..":"..",r=2)}else a.length>0?a+="/"+e.slice(n+1,i):a=e.slice(n+1,i),r=i-n-1;n=i,s=0}else o===46&&s>-1?s++:s=-1}return a}function _a(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Uu={cwd:ju};function ju(){return"/"}function Nr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function qu(e){if(typeof e=="string")e=new URL(e);else if(!Nr(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 Yu(e)}function Yu(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[_,...y]=p;const b=r[f][1];Ir(b)&&Ir(_)&&(_=ir(!0,b,_)),r[f]=[l,_,...y]}}}}const Qu=new tn().freeze();function ur(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function lr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function fr(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 Vn(e){if(!Ir(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Wn(e,t,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ba(e){return Xu(e)?e:new $u(e)}function Xu(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Ku(e){return typeof e=="string"||Ju(e)}function Ju(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Zu={};function an(e,t){const a=t||Zu,r=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,n=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return ps(e,r,n)}function ps(e,t,a){if(el(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 Gn(e.children,t,a)}return Array.isArray(e)?Gn(e,t,a):""}function Gn(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)i=Array.from(r),i.unshift(t,a),e.splice(...i);else for(a&&e.splice(t,a);s0?(Ie(e,e.length,0,t),e):t}const Xn={}.hasOwnProperty;function _s(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 rl=lt(new RegExp("\\p{P}","u")),me=lt(/[A-Za-z]/),pe=lt(/[\dA-Za-z]/),nl=lt(/[#-'*+\--9=?A-Z^-~]/);function Na(e){return e!==null&&(e<32||e===127)}const Fr=lt(/\d/),il=lt(/[\dA-Fa-f]/),gs=lt(/[!-/:-@[-`{-~]/);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 Va(e){return gs(e)||rl(e)}const Et=lt(/\s/);function lt(e){return t;function t(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function ft(e){const t=[];let a=-1,r=0,n=0;for(;++a55295&&s<57344){const o=e.charCodeAt(a+1);s<56320&&o>56319&&o<57344?(i=String.fromCharCode(s,o),n=1):i="�"}else i=String.fromCharCode(s);i&&(t.push(e.slice(r,a),encodeURIComponent(i)),r=a+n+1,i=""),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 s=0;return i;function i(u){return X(u)?(e.enter(a),o(u)):t(u)}function o(u){return X(u)&&s++i))return;const z=t.events.length;let U=z,$,D;for(;U--;)if(t.events[U][0]==="exit"&&t.events[U][1].type==="chunkFlow"){if($){D=t.events[U][1].end;break}$=!0}for(A(r),d=z;dO;){const N=a[M];t.containerState=N[1],N[0].exit.call(t,e)}a.length=O}function S(){n.write([null]),s=void 0,n=void 0,t.containerState._closeFlow=void 0}}function ll(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 Fa(e){if(e===null||ae(e)||Et(e))return 1;if(Va(e))return 2}function Wa(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);Jn(h,-u),Jn(f,u),i={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},s={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({},i.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},i.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",i,t],["exit",i,t],["enter",s,t]]),l=Se(l,Wa(t.parser.constructs.insideSpan.null,e.slice(r+1,a),t)),l=Se(l,[["exit",s,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",s+1)(d):S(d)}function S(d){return d===null||Y(d)?e.check(Zn,b,M)(d):(e.enter("codeFlowValue"),O(d))}function O(d){return d===null||Y(d)?(e.exit("codeFlowValue"),S(d)):(e.consume(d),O)}function M(d){return e.exit("codeFenced"),t(d)}function N(d,z,U){let $=0;return D;function D(B){return d.enter("lineEnding"),d.consume(B),d.exit("lineEnding"),I}function I(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)):U(B)}function Q(B){return B===o?($++,d.consume(B),Q):$>=i?(d.exit("codeFencedFenceSequence"),X(B)?G(d,te,"whitespace")(B):te(B)):U(B)}function te(B){return B===null||Y(B)?(d.exit("codeFencedFence"),z(B)):U(B)}}}function El(e,t,a){const r=this;return n;function n(i){return i===null?a(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s)}function s(i){return r.parser.lazy[r.now().line]?a(i):t(i)}}const hr={name:"codeIndented",tokenize:Al},Tl={tokenize:Cl,partial:!0};function Al(e,t,a){const r=this;return n;function n(l){return e.enter("codeIndented"),G(e,s,"linePrefix",5)(l)}function s(l){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?i(l):a(l)}function i(l){return l===null?u(l):Y(l)?e.attempt(Tl,i,u)(l):(e.enter("codeFlowValue"),o(l))}function o(l){return l===null||Y(l)?(e.exit("codeFlowValue"),i(l)):(e.consume(l),o)}function u(l){return e.exit("codeIndented"),t(l)}}function Cl(e,t,a){const r=this;return n;function n(i){return r.parser.lazy[r.now().line]?a(i):Y(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n):G(e,s,"linePrefix",5)(i)}function s(i){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):Y(i)?n(i):a(i)}}const xl={name:"codeText",tokenize:Il,resolve:Dl,previous:zl};function Dl(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(i):e.interrupt(r.parser.constructs.flow,a,t)(i)}}function Es(e,t,a,r,n,s,i,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(s),e.consume(A),e.exit(s),f):A===null||A===32||A===41||Na(A)?a(A):(e.enter(r),e.enter(i),e.enter(o),e.enter("chunkString",{contentType:"string"}),b(A))}function f(A){return A===62?(e.enter(s),e.consume(A),e.exit(s),e.exit(n),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),_(A))}function _(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:_)}function y(A){return A===60||A===62||A===92?(e.consume(A),_):_(A)}function b(A){return!p&&(A===null||A===41||ae(A))?(e.exit("chunkString"),e.exit(o),e.exit(i),e.exit(r),t(A)):p999||_===null||_===91||_===93&&!u||_===94&&!o&&"_hiddenFootnoteSupport"in i.parser.constructs?a(_):_===93?(e.exit(s),e.enter(n),e.consume(_),e.exit(n),e.exit(r),t):Y(_)?(e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),h(_))}function h(_){return _===null||_===91||_===93||Y(_)||o++>999?(e.exit("chunkString"),p(_)):(e.consume(_),u||(u=!X(_)),_===92?f:h)}function f(_){return _===91||_===92||_===93?(e.consume(_),o++,h):h(_)}}function As(e,t,a,r,n,s){let i;return o;function o(f){return f===34||f===39||f===40?(e.enter(r),e.enter(n),e.consume(f),e.exit(n),i=f===40?41:f,u):a(f)}function u(f){return f===i?(e.enter(n),e.consume(f),e.exit(n),e.exit(r),t):(e.enter(s),l(f))}function l(f){return f===i?(e.exit(s),u(i)):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===i||f===null||Y(f)?(e.exit("chunkString"),l(f)):(e.consume(f),f===92?h:p)}function h(f){return f===i||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 vl={name:"definition",tokenize:Pl},Bl={tokenize:Ml,partial:!0};function Pl(e,t,a){const r=this;let n;return s;function s(_){return e.enter("definition"),i(_)}function i(_){return Ts.call(r,e,o,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(_)}function o(_){return n=Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),_===58?(e.enter("definitionMarker"),e.consume(_),e.exit("definitionMarker"),u):a(_)}function u(_){return ae(_)?Ue(e,l)(_):l(_)}function l(_){return Es(e,p,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(_)}function p(_){return e.attempt(Bl,h,h)(_)}function h(_){return X(_)?G(e,f,"whitespace")(_):f(_)}function f(_){return _===null||Y(_)?(e.exit("definition"),r.parser.defined.push(n),t(_)):a(_)}}function Ml(e,t,a){return r;function r(o){return ae(o)?Ue(e,n)(o):a(o)}function n(o){return As(e,s,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function s(o){return X(o)?G(e,i,"whitespace")(o):i(o)}function i(o){return o===null||Y(o)?t(o):a(o)}}const Hl={name:"hardBreakEscape",tokenize:Ul};function Ul(e,t,a){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),n}function n(s){return Y(s)?(e.exit("hardBreakEscape"),t(s)):a(s)}}const jl={name:"headingAtx",tokenize:Yl,resolve:ql};function ql(e,t){let a=e.length-2,r=3,n,s;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},s={type:"chunkText",start:e[r][1].start,end:e[a][1].end,contentType:"text"},Ie(e,r,a-r+1,[["enter",n,t],["enter",s,t],["exit",s,t],["exit",n,t]])),e}function Yl(e,t,a){let r=0;return n;function n(p){return e.enter("atxHeading"),s(p)}function s(p){return e.enter("atxHeadingSequence"),i(p)}function i(p){return p===35&&r++<6?(e.consume(p),i):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 $l=["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"],ei=["pre","script","style","textarea"],Vl={name:"htmlFlow",tokenize:Xl,resolveTo:Ql,concrete:!0},Wl={tokenize:Jl,partial:!0},Gl={tokenize:Kl,partial:!0};function Ql(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 Xl(e,t,a){const r=this;let n,s,i,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),s=!0,b):E===63?(e.consume(E),n=3,r.interrupt?t:w):me(E)?(e.consume(E),i=String.fromCharCode(E),C):a(E)}function f(E){return E===45?(e.consume(E),n=2,_):E===91?(e.consume(E),n=5,o=0,y):me(E)?(e.consume(E),n=4,r.interrupt?t:w):a(E)}function _(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 me(E)?(e.consume(E),i=String.fromCharCode(E),C):a(E)}function C(E){if(E===null||E===47||E===62||ae(E)){const Fe=E===47,ht=i.toLowerCase();return!Fe&&!s&&ei.includes(ht)?(n=1,r.interrupt?t(E):P(E)):$l.includes(i.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):s?S(E):O(E))}return E===45||pe(E)?(e.consume(E),i+=String.fromCharCode(E),C):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):D(E)}function O(E){return E===47?(e.consume(E),D):E===58||E===95||me(E)?(e.consume(E),M):X(E)?(e.consume(E),O):D(E)}function M(E){return E===45||E===46||E===58||E===95||pe(E)?(e.consume(E),M):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,z):X(E)?(e.consume(E),d):U(E)}function z(E){return E===u?(e.consume(E),u=null,$):E===null||Y(E)?a(E):(e.consume(E),z)}function U(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),U)}function $(E){return E===47||E===62||X(E)?O(E):a(E)}function D(E){return E===62?(e.consume(E),I):a(E)}function I(E){return E===null||Y(E)?P(E):X(E)?(e.consume(E),I):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(Wl,Ve,Q)(E)):E===null||Y(E)?(e.exit("htmlFlowData"),Q(E)):(e.consume(E),P)}function Q(E){return e.check(Gl,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),i="",K):P(E)}function K(E){if(E===62){const Fe=i.toLowerCase();return ei.includes(Fe)?(e.consume(E),Ne):P(E)}return me(E)&&i.length<8?(e.consume(E),i+=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 Kl(e,t,a){const r=this;return n;function n(i){return Y(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),s):a(i)}function s(i){return r.parser.lazy[r.now().line]?a(i):t(i)}}function Jl(e,t,a){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(ma,t,a)}}const Zl={name:"htmlText",tokenize:ef};function ef(e,t,a){const r=this;let n,s,i;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):me(w)?(e.consume(w),U):a(w)}function l(w){return w===45?(e.consume(w),p):w===91?(e.consume(w),s=0,y):me(w)?(e.consume(w),S):a(w)}function p(w){return w===45?(e.consume(w),_):a(w)}function h(w){return w===null?a(w):w===45?(e.consume(w),f):Y(w)?(i=h,T(w)):(e.consume(w),h)}function f(w){return w===45?(e.consume(w),_):h(w)}function _(w){return w===62?q(w):w===45?f(w):h(w)}function y(w){const Ne="CDATA[";return w===Ne.charCodeAt(s++)?(e.consume(w),s===Ne.length?b:y):a(w)}function b(w){return w===null?a(w):w===93?(e.consume(w),C):Y(w)?(i=b,T(w)):(e.consume(w),b)}function C(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)?(i=S,T(w)):(e.consume(w),S)}function O(w){return w===null?a(w):w===63?(e.consume(w),M):Y(w)?(i=O,T(w)):(e.consume(w),O)}function M(w){return w===62?q(w):O(w)}function N(w){return me(w)?(e.consume(w),d):a(w)}function d(w){return w===45||pe(w)?(e.consume(w),d):z(w)}function z(w){return Y(w)?(i=z,T(w)):X(w)?(e.consume(w),z):q(w)}function U(w){return w===45||pe(w)?(e.consume(w),U):w===47||w===62||ae(w)?$(w):a(w)}function $(w){return w===47?(e.consume(w),q):w===58||w===95||me(w)?(e.consume(w),D):Y(w)?(i=$,T(w)):X(w)?(e.consume(w),$):q(w)}function D(w){return w===45||w===46||w===58||w===95||pe(w)?(e.consume(w),D):I(w)}function I(w){return w===61?(e.consume(w),P):Y(w)?(i=I,T(w)):X(w)?(e.consume(w),I):$(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)?(i=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)?(i=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"),i(w)}}const rn={name:"labelEnd",tokenize:of,resolveTo:sf,resolveAll:nf},tf={tokenize:cf},af={tokenize:uf},rf={tokenize:lf};function nf(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:kf,continuation:{tokenize:bf},exit:Ef},gf={tokenize:Tf,partial:!0},yf={tokenize:wf,partial:!0};function kf(e,t,a){const r=this,n=r.events[r.events.length-1];let s=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],!0).length:0,i=0;return o;function o(_){const y=r.containerState.type||(_===42||_===43||_===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||_===r.containerState.marker:Fr(_)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),_===42||_===45?e.check(za,a,l)(_):l(_);if(!r.interrupt||_===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(_)}return a(_)}function u(_){return Fr(_)&&++i<10?(e.consume(_),u):(!r.interrupt||i<2)&&(r.containerState.marker?_===r.containerState.marker:_===41||_===46)?(e.exit("listItemValue"),l(_)):a(_)}function l(_){return e.enter("listItemMarker"),e.consume(_),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||_,e.check(ma,r.interrupt?a:p,e.attempt(gf,f,h))}function p(_){return r.containerState.initialBlankLine=!0,s++,f(_)}function h(_){return X(_)?(e.enter("listItemPrefixWhitespace"),e.consume(_),e.exit("listItemPrefixWhitespace"),f):a(_)}function f(_){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(_)}}function bf(e,t,a){const r=this;return r.containerState._closeFlow=void 0,e.check(ma,n,s);function n(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,G(e,t,"listItemIndent",r.containerState.size+1)(o)}function s(o){return r.containerState.furtherBlankLines||!X(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(yf,t,i)(o))}function i(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 wf(e,t,a){const r=this;return G(e,n,"listItemIndent",r.containerState.size+1);function n(s){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(s):a(s)}}function Ef(e){e.exit(this.containerState.type)}function Tf(e,t,a){const r=this;return G(e,n,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function n(s){const i=r.events[r.events.length-1];return!X(s)&&i&&i[1].type==="listItemPrefixWhitespace"?t(s):a(s)}}const ti={name:"setextUnderline",tokenize:Cf,resolveTo:Af};function Af(e,t){let a=e.length,r,n,s;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),!s&&e[a][1].type==="definition"&&(s=a);const i={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[n][1].type="setextHeadingText",s?(e.splice(n,0,["enter",i,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[s][1].end)):e[r][1]=i,e.push(["exit",i,t]),e}function Cf(e,t,a){const r=this;let n;return s;function s(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,i(l)):a(l)}function i(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 xf={tokenize:Df};function Df(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(Nl,n)),"linePrefix")));return a;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,a}function n(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,a}}const zf={resolveAll:xs()},If=Cs("string"),Sf=Cs("text");function Cs(e){return{tokenize:t,resolveAll:xs(e==="text"?Nf:void 0)};function t(a){const r=this,n=this.parser.constructs[e],s=a.attempt(n,i,o);return i;function i(p){return l(p)?s(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"),s(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=i[0];typeof o=="string"?i[0]=o.slice(r):i.shift()}s>0&&i.push(e[n].slice(0,s))}return i}function Lf(e,t){let a=-1;const r=[];let n;for(;++a0){const Oe=J.tokenStack[J.tokenStack.length-1];(Oe[1]||ri).call(J,void 0,Oe[0])}for(j.position={start:at(R.length>0?R[0][1].start:{line:1,column:1,offset:0}),end:at(R.length>0?R[R.length-2][1].end:{line:1,column:1,offset:0})},oe=-1;++oetypeof i.checked=="boolean")&&(a.className=["contains-task-list"]);const s={type:"element",tagName:t.ordered?"ol":"ul",properties:a,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function kg(e,t){if(t.children&&t.children[0]&&t.children[0].type==="html"){const r=sa(Wo(t.children[0].value)||"div");if(!cu.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 bg(e,t){const a={...t.attributes,src:ft(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 wg(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 Eg(e,t){var i,o;const a=((i=t.attributes)==null?void 0:i.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]},s=(n.properties.class||"").split(" ");return delete n.properties.class,a&&(n.properties.language=a,delete n.properties.lang,s.push("language-"+a)),n.properties.className=s.join(" "),e.patch(t,n),e.applyData(t,n)}function Tg(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 Ag={emphasis:lg,code:_g,link:gg,paragraph:kg,html:mg,list:yg,image:bg,strong:wg,inlineCode:Eg,containerComponent:Tg};var Yr={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 s(d){return n.includes(d)}const i=["null","undefined","string","number","bigint","boolean","symbol"];function o(d){return i.includes(d)}function u(d){return z=>typeof z===d}const{toString:l}=Object.prototype,p=d=>{const z=l.call(d).slice(8,-1);if(/HTML\w+Element/.test(z)&&f.domElement(d))return"HTMLElement";if(s(z))return z},h=d=>z=>p(z)===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 z=p(d);if(z)return z;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 _=u("number");f.number=d=>_(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,z)=>Array.isArray(d)?f.function_(z)?d.every(z):!0:!1,f.buffer=d=>{var z,U,$,D;return(D=($=(U=(z=d)===null||z===void 0?void 0:z.constructor)===null||U===void 0?void 0:U.isBuffer)===null||$===void 0?void 0:$.call(U,d))!==null&&D!==void 0?D:!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 z;return f.function_((z=d)===null||z===void 0?void 0:z[Symbol.iterator])},f.asyncIterable=d=>{var z;return f.function_((z=d)===null||z===void 0?void 0:z[Symbol.asyncIterator])},f.generator=d=>{var z,U;return f.iterable(d)&&f.function_((z=d)===null||z===void 0?void 0:z.next)&&f.function_((U=d)===null||U===void 0?void 0:U.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 z,U;return f.function_((z=d)===null||z===void 0?void 0:z.then)&&f.function_((U=d)===null||U===void 0?void 0:U.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,z)=>Object.values(z).includes(d),f.directInstanceOf=(d,z)=>Object.getPrototypeOf(d)===z.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 z=Object.getPrototypeOf(d);return z===null||z===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,z)=>{if(f.number(z))return d>=Math.min(0,z)&&d<=Math.max(z,0);if(f.array(z)&&z.length===2)return d>=Math.min(...z)&&d<=Math.max(...z);throw new TypeError(`Invalid range: ${JSON.stringify(z)}`)};const C=1,A=["innerHTML","ownerDocument","style","attributes","nodeValue"];f.domElement=d=>f.object(d)&&d.nodeType===C&&f.string(d.nodeName)&&!f.plainObject(d)&&A.every(z=>z in d),f.observable=d=>{var z,U,$,D;return d?d===((U=(z=d)[Symbol.observable])===null||U===void 0?void 0:U.call(z))||d===((D=($=d)["@@observable"])===null||D===void 0?void 0:D.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=>z=>f.integer(z)&&Math.abs(z%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 M=(d,z,U)=>{if(!f.function_(z))throw new TypeError(`Invalid predicate: ${JSON.stringify(z)}`);if(U.length===0)throw new TypeError("Invalid number of values");return d.call(U,z)};f.any=(d,...z)=>(f.array(d)?d:[d]).some($=>M(Array.prototype.some,$,z)),f.all=(d,...z)=>M(Array.prototype.every,d,z);const N=(d,z,U,$={})=>{if(!d){const{multipleValues:D}=$,I=D?`received values of types ${[...new Set(U.map(P=>`\`${f(P)}\``))].join(", ")}`:`received value of type \`${f(U)}\``;throw new TypeError(`Expected value which is \`${z}\`, ${I}.`)}};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,z)=>{N(f.array(d),"Array",d),z&&d.forEach(z)},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,z)=>N(f.enumCase(d,z),"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,z)=>N(f.directInstanceOf(d,z),"T",d),inRange:(d,z)=>N(f.inRange(d,z),"in range",d),any:(d,...z)=>N(f.any(d,...z),"predicate returns truthy for any value",z,{multipleValues:!0}),all:(d,...z)=>N(f.all(d,...z),"predicate returns truthy for all values",z,{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})(Yr,Yr.exports);var Cg=Yr.exports;const xg={keywords:["face","smile","happy","joy",":D","grin"],char:"😀",fitzpatrick_scale:!1,category:"people"},Dg={keywords:["face","grimace","teeth"],char:"😬",fitzpatrick_scale:!1,category:"people"},zg={keywords:["face","happy","smile","joy","kawaii"],char:"😁",fitzpatrick_scale:!1,category:"people"},Ig={keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"😂",fitzpatrick_scale:!1,category:"people"},Sg={keywords:["face","rolling","floor","laughing","lol","haha"],char:"🤣",fitzpatrick_scale:!1,category:"people"},Ng={keywords:["face","celebration","woohoo"],char:"🥳",fitzpatrick_scale:!1,category:"people"},Fg={keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"😃",fitzpatrick_scale:!1,category:"people"},Og={keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"😄",fitzpatrick_scale:!1,category:"people"},Lg={keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"😅",fitzpatrick_scale:!1,category:"people"},Rg={keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"😆",fitzpatrick_scale:!1,category:"people"},vg={keywords:["face","angel","heaven","halo"],char:"😇",fitzpatrick_scale:!1,category:"people"},Bg={keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"😉",fitzpatrick_scale:!1,category:"people"},Pg={keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"😊",fitzpatrick_scale:!1,category:"people"},Mg={keywords:["face","smile"],char:"🙂",fitzpatrick_scale:!1,category:"people"},Hg={keywords:["face","flipped","silly","smile"],char:"🙃",fitzpatrick_scale:!1,category:"people"},Ug={keywords:["face","blush","massage","happiness"],char:"☺️",fitzpatrick_scale:!1,category:"people"},jg={keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"😋",fitzpatrick_scale:!1,category:"people"},qg={keywords:["face","relaxed","phew","massage","happiness"],char:"😌",fitzpatrick_scale:!1,category:"people"},Yg={keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"😍",fitzpatrick_scale:!1,category:"people"},$g={keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"🥰",fitzpatrick_scale:!1,category:"people"},Vg={keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😘",fitzpatrick_scale:!1,category:"people"},Wg={keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"😗",fitzpatrick_scale:!1,category:"people"},Gg={keywords:["face","affection","valentines","infatuation","kiss"],char:"😙",fitzpatrick_scale:!1,category:"people"},Qg={keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😚",fitzpatrick_scale:!1,category:"people"},Xg={keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"😜",fitzpatrick_scale:!1,category:"people"},Kg={keywords:["face","goofy","crazy"],char:"🤪",fitzpatrick_scale:!1,category:"people"},Jg={keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"🤨",fitzpatrick_scale:!1,category:"people"},Zg={keywords:["face","stuffy","wealthy"],char:"🧐",fitzpatrick_scale:!1,category:"people"},e0={keywords:["face","prank","playful","mischievous","smile","tongue"],char:"😝",fitzpatrick_scale:!1,category:"people"},t0={keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"😛",fitzpatrick_scale:!1,category:"people"},a0={keywords:["face","rich","dollar","money"],char:"🤑",fitzpatrick_scale:!1,category:"people"},r0={keywords:["face","nerdy","geek","dork"],char:"🤓",fitzpatrick_scale:!1,category:"people"},n0={keywords:["face","cool","smile","summer","beach","sunglass"],char:"😎",fitzpatrick_scale:!1,category:"people"},i0={keywords:["face","smile","starry","eyes","grinning"],char:"🤩",fitzpatrick_scale:!1,category:"people"},s0={keywords:["face"],char:"🤡",fitzpatrick_scale:!1,category:"people"},o0={keywords:["face","cowgirl","hat"],char:"🤠",fitzpatrick_scale:!1,category:"people"},c0={keywords:["face","smile","hug"],char:"🤗",fitzpatrick_scale:!1,category:"people"},u0={keywords:["face","smile","mean","prank","smug","sarcasm"],char:"😏",fitzpatrick_scale:!1,category:"people"},l0={keywords:["face","hellokitty"],char:"😶",fitzpatrick_scale:!1,category:"people"},f0={keywords:["indifference","meh",":|","neutral"],char:"😐",fitzpatrick_scale:!1,category:"people"},h0={keywords:["face","indifferent","-_-","meh","deadpan"],char:"😑",fitzpatrick_scale:!1,category:"people"},d0={keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"😒",fitzpatrick_scale:!1,category:"people"},p0={keywords:["face","eyeroll","frustrated"],char:"🙄",fitzpatrick_scale:!1,category:"people"},_0={keywords:["face","hmmm","think","consider"],char:"🤔",fitzpatrick_scale:!1,category:"people"},m0={keywords:["face","lie","pinocchio"],char:"🤥",fitzpatrick_scale:!1,category:"people"},g0={keywords:["face","whoops","shock","surprise"],char:"🤭",fitzpatrick_scale:!1,category:"people"},y0={keywords:["face","quiet","shhh"],char:"🤫",fitzpatrick_scale:!1,category:"people"},k0={keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"🤬",fitzpatrick_scale:!1,category:"people"},b0={keywords:["face","shocked","mind","blown"],char:"🤯",fitzpatrick_scale:!1,category:"people"},w0={keywords:["face","blush","shy","flattered"],char:"😳",fitzpatrick_scale:!1,category:"people"},E0={keywords:["face","sad","upset","depressed",":("],char:"😞",fitzpatrick_scale:!1,category:"people"},T0={keywords:["face","concern","nervous",":("],char:"😟",fitzpatrick_scale:!1,category:"people"},A0={keywords:["mad","face","annoyed","frustrated"],char:"😠",fitzpatrick_scale:!1,category:"people"},C0={keywords:["angry","mad","hate","despise"],char:"😡",fitzpatrick_scale:!1,category:"people"},x0={keywords:["face","sad","depressed","upset"],char:"😔",fitzpatrick_scale:!1,category:"people"},D0={keywords:["face","indifference","huh","weird","hmmm",":/"],char:"😕",fitzpatrick_scale:!1,category:"people"},z0={keywords:["face","frowning","disappointed","sad","upset"],char:"🙁",fitzpatrick_scale:!1,category:"people"},I0={keywords:["face","sad","upset","frown"],char:"☹",fitzpatrick_scale:!1,category:"people"},S0={keywords:["face","sick","no","upset","oops"],char:"😣",fitzpatrick_scale:!1,category:"people"},N0={keywords:["face","confused","sick","unwell","oops",":S"],char:"😖",fitzpatrick_scale:!1,category:"people"},F0={keywords:["sick","whine","upset","frustrated"],char:"😫",fitzpatrick_scale:!1,category:"people"},O0={keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"😩",fitzpatrick_scale:!1,category:"people"},L0={keywords:["face","begging","mercy"],char:"🥺",fitzpatrick_scale:!1,category:"people"},R0={keywords:["face","gas","phew","proud","pride"],char:"😤",fitzpatrick_scale:!1,category:"people"},v0={keywords:["face","surprise","impressed","wow","whoa",":O"],char:"😮",fitzpatrick_scale:!1,category:"people"},B0={keywords:["face","munch","scared","omg"],char:"😱",fitzpatrick_scale:!1,category:"people"},P0={keywords:["face","scared","terrified","nervous","oops","huh"],char:"😨",fitzpatrick_scale:!1,category:"people"},M0={keywords:["face","nervous","sweat"],char:"😰",fitzpatrick_scale:!1,category:"people"},H0={keywords:["face","woo","shh"],char:"😯",fitzpatrick_scale:!1,category:"people"},U0={keywords:["face","aw","what"],char:"😦",fitzpatrick_scale:!1,category:"people"},j0={keywords:["face","stunned","nervous"],char:"😧",fitzpatrick_scale:!1,category:"people"},q0={keywords:["face","tears","sad","depressed","upset",":'("],char:"😢",fitzpatrick_scale:!1,category:"people"},Y0={keywords:["face","phew","sweat","nervous"],char:"😥",fitzpatrick_scale:!1,category:"people"},$0={keywords:["face"],char:"🤤",fitzpatrick_scale:!1,category:"people"},V0={keywords:["face","tired","rest","nap"],char:"😪",fitzpatrick_scale:!1,category:"people"},W0={keywords:["face","hot","sad","tired","exercise"],char:"😓",fitzpatrick_scale:!1,category:"people"},G0={keywords:["face","feverish","heat","red","sweating"],char:"🥵",fitzpatrick_scale:!1,category:"people"},Q0={keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"🥶",fitzpatrick_scale:!1,category:"people"},X0={keywords:["face","cry","tears","sad","upset","depressed"],char:"😭",fitzpatrick_scale:!1,category:"people"},K0={keywords:["spent","unconscious","xox","dizzy"],char:"😵",fitzpatrick_scale:!1,category:"people"},J0={keywords:["face","xox","surprised","poisoned"],char:"😲",fitzpatrick_scale:!1,category:"people"},Z0={keywords:["face","sealed","zipper","secret"],char:"🤐",fitzpatrick_scale:!1,category:"people"},ey={keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"🤢",fitzpatrick_scale:!1,category:"people"},ty={keywords:["face","gesundheit","sneeze","sick","allergy"],char:"🤧",fitzpatrick_scale:!1,category:"people"},ay={keywords:["face","sick"],char:"🤮",fitzpatrick_scale:!1,category:"people"},ry={keywords:["face","sick","ill","disease"],char:"😷",fitzpatrick_scale:!1,category:"people"},ny={keywords:["sick","temperature","thermometer","cold","fever"],char:"🤒",fitzpatrick_scale:!1,category:"people"},iy={keywords:["injured","clumsy","bandage","hurt"],char:"🤕",fitzpatrick_scale:!1,category:"people"},sy={keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"🥴",fitzpatrick_scale:!1,category:"people"},oy={keywords:["face","tired","sleepy","night","zzz"],char:"😴",fitzpatrick_scale:!1,category:"people"},cy={keywords:["sleepy","tired","dream"],char:"💤",fitzpatrick_scale:!1,category:"people"},uy={keywords:["hankey","shitface","fail","turd","shit"],char:"💩",fitzpatrick_scale:!1,category:"people"},ly={keywords:["devil","horns"],char:"😈",fitzpatrick_scale:!1,category:"people"},fy={keywords:["devil","angry","horns"],char:"👿",fitzpatrick_scale:!1,category:"people"},hy={keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"👹",fitzpatrick_scale:!1,category:"people"},dy={keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"👺",fitzpatrick_scale:!1,category:"people"},py={keywords:["dead","skeleton","creepy","death"],char:"💀",fitzpatrick_scale:!1,category:"people"},_y={keywords:["halloween","spooky","scary"],char:"👻",fitzpatrick_scale:!1,category:"people"},my={keywords:["UFO","paul","weird","outer_space"],char:"👽",fitzpatrick_scale:!1,category:"people"},gy={keywords:["computer","machine","bot"],char:"🤖",fitzpatrick_scale:!1,category:"people"},yy={keywords:["animal","cats","happy","smile"],char:"😺",fitzpatrick_scale:!1,category:"people"},ky={keywords:["animal","cats","smile"],char:"😸",fitzpatrick_scale:!1,category:"people"},by={keywords:["animal","cats","haha","happy","tears"],char:"😹",fitzpatrick_scale:!1,category:"people"},wy={keywords:["animal","love","like","affection","cats","valentines","heart"],char:"😻",fitzpatrick_scale:!1,category:"people"},Ey={keywords:["animal","cats","smirk"],char:"😼",fitzpatrick_scale:!1,category:"people"},Ty={keywords:["animal","cats","kiss"],char:"😽",fitzpatrick_scale:!1,category:"people"},Ay={keywords:["animal","cats","munch","scared","scream"],char:"🙀",fitzpatrick_scale:!1,category:"people"},Cy={keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"😿",fitzpatrick_scale:!1,category:"people"},xy={keywords:["animal","cats"],char:"😾",fitzpatrick_scale:!1,category:"people"},Dy={keywords:["hands","gesture","cupped","prayer"],char:"🤲",fitzpatrick_scale:!0,category:"people"},zy={keywords:["gesture","hooray","yea","celebration","hands"],char:"🙌",fitzpatrick_scale:!0,category:"people"},Iy={keywords:["hands","praise","applause","congrats","yay"],char:"👏",fitzpatrick_scale:!0,category:"people"},Sy={keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"👋",fitzpatrick_scale:!0,category:"people"},Ny={keywords:["hands","gesture"],char:"🤙",fitzpatrick_scale:!0,category:"people"},Fy={keywords:["angry","violence","fist","hit","attack","hand"],char:"👊",fitzpatrick_scale:!0,category:"people"},Oy={keywords:["fingers","hand","grasp"],char:"✊",fitzpatrick_scale:!0,category:"people"},Ly={keywords:["hand","fistbump"],char:"🤛",fitzpatrick_scale:!0,category:"people"},Ry={keywords:["hand","fistbump"],char:"🤜",fitzpatrick_scale:!0,category:"people"},vy={keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"✌",fitzpatrick_scale:!0,category:"people"},By={keywords:["fingers","limbs","perfect","ok","okay"],char:"👌",fitzpatrick_scale:!0,category:"people"},Py={keywords:["fingers","stop","highfive","palm","ban"],char:"✋",fitzpatrick_scale:!0,category:"people"},My={keywords:["fingers","raised","backhand"],char:"🤚",fitzpatrick_scale:!0,category:"people"},Hy={keywords:["fingers","butterfly","hands","open"],char:"👐",fitzpatrick_scale:!0,category:"people"},Uy={keywords:["arm","flex","hand","summer","strong","biceps"],char:"💪",fitzpatrick_scale:!0,category:"people"},jy={keywords:["please","hope","wish","namaste","highfive"],char:"🙏",fitzpatrick_scale:!0,category:"people"},qy={keywords:["kick","stomp"],char:"🦶",fitzpatrick_scale:!0,category:"people"},Yy={keywords:["kick","limb"],char:"🦵",fitzpatrick_scale:!0,category:"people"},$y={keywords:["agreement","shake"],char:"🤝",fitzpatrick_scale:!1,category:"people"},Vy={keywords:["hand","fingers","direction","up"],char:"☝",fitzpatrick_scale:!0,category:"people"},Wy={keywords:["fingers","hand","direction","up"],char:"👆",fitzpatrick_scale:!0,category:"people"},Gy={keywords:["fingers","hand","direction","down"],char:"👇",fitzpatrick_scale:!0,category:"people"},Qy={keywords:["direction","fingers","hand","left"],char:"👈",fitzpatrick_scale:!0,category:"people"},Xy={keywords:["fingers","hand","direction","right"],char:"👉",fitzpatrick_scale:!0,category:"people"},Ky={keywords:["hand","fingers","rude","middle","flipping"],char:"🖕",fitzpatrick_scale:!0,category:"people"},Jy={keywords:["hand","fingers","palm"],char:"🖐",fitzpatrick_scale:!0,category:"people"},Zy={keywords:["hand","fingers","gesture"],char:"🤟",fitzpatrick_scale:!0,category:"people"},ek={keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"🤘",fitzpatrick_scale:!0,category:"people"},tk={keywords:["good","lucky"],char:"🤞",fitzpatrick_scale:!0,category:"people"},ak={keywords:["hand","fingers","spock","star trek"],char:"🖖",fitzpatrick_scale:!0,category:"people"},rk={keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"✍",fitzpatrick_scale:!0,category:"people"},nk={keywords:["camera","phone"],char:"🤳",fitzpatrick_scale:!0,category:"people"},ik={keywords:["beauty","manicure","finger","fashion","nail"],char:"💅",fitzpatrick_scale:!0,category:"people"},sk={keywords:["mouth","kiss"],char:"👄",fitzpatrick_scale:!1,category:"people"},ok={keywords:["teeth","dentist"],char:"🦷",fitzpatrick_scale:!1,category:"people"},ck={keywords:["mouth","playful"],char:"👅",fitzpatrick_scale:!1,category:"people"},uk={keywords:["face","hear","sound","listen"],char:"👂",fitzpatrick_scale:!0,category:"people"},lk={keywords:["smell","sniff"],char:"👃",fitzpatrick_scale:!0,category:"people"},fk={keywords:["face","look","see","watch","stare"],char:"👁",fitzpatrick_scale:!1,category:"people"},hk={keywords:["look","watch","stalk","peek","see"],char:"👀",fitzpatrick_scale:!1,category:"people"},dk={keywords:["smart","intelligent"],char:"🧠",fitzpatrick_scale:!1,category:"people"},pk={keywords:["user","person","human"],char:"👤",fitzpatrick_scale:!1,category:"people"},_k={keywords:["user","person","human","group","team"],char:"👥",fitzpatrick_scale:!1,category:"people"},mk={keywords:["user","person","human","sing","say","talk"],char:"🗣",fitzpatrick_scale:!1,category:"people"},gk={keywords:["child","boy","girl","toddler"],char:"👶",fitzpatrick_scale:!0,category:"people"},yk={keywords:["gender-neutral","young"],char:"🧒",fitzpatrick_scale:!0,category:"people"},kk={keywords:["man","male","guy","teenager"],char:"👦",fitzpatrick_scale:!0,category:"people"},bk={keywords:["female","woman","teenager"],char:"👧",fitzpatrick_scale:!0,category:"people"},wk={keywords:["gender-neutral","person"],char:"🧑",fitzpatrick_scale:!0,category:"people"},Ek={keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"👨",fitzpatrick_scale:!0,category:"people"},Tk={keywords:["female","girls","lady"],char:"👩",fitzpatrick_scale:!0,category:"people"},Ak={keywords:["woman","female","girl","blonde","person"],char:"👱‍♀️",fitzpatrick_scale:!0,category:"people"},Ck={keywords:["man","male","boy","blonde","guy","person"],char:"👱",fitzpatrick_scale:!0,category:"people"},xk={keywords:["person","bewhiskered"],char:"🧔",fitzpatrick_scale:!0,category:"people"},Dk={keywords:["human","elder","senior","gender-neutral"],char:"🧓",fitzpatrick_scale:!0,category:"people"},zk={keywords:["human","male","men","old","elder","senior"],char:"👴",fitzpatrick_scale:!0,category:"people"},Ik={keywords:["human","female","women","lady","old","elder","senior"],char:"👵",fitzpatrick_scale:!0,category:"people"},Sk={keywords:["male","boy","chinese"],char:"👲",fitzpatrick_scale:!0,category:"people"},Nk={keywords:["female","hijab","mantilla","tichel"],char:"🧕",fitzpatrick_scale:!0,category:"people"},Fk={keywords:["female","indian","hinduism","arabs","woman"],char:"👳‍♀️",fitzpatrick_scale:!0,category:"people"},Ok={keywords:["male","indian","hinduism","arabs"],char:"👳",fitzpatrick_scale:!0,category:"people"},Lk={keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"👮‍♀️",fitzpatrick_scale:!0,category:"people"},Rk={keywords:["man","police","law","legal","enforcement","arrest","911"],char:"👮",fitzpatrick_scale:!0,category:"people"},vk={keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"👷‍♀️",fitzpatrick_scale:!0,category:"people"},Bk={keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"👷",fitzpatrick_scale:!0,category:"people"},Pk={keywords:["uk","gb","british","female","royal","woman"],char:"💂‍♀️",fitzpatrick_scale:!0,category:"people"},Mk={keywords:["uk","gb","british","male","guy","royal"],char:"💂",fitzpatrick_scale:!0,category:"people"},Hk={keywords:["human","spy","detective","female","woman"],char:"🕵️‍♀️",fitzpatrick_scale:!0,category:"people"},Uk={keywords:["human","spy","detective"],char:"🕵",fitzpatrick_scale:!0,category:"people"},jk={keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"👩‍⚕️",fitzpatrick_scale:!0,category:"people"},qk={keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"👨‍⚕️",fitzpatrick_scale:!0,category:"people"},Yk={keywords:["rancher","gardener","woman","human"],char:"👩‍🌾",fitzpatrick_scale:!0,category:"people"},$k={keywords:["rancher","gardener","man","human"],char:"👨‍🌾",fitzpatrick_scale:!0,category:"people"},Vk={keywords:["chef","woman","human"],char:"👩‍🍳",fitzpatrick_scale:!0,category:"people"},Wk={keywords:["chef","man","human"],char:"👨‍🍳",fitzpatrick_scale:!0,category:"people"},Gk={keywords:["graduate","woman","human"],char:"👩‍🎓",fitzpatrick_scale:!0,category:"people"},Qk={keywords:["graduate","man","human"],char:"👨‍🎓",fitzpatrick_scale:!0,category:"people"},Xk={keywords:["rockstar","entertainer","woman","human"],char:"👩‍🎤",fitzpatrick_scale:!0,category:"people"},Kk={keywords:["rockstar","entertainer","man","human"],char:"👨‍🎤",fitzpatrick_scale:!0,category:"people"},Jk={keywords:["instructor","professor","woman","human"],char:"👩‍🏫",fitzpatrick_scale:!0,category:"people"},Zk={keywords:["instructor","professor","man","human"],char:"👨‍🏫",fitzpatrick_scale:!0,category:"people"},eb={keywords:["assembly","industrial","woman","human"],char:"👩‍🏭",fitzpatrick_scale:!0,category:"people"},tb={keywords:["assembly","industrial","man","human"],char:"👨‍🏭",fitzpatrick_scale:!0,category:"people"},ab={keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"👩‍💻",fitzpatrick_scale:!0,category:"people"},rb={keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"👨‍💻",fitzpatrick_scale:!0,category:"people"},nb={keywords:["business","manager","woman","human"],char:"👩‍💼",fitzpatrick_scale:!0,category:"people"},ib={keywords:["business","manager","man","human"],char:"👨‍💼",fitzpatrick_scale:!0,category:"people"},sb={keywords:["plumber","woman","human","wrench"],char:"👩‍🔧",fitzpatrick_scale:!0,category:"people"},ob={keywords:["plumber","man","human","wrench"],char:"👨‍🔧",fitzpatrick_scale:!0,category:"people"},cb={keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"👩‍🔬",fitzpatrick_scale:!0,category:"people"},ub={keywords:["biologist","chemist","engineer","physicist","man","human"],char:"👨‍🔬",fitzpatrick_scale:!0,category:"people"},lb={keywords:["painter","woman","human"],char:"👩‍🎨",fitzpatrick_scale:!0,category:"people"},fb={keywords:["painter","man","human"],char:"👨‍🎨",fitzpatrick_scale:!0,category:"people"},hb={keywords:["fireman","woman","human"],char:"👩‍🚒",fitzpatrick_scale:!0,category:"people"},db={keywords:["fireman","man","human"],char:"👨‍🚒",fitzpatrick_scale:!0,category:"people"},pb={keywords:["aviator","plane","woman","human"],char:"👩‍✈️",fitzpatrick_scale:!0,category:"people"},_b={keywords:["aviator","plane","man","human"],char:"👨‍✈️",fitzpatrick_scale:!0,category:"people"},mb={keywords:["space","rocket","woman","human"],char:"👩‍🚀",fitzpatrick_scale:!0,category:"people"},gb={keywords:["space","rocket","man","human"],char:"👨‍🚀",fitzpatrick_scale:!0,category:"people"},yb={keywords:["justice","court","woman","human"],char:"👩‍⚖️",fitzpatrick_scale:!0,category:"people"},kb={keywords:["justice","court","man","human"],char:"👨‍⚖️",fitzpatrick_scale:!0,category:"people"},bb={keywords:["woman","female","good","heroine","superpowers"],char:"🦸‍♀️",fitzpatrick_scale:!0,category:"people"},wb={keywords:["man","male","good","hero","superpowers"],char:"🦸‍♂️",fitzpatrick_scale:!0,category:"people"},Eb={keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"🦹‍♀️",fitzpatrick_scale:!0,category:"people"},Tb={keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"🦹‍♂️",fitzpatrick_scale:!0,category:"people"},Ab={keywords:["woman","female","xmas","mother christmas"],char:"🤶",fitzpatrick_scale:!0,category:"people"},Cb={keywords:["festival","man","male","xmas","father christmas"],char:"🎅",fitzpatrick_scale:!0,category:"people"},xb={keywords:["woman","female","mage","witch"],char:"🧙‍♀️",fitzpatrick_scale:!0,category:"people"},Db={keywords:["man","male","mage","sorcerer"],char:"🧙‍♂️",fitzpatrick_scale:!0,category:"people"},zb={keywords:["woman","female"],char:"🧝‍♀️",fitzpatrick_scale:!0,category:"people"},Ib={keywords:["man","male"],char:"🧝‍♂️",fitzpatrick_scale:!0,category:"people"},Sb={keywords:["woman","female"],char:"🧛‍♀️",fitzpatrick_scale:!0,category:"people"},Nb={keywords:["man","male","dracula"],char:"🧛‍♂️",fitzpatrick_scale:!0,category:"people"},Fb={keywords:["woman","female","undead","walking dead"],char:"🧟‍♀️",fitzpatrick_scale:!1,category:"people"},Ob={keywords:["man","male","dracula","undead","walking dead"],char:"🧟‍♂️",fitzpatrick_scale:!1,category:"people"},Lb={keywords:["woman","female"],char:"🧞‍♀️",fitzpatrick_scale:!1,category:"people"},Rb={keywords:["man","male"],char:"🧞‍♂️",fitzpatrick_scale:!1,category:"people"},vb={keywords:["woman","female","merwoman","ariel"],char:"🧜‍♀️",fitzpatrick_scale:!0,category:"people"},Bb={keywords:["man","male","triton"],char:"🧜‍♂️",fitzpatrick_scale:!0,category:"people"},Pb={keywords:["woman","female"],char:"🧚‍♀️",fitzpatrick_scale:!0,category:"people"},Mb={keywords:["man","male"],char:"🧚‍♂️",fitzpatrick_scale:!0,category:"people"},Hb={keywords:["heaven","wings","halo"],char:"👼",fitzpatrick_scale:!0,category:"people"},Ub={keywords:["baby"],char:"🤰",fitzpatrick_scale:!0,category:"people"},jb={keywords:["nursing","baby"],char:"🤱",fitzpatrick_scale:!0,category:"people"},qb={keywords:["girl","woman","female","blond","crown","royal","queen"],char:"👸",fitzpatrick_scale:!0,category:"people"},Yb={keywords:["boy","man","male","crown","royal","king"],char:"🤴",fitzpatrick_scale:!0,category:"people"},$b={keywords:["couple","marriage","wedding","woman","bride"],char:"👰",fitzpatrick_scale:!0,category:"people"},Vb={keywords:["couple","marriage","wedding","groom"],char:"🤵",fitzpatrick_scale:!0,category:"people"},Wb={keywords:["woman","walking","exercise","race","running","female"],char:"🏃‍♀️",fitzpatrick_scale:!0,category:"people"},Gb={keywords:["man","walking","exercise","race","running"],char:"🏃",fitzpatrick_scale:!0,category:"people"},Qb={keywords:["human","feet","steps","woman","female"],char:"🚶‍♀️",fitzpatrick_scale:!0,category:"people"},Xb={keywords:["human","feet","steps"],char:"🚶",fitzpatrick_scale:!0,category:"people"},Kb={keywords:["female","girl","woman","fun"],char:"💃",fitzpatrick_scale:!0,category:"people"},Jb={keywords:["male","boy","fun","dancer"],char:"🕺",fitzpatrick_scale:!0,category:"people"},Zb={keywords:["female","bunny","women","girls"],char:"👯",fitzpatrick_scale:!1,category:"people"},e1={keywords:["male","bunny","men","boys"],char:"👯‍♂️",fitzpatrick_scale:!1,category:"people"},t1={keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"👫",fitzpatrick_scale:!1,category:"people"},a1={keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"👬",fitzpatrick_scale:!1,category:"people"},r1={keywords:["pair","friendship","couple","love","like","female","people","human"],char:"👭",fitzpatrick_scale:!1,category:"people"},n1={keywords:["woman","female","girl"],char:"🙇‍♀️",fitzpatrick_scale:!0,category:"people"},i1={keywords:["man","male","boy"],char:"🙇",fitzpatrick_scale:!0,category:"people"},s1={keywords:["man","male","boy","disbelief"],char:"🤦‍♂️",fitzpatrick_scale:!0,category:"people"},o1={keywords:["woman","female","girl","disbelief"],char:"🤦‍♀️",fitzpatrick_scale:!0,category:"people"},c1={keywords:["woman","female","girl","confused","indifferent","doubt"],char:"🤷",fitzpatrick_scale:!0,category:"people"},u1={keywords:["man","male","boy","confused","indifferent","doubt"],char:"🤷‍♂️",fitzpatrick_scale:!0,category:"people"},l1={keywords:["female","girl","woman","human","information"],char:"💁",fitzpatrick_scale:!0,category:"people"},f1={keywords:["male","boy","man","human","information"],char:"💁‍♂️",fitzpatrick_scale:!0,category:"people"},h1={keywords:["female","girl","woman","nope"],char:"🙅",fitzpatrick_scale:!0,category:"people"},d1={keywords:["male","boy","man","nope"],char:"🙅‍♂️",fitzpatrick_scale:!0,category:"people"},p1={keywords:["women","girl","female","pink","human","woman"],char:"🙆",fitzpatrick_scale:!0,category:"people"},_1={keywords:["men","boy","male","blue","human","man"],char:"🙆‍♂️",fitzpatrick_scale:!0,category:"people"},m1={keywords:["female","girl","woman"],char:"🙋",fitzpatrick_scale:!0,category:"people"},g1={keywords:["male","boy","man"],char:"🙋‍♂️",fitzpatrick_scale:!0,category:"people"},y1={keywords:["female","girl","woman"],char:"🙎",fitzpatrick_scale:!0,category:"people"},k1={keywords:["male","boy","man"],char:"🙎‍♂️",fitzpatrick_scale:!0,category:"people"},b1={keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"🙍",fitzpatrick_scale:!0,category:"people"},w1={keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"🙍‍♂️",fitzpatrick_scale:!0,category:"people"},E1={keywords:["female","girl","woman"],char:"💇",fitzpatrick_scale:!0,category:"people"},T1={keywords:["male","boy","man"],char:"💇‍♂️",fitzpatrick_scale:!0,category:"people"},A1={keywords:["female","girl","woman","head"],char:"💆",fitzpatrick_scale:!0,category:"people"},C1={keywords:["male","boy","man","head"],char:"💆‍♂️",fitzpatrick_scale:!0,category:"people"},x1={keywords:["female","woman","spa","steamroom","sauna"],char:"🧖‍♀️",fitzpatrick_scale:!0,category:"people"},D1={keywords:["male","man","spa","steamroom","sauna"],char:"🧖‍♂️",fitzpatrick_scale:!0,category:"people"},z1={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"💑",fitzpatrick_scale:!1,category:"people"},I1={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👩‍❤️‍👩",fitzpatrick_scale:!1,category:"people"},S1={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👨‍❤️‍👨",fitzpatrick_scale:!1,category:"people"},N1={keywords:["pair","valentines","love","like","dating","marriage"],char:"💏",fitzpatrick_scale:!1,category:"people"},F1={keywords:["pair","valentines","love","like","dating","marriage"],char:"👩‍❤️‍💋‍👩",fitzpatrick_scale:!1,category:"people"},O1={keywords:["pair","valentines","love","like","dating","marriage"],char:"👨‍❤️‍💋‍👨",fitzpatrick_scale:!1,category:"people"},L1={keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"👪",fitzpatrick_scale:!1,category:"people"},R1={keywords:["home","parents","people","human","child"],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","parents","people","human","children"],char:"👨‍👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},W1={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},G1={keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},Q1={keywords:["home","parent","people","human","child"],char:"👩‍👦",fitzpatrick_scale:!1,category:"people"},X1={keywords:["home","parent","people","human","child"],char:"👩‍👧",fitzpatrick_scale:!1,category:"people"},K1={keywords:["home","parent","people","human","children"],char:"👩‍👧‍👦",fitzpatrick_scale:!1,category:"people"},J1={keywords:["home","parent","people","human","children"],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","child"],char:"👨‍👦",fitzpatrick_scale:!1,category:"people"},tw={keywords:["home","parent","people","human","child"],char:"👨‍👧",fitzpatrick_scale:!1,category:"people"},aw={keywords:["home","parent","people","human","children"],char:"👨‍👧‍👦",fitzpatrick_scale:!1,category:"people"},rw={keywords:["home","parent","people","human","children"],char:"👨‍👦‍👦",fitzpatrick_scale:!1,category:"people"},nw={keywords:["home","parent","people","human","children"],char:"👨‍👧‍👧",fitzpatrick_scale:!1,category:"people"},iw={keywords:["ball","crochet","knit"],char:"🧶",fitzpatrick_scale:!1,category:"people"},sw={keywords:["needle","sewing","spool","string"],char:"🧵",fitzpatrick_scale:!1,category:"people"},ow={keywords:["jacket"],char:"🧥",fitzpatrick_scale:!1,category:"people"},cw={keywords:["doctor","experiment","scientist","chemist"],char:"🥼",fitzpatrick_scale:!1,category:"people"},uw={keywords:["fashion","shopping_bags","female"],char:"👚",fitzpatrick_scale:!1,category:"people"},lw={keywords:["fashion","cloth","casual","shirt","tee"],char:"👕",fitzpatrick_scale:!1,category:"people"},fw={keywords:["fashion","shopping"],char:"👖",fitzpatrick_scale:!1,category:"people"},hw={keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"👔",fitzpatrick_scale:!1,category:"people"},dw={keywords:["clothes","fashion","shopping"],char:"👗",fitzpatrick_scale:!1,category:"people"},pw={keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"👙",fitzpatrick_scale:!1,category:"people"},_w={keywords:["dress","fashion","women","female","japanese"],char:"👘",fitzpatrick_scale:!1,category:"people"},mw={keywords:["female","girl","fashion","woman"],char:"💄",fitzpatrick_scale:!1,category:"people"},gw={keywords:["face","lips","love","like","affection","valentines"],char:"💋",fitzpatrick_scale:!1,category:"people"},yw={keywords:["feet","tracking","walking","beach"],char:"👣",fitzpatrick_scale:!1,category:"people"},kw={keywords:["ballet","slip-on","slipper"],char:"🥿",fitzpatrick_scale:!1,category:"people"},bw={keywords:["fashion","shoes","female","pumps","stiletto"],char:"👠",fitzpatrick_scale:!1,category:"people"},ww={keywords:["shoes","fashion","flip flops"],char:"👡",fitzpatrick_scale:!1,category:"people"},Ew={keywords:["shoes","fashion"],char:"👢",fitzpatrick_scale:!1,category:"people"},Tw={keywords:["fashion","male"],char:"👞",fitzpatrick_scale:!1,category:"people"},Aw={keywords:["shoes","sports","sneakers"],char:"👟",fitzpatrick_scale:!1,category:"people"},Cw={keywords:["backpacking","camping","hiking"],char:"🥾",fitzpatrick_scale:!1,category:"people"},xw={keywords:["stockings","clothes"],char:"🧦",fitzpatrick_scale:!1,category:"people"},Dw={keywords:["hands","winter","clothes"],char:"🧤",fitzpatrick_scale:!1,category:"people"},zw={keywords:["neck","winter","clothes"],char:"🧣",fitzpatrick_scale:!1,category:"people"},Iw={keywords:["fashion","accessories","female","lady","spring"],char:"👒",fitzpatrick_scale:!1,category:"people"},Sw={keywords:["magic","gentleman","classy","circus"],char:"🎩",fitzpatrick_scale:!1,category:"people"},Nw={keywords:["cap","baseball"],char:"🧢",fitzpatrick_scale:!1,category:"people"},Fw={keywords:["construction","build"],char:"⛑",fitzpatrick_scale:!1,category:"people"},Ow={keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"🎓",fitzpatrick_scale:!1,category:"people"},Lw={keywords:["king","kod","leader","royalty","lord"],char:"👑",fitzpatrick_scale:!1,category:"people"},Rw={keywords:["student","education","bag","backpack"],char:"🎒",fitzpatrick_scale:!1,category:"people"},vw={keywords:["packing","travel"],char:"🧳",fitzpatrick_scale:!1,category:"people"},Bw={keywords:["bag","accessories","shopping"],char:"👝",fitzpatrick_scale:!1,category:"people"},Pw={keywords:["fashion","accessories","money","sales","shopping"],char:"👛",fitzpatrick_scale:!1,category:"people"},Mw={keywords:["fashion","accessory","accessories","shopping"],char:"👜",fitzpatrick_scale:!1,category:"people"},Hw={keywords:["business","documents","work","law","legal","job","career"],char:"💼",fitzpatrick_scale:!1,category:"people"},Uw={keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"👓",fitzpatrick_scale:!1,category:"people"},jw={keywords:["face","cool","accessories"],char:"🕶",fitzpatrick_scale:!1,category:"people"},qw={keywords:["eyes","protection","safety"],char:"🥽",fitzpatrick_scale:!1,category:"people"},Yw={keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"💍",fitzpatrick_scale:!1,category:"people"},$w={keywords:["weather","rain","drizzle"],char:"🌂",fitzpatrick_scale:!1,category:"people"},Vw={keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"🐶",fitzpatrick_scale:!1,category:"animals_and_nature"},Ww={keywords:["animal","meow","nature","pet","kitten"],char:"🐱",fitzpatrick_scale:!1,category:"animals_and_nature"},Gw={keywords:["animal","nature","cheese_wedge","rodent"],char:"🐭",fitzpatrick_scale:!1,category:"animals_and_nature"},Qw={keywords:["animal","nature"],char:"🐹",fitzpatrick_scale:!1,category:"animals_and_nature"},Xw={keywords:["animal","nature","pet","spring","magic","bunny"],char:"🐰",fitzpatrick_scale:!1,category:"animals_and_nature"},Kw={keywords:["animal","nature","face"],char:"🦊",fitzpatrick_scale:!1,category:"animals_and_nature"},Jw={keywords:["animal","nature","wild"],char:"🐻",fitzpatrick_scale:!1,category:"animals_and_nature"},Zw={keywords:["animal","nature","panda"],char:"🐼",fitzpatrick_scale:!1,category:"animals_and_nature"},eE={keywords:["animal","nature"],char:"🐨",fitzpatrick_scale:!1,category:"animals_and_nature"},tE={keywords:["animal","cat","danger","wild","nature","roar"],char:"🐯",fitzpatrick_scale:!1,category:"animals_and_nature"},aE={keywords:["animal","nature"],char:"🦁",fitzpatrick_scale:!1,category:"animals_and_nature"},rE={keywords:["beef","ox","animal","nature","moo","milk"],char:"🐮",fitzpatrick_scale:!1,category:"animals_and_nature"},nE={keywords:["animal","oink","nature"],char:"🐷",fitzpatrick_scale:!1,category:"animals_and_nature"},iE={keywords:["animal","oink"],char:"🐽",fitzpatrick_scale:!1,category:"animals_and_nature"},sE={keywords:["animal","nature","croak","toad"],char:"🐸",fitzpatrick_scale:!1,category:"animals_and_nature"},oE={keywords:["animal","nature","ocean","sea"],char:"🦑",fitzpatrick_scale:!1,category:"animals_and_nature"},cE={keywords:["animal","creature","ocean","sea","nature","beach"],char:"🐙",fitzpatrick_scale:!1,category:"animals_and_nature"},uE={keywords:["animal","ocean","nature","seafood"],char:"🦐",fitzpatrick_scale:!1,category:"animals_and_nature"},lE={keywords:["animal","nature","circus"],char:"🐵",fitzpatrick_scale:!1,category:"animals_and_nature"},fE={keywords:["animal","nature","circus"],char:"🦍",fitzpatrick_scale:!1,category:"animals_and_nature"},hE={keywords:["monkey","animal","nature","haha"],char:"🙈",fitzpatrick_scale:!1,category:"animals_and_nature"},dE={keywords:["animal","monkey","nature"],char:"🙉",fitzpatrick_scale:!1,category:"animals_and_nature"},pE={keywords:["monkey","animal","nature","omg"],char:"🙊",fitzpatrick_scale:!1,category:"animals_and_nature"},_E={keywords:["animal","nature","banana","circus"],char:"🐒",fitzpatrick_scale:!1,category:"animals_and_nature"},mE={keywords:["animal","cluck","nature","bird"],char:"🐔",fitzpatrick_scale:!1,category:"animals_and_nature"},gE={keywords:["animal","nature"],char:"🐧",fitzpatrick_scale:!1,category:"animals_and_nature"},yE={keywords:["animal","nature","fly","tweet","spring"],char:"🐦",fitzpatrick_scale:!1,category:"animals_and_nature"},kE={keywords:["animal","chicken","bird"],char:"🐤",fitzpatrick_scale:!1,category:"animals_and_nature"},bE={keywords:["animal","chicken","egg","born","baby","bird"],char:"🐣",fitzpatrick_scale:!1,category:"animals_and_nature"},wE={keywords:["animal","chicken","baby","bird"],char:"🐥",fitzpatrick_scale:!1,category:"animals_and_nature"},EE={keywords:["animal","nature","bird","mallard"],char:"🦆",fitzpatrick_scale:!1,category:"animals_and_nature"},TE={keywords:["animal","nature","bird"],char:"🦅",fitzpatrick_scale:!1,category:"animals_and_nature"},AE={keywords:["animal","nature","bird","hoot"],char:"🦉",fitzpatrick_scale:!1,category:"animals_and_nature"},CE={keywords:["animal","nature","blind","vampire"],char:"🦇",fitzpatrick_scale:!1,category:"animals_and_nature"},xE={keywords:["animal","nature","wild"],char:"🐺",fitzpatrick_scale:!1,category:"animals_and_nature"},DE={keywords:["animal","nature"],char:"🐗",fitzpatrick_scale:!1,category:"animals_and_nature"},zE={keywords:["animal","brown","nature"],char:"🐴",fitzpatrick_scale:!1,category:"animals_and_nature"},IE={keywords:["animal","nature","mystical"],char:"🦄",fitzpatrick_scale:!1,category:"animals_and_nature"},SE={keywords:["animal","insect","nature","bug","spring","honey"],char:"🐝",fitzpatrick_scale:!1,category:"animals_and_nature"},NE={keywords:["animal","insect","nature","worm"],char:"🐛",fitzpatrick_scale:!1,category:"animals_and_nature"},FE={keywords:["animal","insect","nature","caterpillar"],char:"🦋",fitzpatrick_scale:!1,category:"animals_and_nature"},OE={keywords:["slow","animal","shell"],char:"🐌",fitzpatrick_scale:!1,category:"animals_and_nature"},LE={keywords:["animal","insect","nature","ladybug"],char:"🐞",fitzpatrick_scale:!1,category:"animals_and_nature"},RE={keywords:["animal","insect","nature","bug"],char:"🐜",fitzpatrick_scale:!1,category:"animals_and_nature"},vE={keywords:["animal","cricket","chirp"],char:"🦗",fitzpatrick_scale:!1,category:"animals_and_nature"},BE={keywords:["animal","arachnid"],char:"🕷",fitzpatrick_scale:!1,category:"animals_and_nature"},PE={keywords:["animal","arachnid"],char:"🦂",fitzpatrick_scale:!1,category:"animals_and_nature"},ME={keywords:["animal","crustacean"],char:"🦀",fitzpatrick_scale:!1,category:"animals_and_nature"},HE={keywords:["animal","evil","nature","hiss","python"],char:"🐍",fitzpatrick_scale:!1,category:"animals_and_nature"},UE={keywords:["animal","nature","reptile"],char:"🦎",fitzpatrick_scale:!1,category:"animals_and_nature"},jE={keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"🦕",fitzpatrick_scale:!1,category:"animals_and_nature"},qE={keywords:["animal","slow","nature","tortoise"],char:"🐢",fitzpatrick_scale:!1,category:"animals_and_nature"},YE={keywords:["animal","swim","ocean","beach","nemo"],char:"🐠",fitzpatrick_scale:!1,category:"animals_and_nature"},$E={keywords:["animal","food","nature"],char:"🐟",fitzpatrick_scale:!1,category:"animals_and_nature"},VE={keywords:["animal","nature","food","sea","ocean"],char:"🐡",fitzpatrick_scale:!1,category:"animals_and_nature"},WE={keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"🐬",fitzpatrick_scale:!1,category:"animals_and_nature"},GE={keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"🦈",fitzpatrick_scale:!1,category:"animals_and_nature"},QE={keywords:["animal","nature","sea","ocean"],char:"🐳",fitzpatrick_scale:!1,category:"animals_and_nature"},XE={keywords:["animal","nature","sea","ocean"],char:"🐋",fitzpatrick_scale:!1,category:"animals_and_nature"},KE={keywords:["animal","nature","reptile","lizard","alligator"],char:"🐊",fitzpatrick_scale:!1,category:"animals_and_nature"},JE={keywords:["animal","nature"],char:"🐆",fitzpatrick_scale:!1,category:"animals_and_nature"},ZE={keywords:["animal","nature","stripes","safari"],char:"🦓",fitzpatrick_scale:!1,category:"animals_and_nature"},eT={keywords:["animal","nature","roar"],char:"🐅",fitzpatrick_scale:!1,category:"animals_and_nature"},tT={keywords:["animal","nature","ox","cow"],char:"🐃",fitzpatrick_scale:!1,category:"animals_and_nature"},aT={keywords:["animal","cow","beef"],char:"🐂",fitzpatrick_scale:!1,category:"animals_and_nature"},rT={keywords:["beef","ox","animal","nature","moo","milk"],char:"🐄",fitzpatrick_scale:!1,category:"animals_and_nature"},nT={keywords:["animal","nature","horns","venison"],char:"🦌",fitzpatrick_scale:!1,category:"animals_and_nature"},iT={keywords:["animal","hot","desert","hump"],char:"🐪",fitzpatrick_scale:!1,category:"animals_and_nature"},sT={keywords:["animal","nature","hot","desert","hump"],char:"🐫",fitzpatrick_scale:!1,category:"animals_and_nature"},oT={keywords:["animal","nature","spots","safari"],char:"🦒",fitzpatrick_scale:!1,category:"animals_and_nature"},cT={keywords:["animal","nature","nose","th","circus"],char:"🐘",fitzpatrick_scale:!1,category:"animals_and_nature"},uT={keywords:["animal","nature","horn"],char:"🦏",fitzpatrick_scale:!1,category:"animals_and_nature"},lT={keywords:["animal","nature"],char:"🐐",fitzpatrick_scale:!1,category:"animals_and_nature"},fT={keywords:["animal","sheep","nature"],char:"🐏",fitzpatrick_scale:!1,category:"animals_and_nature"},hT={keywords:["animal","nature","wool","shipit"],char:"🐑",fitzpatrick_scale:!1,category:"animals_and_nature"},dT={keywords:["animal","gamble","luck"],char:"🐎",fitzpatrick_scale:!1,category:"animals_and_nature"},pT={keywords:["animal","nature"],char:"🐖",fitzpatrick_scale:!1,category:"animals_and_nature"},_T={keywords:["animal","mouse","rodent"],char:"🐀",fitzpatrick_scale:!1,category:"animals_and_nature"},mT={keywords:["animal","nature","rodent"],char:"🐁",fitzpatrick_scale:!1,category:"animals_and_nature"},gT={keywords:["animal","nature","chicken"],char:"🐓",fitzpatrick_scale:!1,category:"animals_and_nature"},yT={keywords:["animal","bird"],char:"🦃",fitzpatrick_scale:!1,category:"animals_and_nature"},kT={keywords:["animal","bird"],char:"🕊",fitzpatrick_scale:!1,category:"animals_and_nature"},bT={keywords:["animal","nature","friend","doge","pet","faithful"],char:"🐕",fitzpatrick_scale:!1,category:"animals_and_nature"},wT={keywords:["dog","animal","101","nature","pet"],char:"🐩",fitzpatrick_scale:!1,category:"animals_and_nature"},ET={keywords:["animal","meow","pet","cats"],char:"🐈",fitzpatrick_scale:!1,category:"animals_and_nature"},TT={keywords:["animal","nature","pet","magic","spring"],char:"🐇",fitzpatrick_scale:!1,category:"animals_and_nature"},AT={keywords:["animal","nature","rodent","squirrel"],char:"🐿",fitzpatrick_scale:!1,category:"animals_and_nature"},CT={keywords:["animal","nature","spiny"],char:"🦔",fitzpatrick_scale:!1,category:"animals_and_nature"},xT={keywords:["animal","nature"],char:"🦝",fitzpatrick_scale:!1,category:"animals_and_nature"},DT={keywords:["animal","nature","alpaca"],char:"🦙",fitzpatrick_scale:!1,category:"animals_and_nature"},zT={keywords:["animal","nature"],char:"🦛",fitzpatrick_scale:!1,category:"animals_and_nature"},IT={keywords:["animal","nature","australia","joey","hop","marsupial"],char:"🦘",fitzpatrick_scale:!1,category:"animals_and_nature"},ST={keywords:["animal","nature","honey"],char:"🦡",fitzpatrick_scale:!1,category:"animals_and_nature"},NT={keywords:["animal","nature","bird"],char:"🦢",fitzpatrick_scale:!1,category:"animals_and_nature"},FT={keywords:["animal","nature","peahen","bird"],char:"🦚",fitzpatrick_scale:!1,category:"animals_and_nature"},OT={keywords:["animal","nature","bird","pirate","talk"],char:"🦜",fitzpatrick_scale:!1,category:"animals_and_nature"},LT={keywords:["animal","nature","bisque","claws","seafood"],char:"🦞",fitzpatrick_scale:!1,category:"animals_and_nature"},RT={keywords:["animal","nature","insect","malaria"],char:"🦟",fitzpatrick_scale:!1,category:"animals_and_nature"},vT={keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"🐾",fitzpatrick_scale:!1,category:"animals_and_nature"},BT={keywords:["animal","myth","nature","chinese","green"],char:"🐉",fitzpatrick_scale:!1,category:"animals_and_nature"},PT={keywords:["animal","myth","nature","chinese","green"],char:"🐲",fitzpatrick_scale:!1,category:"animals_and_nature"},MT={keywords:["vegetable","plant","nature"],char:"🌵",fitzpatrick_scale:!1,category:"animals_and_nature"},HT={keywords:["festival","vacation","december","xmas","celebration"],char:"🎄",fitzpatrick_scale:!1,category:"animals_and_nature"},UT={keywords:["plant","nature"],char:"🌲",fitzpatrick_scale:!1,category:"animals_and_nature"},jT={keywords:["plant","nature"],char:"🌳",fitzpatrick_scale:!1,category:"animals_and_nature"},qT={keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"🌴",fitzpatrick_scale:!1,category:"animals_and_nature"},YT={keywords:["plant","nature","grass","lawn","spring"],char:"🌱",fitzpatrick_scale:!1,category:"animals_and_nature"},$T={keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"🌿",fitzpatrick_scale:!1,category:"animals_and_nature"},VT={keywords:["vegetable","plant","nature","irish","clover"],char:"☘",fitzpatrick_scale:!1,category:"animals_and_nature"},WT={keywords:["vegetable","plant","nature","lucky","irish"],char:"🍀",fitzpatrick_scale:!1,category:"animals_and_nature"},GT={keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"🎍",fitzpatrick_scale:!1,category:"animals_and_nature"},QT={keywords:["plant","nature","branch","summer"],char:"🎋",fitzpatrick_scale:!1,category:"animals_and_nature"},XT={keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"🍃",fitzpatrick_scale:!1,category:"animals_and_nature"},KT={keywords:["nature","plant","vegetable","leaves"],char:"🍂",fitzpatrick_scale:!1,category:"animals_and_nature"},JT={keywords:["nature","plant","vegetable","ca","fall"],char:"🍁",fitzpatrick_scale:!1,category:"animals_and_nature"},ZT={keywords:["nature","plant"],char:"🌾",fitzpatrick_scale:!1,category:"animals_and_nature"},eA={keywords:["plant","vegetable","flowers","beach"],char:"🌺",fitzpatrick_scale:!1,category:"animals_and_nature"},tA={keywords:["nature","plant","fall"],char:"🌻",fitzpatrick_scale:!1,category:"animals_and_nature"},aA={keywords:["flowers","valentines","love","spring"],char:"🌹",fitzpatrick_scale:!1,category:"animals_and_nature"},rA={keywords:["plant","nature","flower"],char:"🥀",fitzpatrick_scale:!1,category:"animals_and_nature"},nA={keywords:["flowers","plant","nature","summer","spring"],char:"🌷",fitzpatrick_scale:!1,category:"animals_and_nature"},iA={keywords:["nature","flowers","yellow"],char:"🌼",fitzpatrick_scale:!1,category:"animals_and_nature"},sA={keywords:["nature","plant","spring","flower"],char:"🌸",fitzpatrick_scale:!1,category:"animals_and_nature"},oA={keywords:["flowers","nature","spring"],char:"💐",fitzpatrick_scale:!1,category:"animals_and_nature"},cA={keywords:["plant","vegetable"],char:"🍄",fitzpatrick_scale:!1,category:"animals_and_nature"},uA={keywords:["food","squirrel"],char:"🌰",fitzpatrick_scale:!1,category:"animals_and_nature"},lA={keywords:["halloween","light","pumpkin","creepy","fall"],char:"🎃",fitzpatrick_scale:!1,category:"animals_and_nature"},fA={keywords:["nature","sea","beach"],char:"🐚",fitzpatrick_scale:!1,category:"animals_and_nature"},hA={keywords:["animal","insect","arachnid","silk"],char:"🕸",fitzpatrick_scale:!1,category:"animals_and_nature"},dA={keywords:["globe","world","USA","international"],char:"🌎",fitzpatrick_scale:!1,category:"animals_and_nature"},pA={keywords:["globe","world","international"],char:"🌍",fitzpatrick_scale:!1,category:"animals_and_nature"},_A={keywords:["globe","world","east","international"],char:"🌏",fitzpatrick_scale:!1,category:"animals_and_nature"},mA={keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"🌕",fitzpatrick_scale:!1,category:"animals_and_nature"},gA={keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],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","twilight","planet","space","night","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","night","sky","gray","twilight","planet","space","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","twilight","planet","space","night","evening","sleep"],char:"🌝",fitzpatrick_scale:!1,category:"animals_and_nature"},xA={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌛",fitzpatrick_scale:!1,category:"animals_and_nature"},DA={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌜",fitzpatrick_scale:!1,category:"animals_and_nature"},zA={keywords:["nature","morning","sky"],char:"🌞",fitzpatrick_scale:!1,category:"animals_and_nature"},IA={keywords:["night","sleep","sky","evening","magic"],char:"🌙",fitzpatrick_scale:!1,category:"animals_and_nature"},SA={keywords:["night","yellow"],char:"⭐",fitzpatrick_scale:!1,category:"animals_and_nature"},NA={keywords:["night","sparkle","awesome","good","magic"],char:"🌟",fitzpatrick_scale:!1,category:"animals_and_nature"},FA={keywords:["star","sparkle","shoot","magic"],char:"💫",fitzpatrick_scale:!1,category:"animals_and_nature"},OA={keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"✨",fitzpatrick_scale:!1,category:"animals_and_nature"},LA={keywords:["space"],char:"☄",fitzpatrick_scale:!1,category:"animals_and_nature"},RA={keywords:["weather","nature","brightness","summer","beach","spring"],char:"☀️",fitzpatrick_scale:!1,category:"animals_and_nature"},vA={keywords:["weather"],char:"🌤",fitzpatrick_scale:!1,category:"animals_and_nature"},BA={keywords:["weather","nature","cloudy","morning","fall","spring"],char:"⛅",fitzpatrick_scale:!1,category:"animals_and_nature"},PA={keywords:["weather"],char:"🌥",fitzpatrick_scale:!1,category:"animals_and_nature"},MA={keywords:["weather"],char:"🌦",fitzpatrick_scale:!1,category:"animals_and_nature"},HA={keywords:["weather","sky"],char:"☁️",fitzpatrick_scale:!1,category:"animals_and_nature"},UA={keywords:["weather"],char:"🌧",fitzpatrick_scale:!1,category:"animals_and_nature"},jA={keywords:["weather","lightning"],char:"⛈",fitzpatrick_scale:!1,category:"animals_and_nature"},qA={keywords:["weather","thunder"],char:"🌩",fitzpatrick_scale:!1,category:"animals_and_nature"},YA={keywords:["thunder","weather","lightning bolt","fast"],char:"⚡",fitzpatrick_scale:!1,category:"animals_and_nature"},$A={keywords:["hot","cook","flame"],char:"🔥",fitzpatrick_scale:!1,category:"animals_and_nature"},VA={keywords:["bomb","explode","explosion","collision","blown"],char:"💥",fitzpatrick_scale:!1,category:"animals_and_nature"},WA={keywords:["winter","season","cold","weather","christmas","xmas"],char:"❄️",fitzpatrick_scale:!1,category:"animals_and_nature"},GA={keywords:["weather"],char:"🌨",fitzpatrick_scale:!1,category:"animals_and_nature"},QA={keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"⛄",fitzpatrick_scale:!1,category:"animals_and_nature"},XA={keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"☃",fitzpatrick_scale:!1,category:"animals_and_nature"},KA={keywords:["gust","air"],char:"🌬",fitzpatrick_scale:!1,category:"animals_and_nature"},JA={keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"💨",fitzpatrick_scale:!1,category:"animals_and_nature"},ZA={keywords:["weather","cyclone","twister"],char:"🌪",fitzpatrick_scale:!1,category:"animals_and_nature"},e2={keywords:["weather"],char:"🌫",fitzpatrick_scale:!1,category:"animals_and_nature"},t2={keywords:["weather","spring"],char:"☂",fitzpatrick_scale:!1,category:"animals_and_nature"},a2={keywords:["rainy","weather","spring"],char:"☔",fitzpatrick_scale:!1,category:"animals_and_nature"},r2={keywords:["water","drip","faucet","spring"],char:"💧",fitzpatrick_scale:!1,category:"animals_and_nature"},n2={keywords:["water","drip","oops"],char:"💦",fitzpatrick_scale:!1,category:"animals_and_nature"},i2={keywords:["sea","water","wave","nature","tsunami","disaster"],char:"🌊",fitzpatrick_scale:!1,category:"animals_and_nature"},s2={keywords:["fruit","nature"],char:"🍏",fitzpatrick_scale:!1,category:"food_and_drink"},o2={keywords:["fruit","mac","school"],char:"🍎",fitzpatrick_scale:!1,category:"food_and_drink"},c2={keywords:["fruit","nature","food"],char:"🍐",fitzpatrick_scale:!1,category:"food_and_drink"},u2={keywords:["food","fruit","nature","orange"],char:"🍊",fitzpatrick_scale:!1,category:"food_and_drink"},l2={keywords:["fruit","nature"],char:"🍋",fitzpatrick_scale:!1,category:"food_and_drink"},f2={keywords:["fruit","food","monkey"],char:"🍌",fitzpatrick_scale:!1,category:"food_and_drink"},h2={keywords:["fruit","food","picnic","summer"],char:"🍉",fitzpatrick_scale:!1,category:"food_and_drink"},d2={keywords:["fruit","food","wine"],char:"🍇",fitzpatrick_scale:!1,category:"food_and_drink"},p2={keywords:["fruit","food","nature"],char:"🍓",fitzpatrick_scale:!1,category:"food_and_drink"},_2={keywords:["fruit","nature","food"],char:"🍈",fitzpatrick_scale:!1,category:"food_and_drink"},m2={keywords:["food","fruit"],char:"🍒",fitzpatrick_scale:!1,category:"food_and_drink"},g2={keywords:["fruit","nature","food"],char:"🍑",fitzpatrick_scale:!1,category:"food_and_drink"},y2={keywords:["fruit","nature","food"],char:"🍍",fitzpatrick_scale:!1,category:"food_and_drink"},k2={keywords:["fruit","nature","food","palm"],char:"🥥",fitzpatrick_scale:!1,category:"food_and_drink"},b2={keywords:["fruit","food"],char:"🥝",fitzpatrick_scale:!1,category:"food_and_drink"},w2={keywords:["fruit","food","tropical"],char:"🥭",fitzpatrick_scale:!1,category:"food_and_drink"},E2={keywords:["fruit","food"],char:"🥑",fitzpatrick_scale:!1,category:"food_and_drink"},T2={keywords:["fruit","food","vegetable"],char:"🥦",fitzpatrick_scale:!1,category:"food_and_drink"},A2={keywords:["fruit","vegetable","nature","food"],char:"🍅",fitzpatrick_scale:!1,category:"food_and_drink"},C2={keywords:["vegetable","nature","food","aubergine"],char:"🍆",fitzpatrick_scale:!1,category:"food_and_drink"},x2={keywords:["fruit","food","pickle"],char:"🥒",fitzpatrick_scale:!1,category:"food_and_drink"},D2={keywords:["vegetable","food","orange"],char:"🥕",fitzpatrick_scale:!1,category:"food_and_drink"},z2={keywords:["food","spicy","chilli","chili"],char:"🌶",fitzpatrick_scale:!1,category:"food_and_drink"},I2={keywords:["food","tuber","vegatable","starch"],char:"🥔",fitzpatrick_scale:!1,category:"food_and_drink"},S2={keywords:["food","vegetable","plant"],char:"🌽",fitzpatrick_scale:!1,category:"food_and_drink"},N2={keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"🥬",fitzpatrick_scale:!1,category:"food_and_drink"},F2={keywords:["food","nature"],char:"🍠",fitzpatrick_scale:!1,category:"food_and_drink"},O2={keywords:["food","nut"],char:"🥜",fitzpatrick_scale:!1,category:"food_and_drink"},L2={keywords:["bees","sweet","kitchen"],char:"🍯",fitzpatrick_scale:!1,category:"food_and_drink"},R2={keywords:["food","bread","french"],char:"🥐",fitzpatrick_scale:!1,category:"food_and_drink"},v2={keywords:["food","wheat","breakfast","toast"],char:"🍞",fitzpatrick_scale:!1,category:"food_and_drink"},B2={keywords:["food","bread","french"],char:"🥖",fitzpatrick_scale:!1,category:"food_and_drink"},P2={keywords:["food","bread","bakery","schmear"],char:"🥯",fitzpatrick_scale:!1,category:"food_and_drink"},M2={keywords:["food","bread","twisted"],char:"🥨",fitzpatrick_scale:!1,category:"food_and_drink"},H2={keywords:["food","chadder"],char:"🧀",fitzpatrick_scale:!1,category:"food_and_drink"},U2={keywords:["food","chicken","breakfast"],char:"🥚",fitzpatrick_scale:!1,category:"food_and_drink"},j2={keywords:["food","breakfast","pork","pig","meat"],char:"🥓",fitzpatrick_scale:!1,category:"food_and_drink"},q2={keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"🥩",fitzpatrick_scale:!1,category:"food_and_drink"},Y2={keywords:["food","breakfast","flapjacks","hotcakes"],char:"🥞",fitzpatrick_scale:!1,category:"food_and_drink"},$2={keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"🍗",fitzpatrick_scale:!1,category:"food_and_drink"},V2={keywords:["good","food","drumstick"],char:"🍖",fitzpatrick_scale:!1,category:"food_and_drink"},W2={keywords:["skeleton"],char:"🦴",fitzpatrick_scale:!1,category:"food_and_drink"},G2={keywords:["food","animal","appetizer","summer"],char:"🍤",fitzpatrick_scale:!1,category:"food_and_drink"},Q2={keywords:["food","breakfast","kitchen","egg"],char:"🍳",fitzpatrick_scale:!1,category:"food_and_drink"},X2={keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"🍔",fitzpatrick_scale:!1,category:"food_and_drink"},K2={keywords:["chips","snack","fast food"],char:"🍟",fitzpatrick_scale:!1,category:"food_and_drink"},J2={keywords:["food","flatbread","stuffed","gyro"],char:"🥙",fitzpatrick_scale:!1,category:"food_and_drink"},Z2={keywords:["food","frankfurter"],char:"🌭",fitzpatrick_scale:!1,category:"food_and_drink"},eC={keywords:["food","party"],char:"🍕",fitzpatrick_scale:!1,category:"food_and_drink"},tC={keywords:["food","lunch","bread"],char:"🥪",fitzpatrick_scale:!1,category:"food_and_drink"},aC={keywords:["food","soup"],char:"🥫",fitzpatrick_scale:!1,category:"food_and_drink"},rC={keywords:["food","italian","noodle"],char:"🍝",fitzpatrick_scale:!1,category:"food_and_drink"},nC={keywords:["food","mexican"],char:"🌮",fitzpatrick_scale:!1,category:"food_and_drink"},iC={keywords:["food","mexican"],char:"🌯",fitzpatrick_scale:!1,category:"food_and_drink"},sC={keywords:["food","healthy","lettuce"],char:"🥗",fitzpatrick_scale:!1,category:"food_and_drink"},oC={keywords:["food","cooking","casserole","paella"],char:"🥘",fitzpatrick_scale:!1,category:"food_and_drink"},cC={keywords:["food","japanese","noodle","chopsticks"],char:"🍜",fitzpatrick_scale:!1,category:"food_and_drink"},uC={keywords:["food","meat","soup"],char:"🍲",fitzpatrick_scale:!1,category:"food_and_drink"},lC={keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"🍥",fitzpatrick_scale:!1,category:"food_and_drink"},fC={keywords:["food","prophecy"],char:"🥠",fitzpatrick_scale:!1,category:"food_and_drink"},hC={keywords:["food","fish","japanese","rice"],char:"🍣",fitzpatrick_scale:!1,category:"food_and_drink"},dC={keywords:["food","japanese","box"],char:"🍱",fitzpatrick_scale:!1,category:"food_and_drink"},pC={keywords:["food","spicy","hot","indian"],char:"🍛",fitzpatrick_scale:!1,category:"food_and_drink"},_C={keywords:["food","japanese"],char:"🍙",fitzpatrick_scale:!1,category:"food_and_drink"},mC={keywords:["food","china","asian"],char:"🍚",fitzpatrick_scale:!1,category:"food_and_drink"},gC={keywords:["food","japanese"],char:"🍘",fitzpatrick_scale:!1,category:"food_and_drink"},yC={keywords:["food","japanese"],char:"🍢",fitzpatrick_scale:!1,category:"food_and_drink"},kC={keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"🍡",fitzpatrick_scale:!1,category:"food_and_drink"},bC={keywords:["hot","dessert","summer"],char:"🍧",fitzpatrick_scale:!1,category:"food_and_drink"},wC={keywords:["food","hot","dessert"],char:"🍨",fitzpatrick_scale:!1,category:"food_and_drink"},EC={keywords:["food","hot","dessert","summer"],char:"🍦",fitzpatrick_scale:!1,category:"food_and_drink"},TC={keywords:["food","dessert","pastry"],char:"🥧",fitzpatrick_scale:!1,category:"food_and_drink"},AC={keywords:["food","dessert"],char:"🍰",fitzpatrick_scale:!1,category:"food_and_drink"},CC={keywords:["food","dessert","bakery","sweet"],char:"🧁",fitzpatrick_scale:!1,category:"food_and_drink"},xC={keywords:["food","autumn"],char:"🥮",fitzpatrick_scale:!1,category:"food_and_drink"},DC={keywords:["food","dessert","cake"],char:"🎂",fitzpatrick_scale:!1,category:"food_and_drink"},zC={keywords:["dessert","food"],char:"🍮",fitzpatrick_scale:!1,category:"food_and_drink"},IC={keywords:["snack","dessert","sweet","lolly"],char:"🍬",fitzpatrick_scale:!1,category:"food_and_drink"},SC={keywords:["food","snack","candy","sweet"],char:"🍭",fitzpatrick_scale:!1,category:"food_and_drink"},NC={keywords:["food","snack","dessert","sweet"],char:"🍫",fitzpatrick_scale:!1,category:"food_and_drink"},FC={keywords:["food","movie theater","films","snack"],char:"🍿",fitzpatrick_scale:!1,category:"food_and_drink"},OC={keywords:["food","empanada","pierogi","potsticker"],char:"🥟",fitzpatrick_scale:!1,category:"food_and_drink"},LC={keywords:["food","dessert","snack","sweet","donut"],char:"🍩",fitzpatrick_scale:!1,category:"food_and_drink"},RC={keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"🍪",fitzpatrick_scale:!1,category:"food_and_drink"},vC={keywords:["beverage","drink","cow"],char:"🥛",fitzpatrick_scale:!1,category:"food_and_drink"},BC={keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍺",fitzpatrick_scale:!1,category:"food_and_drink"},PC={keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍻",fitzpatrick_scale:!1,category:"food_and_drink"},MC={keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"🥂",fitzpatrick_scale:!1,category:"food_and_drink"},HC={keywords:["drink","beverage","drunk","alcohol","booze"],char:"🍷",fitzpatrick_scale:!1,category:"food_and_drink"},UC={keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"🥃",fitzpatrick_scale:!1,category:"food_and_drink"},jC={keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"🍸",fitzpatrick_scale:!1,category:"food_and_drink"},qC={keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"🍹",fitzpatrick_scale:!1,category:"food_and_drink"},YC={keywords:["drink","wine","bottle","celebration"],char:"🍾",fitzpatrick_scale:!1,category:"food_and_drink"},$C={keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"🍶",fitzpatrick_scale:!1,category:"food_and_drink"},VC={keywords:["drink","bowl","breakfast","green","british"],char:"🍵",fitzpatrick_scale:!1,category:"food_and_drink"},WC={keywords:["drink","soda"],char:"🥤",fitzpatrick_scale:!1,category:"food_and_drink"},GC={keywords:["beverage","caffeine","latte","espresso"],char:"☕",fitzpatrick_scale:!1,category:"food_and_drink"},QC={keywords:["food","container","milk"],char:"🍼",fitzpatrick_scale:!1,category:"food_and_drink"},XC={keywords:["condiment","shaker"],char:"🧂",fitzpatrick_scale:!1,category:"food_and_drink"},KC={keywords:["cutlery","kitchen","tableware"],char:"🥄",fitzpatrick_scale:!1,category:"food_and_drink"},JC={keywords:["cutlery","kitchen"],char:"🍴",fitzpatrick_scale:!1,category:"food_and_drink"},ZC={keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"🍽",fitzpatrick_scale:!1,category:"food_and_drink"},e3={keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"🥣",fitzpatrick_scale:!1,category:"food_and_drink"},t3={keywords:["food","leftovers"],char:"🥡",fitzpatrick_scale:!1,category:"food_and_drink"},a3={keywords:["food"],char:"🥢",fitzpatrick_scale:!1,category:"food_and_drink"},r3={keywords:["sports","football"],char:"⚽",fitzpatrick_scale:!1,category:"activity"},n3={keywords:["sports","balls","NBA"],char:"🏀",fitzpatrick_scale:!1,category:"activity"},i3={keywords:["sports","balls","NFL"],char:"🏈",fitzpatrick_scale:!1,category:"activity"},s3={keywords:["sports","balls"],char:"⚾",fitzpatrick_scale:!1,category:"activity"},o3={keywords:["sports","balls"],char:"🥎",fitzpatrick_scale:!1,category:"activity"},c3={keywords:["sports","balls","green"],char:"🎾",fitzpatrick_scale:!1,category:"activity"},u3={keywords:["sports","balls"],char:"🏐",fitzpatrick_scale:!1,category:"activity"},l3={keywords:["sports","team"],char:"🏉",fitzpatrick_scale:!1,category:"activity"},f3={keywords:["sports","frisbee","ultimate"],char:"🥏",fitzpatrick_scale:!1,category:"activity"},h3={keywords:["sports","business","flag","hole","summer"],char:"⛳",fitzpatrick_scale:!1,category:"activity"},d3={keywords:["sports","business","woman","female"],char:"🏌️‍♀️",fitzpatrick_scale:!1,category:"activity"},p3={keywords:["sports","business"],char:"🏌",fitzpatrick_scale:!0,category:"activity"},_3={keywords:["sports","pingpong"],char:"🏓",fitzpatrick_scale:!1,category:"activity"},m3={keywords:["sports"],char:"🏸",fitzpatrick_scale:!1,category:"activity"},g3={keywords:["sports"],char:"🥅",fitzpatrick_scale:!1,category:"activity"},y3={keywords:["sports"],char:"🏒",fitzpatrick_scale:!1,category:"activity"},k3={keywords:["sports"],char:"🏑",fitzpatrick_scale:!1,category:"activity"},b3={keywords:["sports","ball","stick"],char:"🥍",fitzpatrick_scale:!1,category:"activity"},w3={keywords:["sports"],char:"🏏",fitzpatrick_scale:!1,category:"activity"},E3={keywords:["sports","winter","cold","snow"],char:"🎿",fitzpatrick_scale:!1,category:"activity"},T3={keywords:["sports","winter","snow"],char:"⛷",fitzpatrick_scale:!1,category:"activity"},A3={keywords:["sports","winter"],char:"🏂",fitzpatrick_scale:!0,category:"activity"},C3={keywords:["sports","fencing","sword"],char:"🤺",fitzpatrick_scale:!1,category:"activity"},x3={keywords:["sports","wrestlers"],char:"🤼‍♀️",fitzpatrick_scale:!1,category:"activity"},D3={keywords:["sports","wrestlers"],char:"🤼‍♂️",fitzpatrick_scale:!1,category:"activity"},z3={keywords:["gymnastics"],char:"🤸‍♀️",fitzpatrick_scale:!0,category:"activity"},I3={keywords:["gymnastics"],char:"🤸‍♂️",fitzpatrick_scale:!0,category:"activity"},S3={keywords:["sports"],char:"🤾‍♀️",fitzpatrick_scale:!0,category:"activity"},N3={keywords:["sports"],char:"🤾‍♂️",fitzpatrick_scale:!0,category:"activity"},F3={keywords:["sports"],char:"⛸",fitzpatrick_scale:!1,category:"activity"},O3={keywords:["sports"],char:"🥌",fitzpatrick_scale:!1,category:"activity"},L3={keywords:["board"],char:"🛹",fitzpatrick_scale:!1,category:"activity"},R3={keywords:["sleigh","luge","toboggan"],char:"🛷",fitzpatrick_scale:!1,category:"activity"},v3={keywords:["sports"],char:"🏹",fitzpatrick_scale:!1,category:"activity"},B3={keywords:["food","hobby","summer"],char:"🎣",fitzpatrick_scale:!1,category:"activity"},P3={keywords:["sports","fighting"],char:"🥊",fitzpatrick_scale:!1,category:"activity"},M3={keywords:["judo","karate","taekwondo"],char:"🥋",fitzpatrick_scale:!1,category:"activity"},H3={keywords:["sports","hobby","water","ship","woman","female"],char:"🚣‍♀️",fitzpatrick_scale:!0,category:"activity"},U3={keywords:["sports","hobby","water","ship"],char:"🚣",fitzpatrick_scale:!0,category:"activity"},j3={keywords:["sports","hobby","woman","female","rock"],char:"🧗‍♀️",fitzpatrick_scale:!0,category:"activity"},q3={keywords:["sports","hobby","man","male","rock"],char:"🧗‍♂️",fitzpatrick_scale:!0,category:"activity"},Y3={keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"🏊‍♀️",fitzpatrick_scale:!0,category:"activity"},$3={keywords:["sports","exercise","human","athlete","water","summer"],char:"🏊",fitzpatrick_scale:!0,category:"activity"},V3={keywords:["sports","pool"],char:"🤽‍♀️",fitzpatrick_scale:!0,category:"activity"},W3={keywords:["sports","pool"],char:"🤽‍♂️",fitzpatrick_scale:!0,category:"activity"},G3={keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♀️",fitzpatrick_scale:!0,category:"activity"},Q3={keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♂️",fitzpatrick_scale:!0,category:"activity"},X3={keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"🏄‍♀️",fitzpatrick_scale:!0,category:"activity"},K3={keywords:["sports","ocean","sea","summer","beach"],char:"🏄",fitzpatrick_scale:!0,category:"activity"},J3={keywords:["clean","shower","bathroom"],char:"🛀",fitzpatrick_scale:!0,category:"activity"},Z3={keywords:["sports","human","woman","female"],char:"⛹️‍♀️",fitzpatrick_scale:!0,category:"activity"},ex={keywords:["sports","human"],char:"⛹",fitzpatrick_scale:!0,category:"activity"},tx={keywords:["sports","training","exercise","woman","female"],char:"🏋️‍♀️",fitzpatrick_scale:!0,category:"activity"},ax={keywords:["sports","training","exercise"],char:"🏋",fitzpatrick_scale:!0,category:"activity"},rx={keywords:["sports","bike","exercise","hipster","woman","female"],char:"🚴‍♀️",fitzpatrick_scale:!0,category:"activity"},nx={keywords:["sports","bike","exercise","hipster"],char:"🚴",fitzpatrick_scale:!0,category:"activity"},ix={keywords:["transportation","sports","human","race","bike","woman","female"],char:"🚵‍♀️",fitzpatrick_scale:!0,category:"activity"},sx={keywords:["transportation","sports","human","race","bike"],char:"🚵",fitzpatrick_scale:!0,category:"activity"},ox={keywords:["animal","betting","competition","gambling","luck"],char:"🏇",fitzpatrick_scale:!0,category:"activity"},cx={keywords:["suit","business","levitate","hover","jump"],char:"🕴",fitzpatrick_scale:!0,category:"activity"},ux={keywords:["win","award","contest","place","ftw","ceremony"],char:"🏆",fitzpatrick_scale:!1,category:"activity"},lx={keywords:["play","pageant"],char:"🎽",fitzpatrick_scale:!1,category:"activity"},fx={keywords:["award","winning"],char:"🏅",fitzpatrick_scale:!1,category:"activity"},hx={keywords:["award","winning","army"],char:"🎖",fitzpatrick_scale:!1,category:"activity"},dx={keywords:["sports","cause","support","awareness"],char:"🎗",fitzpatrick_scale:!1,category:"activity"},px={keywords:["flower","decoration","military"],char:"🏵",fitzpatrick_scale:!1,category:"activity"},_x={keywords:["event","concert","pass"],char:"🎫",fitzpatrick_scale:!1,category:"activity"},mx={keywords:["sports","concert","entrance"],char:"🎟",fitzpatrick_scale:!1,category:"activity"},gx={keywords:["acting","theater","drama"],char:"🎭",fitzpatrick_scale:!1,category:"activity"},yx={keywords:["design","paint","draw","colors"],char:"🎨",fitzpatrick_scale:!1,category:"activity"},kx={keywords:["festival","carnival","party"],char:"🎪",fitzpatrick_scale:!1,category:"activity"},bx={keywords:["juggle","balance","skill","multitask"],char:"🤹‍♀️",fitzpatrick_scale:!0,category:"activity"},wx={keywords:["juggle","balance","skill","multitask"],char:"🤹‍♂️",fitzpatrick_scale:!0,category:"activity"},Ex={keywords:["sound","music","PA","sing","talkshow"],char:"🎤",fitzpatrick_scale:!1,category:"activity"},Tx={keywords:["music","score","gadgets"],char:"🎧",fitzpatrick_scale:!1,category:"activity"},Ax={keywords:["treble","clef","compose"],char:"🎼",fitzpatrick_scale:!1,category:"activity"},Cx={keywords:["piano","instrument","compose"],char:"🎹",fitzpatrick_scale:!1,category:"activity"},xx={keywords:["music","instrument","drumsticks","snare"],char:"🥁",fitzpatrick_scale:!1,category:"activity"},Dx={keywords:["music","instrument","jazz","blues"],char:"🎷",fitzpatrick_scale:!1,category:"activity"},zx={keywords:["music","brass"],char:"🎺",fitzpatrick_scale:!1,category:"activity"},Ix={keywords:["music","instrument"],char:"🎸",fitzpatrick_scale:!1,category:"activity"},Sx={keywords:["music","instrument","orchestra","symphony"],char:"🎻",fitzpatrick_scale:!1,category:"activity"},Nx={keywords:["movie","film","record"],char:"🎬",fitzpatrick_scale:!1,category:"activity"},Fx={keywords:["play","console","PS4","controller"],char:"🎮",fitzpatrick_scale:!1,category:"activity"},Ox={keywords:["game","arcade","play"],char:"👾",fitzpatrick_scale:!1,category:"activity"},Lx={keywords:["game","play","bar","target","bullseye"],char:"🎯",fitzpatrick_scale:!1,category:"activity"},Rx={keywords:["dice","random","tabletop","play","luck"],char:"🎲",fitzpatrick_scale:!1,category:"activity"},vx={keywords:["expendable"],char:"♟",fitzpatrick_scale:!1,category:"activity"},Bx={keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"🎰",fitzpatrick_scale:!1,category:"activity"},Px={keywords:["interlocking","puzzle","piece"],char:"🧩",fitzpatrick_scale:!1,category:"activity"},Mx={keywords:["sports","fun","play"],char:"🎳",fitzpatrick_scale:!1,category:"activity"},Hx={keywords:["red","transportation","vehicle"],char:"🚗",fitzpatrick_scale:!1,category:"travel_and_places"},Ux={keywords:["uber","vehicle","cars","transportation"],char:"🚕",fitzpatrick_scale:!1,category:"travel_and_places"},jx={keywords:["transportation","vehicle"],char:"🚙",fitzpatrick_scale:!1,category:"travel_and_places"},qx={keywords:["car","vehicle","transportation"],char:"🚌",fitzpatrick_scale:!1,category:"travel_and_places"},Yx={keywords:["bart","transportation","vehicle"],char:"🚎",fitzpatrick_scale:!1,category:"travel_and_places"},$x={keywords:["sports","race","fast","formula","f1"],char:"🏎",fitzpatrick_scale:!1,category:"travel_and_places"},Vx={keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"🚓",fitzpatrick_scale:!1,category:"travel_and_places"},Wx={keywords:["health","911","hospital"],char:"🚑",fitzpatrick_scale:!1,category:"travel_and_places"},Gx={keywords:["transportation","cars","vehicle"],char:"🚒",fitzpatrick_scale:!1,category:"travel_and_places"},Qx={keywords:["vehicle","car","transportation"],char:"🚐",fitzpatrick_scale:!1,category:"travel_and_places"},Xx={keywords:["cars","transportation"],char:"🚚",fitzpatrick_scale:!1,category:"travel_and_places"},Kx={keywords:["vehicle","cars","transportation","express"],char:"🚛",fitzpatrick_scale:!1,category:"travel_and_places"},Jx={keywords:["vehicle","car","farming","agriculture"],char:"🚜",fitzpatrick_scale:!1,category:"travel_and_places"},Zx={keywords:["vehicle","kick","razor"],char:"🛴",fitzpatrick_scale:!1,category:"travel_and_places"},eD={keywords:["race","sports","fast"],char:"🏍",fitzpatrick_scale:!1,category:"travel_and_places"},tD={keywords:["sports","bicycle","exercise","hipster"],char:"🚲",fitzpatrick_scale:!1,category:"travel_and_places"},aD={keywords:["vehicle","vespa","sasha"],char:"🛵",fitzpatrick_scale:!1,category:"travel_and_places"},rD={keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"🚨",fitzpatrick_scale:!1,category:"travel_and_places"},nD={keywords:["vehicle","law","legal","enforcement","911"],char:"🚔",fitzpatrick_scale:!1,category:"travel_and_places"},iD={keywords:["vehicle","transportation"],char:"🚍",fitzpatrick_scale:!1,category:"travel_and_places"},sD={keywords:["car","vehicle","transportation"],char:"🚘",fitzpatrick_scale:!1,category:"travel_and_places"},oD={keywords:["vehicle","cars","uber"],char:"🚖",fitzpatrick_scale:!1,category:"travel_and_places"},cD={keywords:["transportation","vehicle","ski"],char:"🚡",fitzpatrick_scale:!1,category:"travel_and_places"},uD={keywords:["transportation","vehicle","ski"],char:"🚠",fitzpatrick_scale:!1,category:"travel_and_places"},lD={keywords:["vehicle","transportation"],char:"🚟",fitzpatrick_scale:!1,category:"travel_and_places"},fD={keywords:["transportation","vehicle"],char:"🚃",fitzpatrick_scale:!1,category:"travel_and_places"},hD={keywords:["transportation","vehicle","carriage","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"},_D={keywords:["transportation","vehicle","speed","fast","public","travel"],char:"🚅",fitzpatrick_scale:!1,category:"travel_and_places"},mD={keywords:["transportation","vehicle"],char:"🚈",fitzpatrick_scale:!1,category:"travel_and_places"},gD={keywords:["transportation","vehicle"],char:"🚞",fitzpatrick_scale:!1,category:"travel_and_places"},yD={keywords:["transportation","vehicle","train"],char:"🚂",fitzpatrick_scale:!1,category:"travel_and_places"},kD={keywords:["transportation","vehicle"],char:"🚆",fitzpatrick_scale:!1,category:"travel_and_places"},bD={keywords:["transportation","blue-square","mrt","underground","tube"],char:"🚇",fitzpatrick_scale:!1,category:"travel_and_places"},wD={keywords:["transportation","vehicle"],char:"🚊",fitzpatrick_scale:!1,category:"travel_and_places"},ED={keywords:["transportation","vehicle","public"],char:"🚉",fitzpatrick_scale:!1,category:"travel_and_places"},TD={keywords:["transportation","vehicle","ufo"],char:"🛸",fitzpatrick_scale:!1,category:"travel_and_places"},AD={keywords:["transportation","vehicle","fly"],char:"🚁",fitzpatrick_scale:!1,category:"travel_and_places"},CD={keywords:["flight","transportation","fly","vehicle"],char:"🛩",fitzpatrick_scale:!1,category:"travel_and_places"},xD={keywords:["vehicle","transportation","flight","fly"],char:"✈️",fitzpatrick_scale:!1,category:"travel_and_places"},DD={keywords:["airport","flight","landing"],char:"🛫",fitzpatrick_scale:!1,category:"travel_and_places"},zD={keywords:["airport","flight","boarding"],char:"🛬",fitzpatrick_scale:!1,category:"travel_and_places"},ID={keywords:["ship","summer","transportation","water","sailing"],char:"⛵",fitzpatrick_scale:!1,category:"travel_and_places"},SD={keywords:["ship"],char:"🛥",fitzpatrick_scale:!1,category:"travel_and_places"},ND={keywords:["ship","transportation","vehicle","summer"],char:"🚤",fitzpatrick_scale:!1,category:"travel_and_places"},FD={keywords:["boat","ship","yacht"],char:"⛴",fitzpatrick_scale:!1,category:"travel_and_places"},OD={keywords:["yacht","cruise","ferry"],char:"🛳",fitzpatrick_scale:!1,category:"travel_and_places"},LD={keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"🚀",fitzpatrick_scale:!1,category:"travel_and_places"},RD={keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"🛰",fitzpatrick_scale:!1,category:"travel_and_places"},vD={keywords:["sit","airplane","transport","bus","flight","fly"],char:"💺",fitzpatrick_scale:!1,category:"travel_and_places"},BD={keywords:["boat","paddle","water","ship"],char:"🛶",fitzpatrick_scale:!1,category:"travel_and_places"},PD={keywords:["ship","ferry","sea","boat"],char:"⚓",fitzpatrick_scale:!1,category:"travel_and_places"},MD={keywords:["wip","progress","caution","warning"],char:"🚧",fitzpatrick_scale:!1,category:"travel_and_places"},HD={keywords:["gas station","petroleum"],char:"⛽",fitzpatrick_scale:!1,category:"travel_and_places"},UD={keywords:["transportation","wait"],char:"🚏",fitzpatrick_scale:!1,category:"travel_and_places"},jD={keywords:["transportation","driving"],char:"🚦",fitzpatrick_scale:!1,category:"travel_and_places"},qD={keywords:["transportation","signal"],char:"🚥",fitzpatrick_scale:!1,category:"travel_and_places"},YD={keywords:["contest","finishline","race","gokart"],char:"🏁",fitzpatrick_scale:!1,category:"travel_and_places"},$D={keywords:["transportation","titanic","deploy"],char:"🚢",fitzpatrick_scale:!1,category:"travel_and_places"},VD={keywords:["photo","carnival","londoneye"],char:"🎡",fitzpatrick_scale:!1,category:"travel_and_places"},WD={keywords:["carnival","playground","photo","fun"],char:"🎢",fitzpatrick_scale:!1,category:"travel_and_places"},GD={keywords:["photo","carnival"],char:"🎠",fitzpatrick_scale:!1,category:"travel_and_places"},QD={keywords:["wip","working","progress"],char:"🏗",fitzpatrick_scale:!1,category:"travel_and_places"},XD={keywords:["photo","mountain"],char:"🌁",fitzpatrick_scale:!1,category:"travel_and_places"},KD={keywords:["photo","japanese"],char:"🗼",fitzpatrick_scale:!1,category:"travel_and_places"},JD={keywords:["building","industry","pollution","smoke"],char:"🏭",fitzpatrick_scale:!1,category:"travel_and_places"},ZD={keywords:["photo","summer","water","fresh"],char:"⛲",fitzpatrick_scale:!1,category:"travel_and_places"},e6={keywords:["photo","japan","asia","tsukimi"],char:"🎑",fitzpatrick_scale:!1,category:"travel_and_places"},t6={keywords:["photo","nature","environment"],char:"⛰",fitzpatrick_scale:!1,category:"travel_and_places"},a6={keywords:["photo","nature","environment","winter","cold"],char:"🏔",fitzpatrick_scale:!1,category:"travel_and_places"},r6={keywords:["photo","mountain","nature","japanese"],char:"🗻",fitzpatrick_scale:!1,category:"travel_and_places"},n6={keywords:["photo","nature","disaster"],char:"🌋",fitzpatrick_scale:!1,category:"travel_and_places"},i6={keywords:["nation","country","japanese","asia"],char:"🗾",fitzpatrick_scale:!1,category:"travel_and_places"},s6={keywords:["photo","outdoors","tent"],char:"🏕",fitzpatrick_scale:!1,category:"travel_and_places"},o6={keywords:["photo","camping","outdoors"],char:"⛺",fitzpatrick_scale:!1,category:"travel_and_places"},c6={keywords:["photo","environment","nature"],char:"🏞",fitzpatrick_scale:!1,category:"travel_and_places"},u6={keywords:["road","cupertino","interstate","highway"],char:"🛣",fitzpatrick_scale:!1,category:"travel_and_places"},l6={keywords:["train","transportation"],char:"🛤",fitzpatrick_scale:!1,category:"travel_and_places"},f6={keywords:["morning","view","vacation","photo"],char:"🌅",fitzpatrick_scale:!1,category:"travel_and_places"},h6={keywords:["view","vacation","photo"],char:"🌄",fitzpatrick_scale:!1,category:"travel_and_places"},d6={keywords:["photo","warm","saharah"],char:"🏜",fitzpatrick_scale:!1,category:"travel_and_places"},p6={keywords:["weather","summer","sunny","sand","mojito"],char:"🏖",fitzpatrick_scale:!1,category:"travel_and_places"},_6={keywords:["photo","tropical","mojito"],char:"🏝",fitzpatrick_scale:!1,category:"travel_and_places"},m6={keywords:["photo","good morning","dawn"],char:"🌇",fitzpatrick_scale:!1,category:"travel_and_places"},g6={keywords:["photo","evening","sky","buildings"],char:"🌆",fitzpatrick_scale:!1,category:"travel_and_places"},y6={keywords:["photo","night life","urban"],char:"🏙",fitzpatrick_scale:!1,category:"travel_and_places"},k6={keywords:["evening","city","downtown"],char:"🌃",fitzpatrick_scale:!1,category:"travel_and_places"},b6={keywords:["photo","sanfrancisco"],char:"🌉",fitzpatrick_scale:!1,category:"travel_and_places"},w6={keywords:["photo","space","stars"],char:"🌌",fitzpatrick_scale:!1,category:"travel_and_places"},E6={keywords:["night","photo"],char:"🌠",fitzpatrick_scale:!1,category:"travel_and_places"},T6={keywords:["stars","night","shine"],char:"🎇",fitzpatrick_scale:!1,category:"travel_and_places"},A6={keywords:["photo","festival","carnival","congratulations"],char:"🎆",fitzpatrick_scale:!1,category:"travel_and_places"},C6={keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"🌈",fitzpatrick_scale:!1,category:"travel_and_places"},x6={keywords:["buildings","photo"],char:"🏘",fitzpatrick_scale:!1,category:"travel_and_places"},D6={keywords:["building","royalty","history"],char:"🏰",fitzpatrick_scale:!1,category:"travel_and_places"},z6={keywords:["photo","building"],char:"🏯",fitzpatrick_scale:!1,category:"travel_and_places"},I6={keywords:["photo","place","sports","concert","venue"],char:"🏟",fitzpatrick_scale:!1,category:"travel_and_places"},S6={keywords:["american","newyork"],char:"🗽",fitzpatrick_scale:!1,category:"travel_and_places"},N6={keywords:["building","home"],char:"🏠",fitzpatrick_scale:!1,category:"travel_and_places"},F6={keywords:["home","plant","nature"],char:"🏡",fitzpatrick_scale:!1,category:"travel_and_places"},O6={keywords:["abandon","evict","broken","building"],char:"🏚",fitzpatrick_scale:!1,category:"travel_and_places"},L6={keywords:["building","bureau","work"],char:"🏢",fitzpatrick_scale:!1,category:"travel_and_places"},R6={keywords:["building","shopping","mall"],char:"🏬",fitzpatrick_scale:!1,category:"travel_and_places"},v6={keywords:["building","envelope","communication"],char:"🏣",fitzpatrick_scale:!1,category:"travel_and_places"},B6={keywords:["building","email"],char:"🏤",fitzpatrick_scale:!1,category:"travel_and_places"},P6={keywords:["building","health","surgery","doctor"],char:"🏥",fitzpatrick_scale:!1,category:"travel_and_places"},M6={keywords:["building","money","sales","cash","business","enterprise"],char:"🏦",fitzpatrick_scale:!1,category:"travel_and_places"},H6={keywords:["building","accomodation","checkin"],char:"🏨",fitzpatrick_scale:!1,category:"travel_and_places"},U6={keywords:["building","shopping","groceries"],char:"🏪",fitzpatrick_scale:!1,category:"travel_and_places"},j6={keywords:["building","student","education","learn","teach"],char:"🏫",fitzpatrick_scale:!1,category:"travel_and_places"},q6={keywords:["like","affection","dating"],char:"🏩",fitzpatrick_scale:!1,category:"travel_and_places"},Y6={keywords:["love","like","affection","couple","marriage","bride","groom"],char:"💒",fitzpatrick_scale:!1,category:"travel_and_places"},$6={keywords:["art","culture","history"],char:"🏛",fitzpatrick_scale:!1,category:"travel_and_places"},V6={keywords:["building","religion","christ"],char:"⛪",fitzpatrick_scale:!1,category:"travel_and_places"},W6={keywords:["islam","worship","minaret"],char:"🕌",fitzpatrick_scale:!1,category:"travel_and_places"},G6={keywords:["judaism","worship","temple","jewish"],char:"🕍",fitzpatrick_scale:!1,category:"travel_and_places"},Q6={keywords:["mecca","mosque","islam"],char:"🕋",fitzpatrick_scale:!1,category:"travel_and_places"},X6={keywords:["temple","japan","kyoto"],char:"⛩",fitzpatrick_scale:!1,category:"travel_and_places"},K6={keywords:["time","accessories"],char:"⌚",fitzpatrick_scale:!1,category:"objects"},J6={keywords:["technology","apple","gadgets","dial"],char:"📱",fitzpatrick_scale:!1,category:"objects"},Z6={keywords:["iphone","incoming"],char:"📲",fitzpatrick_scale:!1,category:"objects"},ez={keywords:["technology","laptop","screen","display","monitor"],char:"💻",fitzpatrick_scale:!1,category:"objects"},tz={keywords:["technology","computer","type","input","text"],char:"⌨",fitzpatrick_scale:!1,category:"objects"},az={keywords:["technology","computing","screen"],char:"🖥",fitzpatrick_scale:!1,category:"objects"},rz={keywords:["paper","ink"],char:"🖨",fitzpatrick_scale:!1,category:"objects"},nz={keywords:["click"],char:"🖱",fitzpatrick_scale:!1,category:"objects"},iz={keywords:["technology","trackpad"],char:"🖲",fitzpatrick_scale:!1,category:"objects"},sz={keywords:["game","play"],char:"🕹",fitzpatrick_scale:!1,category:"objects"},oz={keywords:["tool"],char:"🗜",fitzpatrick_scale:!1,category:"objects"},cz={keywords:["technology","record","data","disk","90s"],char:"💽",fitzpatrick_scale:!1,category:"objects"},uz={keywords:["oldschool","technology","save","90s","80s"],char:"💾",fitzpatrick_scale:!1,category:"objects"},lz={keywords:["technology","dvd","disk","disc","90s"],char:"💿",fitzpatrick_scale:!1,category:"objects"},fz={keywords:["cd","disk","disc"],char:"📀",fitzpatrick_scale:!1,category:"objects"},hz={keywords:["record","video","oldschool","90s","80s"],char:"📼",fitzpatrick_scale:!1,category:"objects"},dz={keywords:["gadgets","photography"],char:"📷",fitzpatrick_scale:!1,category:"objects"},pz={keywords:["photography","gadgets"],char:"📸",fitzpatrick_scale:!1,category:"objects"},_z={keywords:["film","record"],char:"📹",fitzpatrick_scale:!1,category:"objects"},mz={keywords:["film","record"],char:"🎥",fitzpatrick_scale:!1,category:"objects"},gz={keywords:["video","tape","record","movie"],char:"📽",fitzpatrick_scale:!1,category:"objects"},yz={keywords:["movie"],char:"🎞",fitzpatrick_scale:!1,category:"objects"},kz={keywords:["technology","communication","dial"],char:"📞",fitzpatrick_scale:!1,category:"objects"},bz={keywords:["technology","communication","dial","telephone"],char:"☎️",fitzpatrick_scale:!1,category:"objects"},wz={keywords:["bbcall","oldschool","90s"],char:"📟",fitzpatrick_scale:!1,category:"objects"},Ez={keywords:["communication","technology"],char:"📠",fitzpatrick_scale:!1,category:"objects"},Tz={keywords:["technology","program","oldschool","show","television"],char:"📺",fitzpatrick_scale:!1,category:"objects"},Az={keywords:["communication","music","podcast","program"],char:"📻",fitzpatrick_scale:!1,category:"objects"},Cz={keywords:["sing","recording","artist","talkshow"],char:"🎙",fitzpatrick_scale:!1,category:"objects"},xz={keywords:["scale"],char:"🎚",fitzpatrick_scale:!1,category:"objects"},Dz={keywords:["dial"],char:"🎛",fitzpatrick_scale:!1,category:"objects"},zz={keywords:["magnetic","navigation","orienteering"],char:"🧭",fitzpatrick_scale:!1,category:"objects"},Iz={keywords:["time","deadline"],char:"⏱",fitzpatrick_scale:!1,category:"objects"},Sz={keywords:["alarm"],char:"⏲",fitzpatrick_scale:!1,category:"objects"},Nz={keywords:["time","wake"],char:"⏰",fitzpatrick_scale:!1,category:"objects"},Fz={keywords:["time"],char:"🕰",fitzpatrick_scale:!1,category:"objects"},Oz={keywords:["oldschool","time","countdown"],char:"⏳",fitzpatrick_scale:!1,category:"objects"},Lz={keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"⌛",fitzpatrick_scale:!1,category:"objects"},Rz={keywords:["communication","future","radio","space"],char:"📡",fitzpatrick_scale:!1,category:"objects"},vz={keywords:["power","energy","sustain"],char:"🔋",fitzpatrick_scale:!1,category:"objects"},Bz={keywords:["charger","power"],char:"🔌",fitzpatrick_scale:!1,category:"objects"},Pz={keywords:["light","electricity","idea"],char:"💡",fitzpatrick_scale:!1,category:"objects"},Mz={keywords:["dark","camping","sight","night"],char:"🔦",fitzpatrick_scale:!1,category:"objects"},Hz={keywords:["fire","wax"],char:"🕯",fitzpatrick_scale:!1,category:"objects"},Uz={keywords:["quench"],char:"🧯",fitzpatrick_scale:!1,category:"objects"},jz={keywords:["bin","trash","rubbish","garbage","toss"],char:"🗑",fitzpatrick_scale:!1,category:"objects"},qz={keywords:["barrell"],char:"🛢",fitzpatrick_scale:!1,category:"objects"},Yz={keywords:["dollar","bills","payment","sale"],char:"💸",fitzpatrick_scale:!1,category:"objects"},$z={keywords:["money","sales","bill","currency"],char:"💵",fitzpatrick_scale:!1,category:"objects"},Vz={keywords:["money","sales","japanese","dollar","currency"],char:"💴",fitzpatrick_scale:!1,category:"objects"},Wz={keywords:["money","sales","dollar","currency"],char:"💶",fitzpatrick_scale:!1,category:"objects"},Gz={keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"💷",fitzpatrick_scale:!1,category:"objects"},Qz={keywords:["dollar","payment","coins","sale"],char:"💰",fitzpatrick_scale:!1,category:"objects"},Xz={keywords:["money","sales","dollar","bill","payment","shopping"],char:"💳",fitzpatrick_scale:!1,category:"objects"},Kz={keywords:["blue","ruby","diamond","jewelry"],char:"💎",fitzpatrick_scale:!1,category:"objects"},Jz={keywords:["law","fairness","weight"],char:"⚖",fitzpatrick_scale:!1,category:"objects"},Zz={keywords:["tools","diy","fix","maintainer","mechanic"],char:"🧰",fitzpatrick_scale:!1,category:"objects"},eI={keywords:["tools","diy","ikea","fix","maintainer"],char:"🔧",fitzpatrick_scale:!1,category:"objects"},tI={keywords:["tools","build","create"],char:"🔨",fitzpatrick_scale:!1,category:"objects"},aI={keywords:["tools","build","create"],char:"⚒",fitzpatrick_scale:!1,category:"objects"},rI={keywords:["tools","build","create"],char:"🛠",fitzpatrick_scale:!1,category:"objects"},nI={keywords:["tools","dig"],char:"⛏",fitzpatrick_scale:!1,category:"objects"},iI={keywords:["handy","tools","fix"],char:"🔩",fitzpatrick_scale:!1,category:"objects"},sI={keywords:["cog"],char:"⚙",fitzpatrick_scale:!1,category:"objects"},oI={keywords:["bricks"],char:"🧱",fitzpatrick_scale:!1,category:"objects"},cI={keywords:["lock","arrest"],char:"⛓",fitzpatrick_scale:!1,category:"objects"},uI={keywords:["attraction","magnetic"],char:"🧲",fitzpatrick_scale:!1,category:"objects"},lI={keywords:["violence","weapon","pistol","revolver"],char:"🔫",fitzpatrick_scale:!1,category:"objects"},fI={keywords:["boom","explode","explosion","terrorism"],char:"💣",fitzpatrick_scale:!1,category:"objects"},hI={keywords:["dynamite","boom","explode","explosion","explosive"],char:"🧨",fitzpatrick_scale:!1,category:"objects"},dI={keywords:["knife","blade","cutlery","kitchen","weapon"],char:"🔪",fitzpatrick_scale:!1,category:"objects"},pI={keywords:["weapon"],char:"🗡",fitzpatrick_scale:!1,category:"objects"},_I={keywords:["weapon"],char:"⚔",fitzpatrick_scale:!1,category:"objects"},mI={keywords:["protection","security"],char:"🛡",fitzpatrick_scale:!1,category:"objects"},gI={keywords:["kills","tobacco","cigarette","joint","smoke"],char:"🚬",fitzpatrick_scale:!1,category:"objects"},yI={keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"☠",fitzpatrick_scale:!1,category:"objects"},kI={keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"⚰",fitzpatrick_scale:!1,category:"objects"},bI={keywords:["dead","die","death","rip","ashes"],char:"⚱",fitzpatrick_scale:!1,category:"objects"},wI={keywords:["vase","jar"],char:"🏺",fitzpatrick_scale:!1,category:"objects"},EI={keywords:["disco","party","magic","circus","fortune_teller"],char:"🔮",fitzpatrick_scale:!1,category:"objects"},TI={keywords:["dhikr","religious"],char:"📿",fitzpatrick_scale:!1,category:"objects"},AI={keywords:["bead","charm"],char:"🧿",fitzpatrick_scale:!1,category:"objects"},CI={keywords:["hair","salon","style"],char:"💈",fitzpatrick_scale:!1,category:"objects"},xI={keywords:["distilling","science","experiment","chemistry"],char:"⚗",fitzpatrick_scale:!1,category:"objects"},DI={keywords:["stars","space","zoom","science","astronomy"],char:"🔭",fitzpatrick_scale:!1,category:"objects"},zI={keywords:["laboratory","experiment","zoomin","science","study"],char:"🔬",fitzpatrick_scale:!1,category:"objects"},II={keywords:["embarrassing"],char:"🕳",fitzpatrick_scale:!1,category:"objects"},SI={keywords:["health","medicine","doctor","pharmacy","drug"],char:"💊",fitzpatrick_scale:!1,category:"objects"},NI={keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"💉",fitzpatrick_scale:!1,category:"objects"},FI={keywords:["biologist","genetics","life"],char:"🧬",fitzpatrick_scale:!1,category:"objects"},OI={keywords:["amoeba","bacteria","germs"],char:"🦠",fitzpatrick_scale:!1,category:"objects"},LI={keywords:["bacteria","biology","culture","lab"],char:"🧫",fitzpatrick_scale:!1,category:"objects"},RI={keywords:["chemistry","experiment","lab","science"],char:"🧪",fitzpatrick_scale:!1,category:"objects"},vI={keywords:["weather","temperature","hot","cold"],char:"🌡",fitzpatrick_scale:!1,category:"objects"},BI={keywords:["cleaning","sweeping","witch"],char:"🧹",fitzpatrick_scale:!1,category:"objects"},PI={keywords:["laundry"],char:"🧺",fitzpatrick_scale:!1,category:"objects"},MI={keywords:["roll"],char:"🧻",fitzpatrick_scale:!1,category:"objects"},HI={keywords:["sale","tag"],char:"🏷",fitzpatrick_scale:!1,category:"objects"},UI={keywords:["favorite","label","save"],char:"🔖",fitzpatrick_scale:!1,category:"objects"},jI={keywords:["restroom","wc","washroom","bathroom","potty"],char:"🚽",fitzpatrick_scale:!1,category:"objects"},qI={keywords:["clean","water","bathroom"],char:"🚿",fitzpatrick_scale:!1,category:"objects"},YI={keywords:["clean","shower","bathroom"],char:"🛁",fitzpatrick_scale:!1,category:"objects"},$I={keywords:["bar","bathing","cleaning","lather"],char:"🧼",fitzpatrick_scale:!1,category:"objects"},VI={keywords:["absorbing","cleaning","porous"],char:"🧽",fitzpatrick_scale:!1,category:"objects"},WI={keywords:["moisturizer","sunscreen"],char:"🧴",fitzpatrick_scale:!1,category:"objects"},GI={keywords:["lock","door","password"],char:"🔑",fitzpatrick_scale:!1,category:"objects"},QI={keywords:["lock","door","password"],char:"🗝",fitzpatrick_scale:!1,category:"objects"},XI={keywords:["read","chill"],char:"🛋",fitzpatrick_scale:!1,category:"objects"},KI={keywords:["bed","rest"],char:"🛌",fitzpatrick_scale:!0,category:"objects"},JI={keywords:["sleep","rest"],char:"🛏",fitzpatrick_scale:!1,category:"objects"},ZI={keywords:["house","entry","exit"],char:"🚪",fitzpatrick_scale:!1,category:"objects"},eS={keywords:["service"],char:"🛎",fitzpatrick_scale:!1,category:"objects"},tS={keywords:["plush","stuffed"],char:"🧸",fitzpatrick_scale:!1,category:"objects"},aS={keywords:["photography"],char:"🖼",fitzpatrick_scale:!1,category:"objects"},rS={keywords:["location","direction"],char:"🗺",fitzpatrick_scale:!1,category:"objects"},nS={keywords:["weather","summer"],char:"⛱",fitzpatrick_scale:!1,category:"objects"},iS={keywords:["rock","easter island","moai"],char:"🗿",fitzpatrick_scale:!1,category:"objects"},sS={keywords:["mall","buy","purchase"],char:"🛍",fitzpatrick_scale:!1,category:"objects"},oS={keywords:["trolley"],char:"🛒",fitzpatrick_scale:!1,category:"objects"},cS={keywords:["party","celebration","birthday","circus"],char:"🎈",fitzpatrick_scale:!1,category:"objects"},uS={keywords:["fish","japanese","koinobori","carp","banner"],char:"🎏",fitzpatrick_scale:!1,category:"objects"},lS={keywords:["decoration","pink","girl","bowtie"],char:"🎀",fitzpatrick_scale:!1,category:"objects"},fS={keywords:["present","birthday","christmas","xmas"],char:"🎁",fitzpatrick_scale:!1,category:"objects"},hS={keywords:["festival","party","birthday","circus"],char:"🎊",fitzpatrick_scale:!1,category:"objects"},dS={keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"🎉",fitzpatrick_scale:!1,category:"objects"},pS={keywords:["japanese","toy","kimono"],char:"🎎",fitzpatrick_scale:!1,category:"objects"},_S={keywords:["nature","ding","spring","bell"],char:"🎐",fitzpatrick_scale:!1,category:"objects"},mS={keywords:["japanese","nation","country","border"],char:"🎌",fitzpatrick_scale:!1,category:"objects"},gS={keywords:["light","paper","halloween","spooky"],char:"🏮",fitzpatrick_scale:!1,category:"objects"},yS={keywords:["gift"],char:"🧧",fitzpatrick_scale:!1,category:"objects"},kS={keywords:["letter","postal","inbox","communication"],char:"✉️",fitzpatrick_scale:!1,category:"objects"},bS={keywords:["email","communication"],char:"📩",fitzpatrick_scale:!1,category:"objects"},wS={keywords:["email","inbox"],char:"📨",fitzpatrick_scale:!1,category:"objects"},ES={keywords:["email","like","affection","envelope","valentines"],char:"💌",fitzpatrick_scale:!1,category:"objects"},TS={keywords:["email","letter","envelope"],char:"📮",fitzpatrick_scale:!1,category:"objects"},AS={keywords:["email","communication","inbox"],char:"📪",fitzpatrick_scale:!1,category:"objects"},CS={keywords:["email","inbox","communication"],char:"📫",fitzpatrick_scale:!1,category:"objects"},xS={keywords:["email","inbox","communication"],char:"📬",fitzpatrick_scale:!1,category:"objects"},DS={keywords:["email","inbox"],char:"📭",fitzpatrick_scale:!1,category:"objects"},zS={keywords:["instrument","music"],char:"📯",fitzpatrick_scale:!1,category:"objects"},IS={keywords:["email","documents"],char:"📥",fitzpatrick_scale:!1,category:"objects"},SS={keywords:["inbox","email"],char:"📤",fitzpatrick_scale:!1,category:"objects"},NS={keywords:["documents","ancient","history","paper"],char:"📜",fitzpatrick_scale:!1,category:"objects"},FS={keywords:["documents","office","paper"],char:"📃",fitzpatrick_scale:!1,category:"objects"},OS={keywords:["favorite","save","order","tidy"],char:"📑",fitzpatrick_scale:!1,category:"objects"},LS={keywords:["accounting","expenses"],char:"🧾",fitzpatrick_scale:!1,category:"objects"},RS={keywords:["graph","presentation","stats"],char:"📊",fitzpatrick_scale:!1,category:"objects"},vS={keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"📈",fitzpatrick_scale:!1,category:"objects"},BS={keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"📉",fitzpatrick_scale:!1,category:"objects"},PS={keywords:["documents","office","paper","information"],char:"📄",fitzpatrick_scale:!1,category:"objects"},MS={keywords:["calendar","schedule"],char:"📅",fitzpatrick_scale:!1,category:"objects"},HS={keywords:["schedule","date","planning"],char:"📆",fitzpatrick_scale:!1,category:"objects"},US={keywords:["date","schedule","planning"],char:"🗓",fitzpatrick_scale:!1,category:"objects"},jS={keywords:["business","stationery"],char:"📇",fitzpatrick_scale:!1,category:"objects"},qS={keywords:["business","stationery"],char:"🗃",fitzpatrick_scale:!1,category:"objects"},YS={keywords:["election","vote"],char:"🗳",fitzpatrick_scale:!1,category:"objects"},$S={keywords:["filing","organizing"],char:"🗄",fitzpatrick_scale:!1,category:"objects"},VS={keywords:["stationery","documents"],char:"📋",fitzpatrick_scale:!1,category:"objects"},WS={keywords:["memo","stationery"],char:"🗒",fitzpatrick_scale:!1,category:"objects"},GS={keywords:["documents","business","office"],char:"📁",fitzpatrick_scale:!1,category:"objects"},QS={keywords:["documents","load"],char:"📂",fitzpatrick_scale:!1,category:"objects"},XS={keywords:["organizing","business","stationery"],char:"🗂",fitzpatrick_scale:!1,category:"objects"},KS={keywords:["press","headline"],char:"🗞",fitzpatrick_scale:!1,category:"objects"},JS={keywords:["press","headline"],char:"📰",fitzpatrick_scale:!1,category:"objects"},ZS={keywords:["stationery","record","notes","paper","study"],char:"📓",fitzpatrick_scale:!1,category:"objects"},eN={keywords:["read","library","knowledge","textbook","learn"],char:"📕",fitzpatrick_scale:!1,category:"objects"},tN={keywords:["read","library","knowledge","study"],char:"📗",fitzpatrick_scale:!1,category:"objects"},aN={keywords:["read","library","knowledge","learn","study"],char:"📘",fitzpatrick_scale:!1,category:"objects"},rN={keywords:["read","library","knowledge","textbook","study"],char:"📙",fitzpatrick_scale:!1,category:"objects"},nN={keywords:["classroom","notes","record","paper","study"],char:"📔",fitzpatrick_scale:!1,category:"objects"},iN={keywords:["notes","paper"],char:"📒",fitzpatrick_scale:!1,category:"objects"},sN={keywords:["literature","library","study"],char:"📚",fitzpatrick_scale:!1,category:"objects"},oN={keywords:["book","read","library","knowledge","literature","learn","study"],char:"📖",fitzpatrick_scale:!1,category:"objects"},cN={keywords:["diaper"],char:"🧷",fitzpatrick_scale:!1,category:"objects"},uN={keywords:["rings","url"],char:"🔗",fitzpatrick_scale:!1,category:"objects"},lN={keywords:["documents","stationery"],char:"📎",fitzpatrick_scale:!1,category:"objects"},fN={keywords:["documents","stationery"],char:"🖇",fitzpatrick_scale:!1,category:"objects"},hN={keywords:["stationery","cut"],char:"✂️",fitzpatrick_scale:!1,category:"objects"},dN={keywords:["stationery","math","architect","sketch"],char:"📐",fitzpatrick_scale:!1,category:"objects"},pN={keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"📏",fitzpatrick_scale:!1,category:"objects"},_N={keywords:["calculation"],char:"🧮",fitzpatrick_scale:!1,category:"objects"},mN={keywords:["stationery","mark","here"],char:"📌",fitzpatrick_scale:!1,category:"objects"},gN={keywords:["stationery","location","map","here"],char:"📍",fitzpatrick_scale:!1,category:"objects"},yN={keywords:["mark","milestone","place"],char:"🚩",fitzpatrick_scale:!1,category:"objects"},kN={keywords:["losing","loser","lost","surrender","give up","fail"],char:"🏳",fitzpatrick_scale:!1,category:"objects"},bN={keywords:["pirate"],char:"🏴",fitzpatrick_scale:!1,category:"objects"},wN={keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"🏳️‍🌈",fitzpatrick_scale:!1,category:"objects"},EN={keywords:["security","privacy"],char:"🔐",fitzpatrick_scale:!1,category:"objects"},TN={keywords:["security","password","padlock"],char:"🔒",fitzpatrick_scale:!1,category:"objects"},AN={keywords:["privacy","security"],char:"🔓",fitzpatrick_scale:!1,category:"objects"},CN={keywords:["security","secret"],char:"🔏",fitzpatrick_scale:!1,category:"objects"},xN={keywords:["stationery","writing","write"],char:"🖊",fitzpatrick_scale:!1,category:"objects"},DN={keywords:["stationery","writing","write"],char:"🖋",fitzpatrick_scale:!1,category:"objects"},zN={keywords:["pen","stationery","writing","write"],char:"✒️",fitzpatrick_scale:!1,category:"objects"},IN={keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"📝",fitzpatrick_scale:!1,category:"objects"},SN={keywords:["stationery","write","paper","writing","school","study"],char:"✏️",fitzpatrick_scale:!1,category:"objects"},NN={keywords:["drawing","creativity"],char:"🖍",fitzpatrick_scale:!1,category:"objects"},FN={keywords:["drawing","creativity","art"],char:"🖌",fitzpatrick_scale:!1,category:"objects"},ON={keywords:["search","zoom","find","detective"],char:"🔍",fitzpatrick_scale:!1,category:"objects"},LN={keywords:["search","zoom","find","detective"],char:"🔎",fitzpatrick_scale:!1,category:"objects"},RN={keywords:["love","like","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:["love","like","affection","valentines"],char:"💚",fitzpatrick_scale:!1,category:"symbols"},MN={keywords:["love","like","affection","valentines"],char:"💙",fitzpatrick_scale:!1,category:"symbols"},HN={keywords:["love","like","affection","valentines"],char:"💜",fitzpatrick_scale:!1,category:"symbols"},UN={keywords:["evil"],char:"🖤",fitzpatrick_scale:!1,category:"symbols"},jN={keywords:["sad","sorry","break","heart","heartbreak"],char:"💔",fitzpatrick_scale:!1,category:"symbols"},qN={keywords:["decoration","love"],char:"❣",fitzpatrick_scale:!1,category:"symbols"},YN={keywords:["love","like","affection","valentines","heart"],char:"💕",fitzpatrick_scale:!1,category:"symbols"},$N={keywords:["love","like","affection","valentines"],char:"💞",fitzpatrick_scale:!1,category:"symbols"},VN={keywords:["love","like","affection","valentines","pink","heart"],char:"💓",fitzpatrick_scale:!1,category:"symbols"},WN={keywords:["like","love","affection","valentines","pink"],char:"💗",fitzpatrick_scale:!1,category:"symbols"},GN={keywords:["love","like","affection","valentines"],char:"💖",fitzpatrick_scale:!1,category:"symbols"},QN={keywords:["love","like","heart","affection","valentines"],char:"💘",fitzpatrick_scale:!1,category:"symbols"},XN={keywords:["love","valentines"],char:"💝",fitzpatrick_scale:!1,category:"symbols"},KN={keywords:["purple-square","love","like"],char:"💟",fitzpatrick_scale:!1,category:"symbols"},JN={keywords:["hippie"],char:"☮",fitzpatrick_scale:!1,category:"symbols"},ZN={keywords:["christianity"],char:"✝",fitzpatrick_scale:!1,category:"symbols"},e4={keywords:["islam"],char:"☪",fitzpatrick_scale:!1,category:"symbols"},t4={keywords:["hinduism","buddhism","sikhism","jainism"],char:"🕉",fitzpatrick_scale:!1,category:"symbols"},a4={keywords:["hinduism","buddhism","sikhism","jainism"],char:"☸",fitzpatrick_scale:!1,category:"symbols"},r4={keywords:["judaism"],char:"✡",fitzpatrick_scale:!1,category:"symbols"},n4={keywords:["purple-square","religion","jewish","hexagram"],char:"🔯",fitzpatrick_scale:!1,category:"symbols"},i4={keywords:["hanukkah","candles","jewish"],char:"🕎",fitzpatrick_scale:!1,category:"symbols"},s4={keywords:["balance"],char:"☯",fitzpatrick_scale:!1,category:"symbols"},o4={keywords:["suppedaneum","religion"],char:"☦",fitzpatrick_scale:!1,category:"symbols"},c4={keywords:["religion","church","temple","prayer"],char:"🛐",fitzpatrick_scale:!1,category:"symbols"},u4={keywords:["sign","purple-square","constellation","astrology"],char:"⛎",fitzpatrick_scale:!1,category:"symbols"},l4={keywords:["sign","purple-square","zodiac","astrology"],char:"♈",fitzpatrick_scale:!1,category:"symbols"},f4={keywords:["purple-square","sign","zodiac","astrology"],char:"♉",fitzpatrick_scale:!1,category:"symbols"},h4={keywords:["sign","zodiac","purple-square","astrology"],char:"♊",fitzpatrick_scale:!1,category:"symbols"},d4={keywords:["sign","zodiac","purple-square","astrology"],char:"♋",fitzpatrick_scale:!1,category:"symbols"},p4={keywords:["sign","purple-square","zodiac","astrology"],char:"♌",fitzpatrick_scale:!1,category:"symbols"},_4={keywords:["sign","zodiac","purple-square","astrology"],char:"♍",fitzpatrick_scale:!1,category:"symbols"},m4={keywords:["sign","purple-square","zodiac","astrology"],char:"♎",fitzpatrick_scale:!1,category:"symbols"},g4={keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"♏",fitzpatrick_scale:!1,category:"symbols"},y4={keywords:["sign","zodiac","purple-square","astrology"],char:"♐",fitzpatrick_scale:!1,category:"symbols"},k4={keywords:["sign","zodiac","purple-square","astrology"],char:"♑",fitzpatrick_scale:!1,category:"symbols"},b4={keywords:["sign","purple-square","zodiac","astrology"],char:"♒",fitzpatrick_scale:!1,category:"symbols"},w4={keywords:["purple-square","sign","zodiac","astrology"],char:"♓",fitzpatrick_scale:!1,category:"symbols"},E4={keywords:["purple-square","words"],char:"🆔",fitzpatrick_scale:!1,category:"symbols"},T4={keywords:["science","physics","chemistry"],char:"⚛",fitzpatrick_scale:!1,category:"symbols"},A4={keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"🈳",fitzpatrick_scale:!1,category:"symbols"},C4={keywords:["cut","divide","chinese","kanji","pink-square"],char:"🈹",fitzpatrick_scale:!1,category:"symbols"},x4={keywords:["nuclear","danger"],char:"☢",fitzpatrick_scale:!1,category:"symbols"},D4={keywords:["danger"],char:"☣",fitzpatrick_scale:!1,category:"symbols"},z4={keywords:["mute","orange-square","silence","quiet"],char:"📴",fitzpatrick_scale:!1,category:"symbols"},I4={keywords:["orange-square","phone"],char:"📳",fitzpatrick_scale:!1,category:"symbols"},S4={keywords:["orange-square","chinese","have","kanji"],char:"🈶",fitzpatrick_scale:!1,category:"symbols"},N4={keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"🈚",fitzpatrick_scale:!1,category:"symbols"},F4={keywords:["chinese","japanese","kanji","orange-square"],char:"🈸",fitzpatrick_scale:!1,category:"symbols"},O4={keywords:["japanese","opening hours","orange-square"],char:"🈺",fitzpatrick_scale:!1,category:"symbols"},L4={keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"🈷️",fitzpatrick_scale:!1,category:"symbols"},R4={keywords:["orange-square","shape","polygon"],char:"✴️",fitzpatrick_scale:!1,category:"symbols"},v4={keywords:["words","orange-square"],char:"🆚",fitzpatrick_scale:!1,category:"symbols"},B4={keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"🉑",fitzpatrick_scale:!1,category:"symbols"},P4={keywords:["japanese","spring"],char:"💮",fitzpatrick_scale:!1,category:"symbols"},M4={keywords:["chinese","kanji","obtain","get","circle"],char:"🉐",fitzpatrick_scale:!1,category:"symbols"},H4={keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"㊙️",fitzpatrick_scale:!1,category:"symbols"},U4={keywords:["chinese","kanji","japanese","red-circle"],char:"㊗️",fitzpatrick_scale:!1,category:"symbols"},j4={keywords:["japanese","chinese","join","kanji","red-square"],char:"🈴",fitzpatrick_scale:!1,category:"symbols"},q4={keywords:["full","chinese","japanese","red-square","kanji"],char:"🈵",fitzpatrick_scale:!1,category:"symbols"},Y4={keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"🈲",fitzpatrick_scale:!1,category:"symbols"},$4={keywords:["red-square","alphabet","letter"],char:"🅰️",fitzpatrick_scale:!1,category:"symbols"},V4={keywords:["red-square","alphabet","letter"],char:"🅱️",fitzpatrick_scale:!1,category:"symbols"},W4={keywords:["red-square","alphabet"],char:"🆎",fitzpatrick_scale:!1,category:"symbols"},G4={keywords:["alphabet","words","red-square"],char:"🆑",fitzpatrick_scale:!1,category:"symbols"},Q4={keywords:["alphabet","red-square","letter"],char:"🅾️",fitzpatrick_scale:!1,category:"symbols"},X4={keywords:["help","red-square","words","emergency","911"],char:"🆘",fitzpatrick_scale:!1,category:"symbols"},K4={keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"⛔",fitzpatrick_scale:!1,category:"symbols"},J4={keywords:["fire","forbid"],char:"📛",fitzpatrick_scale:!1,category:"symbols"},Z4={keywords:["forbid","stop","limit","denied","disallow","circle"],char:"🚫",fitzpatrick_scale:!1,category:"symbols"},eF={keywords:["no","delete","remove","cancel","red"],char:"❌",fitzpatrick_scale:!1,category:"symbols"},tF={keywords:["circle","round"],char:"⭕",fitzpatrick_scale:!1,category:"symbols"},aF={keywords:["stop"],char:"🛑",fitzpatrick_scale:!1,category:"symbols"},rF={keywords:["angry","mad"],char:"💢",fitzpatrick_scale:!1,category:"symbols"},nF={keywords:["bath","warm","relax"],char:"♨️",fitzpatrick_scale:!1,category:"symbols"},iF={keywords:["rules","crossing","walking","circle"],char:"🚷",fitzpatrick_scale:!1,category:"symbols"},sF={keywords:["trash","bin","garbage","circle"],char:"🚯",fitzpatrick_scale:!1,category:"symbols"},oF={keywords:["cyclist","prohibited","circle"],char:"🚳",fitzpatrick_scale:!1,category:"symbols"},cF={keywords:["18","drink","pub","night","minor","circle"],char:"🔞",fitzpatrick_scale:!1,category:"symbols"},uF={keywords:["iphone","mute","circle"],char:"📵",fitzpatrick_scale:!1,category:"symbols"},lF={keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"❗",fitzpatrick_scale:!1,category:"symbols"},fF={keywords:["surprise","punctuation","gray","wow","warning"],char:"❕",fitzpatrick_scale:!1,category:"symbols"},hF={keywords:["doubt","confused"],char:"❓",fitzpatrick_scale:!1,category:"symbols"},dF={keywords:["doubts","gray","huh","confused"],char:"❔",fitzpatrick_scale:!1,category:"symbols"},pF={keywords:["exclamation","surprise"],char:"‼️",fitzpatrick_scale:!1,category:"symbols"},_F={keywords:["wat","punctuation","surprise"],char:"⁉️",fitzpatrick_scale:!1,category:"symbols"},mF={keywords:["sun","afternoon","warm","summer"],char:"🔅",fitzpatrick_scale:!1,category:"symbols"},gF={keywords:["sun","light"],char:"🔆",fitzpatrick_scale:!1,category:"symbols"},yF={keywords:["weapon","spear"],char:"🔱",fitzpatrick_scale:!1,category:"symbols"},kF={keywords:["decorative","scout"],char:"⚜",fitzpatrick_scale:!1,category:"symbols"},bF={keywords:["graph","presentation","stats","business","economics","bad"],char:"〽️",fitzpatrick_scale:!1,category:"symbols"},wF={keywords:["exclamation","wip","alert","error","problem","issue"],char:"⚠️",fitzpatrick_scale:!1,category:"symbols"},EF={keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"🚸",fitzpatrick_scale:!1,category:"symbols"},TF={keywords:["badge","shield"],char:"🔰",fitzpatrick_scale:!1,category:"symbols"},AF={keywords:["arrow","environment","garbage","trash"],char:"♻️",fitzpatrick_scale:!1,category:"symbols"},CF={keywords:["chinese","point","green-square","kanji"],char:"🈯",fitzpatrick_scale:!1,category:"symbols"},xF={keywords:["green-square","graph","presentation","stats"],char:"💹",fitzpatrick_scale:!1,category:"symbols"},DF={keywords:["stars","green-square","awesome","good","fireworks"],char:"❇️",fitzpatrick_scale:!1,category:"symbols"},zF={keywords:["star","sparkle","green-square"],char:"✳️",fitzpatrick_scale:!1,category:"symbols"},IF={keywords:["x","green-square","no","deny"],char:"❎",fitzpatrick_scale:!1,category:"symbols"},SF={keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"✅",fitzpatrick_scale:!1,category:"symbols"},NF={keywords:["jewel","blue","gem","crystal","fancy"],char:"💠",fitzpatrick_scale:!1,category:"symbols"},FF={keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"🌀",fitzpatrick_scale:!1,category:"symbols"},OF={keywords:["tape","cassette"],char:"➿",fitzpatrick_scale:!1,category:"symbols"},LF={keywords:["earth","international","world","internet","interweb","i18n"],char:"🌐",fitzpatrick_scale:!1,category:"symbols"},RF={keywords:["alphabet","blue-circle","letter"],char:"Ⓜ️",fitzpatrick_scale:!1,category:"symbols"},vF={keywords:["money","sales","cash","blue-square","payment","bank"],char:"🏧",fitzpatrick_scale:!1,category:"symbols"},BF={keywords:["japanese","blue-square","katakana"],char:"🈂️",fitzpatrick_scale:!1,category:"symbols"},PF={keywords:["custom","blue-square"],char:"🛂",fitzpatrick_scale:!1,category:"symbols"},MF={keywords:["passport","border","blue-square"],char:"🛃",fitzpatrick_scale:!1,category:"symbols"},HF={keywords:["blue-square","airport","transport"],char:"🛄",fitzpatrick_scale:!1,category:"symbols"},UF={keywords:["blue-square","travel"],char:"🛅",fitzpatrick_scale:!1,category:"symbols"},jF={keywords:["blue-square","disabled","a11y","accessibility"],char:"♿",fitzpatrick_scale:!1,category:"symbols"},qF={keywords:["cigarette","blue-square","smell","smoke"],char:"🚭",fitzpatrick_scale:!1,category:"symbols"},YF={keywords:["toilet","restroom","blue-square"],char:"🚾",fitzpatrick_scale:!1,category:"symbols"},$F={keywords:["cars","blue-square","alphabet","letter"],char:"🅿️",fitzpatrick_scale:!1,category:"symbols"},VF={keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"🚰",fitzpatrick_scale:!1,category:"symbols"},WF={keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"🚹",fitzpatrick_scale:!1,category:"symbols"},GF={keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"🚺",fitzpatrick_scale:!1,category:"symbols"},QF={keywords:["orange-square","child"],char:"🚼",fitzpatrick_scale:!1,category:"symbols"},XF={keywords:["blue-square","toilet","refresh","wc","gender"],char:"🚻",fitzpatrick_scale:!1,category:"symbols"},KF={keywords:["blue-square","sign","human","info"],char:"🚮",fitzpatrick_scale:!1,category:"symbols"},JF={keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"🎦",fitzpatrick_scale:!1,category:"symbols"},ZF={keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"📶",fitzpatrick_scale:!1,category:"symbols"},eO={keywords:["blue-square","here","katakana","japanese","destination"],char:"🈁",fitzpatrick_scale:!1,category:"symbols"},tO={keywords:["blue-square","words","shape","icon"],char:"🆖",fitzpatrick_scale:!1,category:"symbols"},aO={keywords:["good","agree","yes","blue-square"],char:"🆗",fitzpatrick_scale:!1,category:"symbols"},rO={keywords:["blue-square","above","high"],char:"🆙",fitzpatrick_scale:!1,category:"symbols"},nO={keywords:["words","blue-square"],char:"🆒",fitzpatrick_scale:!1,category:"symbols"},iO={keywords:["blue-square","words"],char:"🆓",fitzpatrick_scale:!1,category:"symbols"},sO={keywords:["0","numbers","blue-square","null"],char:"0️⃣",fitzpatrick_scale:!1,category:"symbols"},oO={keywords:["blue-square","numbers","1"],char:"1️⃣",fitzpatrick_scale:!1,category:"symbols"},cO={keywords:["numbers","2","prime","blue-square"],char:"2️⃣",fitzpatrick_scale:!1,category:"symbols"},uO={keywords:["3","numbers","prime","blue-square"],char:"3️⃣",fitzpatrick_scale:!1,category:"symbols"},lO={keywords:["4","numbers","blue-square"],char:"4️⃣",fitzpatrick_scale:!1,category:"symbols"},fO={keywords:["5","numbers","blue-square","prime"],char:"5️⃣",fitzpatrick_scale:!1,category:"symbols"},hO={keywords:["6","numbers","blue-square"],char:"6️⃣",fitzpatrick_scale:!1,category:"symbols"},dO={keywords:["7","numbers","blue-square","prime"],char:"7️⃣",fitzpatrick_scale:!1,category:"symbols"},pO={keywords:["8","blue-square","numbers"],char:"8️⃣",fitzpatrick_scale:!1,category:"symbols"},_O={keywords:["blue-square","numbers","9"],char:"9️⃣",fitzpatrick_scale:!1,category:"symbols"},mO={keywords:["numbers","10","blue-square"],char:"🔟",fitzpatrick_scale:!1,category:"symbols"},gO={keywords:["star","keycap"],char:"*⃣",fitzpatrick_scale:!1,category:"symbols"},yO={keywords:["blue-square"],char:"⏏️",fitzpatrick_scale:!1,category:"symbols"},kO={keywords:["blue-square","right","direction","play"],char:"▶️",fitzpatrick_scale:!1,category:"symbols"},bO={keywords:["pause","blue-square"],char:"⏸",fitzpatrick_scale:!1,category:"symbols"},wO={keywords:["forward","next","blue-square"],char:"⏭",fitzpatrick_scale:!1,category:"symbols"},EO={keywords:["blue-square"],char:"⏹",fitzpatrick_scale:!1,category:"symbols"},TO={keywords:["blue-square"],char:"⏺",fitzpatrick_scale:!1,category:"symbols"},AO={keywords:["blue-square","play","pause"],char:"⏯",fitzpatrick_scale:!1,category:"symbols"},CO={keywords:["backward"],char:"⏮",fitzpatrick_scale:!1,category:"symbols"},xO={keywords:["blue-square","play","speed","continue"],char:"⏩",fitzpatrick_scale:!1,category:"symbols"},DO={keywords:["play","blue-square"],char:"⏪",fitzpatrick_scale:!1,category:"symbols"},zO={keywords:["blue-square","shuffle","music","random"],char:"🔀",fitzpatrick_scale:!1,category:"symbols"},IO={keywords:["loop","record"],char:"🔁",fitzpatrick_scale:!1,category:"symbols"},SO={keywords:["blue-square","loop"],char:"🔂",fitzpatrick_scale:!1,category:"symbols"},NO={keywords:["blue-square","left","direction"],char:"◀️",fitzpatrick_scale:!1,category:"symbols"},FO={keywords:["blue-square","triangle","direction","point","forward","top"],char:"🔼",fitzpatrick_scale:!1,category:"symbols"},OO={keywords:["blue-square","direction","bottom"],char:"🔽",fitzpatrick_scale:!1,category:"symbols"},LO={keywords:["blue-square","direction","top"],char:"⏫",fitzpatrick_scale:!1,category:"symbols"},RO={keywords:["blue-square","direction","bottom"],char:"⏬",fitzpatrick_scale:!1,category:"symbols"},vO={keywords:["blue-square","next"],char:"➡️",fitzpatrick_scale:!1,category:"symbols"},BO={keywords:["blue-square","previous","back"],char:"⬅️",fitzpatrick_scale:!1,category:"symbols"},PO={keywords:["blue-square","continue","top","direction"],char:"⬆️",fitzpatrick_scale:!1,category:"symbols"},MO={keywords:["blue-square","direction","bottom"],char:"⬇️",fitzpatrick_scale:!1,category:"symbols"},HO={keywords:["blue-square","point","direction","diagonal","northeast"],char:"↗️",fitzpatrick_scale:!1,category:"symbols"},UO={keywords:["blue-square","direction","diagonal","southeast"],char:"↘️",fitzpatrick_scale:!1,category:"symbols"},jO={keywords:["blue-square","direction","diagonal","southwest"],char:"↙️",fitzpatrick_scale:!1,category:"symbols"},qO={keywords:["blue-square","point","direction","diagonal","northwest"],char:"↖️",fitzpatrick_scale:!1,category:"symbols"},YO={keywords:["blue-square","direction","way","vertical"],char:"↕️",fitzpatrick_scale:!1,category:"symbols"},$O={keywords:["shape","direction","horizontal","sideways"],char:"↔️",fitzpatrick_scale:!1,category:"symbols"},VO={keywords:["blue-square","sync","cycle"],char:"🔄",fitzpatrick_scale:!1,category:"symbols"},WO={keywords:["blue-square","return","rotate","direction"],char:"↪️",fitzpatrick_scale:!1,category:"symbols"},GO={keywords:["back","return","blue-square","undo","enter"],char:"↩️",fitzpatrick_scale:!1,category:"symbols"},QO={keywords:["blue-square","direction","top"],char:"⤴️",fitzpatrick_scale:!1,category:"symbols"},XO={keywords:["blue-square","direction","bottom"],char:"⤵️",fitzpatrick_scale:!1,category:"symbols"},KO={keywords:["symbol","blue-square","twitter"],char:"#️⃣",fitzpatrick_scale:!1,category:"symbols"},JO={keywords:["blue-square","alphabet","letter"],char:"ℹ️",fitzpatrick_scale:!1,category:"symbols"},ZO={keywords:["blue-square","alphabet"],char:"🔤",fitzpatrick_scale:!1,category:"symbols"},eL={keywords:["blue-square","alphabet"],char:"🔡",fitzpatrick_scale:!1,category:"symbols"},tL={keywords:["alphabet","words","blue-square"],char:"🔠",fitzpatrick_scale:!1,category:"symbols"},aL={keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"🔣",fitzpatrick_scale:!1,category:"symbols"},rL={keywords:["score","tone","sound"],char:"🎵",fitzpatrick_scale:!1,category:"symbols"},nL={keywords:["music","score"],char:"🎶",fitzpatrick_scale:!1,category:"symbols"},iL={keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"〰️",fitzpatrick_scale:!1,category:"symbols"},sL={keywords:["scribble","draw","shape","squiggle"],char:"➰",fitzpatrick_scale:!1,category:"symbols"},oL={keywords:["ok","nike","answer","yes","tick"],char:"✔️",fitzpatrick_scale:!1,category:"symbols"},cL={keywords:["sync","cycle","round","repeat"],char:"🔃",fitzpatrick_scale:!1,category:"symbols"},uL={keywords:["math","calculation","addition","more","increase"],char:"➕",fitzpatrick_scale:!1,category:"symbols"},lL={keywords:["math","calculation","subtract","less"],char:"➖",fitzpatrick_scale:!1,category:"symbols"},fL={keywords:["divide","math","calculation"],char:"➗",fitzpatrick_scale:!1,category:"symbols"},hL={keywords:["math","calculation"],char:"✖️",fitzpatrick_scale:!1,category:"symbols"},dL={keywords:["forever"],char:"♾",fitzpatrick_scale:!1,category:"symbols"},pL={keywords:["money","sales","payment","currency","buck"],char:"💲",fitzpatrick_scale:!1,category:"symbols"},_L={keywords:["money","sales","dollar","travel"],char:"💱",fitzpatrick_scale:!1,category:"symbols"},mL={keywords:["ip","license","circle","law","legal"],char:"©️",fitzpatrick_scale:!1,category:"symbols"},gL={keywords:["alphabet","circle"],char:"®️",fitzpatrick_scale:!1,category:"symbols"},yL={keywords:["trademark","brand","law","legal"],char:"™️",fitzpatrick_scale:!1,category:"symbols"},kL={keywords:["words","arrow"],char:"🔚",fitzpatrick_scale:!1,category:"symbols"},bL={keywords:["arrow","words","return"],char:"🔙",fitzpatrick_scale:!1,category:"symbols"},wL={keywords:["arrow","words"],char:"🔛",fitzpatrick_scale:!1,category:"symbols"},EL={keywords:["words","blue-square"],char:"🔝",fitzpatrick_scale:!1,category:"symbols"},TL={keywords:["arrow","words"],char:"🔜",fitzpatrick_scale:!1,category:"symbols"},AL={keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"☑️",fitzpatrick_scale:!1,category:"symbols"},CL={keywords:["input","old","music","circle"],char:"🔘",fitzpatrick_scale:!1,category:"symbols"},xL={keywords:["shape","round"],char:"⚪",fitzpatrick_scale:!1,category:"symbols"},DL={keywords:["shape","button","round"],char:"⚫",fitzpatrick_scale:!1,category:"symbols"},zL={keywords:["shape","error","danger"],char:"🔴",fitzpatrick_scale:!1,category:"symbols"},IL={keywords:["shape","icon","button"],char:"🔵",fitzpatrick_scale:!1,category:"symbols"},SL={keywords:["shape","jewel","gem"],char:"🔸",fitzpatrick_scale:!1,category:"symbols"},NL={keywords:["shape","jewel","gem"],char:"🔹",fitzpatrick_scale:!1,category:"symbols"},FL={keywords:["shape","jewel","gem"],char:"🔶",fitzpatrick_scale:!1,category:"symbols"},OL={keywords:["shape","jewel","gem"],char:"🔷",fitzpatrick_scale:!1,category:"symbols"},LL={keywords:["shape","direction","up","top"],char:"🔺",fitzpatrick_scale:!1,category:"symbols"},RL={keywords:["shape","icon"],char:"▪️",fitzpatrick_scale:!1,category:"symbols"},vL={keywords:["shape","icon"],char:"▫️",fitzpatrick_scale:!1,category:"symbols"},BL={keywords:["shape","icon","button"],char:"⬛",fitzpatrick_scale:!1,category:"symbols"},PL={keywords:["shape","icon","stone","button"],char:"⬜",fitzpatrick_scale:!1,category:"symbols"},ML={keywords:["shape","direction","bottom"],char:"🔻",fitzpatrick_scale:!1,category:"symbols"},HL={keywords:["shape","button","icon"],char:"◼️",fitzpatrick_scale:!1,category:"symbols"},UL={keywords:["shape","stone","icon"],char:"◻️",fitzpatrick_scale:!1,category:"symbols"},jL={keywords:["icon","shape","button"],char:"◾",fitzpatrick_scale:!1,category:"symbols"},qL={keywords:["shape","stone","icon","button"],char:"◽",fitzpatrick_scale:!1,category:"symbols"},YL={keywords:["shape","input","frame"],char:"🔲",fitzpatrick_scale:!1,category:"symbols"},$L={keywords:["shape","input"],char:"🔳",fitzpatrick_scale:!1,category:"symbols"},VL={keywords:["sound","volume","silence","broadcast"],char:"🔈",fitzpatrick_scale:!1,category:"symbols"},WL={keywords:["volume","speaker","broadcast"],char:"🔉",fitzpatrick_scale:!1,category:"symbols"},GL={keywords:["volume","noise","noisy","speaker","broadcast"],char:"🔊",fitzpatrick_scale:!1,category:"symbols"},QL={keywords:["sound","volume","silence","quiet"],char:"🔇",fitzpatrick_scale:!1,category:"symbols"},XL={keywords:["sound","speaker","volume"],char:"📣",fitzpatrick_scale:!1,category:"symbols"},KL={keywords:["volume","sound"],char:"📢",fitzpatrick_scale:!1,category:"symbols"},JL={keywords:["sound","notification","christmas","xmas","chime"],char:"🔔",fitzpatrick_scale:!1,category:"symbols"},ZL={keywords:["sound","volume","mute","quiet","silent"],char:"🔕",fitzpatrick_scale:!1,category:"symbols"},e8={keywords:["poker","cards","game","play","magic"],char:"🃏",fitzpatrick_scale:!1,category:"symbols"},t8={keywords:["game","play","chinese","kanji"],char:"🀄",fitzpatrick_scale:!1,category:"symbols"},a8={keywords:["poker","cards","suits","magic"],char:"♠️",fitzpatrick_scale:!1,category:"symbols"},r8={keywords:["poker","cards","magic","suits"],char:"♣️",fitzpatrick_scale:!1,category:"symbols"},n8={keywords:["poker","cards","magic","suits"],char:"♥️",fitzpatrick_scale:!1,category:"symbols"},i8={keywords:["poker","cards","magic","suits"],char:"♦️",fitzpatrick_scale:!1,category:"symbols"},s8={keywords:["game","sunset","red"],char:"🎴",fitzpatrick_scale:!1,category:"symbols"},o8={keywords:["bubble","cloud","speech","thinking","dream"],char:"💭",fitzpatrick_scale:!1,category:"symbols"},c8={keywords:["caption","speech","thinking","mad"],char:"🗯",fitzpatrick_scale:!1,category:"symbols"},u8={keywords:["bubble","words","message","talk","chatting"],char:"💬",fitzpatrick_scale:!1,category:"symbols"},l8={keywords:["words","message","talk","chatting"],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"],char:"🕒",fitzpatrick_scale:!1,category:"symbols"},p8={keywords:["time","late","early","schedule"],char:"🕓",fitzpatrick_scale:!1,category:"symbols"},_8={keywords:["time","late","early","schedule"],char:"🕔",fitzpatrick_scale:!1,category:"symbols"},m8={keywords:["time","late","early","schedule","dawn","dusk"],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","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","noon","midnight","midday","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:["time","late","early","schedule"],char:"🕥",fitzpatrick_scale:!1,category:"symbols"},O8={keywords:["time","late","early","schedule"],char:"🕦",fitzpatrick_scale:!1,category:"symbols"},L8={keywords:["time","late","early","schedule"],char:"🕧",fitzpatrick_scale:!1,category:"symbols"},R8={keywords:["af","flag","nation","country","banner"],char:"🇦🇫",fitzpatrick_scale:!1,category:"flags"},v8={keywords:["Åland","islands","flag","nation","country","banner"],char:"🇦🇽",fitzpatrick_scale:!1,category:"flags"},B8={keywords:["al","flag","nation","country","banner"],char:"🇦🇱",fitzpatrick_scale:!1,category:"flags"},P8={keywords:["dz","flag","nation","country","banner"],char:"🇩🇿",fitzpatrick_scale:!1,category:"flags"},M8={keywords:["american","ws","flag","nation","country","banner"],char:"🇦🇸",fitzpatrick_scale:!1,category:"flags"},H8={keywords:["ad","flag","nation","country","banner"],char:"🇦🇩",fitzpatrick_scale:!1,category:"flags"},U8={keywords:["ao","flag","nation","country","banner"],char:"🇦🇴",fitzpatrick_scale:!1,category:"flags"},j8={keywords:["ai","flag","nation","country","banner"],char:"🇦🇮",fitzpatrick_scale:!1,category:"flags"},q8={keywords:["aq","flag","nation","country","banner"],char:"🇦🇶",fitzpatrick_scale:!1,category:"flags"},Y8={keywords:["antigua","barbuda","flag","nation","country","banner"],char:"🇦🇬",fitzpatrick_scale:!1,category:"flags"},$8={keywords:["ar","flag","nation","country","banner"],char:"🇦🇷",fitzpatrick_scale:!1,category:"flags"},V8={keywords:["am","flag","nation","country","banner"],char:"🇦🇲",fitzpatrick_scale:!1,category:"flags"},W8={keywords:["aw","flag","nation","country","banner"],char:"🇦🇼",fitzpatrick_scale:!1,category:"flags"},G8={keywords:["au","flag","nation","country","banner"],char:"🇦🇺",fitzpatrick_scale:!1,category:"flags"},Q8={keywords:["at","flag","nation","country","banner"],char:"🇦🇹",fitzpatrick_scale:!1,category:"flags"},X8={keywords:["az","flag","nation","country","banner"],char:"🇦🇿",fitzpatrick_scale:!1,category:"flags"},K8={keywords:["bs","flag","nation","country","banner"],char:"🇧🇸",fitzpatrick_scale:!1,category:"flags"},J8={keywords:["bh","flag","nation","country","banner"],char:"🇧🇭",fitzpatrick_scale:!1,category:"flags"},Z8={keywords:["bd","flag","nation","country","banner"],char:"🇧🇩",fitzpatrick_scale:!1,category:"flags"},eR={keywords:["bb","flag","nation","country","banner"],char:"🇧🇧",fitzpatrick_scale:!1,category:"flags"},tR={keywords:["by","flag","nation","country","banner"],char:"🇧🇾",fitzpatrick_scale:!1,category:"flags"},aR={keywords:["be","flag","nation","country","banner"],char:"🇧🇪",fitzpatrick_scale:!1,category:"flags"},rR={keywords:["bz","flag","nation","country","banner"],char:"🇧🇿",fitzpatrick_scale:!1,category:"flags"},nR={keywords:["bj","flag","nation","country","banner"],char:"🇧🇯",fitzpatrick_scale:!1,category:"flags"},iR={keywords:["bm","flag","nation","country","banner"],char:"🇧🇲",fitzpatrick_scale:!1,category:"flags"},sR={keywords:["bt","flag","nation","country","banner"],char:"🇧🇹",fitzpatrick_scale:!1,category:"flags"},oR={keywords:["bo","flag","nation","country","banner"],char:"🇧🇴",fitzpatrick_scale:!1,category:"flags"},cR={keywords:["bonaire","flag","nation","country","banner"],char:"🇧🇶",fitzpatrick_scale:!1,category:"flags"},uR={keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"🇧🇦",fitzpatrick_scale:!1,category:"flags"},lR={keywords:["bw","flag","nation","country","banner"],char:"🇧🇼",fitzpatrick_scale:!1,category:"flags"},fR={keywords:["br","flag","nation","country","banner"],char:"🇧🇷",fitzpatrick_scale:!1,category:"flags"},hR={keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"🇮🇴",fitzpatrick_scale:!1,category:"flags"},dR={keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"🇻🇬",fitzpatrick_scale:!1,category:"flags"},pR={keywords:["bn","darussalam","flag","nation","country","banner"],char:"🇧🇳",fitzpatrick_scale:!1,category:"flags"},_R={keywords:["bg","flag","nation","country","banner"],char:"🇧🇬",fitzpatrick_scale:!1,category:"flags"},mR={keywords:["burkina","faso","flag","nation","country","banner"],char:"🇧🇫",fitzpatrick_scale:!1,category:"flags"},gR={keywords:["bi","flag","nation","country","banner"],char:"🇧🇮",fitzpatrick_scale:!1,category:"flags"},yR={keywords:["cabo","verde","flag","nation","country","banner"],char:"🇨🇻",fitzpatrick_scale:!1,category:"flags"},kR={keywords:["kh","flag","nation","country","banner"],char:"🇰🇭",fitzpatrick_scale:!1,category:"flags"},bR={keywords:["cm","flag","nation","country","banner"],char:"🇨🇲",fitzpatrick_scale:!1,category:"flags"},wR={keywords:["ca","flag","nation","country","banner"],char:"🇨🇦",fitzpatrick_scale:!1,category:"flags"},ER={keywords:["canary","islands","flag","nation","country","banner"],char:"🇮🇨",fitzpatrick_scale:!1,category:"flags"},TR={keywords:["cayman","islands","flag","nation","country","banner"],char:"🇰🇾",fitzpatrick_scale:!1,category:"flags"},AR={keywords:["central","african","republic","flag","nation","country","banner"],char:"🇨🇫",fitzpatrick_scale:!1,category:"flags"},CR={keywords:["td","flag","nation","country","banner"],char:"🇹🇩",fitzpatrick_scale:!1,category:"flags"},xR={keywords:["flag","nation","country","banner"],char:"🇨🇱",fitzpatrick_scale:!1,category:"flags"},DR={keywords:["china","chinese","prc","flag","country","nation","banner"],char:"🇨🇳",fitzpatrick_scale:!1,category:"flags"},zR={keywords:["christmas","island","flag","nation","country","banner"],char:"🇨🇽",fitzpatrick_scale:!1,category:"flags"},IR={keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"🇨🇨",fitzpatrick_scale:!1,category:"flags"},SR={keywords:["co","flag","nation","country","banner"],char:"🇨🇴",fitzpatrick_scale:!1,category:"flags"},NR={keywords:["km","flag","nation","country","banner"],char:"🇰🇲",fitzpatrick_scale:!1,category:"flags"},FR={keywords:["congo","flag","nation","country","banner"],char:"🇨🇬",fitzpatrick_scale:!1,category:"flags"},OR={keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"🇨🇩",fitzpatrick_scale:!1,category:"flags"},LR={keywords:["cook","islands","flag","nation","country","banner"],char:"🇨🇰",fitzpatrick_scale:!1,category:"flags"},RR={keywords:["costa","rica","flag","nation","country","banner"],char:"🇨🇷",fitzpatrick_scale:!1,category:"flags"},vR={keywords:["hr","flag","nation","country","banner"],char:"🇭🇷",fitzpatrick_scale:!1,category:"flags"},BR={keywords:["cu","flag","nation","country","banner"],char:"🇨🇺",fitzpatrick_scale:!1,category:"flags"},PR={keywords:["curaçao","flag","nation","country","banner"],char:"🇨🇼",fitzpatrick_scale:!1,category:"flags"},MR={keywords:["cy","flag","nation","country","banner"],char:"🇨🇾",fitzpatrick_scale:!1,category:"flags"},HR={keywords:["cz","flag","nation","country","banner"],char:"🇨🇿",fitzpatrick_scale:!1,category:"flags"},UR={keywords:["dk","flag","nation","country","banner"],char:"🇩🇰",fitzpatrick_scale:!1,category:"flags"},jR={keywords:["dj","flag","nation","country","banner"],char:"🇩🇯",fitzpatrick_scale:!1,category:"flags"},qR={keywords:["dm","flag","nation","country","banner"],char:"🇩🇲",fitzpatrick_scale:!1,category:"flags"},YR={keywords:["dominican","republic","flag","nation","country","banner"],char:"🇩🇴",fitzpatrick_scale:!1,category:"flags"},$R={keywords:["ec","flag","nation","country","banner"],char:"🇪🇨",fitzpatrick_scale:!1,category:"flags"},VR={keywords:["eg","flag","nation","country","banner"],char:"🇪🇬",fitzpatrick_scale:!1,category:"flags"},WR={keywords:["el","salvador","flag","nation","country","banner"],char:"🇸🇻",fitzpatrick_scale:!1,category:"flags"},GR={keywords:["equatorial","gn","flag","nation","country","banner"],char:"🇬🇶",fitzpatrick_scale:!1,category:"flags"},QR={keywords:["er","flag","nation","country","banner"],char:"🇪🇷",fitzpatrick_scale:!1,category:"flags"},XR={keywords:["ee","flag","nation","country","banner"],char:"🇪🇪",fitzpatrick_scale:!1,category:"flags"},KR={keywords:["et","flag","nation","country","banner"],char:"🇪🇹",fitzpatrick_scale:!1,category:"flags"},JR={keywords:["european","union","flag","banner"],char:"🇪🇺",fitzpatrick_scale:!1,category:"flags"},ZR={keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"🇫🇰",fitzpatrick_scale:!1,category:"flags"},e5={keywords:["faroe","islands","flag","nation","country","banner"],char:"🇫🇴",fitzpatrick_scale:!1,category:"flags"},t5={keywords:["fj","flag","nation","country","banner"],char:"🇫🇯",fitzpatrick_scale:!1,category:"flags"},a5={keywords:["fi","flag","nation","country","banner"],char:"🇫🇮",fitzpatrick_scale:!1,category:"flags"},r5={keywords:["banner","flag","nation","france","french","country"],char:"🇫🇷",fitzpatrick_scale:!1,category:"flags"},n5={keywords:["french","guiana","flag","nation","country","banner"],char:"🇬🇫",fitzpatrick_scale:!1,category:"flags"},i5={keywords:["french","polynesia","flag","nation","country","banner"],char:"🇵🇫",fitzpatrick_scale:!1,category:"flags"},s5={keywords:["french","southern","territories","flag","nation","country","banner"],char:"🇹🇫",fitzpatrick_scale:!1,category:"flags"},o5={keywords:["ga","flag","nation","country","banner"],char:"🇬🇦",fitzpatrick_scale:!1,category:"flags"},c5={keywords:["gm","flag","nation","country","banner"],char:"🇬🇲",fitzpatrick_scale:!1,category:"flags"},u5={keywords:["ge","flag","nation","country","banner"],char:"🇬🇪",fitzpatrick_scale:!1,category:"flags"},l5={keywords:["german","nation","flag","country","banner"],char:"🇩🇪",fitzpatrick_scale:!1,category:"flags"},f5={keywords:["gh","flag","nation","country","banner"],char:"🇬🇭",fitzpatrick_scale:!1,category:"flags"},h5={keywords:["gi","flag","nation","country","banner"],char:"🇬🇮",fitzpatrick_scale:!1,category:"flags"},d5={keywords:["gr","flag","nation","country","banner"],char:"🇬🇷",fitzpatrick_scale:!1,category:"flags"},p5={keywords:["gl","flag","nation","country","banner"],char:"🇬🇱",fitzpatrick_scale:!1,category:"flags"},_5={keywords:["gd","flag","nation","country","banner"],char:"🇬🇩",fitzpatrick_scale:!1,category:"flags"},m5={keywords:["gp","flag","nation","country","banner"],char:"🇬🇵",fitzpatrick_scale:!1,category:"flags"},g5={keywords:["gu","flag","nation","country","banner"],char:"🇬🇺",fitzpatrick_scale:!1,category:"flags"},y5={keywords:["gt","flag","nation","country","banner"],char:"🇬🇹",fitzpatrick_scale:!1,category:"flags"},k5={keywords:["gg","flag","nation","country","banner"],char:"🇬🇬",fitzpatrick_scale:!1,category:"flags"},b5={keywords:["gn","flag","nation","country","banner"],char:"🇬🇳",fitzpatrick_scale:!1,category:"flags"},w5={keywords:["gw","bissau","flag","nation","country","banner"],char:"🇬🇼",fitzpatrick_scale:!1,category:"flags"},E5={keywords:["gy","flag","nation","country","banner"],char:"🇬🇾",fitzpatrick_scale:!1,category:"flags"},T5={keywords:["ht","flag","nation","country","banner"],char:"🇭🇹",fitzpatrick_scale:!1,category:"flags"},A5={keywords:["hn","flag","nation","country","banner"],char:"🇭🇳",fitzpatrick_scale:!1,category:"flags"},C5={keywords:["hong","kong","flag","nation","country","banner"],char:"🇭🇰",fitzpatrick_scale:!1,category:"flags"},x5={keywords:["hu","flag","nation","country","banner"],char:"🇭🇺",fitzpatrick_scale:!1,category:"flags"},D5={keywords:["is","flag","nation","country","banner"],char:"🇮🇸",fitzpatrick_scale:!1,category:"flags"},z5={keywords:["in","flag","nation","country","banner"],char:"🇮🇳",fitzpatrick_scale:!1,category:"flags"},I5={keywords:["flag","nation","country","banner"],char:"🇮🇩",fitzpatrick_scale:!1,category:"flags"},S5={keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"🇮🇷",fitzpatrick_scale:!1,category:"flags"},N5={keywords:["iq","flag","nation","country","banner"],char:"🇮🇶",fitzpatrick_scale:!1,category:"flags"},F5={keywords:["ie","flag","nation","country","banner"],char:"🇮🇪",fitzpatrick_scale:!1,category:"flags"},O5={keywords:["isle","man","flag","nation","country","banner"],char:"🇮🇲",fitzpatrick_scale:!1,category:"flags"},L5={keywords:["il","flag","nation","country","banner"],char:"🇮🇱",fitzpatrick_scale:!1,category:"flags"},R5={keywords:["italy","flag","nation","country","banner"],char:"🇮🇹",fitzpatrick_scale:!1,category:"flags"},v5={keywords:["ivory","coast","flag","nation","country","banner"],char:"🇨🇮",fitzpatrick_scale:!1,category:"flags"},B5={keywords:["jm","flag","nation","country","banner"],char:"🇯🇲",fitzpatrick_scale:!1,category:"flags"},P5={keywords:["japanese","nation","flag","country","banner"],char:"🇯🇵",fitzpatrick_scale:!1,category:"flags"},M5={keywords:["je","flag","nation","country","banner"],char:"🇯🇪",fitzpatrick_scale:!1,category:"flags"},H5={keywords:["jo","flag","nation","country","banner"],char:"🇯🇴",fitzpatrick_scale:!1,category:"flags"},U5={keywords:["kz","flag","nation","country","banner"],char:"🇰🇿",fitzpatrick_scale:!1,category:"flags"},j5={keywords:["ke","flag","nation","country","banner"],char:"🇰🇪",fitzpatrick_scale:!1,category:"flags"},q5={keywords:["ki","flag","nation","country","banner"],char:"🇰🇮",fitzpatrick_scale:!1,category:"flags"},Y5={keywords:["xk","flag","nation","country","banner"],char:"🇽🇰",fitzpatrick_scale:!1,category:"flags"},$5={keywords:["kw","flag","nation","country","banner"],char:"🇰🇼",fitzpatrick_scale:!1,category:"flags"},V5={keywords:["kg","flag","nation","country","banner"],char:"🇰🇬",fitzpatrick_scale:!1,category:"flags"},W5={keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"🇱🇦",fitzpatrick_scale:!1,category:"flags"},G5={keywords:["lv","flag","nation","country","banner"],char:"🇱🇻",fitzpatrick_scale:!1,category:"flags"},Q5={keywords:["lb","flag","nation","country","banner"],char:"🇱🇧",fitzpatrick_scale:!1,category:"flags"},X5={keywords:["ls","flag","nation","country","banner"],char:"🇱🇸",fitzpatrick_scale:!1,category:"flags"},K5={keywords:["lr","flag","nation","country","banner"],char:"🇱🇷",fitzpatrick_scale:!1,category:"flags"},J5={keywords:["ly","flag","nation","country","banner"],char:"🇱🇾",fitzpatrick_scale:!1,category:"flags"},Z5={keywords:["li","flag","nation","country","banner"],char:"🇱🇮",fitzpatrick_scale:!1,category:"flags"},e9={keywords:["lt","flag","nation","country","banner"],char:"🇱🇹",fitzpatrick_scale:!1,category:"flags"},t9={keywords:["lu","flag","nation","country","banner"],char:"🇱🇺",fitzpatrick_scale:!1,category:"flags"},a9={keywords:["macao","flag","nation","country","banner"],char:"🇲🇴",fitzpatrick_scale:!1,category:"flags"},r9={keywords:["macedonia,","flag","nation","country","banner"],char:"🇲🇰",fitzpatrick_scale:!1,category:"flags"},n9={keywords:["mg","flag","nation","country","banner"],char:"🇲🇬",fitzpatrick_scale:!1,category:"flags"},i9={keywords:["mw","flag","nation","country","banner"],char:"🇲🇼",fitzpatrick_scale:!1,category:"flags"},s9={keywords:["my","flag","nation","country","banner"],char:"🇲🇾",fitzpatrick_scale:!1,category:"flags"},o9={keywords:["mv","flag","nation","country","banner"],char:"🇲🇻",fitzpatrick_scale:!1,category:"flags"},c9={keywords:["ml","flag","nation","country","banner"],char:"🇲🇱",fitzpatrick_scale:!1,category:"flags"},u9={keywords:["mt","flag","nation","country","banner"],char:"🇲🇹",fitzpatrick_scale:!1,category:"flags"},l9={keywords:["marshall","islands","flag","nation","country","banner"],char:"🇲🇭",fitzpatrick_scale:!1,category:"flags"},f9={keywords:["mq","flag","nation","country","banner"],char:"🇲🇶",fitzpatrick_scale:!1,category:"flags"},h9={keywords:["mr","flag","nation","country","banner"],char:"🇲🇷",fitzpatrick_scale:!1,category:"flags"},d9={keywords:["mu","flag","nation","country","banner"],char:"🇲🇺",fitzpatrick_scale:!1,category:"flags"},p9={keywords:["yt","flag","nation","country","banner"],char:"🇾🇹",fitzpatrick_scale:!1,category:"flags"},_9={keywords:["mx","flag","nation","country","banner"],char:"🇲🇽",fitzpatrick_scale:!1,category:"flags"},m9={keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"🇫🇲",fitzpatrick_scale:!1,category:"flags"},g9={keywords:["moldova,","republic","flag","nation","country","banner"],char:"🇲🇩",fitzpatrick_scale:!1,category:"flags"},y9={keywords:["mc","flag","nation","country","banner"],char:"🇲🇨",fitzpatrick_scale:!1,category:"flags"},k9={keywords:["mn","flag","nation","country","banner"],char:"🇲🇳",fitzpatrick_scale:!1,category:"flags"},b9={keywords:["me","flag","nation","country","banner"],char:"🇲🇪",fitzpatrick_scale:!1,category:"flags"},w9={keywords:["ms","flag","nation","country","banner"],char:"🇲🇸",fitzpatrick_scale:!1,category:"flags"},E9={keywords:["ma","flag","nation","country","banner"],char:"🇲🇦",fitzpatrick_scale:!1,category:"flags"},T9={keywords:["mz","flag","nation","country","banner"],char:"🇲🇿",fitzpatrick_scale:!1,category:"flags"},A9={keywords:["mm","flag","nation","country","banner"],char:"🇲🇲",fitzpatrick_scale:!1,category:"flags"},C9={keywords:["na","flag","nation","country","banner"],char:"🇳🇦",fitzpatrick_scale:!1,category:"flags"},x9={keywords:["nr","flag","nation","country","banner"],char:"🇳🇷",fitzpatrick_scale:!1,category:"flags"},D9={keywords:["np","flag","nation","country","banner"],char:"🇳🇵",fitzpatrick_scale:!1,category:"flags"},z9={keywords:["nl","flag","nation","country","banner"],char:"🇳🇱",fitzpatrick_scale:!1,category:"flags"},I9={keywords:["new","caledonia","flag","nation","country","banner"],char:"🇳🇨",fitzpatrick_scale:!1,category:"flags"},S9={keywords:["new","zealand","flag","nation","country","banner"],char:"🇳🇿",fitzpatrick_scale:!1,category:"flags"},N9={keywords:["ni","flag","nation","country","banner"],char:"🇳🇮",fitzpatrick_scale:!1,category:"flags"},F9={keywords:["ne","flag","nation","country","banner"],char:"🇳🇪",fitzpatrick_scale:!1,category:"flags"},O9={keywords:["flag","nation","country","banner"],char:"🇳🇬",fitzpatrick_scale:!1,category:"flags"},L9={keywords:["nu","flag","nation","country","banner"],char:"🇳🇺",fitzpatrick_scale:!1,category:"flags"},R9={keywords:["norfolk","island","flag","nation","country","banner"],char:"🇳🇫",fitzpatrick_scale:!1,category:"flags"},v9={keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"🇲🇵",fitzpatrick_scale:!1,category:"flags"},B9={keywords:["north","korea","nation","flag","country","banner"],char:"🇰🇵",fitzpatrick_scale:!1,category:"flags"},P9={keywords:["no","flag","nation","country","banner"],char:"🇳🇴",fitzpatrick_scale:!1,category:"flags"},M9={keywords:["om_symbol","flag","nation","country","banner"],char:"🇴🇲",fitzpatrick_scale:!1,category:"flags"},H9={keywords:["pk","flag","nation","country","banner"],char:"🇵🇰",fitzpatrick_scale:!1,category:"flags"},U9={keywords:["pw","flag","nation","country","banner"],char:"🇵🇼",fitzpatrick_scale:!1,category:"flags"},j9={keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"🇵🇸",fitzpatrick_scale:!1,category:"flags"},q9={keywords:["pa","flag","nation","country","banner"],char:"🇵🇦",fitzpatrick_scale:!1,category:"flags"},Y9={keywords:["papua","new","guinea","flag","nation","country","banner"],char:"🇵🇬",fitzpatrick_scale:!1,category:"flags"},$9={keywords:["py","flag","nation","country","banner"],char:"🇵🇾",fitzpatrick_scale:!1,category:"flags"},V9={keywords:["pe","flag","nation","country","banner"],char:"🇵🇪",fitzpatrick_scale:!1,category:"flags"},W9={keywords:["ph","flag","nation","country","banner"],char:"🇵🇭",fitzpatrick_scale:!1,category:"flags"},G9={keywords:["pitcairn","flag","nation","country","banner"],char:"🇵🇳",fitzpatrick_scale:!1,category:"flags"},Q9={keywords:["pl","flag","nation","country","banner"],char:"🇵🇱",fitzpatrick_scale:!1,category:"flags"},X9={keywords:["pt","flag","nation","country","banner"],char:"🇵🇹",fitzpatrick_scale:!1,category:"flags"},K9={keywords:["puerto","rico","flag","nation","country","banner"],char:"🇵🇷",fitzpatrick_scale:!1,category:"flags"},J9={keywords:["qa","flag","nation","country","banner"],char:"🇶🇦",fitzpatrick_scale:!1,category:"flags"},Z9={keywords:["réunion","flag","nation","country","banner"],char:"🇷🇪",fitzpatrick_scale:!1,category:"flags"},ev={keywords:["ro","flag","nation","country","banner"],char:"🇷🇴",fitzpatrick_scale:!1,category:"flags"},tv={keywords:["russian","federation","flag","nation","country","banner"],char:"🇷🇺",fitzpatrick_scale:!1,category:"flags"},av={keywords:["rw","flag","nation","country","banner"],char:"🇷🇼",fitzpatrick_scale:!1,category:"flags"},rv={keywords:["saint","barthélemy","flag","nation","country","banner"],char:"🇧🇱",fitzpatrick_scale:!1,category:"flags"},nv={keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"🇸🇭",fitzpatrick_scale:!1,category:"flags"},iv={keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"🇰🇳",fitzpatrick_scale:!1,category:"flags"},sv={keywords:["saint","lucia","flag","nation","country","banner"],char:"🇱🇨",fitzpatrick_scale:!1,category:"flags"},ov={keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"🇵🇲",fitzpatrick_scale:!1,category:"flags"},cv={keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"🇻🇨",fitzpatrick_scale:!1,category:"flags"},uv={keywords:["ws","flag","nation","country","banner"],char:"🇼🇸",fitzpatrick_scale:!1,category:"flags"},lv={keywords:["san","marino","flag","nation","country","banner"],char:"🇸🇲",fitzpatrick_scale:!1,category:"flags"},fv={keywords:["sao","tome","principe","flag","nation","country","banner"],char:"🇸🇹",fitzpatrick_scale:!1,category:"flags"},hv={keywords:["flag","nation","country","banner"],char:"🇸🇦",fitzpatrick_scale:!1,category:"flags"},dv={keywords:["sn","flag","nation","country","banner"],char:"🇸🇳",fitzpatrick_scale:!1,category:"flags"},pv={keywords:["rs","flag","nation","country","banner"],char:"🇷🇸",fitzpatrick_scale:!1,category:"flags"},_v={keywords:["sc","flag","nation","country","banner"],char:"🇸🇨",fitzpatrick_scale:!1,category:"flags"},mv={keywords:["sierra","leone","flag","nation","country","banner"],char:"🇸🇱",fitzpatrick_scale:!1,category:"flags"},gv={keywords:["sg","flag","nation","country","banner"],char:"🇸🇬",fitzpatrick_scale:!1,category:"flags"},yv={keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"🇸🇽",fitzpatrick_scale:!1,category:"flags"},kv={keywords:["sk","flag","nation","country","banner"],char:"🇸🇰",fitzpatrick_scale:!1,category:"flags"},bv={keywords:["si","flag","nation","country","banner"],char:"🇸🇮",fitzpatrick_scale:!1,category:"flags"},wv={keywords:["solomon","islands","flag","nation","country","banner"],char:"🇸🇧",fitzpatrick_scale:!1,category:"flags"},Ev={keywords:["so","flag","nation","country","banner"],char:"🇸🇴",fitzpatrick_scale:!1,category:"flags"},Tv={keywords:["south","africa","flag","nation","country","banner"],char:"🇿🇦",fitzpatrick_scale:!1,category:"flags"},Av={keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"🇬🇸",fitzpatrick_scale:!1,category:"flags"},Cv={keywords:["south","korea","nation","flag","country","banner"],char:"🇰🇷",fitzpatrick_scale:!1,category:"flags"},xv={keywords:["south","sd","flag","nation","country","banner"],char:"🇸🇸",fitzpatrick_scale:!1,category:"flags"},Dv={keywords:["spain","flag","nation","country","banner"],char:"🇪🇸",fitzpatrick_scale:!1,category:"flags"},zv={keywords:["sri","lanka","flag","nation","country","banner"],char:"🇱🇰",fitzpatrick_scale:!1,category:"flags"},Iv={keywords:["sd","flag","nation","country","banner"],char:"🇸🇩",fitzpatrick_scale:!1,category:"flags"},Sv={keywords:["sr","flag","nation","country","banner"],char:"🇸🇷",fitzpatrick_scale:!1,category:"flags"},Nv={keywords:["sz","flag","nation","country","banner"],char:"🇸🇿",fitzpatrick_scale:!1,category:"flags"},Fv={keywords:["se","flag","nation","country","banner"],char:"🇸🇪",fitzpatrick_scale:!1,category:"flags"},Ov={keywords:["ch","flag","nation","country","banner"],char:"🇨🇭",fitzpatrick_scale:!1,category:"flags"},Lv={keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"🇸🇾",fitzpatrick_scale:!1,category:"flags"},Rv={keywords:["tw","flag","nation","country","banner"],char:"🇹🇼",fitzpatrick_scale:!1,category:"flags"},vv={keywords:["tj","flag","nation","country","banner"],char:"🇹🇯",fitzpatrick_scale:!1,category:"flags"},Bv={keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"🇹🇿",fitzpatrick_scale:!1,category:"flags"},Pv={keywords:["th","flag","nation","country","banner"],char:"🇹🇭",fitzpatrick_scale:!1,category:"flags"},Mv={keywords:["timor","leste","flag","nation","country","banner"],char:"🇹🇱",fitzpatrick_scale:!1,category:"flags"},Hv={keywords:["tg","flag","nation","country","banner"],char:"🇹🇬",fitzpatrick_scale:!1,category:"flags"},Uv={keywords:["tk","flag","nation","country","banner"],char:"🇹🇰",fitzpatrick_scale:!1,category:"flags"},jv={keywords:["to","flag","nation","country","banner"],char:"🇹🇴",fitzpatrick_scale:!1,category:"flags"},qv={keywords:["trinidad","tobago","flag","nation","country","banner"],char:"🇹🇹",fitzpatrick_scale:!1,category:"flags"},Yv={keywords:["tn","flag","nation","country","banner"],char:"🇹🇳",fitzpatrick_scale:!1,category:"flags"},$v={keywords:["turkey","flag","nation","country","banner"],char:"🇹🇷",fitzpatrick_scale:!1,category:"flags"},Vv={keywords:["flag","nation","country","banner"],char:"🇹🇲",fitzpatrick_scale:!1,category:"flags"},Wv={keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"🇹🇨",fitzpatrick_scale:!1,category:"flags"},Gv={keywords:["flag","nation","country","banner"],char:"🇹🇻",fitzpatrick_scale:!1,category:"flags"},Qv={keywords:["ug","flag","nation","country","banner"],char:"🇺🇬",fitzpatrick_scale:!1,category:"flags"},Xv={keywords:["ua","flag","nation","country","banner"],char:"🇺🇦",fitzpatrick_scale:!1,category:"flags"},Kv={keywords:["united","arab","emirates","flag","nation","country","banner"],char:"🇦🇪",fitzpatrick_scale:!1,category:"flags"},Jv={keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"🇬🇧",fitzpatrick_scale:!1,category:"flags"},Zv={keywords:["flag","english"],char:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",fitzpatrick_scale:!1,category:"flags"},eB={keywords:["flag","scottish"],char:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",fitzpatrick_scale:!1,category:"flags"},tB={keywords:["flag","welsh"],char:"🏴󠁧󠁢󠁷󠁬󠁳󠁿",fitzpatrick_scale:!1,category:"flags"},aB={keywords:["united","states","america","flag","nation","country","banner"],char:"🇺🇸",fitzpatrick_scale:!1,category:"flags"},rB={keywords:["virgin","islands","us","flag","nation","country","banner"],char:"🇻🇮",fitzpatrick_scale:!1,category:"flags"},nB={keywords:["uy","flag","nation","country","banner"],char:"🇺🇾",fitzpatrick_scale:!1,category:"flags"},iB={keywords:["uz","flag","nation","country","banner"],char:"🇺🇿",fitzpatrick_scale:!1,category:"flags"},sB={keywords:["vu","flag","nation","country","banner"],char:"🇻🇺",fitzpatrick_scale:!1,category:"flags"},oB={keywords:["vatican","city","flag","nation","country","banner"],char:"🇻🇦",fitzpatrick_scale:!1,category:"flags"},cB={keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"🇻🇪",fitzpatrick_scale:!1,category:"flags"},uB={keywords:["viet","nam","flag","nation","country","banner"],char:"🇻🇳",fitzpatrick_scale:!1,category:"flags"},lB={keywords:["wallis","futuna","flag","nation","country","banner"],char:"🇼🇫",fitzpatrick_scale:!1,category:"flags"},fB={keywords:["western","sahara","flag","nation","country","banner"],char:"🇪🇭",fitzpatrick_scale:!1,category:"flags"},hB={keywords:["ye","flag","nation","country","banner"],char:"🇾🇪",fitzpatrick_scale:!1,category:"flags"},dB={keywords:["zm","flag","nation","country","banner"],char:"🇿🇲",fitzpatrick_scale:!1,category:"flags"},pB={keywords:["zw","flag","nation","country","banner"],char:"🇿🇼",fitzpatrick_scale:!1,category:"flags"},_B={keywords:["un","flag","banner"],char:"🇺🇳",fitzpatrick_scale:!1,category:"flags"},mB={keywords:["skull","crossbones","flag","banner"],char:"🏴‍☠️",fitzpatrick_scale:!1,category:"flags"},gB={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:xg,grimacing:Dg,grin:zg,joy:Ig,rofl:Sg,partying:Ng,smiley:Fg,smile:Og,sweat_smile:Lg,laughing:Rg,innocent:vg,wink:Bg,blush:Pg,slightly_smiling_face:Mg,upside_down_face:Hg,relaxed:Ug,yum:jg,relieved:qg,heart_eyes:Yg,smiling_face_with_three_hearts:$g,kissing_heart:Vg,kissing:Wg,kissing_smiling_eyes:Gg,kissing_closed_eyes:Qg,stuck_out_tongue_winking_eye:Xg,zany:Kg,raised_eyebrow:Jg,monocle:Zg,stuck_out_tongue_closed_eyes:e0,stuck_out_tongue:t0,money_mouth_face:a0,nerd_face:r0,sunglasses:n0,star_struck:i0,clown_face:s0,cowboy_hat_face:o0,hugs:c0,smirk:u0,no_mouth:l0,neutral_face:f0,expressionless:h0,unamused:d0,roll_eyes:p0,thinking:_0,lying_face:m0,hand_over_mouth:g0,shushing:y0,symbols_over_mouth:k0,exploding_head:b0,flushed:w0,disappointed:E0,worried:T0,angry:A0,rage:C0,pensive:x0,confused:D0,slightly_frowning_face:z0,frowning_face:I0,persevere:S0,confounded:N0,tired_face:F0,weary:O0,pleading:L0,triumph:R0,open_mouth:v0,scream:B0,fearful:P0,cold_sweat:M0,hushed:H0,frowning:U0,anguished:j0,cry:q0,disappointed_relieved:Y0,drooling_face:$0,sleepy:V0,sweat:W0,hot:G0,cold:Q0,sob:X0,dizzy_face:K0,astonished:J0,zipper_mouth_face:Z0,nauseated_face:ey,sneezing_face:ty,vomiting:ay,mask:ry,face_with_thermometer:ny,face_with_head_bandage:iy,woozy:sy,sleeping:oy,zzz:cy,poop:uy,smiling_imp:ly,imp:fy,japanese_ogre:hy,japanese_goblin:dy,skull:py,ghost:_y,alien:my,robot:gy,smiley_cat:yy,smile_cat:ky,joy_cat:by,heart_eyes_cat:wy,smirk_cat:Ey,kissing_cat:Ty,scream_cat:Ay,crying_cat_face:Cy,pouting_cat:xy,palms_up:Dy,raised_hands:zy,clap:Iy,wave:Sy,call_me_hand:Ny,"+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:Fy,fist:Oy,fist_left:Ly,fist_right:Ry,v:vy,ok_hand:By,raised_hand:Py,raised_back_of_hand:My,open_hands:Hy,muscle:Uy,pray:jy,foot:qy,leg:Yy,handshake:$y,point_up:Vy,point_up_2:Wy,point_down:Gy,point_left:Qy,point_right:Xy,fu:Ky,raised_hand_with_fingers_splayed:Jy,love_you:Zy,metal:ek,crossed_fingers:tk,vulcan_salute:ak,writing_hand:rk,selfie:nk,nail_care:ik,lips:sk,tooth:ok,tongue:ck,ear:uk,nose:lk,eye:fk,eyes:hk,brain:dk,bust_in_silhouette:pk,busts_in_silhouette:_k,speaking_head:mk,baby:gk,child:yk,boy:kk,girl:bk,adult:wk,man:Ek,woman:Tk,blonde_woman:Ak,blonde_man:Ck,bearded_person:xk,older_adult:Dk,older_man:zk,older_woman:Ik,man_with_gua_pi_mao:Sk,woman_with_headscarf:Nk,woman_with_turban:Fk,man_with_turban:Ok,policewoman:Lk,policeman:Rk,construction_worker_woman:vk,construction_worker_man:Bk,guardswoman:Pk,guardsman:Mk,female_detective:Hk,male_detective:Uk,woman_health_worker:jk,man_health_worker:qk,woman_farmer:Yk,man_farmer:$k,woman_cook:Vk,man_cook:Wk,woman_student:Gk,man_student:Qk,woman_singer:Xk,man_singer:Kk,woman_teacher:Jk,man_teacher:Zk,woman_factory_worker:eb,man_factory_worker:tb,woman_technologist:ab,man_technologist:rb,woman_office_worker:nb,man_office_worker:ib,woman_mechanic:sb,man_mechanic:ob,woman_scientist:cb,man_scientist:ub,woman_artist:lb,man_artist:fb,woman_firefighter:hb,man_firefighter:db,woman_pilot:pb,man_pilot:_b,woman_astronaut:mb,man_astronaut:gb,woman_judge:yb,man_judge:kb,woman_superhero:bb,man_superhero:wb,woman_supervillain:Eb,man_supervillain:Tb,mrs_claus:Ab,santa:Cb,sorceress:xb,wizard:Db,woman_elf:zb,man_elf:Ib,woman_vampire:Sb,man_vampire:Nb,woman_zombie:Fb,man_zombie:Ob,woman_genie:Lb,man_genie:Rb,mermaid:vb,merman:Bb,woman_fairy:Pb,man_fairy:Mb,angel:Hb,pregnant_woman:Ub,breastfeeding:jb,princess:qb,prince:Yb,bride_with_veil:$b,man_in_tuxedo:Vb,running_woman:Wb,running_man:Gb,walking_woman:Qb,walking_man:Xb,dancer:Kb,man_dancing:Jb,dancing_women:Zb,dancing_men:e1,couple:t1,two_men_holding_hands:a1,two_women_holding_hands:r1,bowing_woman:n1,bowing_man:i1,man_facepalming:s1,woman_facepalming:o1,woman_shrugging:c1,man_shrugging:u1,tipping_hand_woman:l1,tipping_hand_man:f1,no_good_woman:h1,no_good_man:d1,ok_woman:p1,ok_man:_1,raising_hand_woman:m1,raising_hand_man:g1,pouting_woman:y1,pouting_man:k1,frowning_woman:b1,frowning_man:w1,haircut_woman:E1,haircut_man:T1,massage_woman:A1,massage_man:C1,woman_in_steamy_room:x1,man_in_steamy_room:D1,couple_with_heart_woman_man:z1,couple_with_heart_woman_woman:I1,couple_with_heart_man_man:S1,couplekiss_man_woman:N1,couplekiss_woman_woman:F1,couplekiss_man_man:O1,family_man_woman_boy:L1,family_man_woman_girl:R1,family_man_woman_girl_boy:v1,family_man_woman_boy_boy:B1,family_man_woman_girl_girl:P1,family_woman_woman_boy:M1,family_woman_woman_girl:H1,family_woman_woman_girl_boy:U1,family_woman_woman_boy_boy:j1,family_woman_woman_girl_girl:q1,family_man_man_boy:Y1,family_man_man_girl:$1,family_man_man_girl_boy:V1,family_man_man_boy_boy:W1,family_man_man_girl_girl:G1,family_woman_boy:Q1,family_woman_girl:X1,family_woman_girl_boy:K1,family_woman_boy_boy:J1,family_woman_girl_girl:Z1,family_man_boy:ew,family_man_girl:tw,family_man_girl_boy:aw,family_man_boy_boy:rw,family_man_girl_girl:nw,yarn:iw,thread:sw,coat:ow,labcoat:cw,womans_clothes:uw,tshirt:lw,jeans:fw,necktie:hw,dress:dw,bikini:pw,kimono:_w,lipstick:mw,kiss:gw,footprints:yw,flat_shoe:kw,high_heel:bw,sandal:ww,boot:Ew,mans_shoe:Tw,athletic_shoe:Aw,hiking_boot:Cw,socks:xw,gloves:Dw,scarf:zw,womans_hat:Iw,tophat:Sw,billed_hat:Nw,rescue_worker_helmet:Fw,mortar_board:Ow,crown:Lw,school_satchel:Rw,luggage:vw,pouch:Bw,purse:Pw,handbag:Mw,briefcase:Hw,eyeglasses:Uw,dark_sunglasses:jw,goggles:qw,ring:Yw,closed_umbrella:$w,dog:Vw,cat:Ww,mouse:Gw,hamster:Qw,rabbit:Xw,fox_face:Kw,bear:Jw,panda_face:Zw,koala:eE,tiger:tE,lion:aE,cow:rE,pig:nE,pig_nose:iE,frog:sE,squid:oE,octopus:cE,shrimp:uE,monkey_face:lE,gorilla:fE,see_no_evil:hE,hear_no_evil:dE,speak_no_evil:pE,monkey:_E,chicken:mE,penguin:gE,bird:yE,baby_chick:kE,hatching_chick:bE,hatched_chick:wE,duck:EE,eagle:TE,owl:AE,bat:CE,wolf:xE,boar:DE,horse:zE,unicorn:IE,honeybee:SE,bug:NE,butterfly:FE,snail:OE,beetle:LE,ant:RE,grasshopper:vE,spider:BE,scorpion:PE,crab:ME,snake:HE,lizard:UE,"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"🦖",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:jE,turtle:qE,tropical_fish:YE,fish:$E,blowfish:VE,dolphin:WE,shark:GE,whale:QE,whale2:XE,crocodile:KE,leopard:JE,zebra:ZE,tiger2:eT,water_buffalo:tT,ox:aT,cow2:rT,deer:nT,dromedary_camel:iT,camel:sT,giraffe:oT,elephant:cT,rhinoceros:uT,goat:lT,ram:fT,sheep:hT,racehorse:dT,pig2:pT,rat:_T,mouse2:mT,rooster:gT,turkey:yT,dove:kT,dog2:bT,poodle:wT,cat2:ET,rabbit2:TT,chipmunk:AT,hedgehog:CT,raccoon:xT,llama:DT,hippopotamus:zT,kangaroo:IT,badger:ST,swan:NT,peacock:FT,parrot:OT,lobster:LT,mosquito:RT,paw_prints:vT,dragon:BT,dragon_face:PT,cactus:MT,christmas_tree:HT,evergreen_tree:UT,deciduous_tree:jT,palm_tree:qT,seedling:YT,herb:$T,shamrock:VT,four_leaf_clover:WT,bamboo:GT,tanabata_tree:QT,leaves:XT,fallen_leaf:KT,maple_leaf:JT,ear_of_rice:ZT,hibiscus:eA,sunflower:tA,rose:aA,wilted_flower:rA,tulip:nA,blossom:iA,cherry_blossom:sA,bouquet:oA,mushroom:cA,chestnut:uA,jack_o_lantern:lA,shell:fA,spider_web:hA,earth_americas:dA,earth_africa:pA,earth_asia:_A,full_moon:mA,waning_gibbous_moon:gA,last_quarter_moon:yA,waning_crescent_moon:kA,new_moon:bA,waxing_crescent_moon:wA,first_quarter_moon:EA,waxing_gibbous_moon:TA,new_moon_with_face:AA,full_moon_with_face:CA,first_quarter_moon_with_face:xA,last_quarter_moon_with_face:DA,sun_with_face:zA,crescent_moon:IA,star:SA,star2:NA,dizzy:FA,sparkles:OA,comet:LA,sunny:RA,sun_behind_small_cloud:vA,partly_sunny:BA,sun_behind_large_cloud:PA,sun_behind_rain_cloud:MA,cloud:HA,cloud_with_rain:UA,cloud_with_lightning_and_rain:jA,cloud_with_lightning:qA,zap:YA,fire:$A,boom:VA,snowflake:WA,cloud_with_snow:GA,snowman:QA,snowman_with_snow:XA,wind_face:KA,dash:JA,tornado:ZA,fog:e2,open_umbrella:t2,umbrella:a2,droplet:r2,sweat_drops:n2,ocean:i2,green_apple:s2,apple:o2,pear:c2,tangerine:u2,lemon:l2,banana:f2,watermelon:h2,grapes:d2,strawberry:p2,melon:_2,cherries:m2,peach:g2,pineapple:y2,coconut:k2,kiwi_fruit:b2,mango:w2,avocado:E2,broccoli:T2,tomato:A2,eggplant:C2,cucumber:x2,carrot:D2,hot_pepper:z2,potato:I2,corn:S2,leafy_greens:N2,sweet_potato:F2,peanuts:O2,honey_pot:L2,croissant:R2,bread:v2,baguette_bread:B2,bagel:P2,pretzel:M2,cheese:H2,egg:U2,bacon:j2,steak:q2,pancakes:Y2,poultry_leg:$2,meat_on_bone:V2,bone:W2,fried_shrimp:G2,fried_egg:Q2,hamburger:X2,fries:K2,stuffed_flatbread:J2,hotdog:Z2,pizza:eC,sandwich:tC,canned_food:aC,spaghetti:rC,taco:nC,burrito:iC,green_salad:sC,shallow_pan_of_food:oC,ramen:cC,stew:uC,fish_cake:lC,fortune_cookie:fC,sushi:hC,bento:dC,curry:pC,rice_ball:_C,rice:mC,rice_cracker:gC,oden:yC,dango:kC,shaved_ice:bC,ice_cream:wC,icecream:EC,pie:TC,cake:AC,cupcake:CC,moon_cake:xC,birthday:DC,custard:zC,candy:IC,lollipop:SC,chocolate_bar:NC,popcorn:FC,dumpling:OC,doughnut:LC,cookie:RC,milk_glass:vC,beer:BC,beers:PC,clinking_glasses:MC,wine_glass:HC,tumbler_glass:UC,cocktail:jC,tropical_drink:qC,champagne:YC,sake:$C,tea:VC,cup_with_straw:WC,coffee:GC,baby_bottle:QC,salt:XC,spoon:KC,fork_and_knife:JC,plate_with_cutlery:ZC,bowl_with_spoon:e3,takeout_box:t3,chopsticks:a3,soccer:r3,basketball:n3,football:i3,baseball:s3,softball:o3,tennis:c3,volleyball:u3,rugby_football:l3,flying_disc:f3,"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"🎱",fitzpatrick_scale:!1,category:"activity"},golf:h3,golfing_woman:d3,golfing_man:p3,ping_pong:_3,badminton:m3,goal_net:g3,ice_hockey:y3,field_hockey:k3,lacrosse:b3,cricket:w3,ski:E3,skier:T3,snowboarder:A3,person_fencing:C3,women_wrestling:x3,men_wrestling:D3,woman_cartwheeling:z3,man_cartwheeling:I3,woman_playing_handball:S3,man_playing_handball:N3,ice_skate:F3,curling_stone:O3,skateboard:L3,sled:R3,bow_and_arrow:v3,fishing_pole_and_fish:B3,boxing_glove:P3,martial_arts_uniform:M3,rowing_woman:H3,rowing_man:U3,climbing_woman:j3,climbing_man:q3,swimming_woman:Y3,swimming_man:$3,woman_playing_water_polo:V3,man_playing_water_polo:W3,woman_in_lotus_position:G3,man_in_lotus_position:Q3,surfing_woman:X3,surfing_man:K3,bath:J3,basketball_woman:Z3,basketball_man:ex,weight_lifting_woman:tx,weight_lifting_man:ax,biking_woman:rx,biking_man:nx,mountain_biking_woman:ix,mountain_biking_man:sx,horse_racing:ox,business_suit_levitating:cx,trophy:ux,running_shirt_with_sash:lx,medal_sports:fx,medal_military:hx,"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:dx,rosette:px,ticket:_x,tickets:mx,performing_arts:gx,art:yx,circus_tent:kx,woman_juggling:bx,man_juggling:wx,microphone:Ex,headphones:Tx,musical_score:Ax,musical_keyboard:Cx,drum:xx,saxophone:Dx,trumpet:zx,guitar:Ix,violin:Sx,clapper:Nx,video_game:Fx,space_invader:Ox,dart:Lx,game_die:Rx,chess_pawn:vx,slot_machine:Bx,jigsaw:Px,bowling:Mx,red_car:Hx,taxi:Ux,blue_car:jx,bus:qx,trolleybus:Yx,racing_car:$x,police_car:Vx,ambulance:Wx,fire_engine:Gx,minibus:Qx,truck:Xx,articulated_lorry:Kx,tractor:Jx,kick_scooter:Zx,motorcycle:eD,bike:tD,motor_scooter:aD,rotating_light:rD,oncoming_police_car:nD,oncoming_bus:iD,oncoming_automobile:sD,oncoming_taxi:oD,aerial_tramway:cD,mountain_cableway:uD,suspension_railway:lD,railway_car:fD,train:hD,monorail:dD,bullettrain_side:pD,bullettrain_front:_D,light_rail:mD,mountain_railway:gD,steam_locomotive:yD,train2:kD,metro:bD,tram:wD,station:ED,flying_saucer:TD,helicopter:AD,small_airplane:CD,airplane:xD,flight_departure:DD,flight_arrival:zD,sailboat:ID,motor_boat:SD,speedboat:ND,ferry:FD,passenger_ship:OD,rocket:LD,artificial_satellite:RD,seat:vD,canoe:BD,anchor:PD,construction:MD,fuelpump:HD,busstop:UD,vertical_traffic_light:jD,traffic_light:qD,checkered_flag:YD,ship:$D,ferris_wheel:VD,roller_coaster:WD,carousel_horse:GD,building_construction:QD,foggy:XD,tokyo_tower:KD,factory:JD,fountain:ZD,rice_scene:e6,mountain:t6,mountain_snow:a6,mount_fuji:r6,volcano:n6,japan:i6,camping:s6,tent:o6,national_park:c6,motorway:u6,railway_track:l6,sunrise:f6,sunrise_over_mountains:h6,desert:d6,beach_umbrella:p6,desert_island:_6,city_sunrise:m6,city_sunset:g6,cityscape:y6,night_with_stars:k6,bridge_at_night:b6,milky_way:w6,stars:E6,sparkler:T6,fireworks:A6,rainbow:C6,houses:x6,european_castle:D6,japanese_castle:z6,stadium:I6,statue_of_liberty:S6,house:N6,house_with_garden:F6,derelict_house:O6,office:L6,department_store:R6,post_office:v6,european_post_office:B6,hospital:P6,bank:M6,hotel:H6,convenience_store:U6,school:j6,love_hotel:q6,wedding:Y6,classical_building:$6,church:V6,mosque:W6,synagogue:G6,kaaba:Q6,shinto_shrine:X6,watch:K6,iphone:J6,calling:Z6,computer:ez,keyboard:tz,desktop_computer:az,printer:rz,computer_mouse:nz,trackball:iz,joystick:sz,clamp:oz,minidisc:cz,floppy_disk:uz,cd:lz,dvd:fz,vhs:hz,camera:dz,camera_flash:pz,video_camera:_z,movie_camera:mz,film_projector:gz,film_strip:yz,telephone_receiver:kz,phone:bz,pager:wz,fax:Ez,tv:Tz,radio:Az,studio_microphone:Cz,level_slider:xz,control_knobs:Dz,compass:zz,stopwatch:Iz,timer_clock:Sz,alarm_clock:Nz,mantelpiece_clock:Fz,hourglass_flowing_sand:Oz,hourglass:Lz,satellite:Rz,battery:vz,electric_plug:Bz,bulb:Pz,flashlight:Mz,candle:Hz,fire_extinguisher:Uz,wastebasket:jz,oil_drum:qz,money_with_wings:Yz,dollar:$z,yen:Vz,euro:Wz,pound:Gz,moneybag:Qz,credit_card:Xz,gem:Kz,balance_scale:Jz,toolbox:Zz,wrench:eI,hammer:tI,hammer_and_pick:aI,hammer_and_wrench:rI,pick:nI,nut_and_bolt:iI,gear:sI,brick:oI,chains:cI,magnet:uI,gun:lI,bomb:fI,firecracker:hI,hocho:dI,dagger:pI,crossed_swords:_I,shield:mI,smoking:gI,skull_and_crossbones:yI,coffin:kI,funeral_urn:bI,amphora:wI,crystal_ball:EI,prayer_beads:TI,nazar_amulet:AI,barber:CI,alembic:xI,telescope:DI,microscope:zI,hole:II,pill:SI,syringe:NI,dna:FI,microbe:OI,petri_dish:LI,test_tube:RI,thermometer:vI,broom:BI,basket:PI,toilet_paper:MI,label:HI,bookmark:UI,toilet:jI,shower:qI,bathtub:YI,soap:$I,sponge:VI,lotion_bottle:WI,key:GI,old_key:QI,couch_and_lamp:XI,sleeping_bed:KI,bed:JI,door:ZI,bellhop_bell:eS,teddy_bear:tS,framed_picture:aS,world_map:rS,parasol_on_ground:nS,moyai:iS,shopping:sS,shopping_cart:oS,balloon:cS,flags:uS,ribbon:lS,gift:fS,confetti_ball:hS,tada:dS,dolls:pS,wind_chime:_S,crossed_flags:mS,izakaya_lantern:gS,red_envelope:yS,email:kS,envelope_with_arrow:bS,incoming_envelope:wS,"e-mail":{keywords:["communication","inbox"],char:"📧",fitzpatrick_scale:!1,category:"objects"},love_letter:ES,postbox:TS,mailbox_closed:AS,mailbox:CS,mailbox_with_mail:xS,mailbox_with_no_mail:DS,package:{keywords:["mail","gift","cardboard","box","moving"],char:"📦",fitzpatrick_scale:!1,category:"objects"},postal_horn:zS,inbox_tray:IS,outbox_tray:SS,scroll:NS,page_with_curl:FS,bookmark_tabs:OS,receipt:LS,bar_chart:RS,chart_with_upwards_trend:vS,chart_with_downwards_trend:BS,page_facing_up:PS,date:MS,calendar:HS,spiral_calendar:US,card_index:jS,card_file_box:qS,ballot_box:YS,file_cabinet:$S,clipboard:VS,spiral_notepad:WS,file_folder:GS,open_file_folder:QS,card_index_dividers:XS,newspaper_roll:KS,newspaper:JS,notebook:ZS,closed_book:eN,green_book:tN,blue_book:aN,orange_book:rN,notebook_with_decorative_cover:nN,ledger:iN,books:sN,open_book:oN,safety_pin:cN,link:uN,paperclip:lN,paperclips:fN,scissors:hN,triangular_ruler:dN,straight_ruler:pN,abacus:_N,pushpin:mN,round_pushpin:gN,triangular_flag_on_post:yN,white_flag:kN,black_flag:bN,rainbow_flag:wN,closed_lock_with_key:EN,lock:TN,unlock:AN,lock_with_ink_pen:CN,pen:xN,fountain_pen:DN,black_nib:zN,memo:IN,pencil2:SN,crayon:NN,paintbrush:FN,mag:ON,mag_right:LN,heart:RN,orange_heart:vN,yellow_heart:BN,green_heart:PN,blue_heart:MN,purple_heart:HN,black_heart:UN,broken_heart:jN,heavy_heart_exclamation:qN,two_hearts:YN,revolving_hearts:$N,heartbeat:VN,heartpulse:WN,sparkling_heart:GN,cupid:QN,gift_heart:XN,heart_decoration:KN,peace_symbol:JN,latin_cross:ZN,star_and_crescent:e4,om:t4,wheel_of_dharma:a4,star_of_david:r4,six_pointed_star:n4,menorah:i4,yin_yang:s4,orthodox_cross:o4,place_of_worship:c4,ophiuchus:u4,aries:l4,taurus:f4,gemini:h4,cancer:d4,leo:p4,virgo:_4,libra:m4,scorpius:g4,sagittarius:y4,capricorn:k4,aquarius:b4,pisces:w4,id:E4,atom_symbol:T4,u7a7a:A4,u5272:C4,radioactive:x4,biohazard:D4,mobile_phone_off:z4,vibration_mode:I4,u6709:S4,u7121:N4,u7533:F4,u55b6:O4,u6708:L4,eight_pointed_black_star:R4,vs:v4,accept:B4,white_flower:P4,ideograph_advantage:M4,secret:H4,congratulations:U4,u5408:j4,u6e80:q4,u7981:Y4,a:$4,b:V4,ab:W4,cl:G4,o2:Q4,sos:X4,no_entry:K4,name_badge:J4,no_entry_sign:Z4,x:eF,o:tF,stop_sign:aF,anger:rF,hotsprings:nF,no_pedestrians:iF,do_not_litter:sF,no_bicycles:oF,"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"🚱",fitzpatrick_scale:!1,category:"symbols"},underage:cF,no_mobile_phones:uF,exclamation:lF,grey_exclamation:fF,question:hF,grey_question:dF,bangbang:pF,interrobang:_F,low_brightness:mF,high_brightness:gF,trident:yF,fleur_de_lis:kF,part_alternation_mark:bF,warning:wF,children_crossing:EF,beginner:TF,recycle:AF,u6307:CF,chart:xF,sparkle:DF,eight_spoked_asterisk:zF,negative_squared_cross_mark:IF,white_check_mark:SF,diamond_shape_with_a_dot_inside:NF,cyclone:FF,loop:OF,globe_with_meridians:LF,m:RF,atm:vF,sa:BF,passport_control:PF,customs:MF,baggage_claim:HF,left_luggage:UF,wheelchair:jF,no_smoking:qF,wc:YF,parking:$F,potable_water:VF,mens:WF,womens:GF,baby_symbol:QF,restroom:XF,put_litter_in_its_place:KF,cinema:JF,signal_strength:ZF,koko:eO,ng:tO,ok:aO,up:rO,cool:nO,new:{keywords:["blue-square","words","start"],char:"🆕",fitzpatrick_scale:!1,category:"symbols"},free:iO,zero:sO,one:oO,two:cO,three:uO,four:lO,five:fO,six:hO,seven:dO,eight:pO,nine:_O,keycap_ten:mO,asterisk:gO,eject_button:yO,arrow_forward:kO,pause_button:bO,next_track_button:wO,stop_button:EO,record_button:TO,play_or_pause_button:AO,previous_track_button:CO,fast_forward:xO,rewind:DO,twisted_rightwards_arrows:zO,repeat:IO,repeat_one:SO,arrow_backward:NO,arrow_up_small:FO,arrow_down_small:OO,arrow_double_up:LO,arrow_double_down:RO,arrow_right:vO,arrow_left:BO,arrow_up:PO,arrow_down:MO,arrow_upper_right:HO,arrow_lower_right:UO,arrow_lower_left:jO,arrow_upper_left:qO,arrow_up_down:YO,left_right_arrow:$O,arrows_counterclockwise:VO,arrow_right_hook:WO,leftwards_arrow_with_hook:GO,arrow_heading_up:QO,arrow_heading_down:XO,hash:KO,information_source:JO,abc:ZO,abcd:eL,capital_abcd:tL,symbols:aL,musical_note:rL,notes:nL,wavy_dash:iL,curly_loop:sL,heavy_check_mark:oL,arrows_clockwise:cL,heavy_plus_sign:uL,heavy_minus_sign:lL,heavy_division_sign:fL,heavy_multiplication_x:hL,infinity:dL,heavy_dollar_sign:pL,currency_exchange:_L,copyright:mL,registered:gL,tm:yL,end:kL,back:bL,on:wL,top:EL,soon:TL,ballot_box_with_check:AL,radio_button:CL,white_circle:xL,black_circle:DL,red_circle:zL,large_blue_circle:IL,small_orange_diamond:SL,small_blue_diamond:NL,large_orange_diamond:FL,large_blue_diamond:OL,small_red_triangle:LL,black_small_square:RL,white_small_square:vL,black_large_square:BL,white_large_square:PL,small_red_triangle_down:ML,black_medium_square:HL,white_medium_square:UL,black_medium_small_square:jL,white_medium_small_square:qL,black_square_button:YL,white_square_button:$L,speaker:VL,sound:WL,loud_sound:GL,mute:QL,mega:XL,loudspeaker:KL,bell:JL,no_bell:ZL,black_joker:e8,mahjong:t8,spades:a8,clubs:r8,hearts:n8,diamonds:i8,flower_playing_cards:s8,thought_balloon:o8,right_anger_bubble:c8,speech_balloon:u8,left_speech_bubble:l8,clock1:f8,clock2:h8,clock3:d8,clock4:p8,clock5:_8,clock6:m8,clock7:g8,clock8:y8,clock9:k8,clock10:b8,clock11:w8,clock12:E8,clock130:T8,clock230:A8,clock330:C8,clock430:x8,clock530:D8,clock630:z8,clock730:I8,clock830:S8,clock930:N8,clock1030:F8,clock1130:O8,clock1230:L8,afghanistan:R8,aland_islands:v8,albania:B8,algeria:P8,american_samoa:M8,andorra:H8,angola:U8,anguilla:j8,antarctica:q8,antigua_barbuda:Y8,argentina:$8,armenia:V8,aruba:W8,australia:G8,austria:Q8,azerbaijan:X8,bahamas:K8,bahrain:J8,bangladesh:Z8,barbados:eR,belarus:tR,belgium:aR,belize:rR,benin:nR,bermuda:iR,bhutan:sR,bolivia:oR,caribbean_netherlands:cR,bosnia_herzegovina:uR,botswana:lR,brazil:fR,british_indian_ocean_territory:hR,british_virgin_islands:dR,brunei:pR,bulgaria:_R,burkina_faso:mR,burundi:gR,cape_verde:yR,cambodia:kR,cameroon:bR,canada:wR,canary_islands:ER,cayman_islands:TR,central_african_republic:AR,chad:CR,chile:xR,cn:DR,christmas_island:zR,cocos_islands:IR,colombia:SR,comoros:NR,congo_brazzaville:FR,congo_kinshasa:OR,cook_islands:LR,costa_rica:RR,croatia:vR,cuba:BR,curacao:PR,cyprus:MR,czech_republic:HR,denmark:UR,djibouti:jR,dominica:qR,dominican_republic:YR,ecuador:$R,egypt:VR,el_salvador:WR,equatorial_guinea:GR,eritrea:QR,estonia:XR,ethiopia:KR,eu:JR,falkland_islands:ZR,faroe_islands:e5,fiji:t5,finland:a5,fr:r5,french_guiana:n5,french_polynesia:i5,french_southern_territories:s5,gabon:o5,gambia:c5,georgia:u5,de:l5,ghana:f5,gibraltar:h5,greece:d5,greenland:p5,grenada:_5,guadeloupe:m5,guam:g5,guatemala:y5,guernsey:k5,guinea:b5,guinea_bissau:w5,guyana:E5,haiti:T5,honduras:A5,hong_kong:C5,hungary:x5,iceland:D5,india:z5,indonesia:I5,iran:S5,iraq:N5,ireland:F5,isle_of_man:O5,israel:L5,it:R5,cote_divoire:v5,jamaica:B5,jp:P5,jersey:M5,jordan:H5,kazakhstan:U5,kenya:j5,kiribati:q5,kosovo:Y5,kuwait:$5,kyrgyzstan:V5,laos:W5,latvia:G5,lebanon:Q5,lesotho:X5,liberia:K5,libya:J5,liechtenstein:Z5,lithuania:e9,luxembourg:t9,macau:a9,macedonia:r9,madagascar:n9,malawi:i9,malaysia:s9,maldives:o9,mali:c9,malta:u9,marshall_islands:l9,martinique:f9,mauritania:h9,mauritius:d9,mayotte:p9,mexico:_9,micronesia:m9,moldova:g9,monaco:y9,mongolia:k9,montenegro:b9,montserrat:w9,morocco:E9,mozambique:T9,myanmar:A9,namibia:C9,nauru:x9,nepal:D9,netherlands:z9,new_caledonia:I9,new_zealand:S9,nicaragua:N9,niger:F9,nigeria:O9,niue:L9,norfolk_island:R9,northern_mariana_islands:v9,north_korea:B9,norway:P9,oman:M9,pakistan:H9,palau:U9,palestinian_territories:j9,panama:q9,papua_new_guinea:Y9,paraguay:$9,peru:V9,philippines:W9,pitcairn_islands:G9,poland:Q9,portugal:X9,puerto_rico:K9,qatar:J9,reunion:Z9,romania:ev,ru:tv,rwanda:av,st_barthelemy:rv,st_helena:nv,st_kitts_nevis:iv,st_lucia:sv,st_pierre_miquelon:ov,st_vincent_grenadines:cv,samoa:uv,san_marino:lv,sao_tome_principe:fv,saudi_arabia:hv,senegal:dv,serbia:pv,seychelles:_v,sierra_leone:mv,singapore:gv,sint_maarten:yv,slovakia:kv,slovenia:bv,solomon_islands:wv,somalia:Ev,south_africa:Tv,south_georgia_south_sandwich_islands:Av,kr:Cv,south_sudan:xv,es:Dv,sri_lanka:zv,sudan:Iv,suriname:Sv,swaziland:Nv,sweden:Fv,switzerland:Ov,syria:Lv,taiwan:Rv,tajikistan:vv,tanzania:Bv,thailand:Pv,timor_leste:Mv,togo:Hv,tokelau:Uv,tonga:jv,trinidad_tobago:qv,tunisia:Yv,tr:$v,turkmenistan:Vv,turks_caicos_islands:Wv,tuvalu:Gv,uganda:Qv,ukraine:Xv,united_arab_emirates:Kv,uk:Jv,england:Zv,scotland:eB,wales:tB,us:aB,us_virgin_islands:rB,uruguay:nB,uzbekistan:iB,vanuatu:sB,vatican_city:oB,venezuela:cB,vietnam:uB,wallis_futuna:lB,western_sahara:fB,yemen:hB,zambia:dB,zimbabwe:pB,united_nations:_B,pirate_flag:mB},yB=["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 kB={lib:gB,ordered:yB,fitzpatrick_scale_modifiers:["🏻","🏼","🏽","🏾","🏿"]};const bB=en(kB);var wB=()=>{const e="\\ud800-\\udfff",i="\\u0300-\\u036f"+"\\ufe20-\\ufe2f"+"\\u20d0-\\u20ff"+"\\u1ab0-\\u1aff"+"\\u1dc0-\\u1dff",o="\\ufe0e\\ufe0f",u="\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83C\\uDF93",l=`[${e}]`,p=`[${i}]`,h="\\ud83c[\\udffb-\\udfff]",f=`(?:${p}|${h})`,_=`[^${e}]`,y="(?:\\uD83C[\\uDDE6-\\uDDFF]){2}",b="[\\ud800-\\udbff][\\udc00-\\udfff]",C="\\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}?`,M=`[${o}]?`,N=`(?:${C}(?:${[_,y,b].join("|")})${M+O})*`,d=M+O+N,U=`(?:${[`${_}${p}?`,p,y,b,l,S].join("|")})`;return new RegExp(`${A}|${h}(?=${h})|${U+d}`,"g")};const EB=en(wB);EB();var TB="️",AB=new RegExp(TB,"g");function CB(e){return e.replace(AB,"")}function xB(e){return/:.+:/.test(e)?e.slice(1,-1):e}var Go=Object.entries(bB.lib).map(([e,{char:t}])=>[e,t]),DB=new Map(Go);new Map(Go.map(([e,t])=>[CB(t),e]));var zB=e=>(Cg.assert.string(e),DB.get(xB(e)));const Hi=[{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=M+1:(y!==M&&S.push({type:"text",value:l.value.slice(y,M)}),Array.isArray(d)?S.push(...d):d&&S.push(d),y=M+O[0].length,A=!0),!f.global)break;O=f.exec(l.value)}return A?(y038BOopPsSdDxXzZ]{2,5}/g,RB=/(?:_|-(?!1))/g,vB={padSpaceAfter:!1,emoticon:!1,accessible:!1};function BB(e){const t=Object.assign({},vB,e),a=!!t.padSpaceAfter,r=!!t.emoticon,n=!!t.accessible;function s(p,h){return{type:"text",meta:null,value:p,data:{hName:"span",hProperties:{role:"img",ariaLabel:h},hChildren:[{type:"text",value:p}]}}}function i(p){const h=Hi.find(A=>A.emoticons.includes(p)),f=Hi.find(A=>A.emoticons.includes(p.slice(0,-1))),_=h||f;if(!_)return!1;const y=!h&&f?p.slice(-1):"",b=a?" ":"",C=_.emoji+b+y;return n?s(C,_.name+" emoticon"):C}function o(p){let h=zB(p);if(typeof h>"u")return!1;if(a&&(h=h+" "),n){const f=p.slice(1,-1).replace(RB," ")+" emoji";return s(h,f)}return h}const u=[[OB,o]];r&&u.push([LB,i]);function l(p){Qo(p,u)}return l}function Ui(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 kr="phrasing",br=["autolink","link","image","label"];function PB(){return{transforms:[$B],enter:{literalAutolink:HB,literalAutolinkEmail:wr,literalAutolinkHttp:wr,literalAutolinkWww:wr},exit:{literalAutolink:YB,literalAutolinkEmail:qB,literalAutolinkHttp:UB,literalAutolinkWww:jB}}}function MB(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:kr,notInConstruct:br},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:kr,notInConstruct:br},{character:":",before:"[ps]",after:"\\/",inConstruct:kr,notInConstruct:br}]}}function HB(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function wr(e){this.config.enter.autolinkProtocol.call(this,e)}function UB(e){this.config.exit.autolinkProtocol.call(this,e)}function jB(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 qB(e){this.config.exit.autolinkEmail.call(this,e)}function YB(e){this.exit(e)}function $B(e){Qo(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,VB],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,WB]],{ignore:["link","linkReference"]})}function VB(e,t,a,r,n){let s="";if(!Xo(n)||(/^w/i.test(t)&&(a=t+a,t="",s="http://"),!GB(a)))return!1;const i=QB(a+r);if(!i[0])return!1;const o={type:"link",title:null,url:s+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[o,{type:"text",value:i[1]}]:o}function WB(e,t,a,r){return!Xo(r,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+a,children:[{type:"text",value:t+"@"+a}]}}function GB(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 QB(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=Ui(e,"(");let s=Ui(e,")");for(;r!==-1&&n>s;)e+=a.slice(0,r+1),a=a.slice(r+1),r=a.indexOf(")"),s++;return[e,a]}function Xo(e,t){const a=e.input.charCodeAt(e.index-1);return(e.index===0||Et(a)||Va(a))&&(!t||a!==47)}Ko.peek=sP;function XB(){return{enter:{gfmFootnoteDefinition:JB,gfmFootnoteDefinitionLabelString:ZB,gfmFootnoteCall:aP,gfmFootnoteCallString:rP},exit:{gfmFootnoteDefinition:tP,gfmFootnoteDefinitionLabelString:eP,gfmFootnoteCall:iP,gfmFootnoteCallString:nP}}}function KB(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:oP,footnoteReference:Ko}}}function JB(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ZB(){this.buffer()}function eP(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 tP(e){this.exit(e)}function aP(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function rP(){this.buffer()}function nP(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 iP(e){this.exit(e)}function Ko(e,t,a,r){const n=a.createTracker(r);let s=n.move("[^");const i=a.enter("footnoteReference"),o=a.enter("reference");return s+=n.move(a.safe(a.associationId(e),{...n.current(),before:s,after:"]"})),o(),i(),s+=n.move("]"),s}function sP(){return"["}function oP(e,t,a,r){const n=a.createTracker(r);let s=n.move("[^");const i=a.enter("footnoteDefinition"),o=a.enter("label");return s+=n.move(a.safe(a.associationId(e),{...n.current(),before:s,after:"]"})),o(),s+=n.move("]:"+(e.children&&e.children.length>0?" ":"")),n.shift(4),s+=n.move(a.indentLines(a.containerFlow(e,n.current()),cP)),i(),s}function cP(e,t,a){return t===0?e:(a?"":" ")+e}const uP=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Jo.peek=pP;function lP(){return{canContainEols:["delete"],enter:{strikethrough:hP},exit:{strikethrough:dP}}}function fP(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:uP}],handlers:{delete:Jo}}}function hP(e){this.enter({type:"delete",children:[]},e)}function dP(e){this.exit(e)}function Jo(e,t,a,r){const n=a.createTracker(r),s=a.enter("strikethrough");let i=n.move("~~");return i+=a.containerPhrasing(e,{...n.current(),before:i,after:"~"}),i+=n.move("~~"),s(),i}function pP(){return"~"}function _P(e,t={}){const a=(t.align||[]).concat(),r=t.stringLength||gP,n=[],s=[],i=[],o=[];let u=0,l=-1;for(;++lu&&(u=e[l].length);++Co[C])&&(o[C]=S)}y.push(A)}s[l]=y,i[l]=b}let p=-1;if(typeof a=="object"&&"length"in a)for(;++po[p]&&(o[p]=A),f[p]=A),h[p]=S}s.splice(1,0,h),i.splice(1,0,f),l=-1;const _=[];for(;++l0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const jP={tokenize:XP,partial:!0};function qP(){return{document:{91:{tokenize:WP,continuation:{tokenize:GP},exit:QP}},text:{91:{tokenize:VP},93:{add:"after",tokenize:YP,resolveTo:$P}}}}function YP(e,t,a){const r=this;let n=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;n--;){const u=r.events[n][1];if(u.type==="labelImage"){i=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(!i||!i._balanced)return a(u);const l=Pe(r.sliceSerialize({start:i.end,end:r.now()}));return l.codePointAt(0)!==94||!s.includes(l.slice(1))?a(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function $P(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 s={type:"gfmFootnoteCallString",start:Object.assign({},n.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},o=[e[a+1],e[a+2],["enter",r,t],e[a+3],e[a+4],["enter",n,t],["exit",n,t],["enter",s,t],["enter",i,t],["exit",i,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(a,e.length-a+1,...o),e}function VP(e,t,a){const r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,i;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(s>999||h===93&&!i||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)||(i=!0),s++,e.consume(h),h===92?p:l}function p(h){return h===91||h===92||h===93?(e.consume(h),s++,l):l(h)}}function WP(e,t,a){const r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,i=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(i>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 s=Pe(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return ae(y)||(o=!0),i++,e.consume(y),y===92?h:p}function h(y){return y===91||y===92||y===93?(e.consume(y),i++,p):p(y)}function f(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),n.includes(s)||n.push(s),G(e,_,"gfmFootnoteDefinitionWhitespace")):a(y)}function _(y){return t(y)}}function GP(e,t,a){return e.check(ma,t,e.attempt(jP,t,a))}function QP(e){e.exit("gfmFootnoteDefinition")}function XP(e,t,a){const r=this;return G(e,n,"gfmFootnoteDefinitionIndent",5);function n(s){const i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?t(s):a(s)}}function KP(e){let a=(e||{}).singleTilde;const r={tokenize:s,resolveAll:n};return a==null&&(a=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function n(i,o){let u=-1;for(;++u1?u(y):(i.consume(y),h++,_);if(h<2&&!a)return u(y);const C=i.exit("strikethroughSequenceTemporary"),A=Fa(y);return C._open=!A||A===2&&!!b,C._close=!b||b===2&&!!A,o(y)}}}class JP{constructor(){this.map=[]}add(t,a,r){ZP(this,t,a,r)}consume(t){if(this.map.sort(function(s,i){return s[0]-i[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 ZP(e,t,a,r){let n=0;if(!(a===0&&r.length===0)){for(;n-1;){const te=r.events[I][1].type;if(te==="lineEnding"||te==="linePrefix")I--;else break}const P=I>-1?r.events[I][1].type:null,Q=P==="tableHead"||P==="tableRow"?d:u;return Q===d&&r.parser.lazy[r.now().line]?a(D):Q(D)}function u(D){return e.enter("tableHead"),e.enter("tableRow"),l(D)}function l(D){return D===124||(i=!0,s+=1),p(D)}function p(D){return D===null?a(D):Y(D)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),_):a(D):X(D)?G(e,p,"whitespace")(D):(s+=1,i&&(i=!1,n+=1),D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),i=!0,p):(e.enter("data"),h(D)))}function h(D){return D===null||D===124||ae(D)?(e.exit("data"),p(D)):(e.consume(D),D===92?f:h)}function f(D){return D===92||D===124?(e.consume(D),h):h(D)}function _(D){return r.interrupt=!1,r.parser.lazy[r.now().line]?a(D):(e.enter("tableDelimiterRow"),i=!1,X(D)?G(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):y(D))}function y(D){return D===45||D===58?C(D):D===124?(i=!0,e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),b):N(D)}function b(D){return X(D)?G(e,C,"whitespace")(D):C(D)}function C(D){return D===58?(s+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),A):D===45?(s+=1,A(D)):D===null||Y(D)?M(D):N(D)}function A(D){return D===45?(e.enter("tableDelimiterFiller"),S(D)):N(D)}function S(D){return D===45?(e.consume(D),S):D===58?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),O):(e.exit("tableDelimiterFiller"),O(D))}function O(D){return X(D)?G(e,M,"whitespace")(D):M(D)}function M(D){return D===124?y(D):D===null||Y(D)?!i||n!==s?N(D):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(D)):N(D)}function N(D){return a(D)}function d(D){return e.enter("tableRow"),z(D)}function z(D){return D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),z):D===null||Y(D)?(e.exit("tableRow"),t(D)):X(D)?G(e,z,"whitespace")(D):(e.enter("data"),U(D))}function U(D){return D===null||D===124||ae(D)?(e.exit("data"),z(D)):(e.consume(D),D===92?$:U)}function $(D){return D===92||D===124?(e.consume(D),U):U(D)}}function rM(e,t){let a=-1,r=!0,n=0,s=[0,0,0,0],i=[0,0,0,0],o=!1,u=0,l,p,h;const f=new JP;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&&(s.end=Object.assign({},St(t.events,n)),e.add(n,0,[["exit",s,t]]),s=void 0),s}function $i(e,t,a,r,n){const s=[],i=St(t.events,a);n&&(n.end=Object.assign({},i),s.push(["exit",n,t])),r.end=Object.assign({},i),s.push(["exit",r,t]),e.add(a+1,0,s)}function St(e,t){const a=e[t],r=a[0]==="enter"?"start":"end";return a[1][r]}const nM={tokenize:sM};function iM(){return{text:{91:nM}}}function sM(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"),s)}function s(u){return ae(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),i):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),i):a(u)}function i(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:oM},t,a)(u):a(u)}}function oM(e,t,a){return G(e,r,"whitespace");function r(n){return n===null?a(n):t(n)}}function cM(e){return _s([OP(),qP(),KP(e),tM(),iM()])}const uM={};function lM(e){const t=this,a=e||uM,r=t.data(),n=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),i=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);n.push(cM(a)),s.push(IP()),i.push(SP(a))}const fM=function(e,t,a,r,n){const s=bn(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 oc(e)?s.call(n,e,a,r):!1},bn=function(e){if(e==null)return pM;if(typeof e=="string")return dM(e);if(typeof e=="object")return hM(e);if(typeof e=="function")return wn(e);throw new Error("Expected function, string, or array as `test`")};function hM(e){const t=[];let a=-1;for(;++a0&&(s.properties.rel=[...f]),_&&(s.properties.target=_),p){const b=Gt(t.contentProperties,s)||{};s.children.push({type:"element",tagName:"span",properties:Xe(b),children:Xe(p)})}}}})}}function Gt(e,t){return typeof e=="function"?e(t):e}const Vi={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 TM(){return function(e){const t=new Map,a=[];Ke(e,"element",function(s){let i;for(i in s.properties)if(Object.hasOwn(s.properties,i)){const o=s.properties[i];Object.hasOwn(Vi,i)&&fM(s,Vi[i])&&Array.isArray(o)&&r(i,o)}}),n();function r(s,i){let o=-1,u=t.get(s);for(u||(u=new Map,t.set(s,u));++o-1&&ss)return{line:i+1,column:s-(i>0?a[i-1]:0)+1,offset:s}}}function n(s){const i=s&&s.line,o=s&&s.column;if(typeof i=="number"&&typeof o=="number"&&!Number.isNaN(i)&&!Number.isNaN(o)&&i-1 in a){const u=(a[i-2]||0)+o-1||0;if(u>-1&&u=55296&&e<=57343}function JM(e){return e>=56320&&e<=57343}function ZM(e,t){return(e-55296)*1024+9216+t}function _c(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function mc(e){return e>=64976&&e<=65007||KM.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 e7=65536;class t7{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=e7,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(JM(a))return this.pos++,this._addGap(),ZM(t,a)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,m.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,m.EOF;const r=this.html.charCodeAt(a);return r===m.CARRIAGE_RETURN?m.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,m.EOF;let t=this.html.charCodeAt(this.pos);return t===m.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,m.LINE_FEED):t===m.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,pc(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===m.LINE_FEED||t===m.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){_c(t)?this._err(F.controlCharacterInInputStream):mc(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 rt=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))),a7=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Ar;const r7=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]]),n7=(Ar=String.fromCodePoint)!==null&&Ar!==void 0?Ar: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 i7(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=r7.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 s7=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 Qr(e){return e>=ge.ZERO&&e<=ge.NINE}function o7(e){return e>=ge.UPPER_A&&e<=ge.UPPER_F||e>=ge.LOWER_A&&e<=ge.LOWER_F}function c7(e){return e>=ge.UPPER_A&&e<=ge.UPPER_Z||e>=ge.LOWER_A&&e<=ge.LOWER_Z||Qr(e)}function u7(e){return e===ge.EQUALS||c7(e)}var _e;(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"})(_e||(_e={}));var gt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(gt||(gt={}));class l7{constructor(t,a,r){this.decodeTree=t,this.emitCodePoint=a,this.errors=r,this.state=_e.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=gt.Strict}startEntity(t){this.decodeMode=t,this.state=_e.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,a){switch(this.state){case _e.EntityStart:return t.charCodeAt(a)===ge.NUM?(this.state=_e.NumericStart,this.consumed+=1,this.stateNumericStart(t,a+1)):(this.state=_e.NamedEntity,this.stateNamedEntity(t,a));case _e.NumericStart:return this.stateNumericStart(t,a);case _e.NumericDecimal:return this.stateNumericDecimal(t,a);case _e.NumericHex:return this.stateNumericHex(t,a);case _e.NamedEntity:return this.stateNamedEntity(t,a)}}stateNumericStart(t,a){return a>=t.length?-1:(t.charCodeAt(a)|s7)===ge.LOWER_X?(this.state=_e.NumericHex,this.consumed+=1,this.stateNumericHex(t,a+1)):(this.state=_e.NumericDecimal,this.stateNumericDecimal(t,a))}addToNumericResult(t,a,r,n){if(a!==r){const s=r-a;this.result=this.result*Math.pow(n,s)+parseInt(t.substr(a,s),n),this.consumed+=s}}stateNumericHex(t,a){const r=a;for(;a>14;for(;a>14,s!==0){if(i===ge.SEMI)return this.emitNamedEntityData(this.treeIndex,s,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 _e.NamedEntity:return this.result!==0&&(this.decodeMode!==gt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case _e.NumericDecimal:return this.emitNumericEntity(0,2);case _e.NumericHex:return this.emitNumericEntity(0,3);case _e.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case _e.EntityStart:return 0}}}function yc(e){let t="";const a=new l7(e,r=>t+=n7(r));return function(n,s){let i=0,o=0;for(;(o=n.indexOf("&",o))>=0;){t+=n.slice(i,o),a.startEntity(s);const l=a.write(n,o+1);if(l<0){i=o+a.end();break}i=o+l,o=l===0?i+1:i}const u=t+n.slice(i);return t="",u}}function kc(e,t,a,r){const n=(t&je.BRANCH_LENGTH)>>7,s=t&je.JUMP_TABLE;if(n===0)return s!==0&&r===s?a:-1;if(s){const u=r-s;return u<0||u>=n?-1:e[a+u]-1}let i=a,o=i+n-1;for(;i<=o;){const u=i+o>>>1,l=e[u];if(lr)o=u-1;else return e[u+n]}return-1}yc(rt);yc(a7);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 ot;(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"})(ot=ot||(ot={}));var ze;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ze=ze||(ze={}));var x;(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"})(x=x||(x={}));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 f7=new Map([[x.A,c.A],[x.ADDRESS,c.ADDRESS],[x.ANNOTATION_XML,c.ANNOTATION_XML],[x.APPLET,c.APPLET],[x.AREA,c.AREA],[x.ARTICLE,c.ARTICLE],[x.ASIDE,c.ASIDE],[x.B,c.B],[x.BASE,c.BASE],[x.BASEFONT,c.BASEFONT],[x.BGSOUND,c.BGSOUND],[x.BIG,c.BIG],[x.BLOCKQUOTE,c.BLOCKQUOTE],[x.BODY,c.BODY],[x.BR,c.BR],[x.BUTTON,c.BUTTON],[x.CAPTION,c.CAPTION],[x.CENTER,c.CENTER],[x.CODE,c.CODE],[x.COL,c.COL],[x.COLGROUP,c.COLGROUP],[x.DD,c.DD],[x.DESC,c.DESC],[x.DETAILS,c.DETAILS],[x.DIALOG,c.DIALOG],[x.DIR,c.DIR],[x.DIV,c.DIV],[x.DL,c.DL],[x.DT,c.DT],[x.EM,c.EM],[x.EMBED,c.EMBED],[x.FIELDSET,c.FIELDSET],[x.FIGCAPTION,c.FIGCAPTION],[x.FIGURE,c.FIGURE],[x.FONT,c.FONT],[x.FOOTER,c.FOOTER],[x.FOREIGN_OBJECT,c.FOREIGN_OBJECT],[x.FORM,c.FORM],[x.FRAME,c.FRAME],[x.FRAMESET,c.FRAMESET],[x.H1,c.H1],[x.H2,c.H2],[x.H3,c.H3],[x.H4,c.H4],[x.H5,c.H5],[x.H6,c.H6],[x.HEAD,c.HEAD],[x.HEADER,c.HEADER],[x.HGROUP,c.HGROUP],[x.HR,c.HR],[x.HTML,c.HTML],[x.I,c.I],[x.IMG,c.IMG],[x.IMAGE,c.IMAGE],[x.INPUT,c.INPUT],[x.IFRAME,c.IFRAME],[x.KEYGEN,c.KEYGEN],[x.LABEL,c.LABEL],[x.LI,c.LI],[x.LINK,c.LINK],[x.LISTING,c.LISTING],[x.MAIN,c.MAIN],[x.MALIGNMARK,c.MALIGNMARK],[x.MARQUEE,c.MARQUEE],[x.MATH,c.MATH],[x.MENU,c.MENU],[x.META,c.META],[x.MGLYPH,c.MGLYPH],[x.MI,c.MI],[x.MO,c.MO],[x.MN,c.MN],[x.MS,c.MS],[x.MTEXT,c.MTEXT],[x.NAV,c.NAV],[x.NOBR,c.NOBR],[x.NOFRAMES,c.NOFRAMES],[x.NOEMBED,c.NOEMBED],[x.NOSCRIPT,c.NOSCRIPT],[x.OBJECT,c.OBJECT],[x.OL,c.OL],[x.OPTGROUP,c.OPTGROUP],[x.OPTION,c.OPTION],[x.P,c.P],[x.PARAM,c.PARAM],[x.PLAINTEXT,c.PLAINTEXT],[x.PRE,c.PRE],[x.RB,c.RB],[x.RP,c.RP],[x.RT,c.RT],[x.RTC,c.RTC],[x.RUBY,c.RUBY],[x.S,c.S],[x.SCRIPT,c.SCRIPT],[x.SECTION,c.SECTION],[x.SELECT,c.SELECT],[x.SOURCE,c.SOURCE],[x.SMALL,c.SMALL],[x.SPAN,c.SPAN],[x.STRIKE,c.STRIKE],[x.STRONG,c.STRONG],[x.STYLE,c.STYLE],[x.SUB,c.SUB],[x.SUMMARY,c.SUMMARY],[x.SUP,c.SUP],[x.TABLE,c.TABLE],[x.TBODY,c.TBODY],[x.TEMPLATE,c.TEMPLATE],[x.TEXTAREA,c.TEXTAREA],[x.TFOOT,c.TFOOT],[x.TD,c.TD],[x.TH,c.TH],[x.THEAD,c.THEAD],[x.TITLE,c.TITLE],[x.TR,c.TR],[x.TRACK,c.TRACK],[x.TT,c.TT],[x.U,c.U],[x.UL,c.UL],[x.SVG,c.SVG],[x.VAR,c.VAR],[x.WBR,c.WBR],[x.XMP,c.XMP]]);function jt(e){var t;return(t=f7.get(e))!==null&&t!==void 0?t:c.UNKNOWN}const H=c,h7={[L.HTML]:new Set([H.ADDRESS,H.APPLET,H.AREA,H.ARTICLE,H.ASIDE,H.BASE,H.BASEFONT,H.BGSOUND,H.BLOCKQUOTE,H.BODY,H.BR,H.BUTTON,H.CAPTION,H.CENTER,H.COL,H.COLGROUP,H.DD,H.DETAILS,H.DIR,H.DIV,H.DL,H.DT,H.EMBED,H.FIELDSET,H.FIGCAPTION,H.FIGURE,H.FOOTER,H.FORM,H.FRAME,H.FRAMESET,H.H1,H.H2,H.H3,H.H4,H.H5,H.H6,H.HEAD,H.HEADER,H.HGROUP,H.HR,H.HTML,H.IFRAME,H.IMG,H.INPUT,H.LI,H.LINK,H.LISTING,H.MAIN,H.MARQUEE,H.MENU,H.META,H.NAV,H.NOEMBED,H.NOFRAMES,H.NOSCRIPT,H.OBJECT,H.OL,H.P,H.PARAM,H.PLAINTEXT,H.PRE,H.SCRIPT,H.SECTION,H.SELECT,H.SOURCE,H.STYLE,H.SUMMARY,H.TABLE,H.TBODY,H.TD,H.TEMPLATE,H.TEXTAREA,H.TFOOT,H.TH,H.THEAD,H.TITLE,H.TR,H.TRACK,H.UL,H.WBR,H.XMP]),[L.MATHML]:new Set([H.MI,H.MO,H.MN,H.MS,H.MTEXT,H.ANNOTATION_XML]),[L.SVG]:new Set([H.TITLE,H.FOREIGN_OBJECT,H.DESC]),[L.XLINK]:new Set,[L.XML]:new Set,[L.XMLNS]:new Set};function bc(e){return e===H.H1||e===H.H2||e===H.H3||e===H.H4||e===H.H5||e===H.H6}x.STYLE,x.SCRIPT,x.XMP,x.IFRAME,x.NOEMBED,x.NOFRAMES,x.PLAINTEXT;const d7=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>=m.DIGIT_0&&e<=m.DIGIT_9}function Jt(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_Z}function p7(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_Z}function nt(e){return p7(e)||Jt(e)}function Xr(e){return nt(e)||ea(e)}function wc(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_F}function Ec(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_F}function _7(e){return ea(e)||wc(e)||Ec(e)}function Aa(e){return e+32}function Tc(e){return e===m.SPACE||e===m.LINE_FEED||e===m.TABULATION||e===m.FORM_FEED}function m7(e){return e===m.EQUALS_SIGN||Xr(e)}function Ki(e){return Tc(e)||e===m.SOLIDUS||e===m.GREATER_THAN_SIGN}class g7{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 t7(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=Tc(t)?ee.WHITESPACE_CHARACTER:t===m.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 s=0,i=rt[0];s>=0&&(s=kc(rt,i,s+1,t),!(s<0));t=this._consume()){r+=1,i=rt[s];const o=i&je.VALUE_LENGTH;if(o){const u=(o>>14)-1;if(t!==m.SEMICOLON&&this._isCharacterReferenceInAttribute()&&m7(this.preprocessor.peek(1))?(a=[m.AMPERSAND],s+=u):(a=u===0?[rt[s]&~je.VALUE_LENGTH]:u===1?[rt[++s]]:[rt[++s],rt[++s]],r=0,n=t!==m.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 m.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case m.AMPERSAND:{this.returnState=g.DATA,this.state=g.CHARACTER_REFERENCE;break}case m.NULL:{this._err(F.unexpectedNullCharacter),this._emitCodePoint(t);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case m.AMPERSAND:{this.returnState=g.RCDATA,this.state=g.CHARACTER_REFERENCE;break}case m.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case m.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case m.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case m.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case m.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case m.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case m.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(nt(t))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(t);else switch(t){case m.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case m.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case m.QUESTION_MARK:{this._err(F.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(t);break}case m.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(nt(t))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(t);else switch(t){case m.GREATER_THAN_SIGN:{this._err(F.missingEndTagName),this.state=g.DATA;break}case m.EOF:{this._err(F.eofBeforeTagName),this._emitChars("");break}case m.NULL:{this._err(F.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(ce);break}case m.EOF:{this._err(F.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===m.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:nt(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){nt(t)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("");break}case m.NULL:{this._err(F.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ce);break}case m.EOF:{this._err(F.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===m.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)&&Ki(this.preprocessor.peek(Te.SCRIPT.length))){this._emitCodePoint(t);for(let a=0;a1114111)this._err(F.characterReferenceOutsideUnicodeRange),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(pc(this.charRefCode))this._err(F.surrogateCharacterReference),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(mc(this.charRefCode))this._err(F.noncharacterCharacterReference);else if(_c(this.charRefCode)||this.charRefCode===m.CARRIAGE_RETURN){this._err(F.controlCharacterReference);const a=d7.get(this.charRefCode);a!==void 0&&(this.charRefCode=a)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Ac=new Set([c.DD,c.DT,c.LI,c.OPTGROUP,c.OPTION,c.P,c.RB,c.RP,c.RT,c.RTC]),Ji=new Set([...Ac,c.CAPTION,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]),Ca=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]]),y7=[c.H1,c.H2,c.H3,c.H4,c.H5,c.H6],k7=[c.TR,c.TEMPLATE,c.HTML],b7=[c.TBODY,c.TFOOT,c.THEAD,c.TEMPLATE,c.HTML],w7=[c.TABLE,c.TEMPLATE,c.HTML],E7=[c.TD,c.TH];class T7{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(w7,L.HTML)}clearBackToTableBodyContext(){this.clearBackTo(b7,L.HTML)}clearBackToTableRowContext(){this.clearBackTo(k7,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(Ca.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(bc(a)&&r===L.HTML)return!0;if(Ca.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||Ca.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||Ca.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(;Ac.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Ji.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Ji.has(this.currentTagId);)this.pop()}}const Cr=3;var ve;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ve=ve||(ve={}));const Zi={type:ve.Marker};class A7{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,a){const r=[],n=a.length,s=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t);for(let o=0;o[i.name,i.value]));let s=0;for(let i=0;in.get(u.name)===u.value)&&(s+=1,s>=Cr&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Zi)}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(Zi);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 es(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(s=>s.nodeName==="#documentType");if(n)n.name=t,n.publicId=a,n.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:a,systemId:r,parentNode:null};Nt.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const a=e.childNodes[e.childNodes.length-1];if(Nt.isTextNode(a)){a.value+=t;return}}Nt.appendChild(e,es(t))},insertTextBefore(e,t,a){const r=e.childNodes[e.childNodes.indexOf(a)-1];r&&Nt.isTextNode(r)?r.value+=t:Nt.insertBefore(e,es(t),a)},adoptAttributes(e,t){const a=new Set(e.attrs.map(r=>r.name));for(let r=0;re.startsWith(a))}function S7(e){return e.name===Cc&&e.publicId===null&&(e.systemId===null||e.systemId===C7)}function N7(e){if(e.name!==Cc)return ze.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===x7)return ze.QUIRKS;let{publicId:a}=e;if(a!==null){if(a=a.toLowerCase(),z7.has(a))return ze.QUIRKS;let r=t===null?D7:xc;if(ts(a,r))return ze.QUIRKS;if(r=t===null?Dc:I7,ts(a,r))return ze.LIMITED_QUIRKS}return ze.NO_QUIRKS}const as={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},F7="definitionurl",O7="definitionURL",L7=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])),R7=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}]]),v7=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])),B7=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 P7(e){const t=e.tagID;return t===c.FONT&&e.attrs.some(({name:r})=>r===ot.COLOR||r===ot.SIZE||r===ot.FACE)||B7.has(t)}function zc(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 s,i;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,i=this.fragmentContextID):{current:s,currentTagId:i}=this.openElements,this._setContextModes(s,i)}}_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)===x.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 i=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));i&&this.treeAdapter.setNodeSourceCodeLocation(i,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(x.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),s=r?n.lastIndexOf(r):n.length,i=n[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:u,endCol:l,endOffset:p}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:u,endCol:l,endOffset:p})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,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),s=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,s)}}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)===x.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),s=this.treeAdapter.getAttrList(a);return j7(t,n,s,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 s=this.activeFormattingElements.entries[n];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=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 Sc.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 h7[r].has(a)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){EU(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:{Fc(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:{xr(this,t);break}case k.IN_TABLE_TEXT:{Pc(this,t);break}case k.IN_COLUMN_GROUP:{ja(this,t);break}case k.AFTER_BODY:{qa(this,t);break}case k.AFTER_AFTER_BODY:{Sa(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){wU(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:{xr(this,t);break}case k.IN_COLUMN_GROUP:{ja(this,t);break}case k.AFTER_BODY:{qa(this,t);break}case k.AFTER_AFTER_BODY:{Sa(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Kr(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:{Kr(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.AFTER_BODY:{Z7(this,t);break}case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{eH(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case k.INITIAL:{tH(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)?TU(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{aH(this,t);break}case k.BEFORE_HEAD:{nH(this,t);break}case k.IN_HEAD:{Me(this,t);break}case k.IN_HEAD_NO_SCRIPT:{oH(this,t);break}case k.AFTER_HEAD:{uH(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:{iU(this,t);break}case k.IN_COLUMN_GROUP:{Dn(this,t);break}case k.IN_TABLE_BODY:{ar(this,t);break}case k.IN_ROW:{rr(this,t);break}case k.IN_CELL:{cU(this,t);break}case k.IN_SELECT:{Uc(this,t);break}case k.IN_SELECT_IN_TABLE:{lU(this,t);break}case k.IN_TEMPLATE:{hU(this,t);break}case k.AFTER_BODY:{pU(this,t);break}case k.IN_FRAMESET:{_U(this,t);break}case k.AFTER_FRAMESET:{gU(this,t);break}case k.AFTER_AFTER_BODY:{kU(this,t);break}case k.AFTER_AFTER_FRAMESET:{bU(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?AU(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{rH(this,t);break}case k.BEFORE_HEAD:{iH(this,t);break}case k.IN_HEAD:{sH(this,t);break}case k.IN_HEAD_NO_SCRIPT:{cH(this,t);break}case k.AFTER_HEAD:{lH(this,t);break}case k.IN_BODY:{tr(this,t);break}case k.TEXT:{QH(this,t);break}case k.IN_TABLE:{da(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.IN_CAPTION:{sU(this,t);break}case k.IN_COLUMN_GROUP:{oU(this,t);break}case k.IN_TABLE_BODY:{Jr(this,t);break}case k.IN_ROW:{Hc(this,t);break}case k.IN_CELL:{uU(this,t);break}case k.IN_SELECT:{jc(this,t);break}case k.IN_SELECT_IN_TABLE:{fU(this,t);break}case k.IN_TEMPLATE:{dU(this,t);break}case k.AFTER_BODY:{Yc(this,t);break}case k.IN_FRAMESET:{mU(this,t);break}case k.AFTER_FRAMESET:{yU(this,t);break}case k.AFTER_AFTER_BODY:{Sa(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:{vc(this,t);break}case k.TEXT:{XH(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.IN_TEMPLATE:{qc(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:{xn(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===m.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:{Nc(this,t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{xr(this,t);break}case k.IN_TABLE_TEXT:{Bc(this,t);break}}}}function W7(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):Rc(e,t),a}function G7(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 Q7(e,t,a){let r=t,n=e.openElements.getCommonAncestor(t);for(let s=0,i=n;i!==a;s++,i=n){n=e.openElements.getCommonAncestor(i);const o=e.activeFormattingElements.getElementEntry(i),u=o&&s>=$7;!o||u?(u&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(i)):(i=X7(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}function X7(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 K7(e,t,a){const r=e.treeAdapter.getTagName(t),n=jt(r);if(e._isElementCausesFosterParenting(n))e._fosterParentElement(a);else{const s=e.treeAdapter.getNamespaceURI(t);n===c.TEMPLATE&&s===L.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,a)}}function J7(e,t,a){const r=e.treeAdapter.getNamespaceURI(a.element),{token:n}=a,s=e.treeAdapter.createElement(n.tagName,r,n.attrs);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,n),e.activeFormattingElements.removeEntry(a),e.openElements.remove(a.element),e.openElements.insertAfter(t,s,n.tagID)}function Cn(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 s=e.openElements.items[1],i=e.treeAdapter.getNodeSourceCodeLocation(s);i&&!i.endTag&&e._setEndLocation(s,t)}}}}function tH(e,t){e._setDocumentType(t);const a=t.forceQuirks?ze.QUIRKS:N7(t);S7(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 aH(e,t){t.tagID===c.HTML?(e._insertElement(t,L.HTML),e.insertionMode=k.BEFORE_HEAD):ta(e,t)}function rH(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 nH(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 iH(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(x.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 sH(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 oH(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 cH(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 uH(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 lH(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(x.BODY,c.BODY),e.insertionMode=k.IN_BODY,er(e,t)}function er(e,t){switch(t.type){case ee.CHARACTER:{Fc(e,t);break}case ee.WHITESPACE_CHARACTER:{Nc(e,t);break}case ee.COMMENT:{Kr(e,t);break}case ee.START_TAG:{we(e,t);break}case ee.END_TAG:{tr(e,t);break}case ee.EOF:{vc(e,t);break}}}function Nc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Fc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function fH(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function hH(e,t){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,t.attrs))}function dH(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 pH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function _H(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),bc(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,L.HTML)}function mH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function gH(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 yH(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 kH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.tokenizer.state=fe.PLAINTEXT}function bH(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 wH(e,t){const a=e.activeFormattingElements.getElementEntryInScopeWithTagName(x.A);a&&(Cn(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 EH(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function TH(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(c.NOBR)&&(Cn(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function AH(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function CH(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 Oc(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Lc(e){const t=gc(e,ot.TYPE);return t!=null&&t.toLowerCase()===q7}function xH(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),Lc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function DH(e,t){e._appendElement(t,L.HTML),t.ackSelfClosing=!0}function zH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function IH(e,t){t.tagName=x.IMG,t.tagID=c.IMG,Oc(e,t)}function SH(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 NH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,fe.RAWTEXT)}function FH(e,t){e.framesetOk=!1,e._switchToTextParsing(t,fe.RAWTEXT)}function is(e,t){e._switchToTextParsing(t,fe.RAWTEXT)}function OH(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 LH(e,t){e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function RH(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,L.HTML)}function vH(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(c.RTC),e._insertElement(t,L.HTML)}function BH(e,t){e._reconstructActiveFormattingElements(),zc(t),An(t),t.selfClosing?e._appendElement(t,L.MATHML):e._insertElement(t,L.MATHML),t.ackSelfClosing=!0}function PH(e,t){e._reconstructActiveFormattingElements(),Ic(t),An(t),t.selfClosing?e._appendElement(t,L.SVG):e._insertElement(t,L.SVG),t.ackSelfClosing=!0}function ss(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:{EH(e,t);break}case c.A:{wH(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{_H(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:{pH(e,t);break}case c.LI:case c.DD:case c.DT:{yH(e,t);break}case c.BR:case c.IMG:case c.WBR:case c.AREA:case c.EMBED:case c.KEYGEN:{Oc(e,t);break}case c.HR:{zH(e,t);break}case c.RB:case c.RTC:{RH(e,t);break}case c.RT:case c.RP:{vH(e,t);break}case c.PRE:case c.LISTING:{mH(e,t);break}case c.XMP:{NH(e,t);break}case c.SVG:{PH(e,t);break}case c.HTML:{fH(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:{hH(e,t);break}case c.FORM:{gH(e,t);break}case c.NOBR:{TH(e,t);break}case c.MATH:{BH(e,t);break}case c.TABLE:{CH(e,t);break}case c.INPUT:{xH(e,t);break}case c.PARAM:case c.TRACK:case c.SOURCE:{DH(e,t);break}case c.IMAGE:{IH(e,t);break}case c.BUTTON:{bH(e,t);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{AH(e,t);break}case c.IFRAME:{FH(e,t);break}case c.SELECT:{OH(e,t);break}case c.OPTION:case c.OPTGROUP:{LH(e,t);break}case c.NOEMBED:{is(e,t);break}case c.FRAMESET:{dH(e,t);break}case c.TEXTAREA:{SH(e,t);break}case c.NOSCRIPT:{e.options.scriptingEnabled?is(e,t):ss(e,t);break}case c.PLAINTEXT:{kH(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:ss(e,t)}}function MH(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 HH(e,t){e.openElements.hasInScope(c.BODY)&&(e.insertionMode=k.AFTER_BODY,Yc(e,t))}function UH(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}function jH(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 qH(e){e.openElements.hasInButtonScope(c.P)||e._insertFakeElement(x.P,c.P),e._closePElement()}function YH(e){e.openElements.hasInListItemScope(c.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(c.LI),e.openElements.popUntilTagNamePopped(c.LI))}function $H(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}function VH(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function WH(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker())}function GH(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(x.BR,c.BR),e.openElements.pop(),e.framesetOk=!1}function Rc(e,t){const a=t.tagName,r=t.tagID;for(let n=e.openElements.stackTop;n>0;n--){const s=e.openElements.items[n],i=e.openElements.tagIDs[n];if(r===i&&(r!==c.UNKNOWN||e.treeAdapter.getTagName(s)===a)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=n&&e.openElements.shortenToLength(n);break}if(e._isSpecialElement(s,i))break}}function tr(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:{Cn(e,t);break}case c.P:{qH(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:{UH(e,t);break}case c.LI:{YH(e);break}case c.DD:case c.DT:{$H(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{VH(e);break}case c.BR:{GH(e);break}case c.BODY:{MH(e,t);break}case c.HTML:{HH(e,t);break}case c.FORM:{jH(e);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{WH(e,t);break}case c.TEMPLATE:{Tt(e,t);break}default:Rc(e,t)}}function vc(e,t){e.tmplInsertionModeStack.length>0?qc(e,t):xn(e,t)}function QH(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 XH(e,t){e._err(t,F.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function xr(e,t){if(Sc.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:{Pc(e,t);break}case ee.WHITESPACE_CHARACTER:{Bc(e,t);break}}else ga(e,t)}function KH(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_CAPTION}function JH(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_COLUMN_GROUP}function ZH(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(x.COLGROUP,c.COLGROUP),e.insertionMode=k.IN_COLUMN_GROUP,Dn(e,t)}function eU(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_TABLE_BODY}function tU(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(x.TBODY,c.TBODY),e.insertionMode=k.IN_TABLE_BODY,ar(e,t)}function aU(e,t){e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function rU(e,t){Lc(t)?e._appendElement(t,L.HTML):ga(e,t),t.ackSelfClosing=!0}function nU(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:{tU(e,t);break}case c.STYLE:case c.SCRIPT:case c.TEMPLATE:{Me(e,t);break}case c.COL:{ZH(e,t);break}case c.FORM:{nU(e,t);break}case c.TABLE:{aU(e,t);break}case c.TBODY:case c.TFOOT:case c.THEAD:{eU(e,t);break}case c.INPUT:{rU(e,t);break}case c.CAPTION:{KH(e,t);break}case c.COLGROUP:{JH(e,t);break}default:ga(e,t)}}function da(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:ga(e,t)}}function ga(e,t){const a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,er(e,t),e.fosterParentingEnabled=a}function Bc(e,t){e.pendingCharacterTokens.push(t)}function Pc(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 lU(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)):Uc(e,t)}function fU(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)):jc(e,t)}function hU(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,Dn(e,t);break}case c.TR:{e.tmplInsertionModeStack[0]=k.IN_TABLE_BODY,e.insertionMode=k.IN_TABLE_BODY,ar(e,t);break}case c.TD:case c.TH:{e.tmplInsertionModeStack[0]=k.IN_ROW,e.insertionMode=k.IN_ROW,rr(e,t);break}default:e.tmplInsertionModeStack[0]=k.IN_BODY,e.insertionMode=k.IN_BODY,we(e,t)}}function dU(e,t){t.tagID===c.TEMPLATE&&Tt(e,t)}function qc(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):xn(e,t)}function pU(e,t){t.tagID===c.HTML?we(e,t):qa(e,t)}function Yc(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 qa(e,t)}function qa(e,t){e.insertionMode=k.IN_BODY,er(e,t)}function _U(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 mU(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 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.tagID===c.HTML&&(e.insertionMode=k.AFTER_AFTER_FRAMESET)}function kU(e,t){t.tagID===c.HTML?we(e,t):Sa(e,t)}function Sa(e,t){e.insertionMode=k.IN_BODY,er(e,t)}function bU(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.NOFRAMES:{Me(e,t);break}}}function wU(e,t){t.chars=ce,e._insertCharacters(t)}function EU(e,t){e._insertCharacters(t),e.framesetOk=!1}function $c(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==L.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function TU(e,t){if(P7(t))$c(e),e._startTagOutsideForeignContent(t);else{const a=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(a);r===L.MATHML?zc(t):r===L.SVG&&(M7(t),Ic(t)),An(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function AU(e,t){if(t.tagID===c.P||t.tagID===c.BR){$c(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}}}x.AREA,x.BASE,x.BASEFONT,x.BGSOUND,x.BR,x.COL,x.EMBED,x.FRAME,x.HR,x.IMG,x.INPUT,x.KEYGEN,x.LINK,x.META,x.PARAM,x.SOURCE,x.TRACK,x.WBR;const CU=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),os={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Vc(e,t){const a=RU(e),r=zo("type",{handlers:{root:xU,element:DU,text:zU,comment:Gc,doctype:IU,raw:NU},unknown:FU}),n={parser:a?new ns(os):ns.getFragmentParser(void 0,os),handle(o){r(o,n)},stitches:!1,options:t||{}};r(e,n),qt(n,Ze());const s=a?n.parser.document:n.parser.getFragment(),i=BM(s,{file:n.options.file});return n.stitches&&Ke(i,"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}}),i.type==="root"&&i.children.length===1&&i.children[0].type===e.type?i.children[0]:i}function Wc(e,t){let a=-1;if(e)for(;++at.concat(Xc(a)),"")}function Kc(e,t=2,a=0){return!Array.isArray(e.children)||a===t?[e]:[e,...e.children.reduce((r,n)=>r.concat(Kc(n,t,a+1)),[])]}const Jc=["h2","h3","h4","h5","h6"],MU=Jc.reduce((e,t)=>(e[t]=Number(t.charAt(t.length-1)),e),{}),HU=e=>MU[e.tag],UU=e=>((e<1||e>5)&&(console.log(`\`toc.depth\` is set to ${e}. It should be a number between 1 and 5. `),e=1),Jc.slice(0,e));function Zc(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=Zc(r.children):delete r.children}),t}function jU(e,t){const{searchDepth:a,depth:r,title:n=""}=t,s=UU(r),o=Kc(e,a).filter(u=>s.includes(u.tag||"")).map(u=>{var l;return{id:(l=u.props)==null?void 0:l.id,depth:HU(u),text:Xc(u)}});return{title:n,searchDepth:a,depth:r,links:o}}function qU(e,t){const a=jU(e,t);return a.links=Zc(a.links),a}let Le,Dr;const YU=async(e,t={})=>{var h,f,_,y,b,C,A,S,O,M,N,d,z;Le||(Le=await zr(()=>import("./mdc-imports.rU9K4kSx.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).catch(()=>({}))),Dr||(Dr=await zr(()=>import("./mdc-configs.-tOr16rn.js"),__vite__mapDeps([]),import.meta.url).then(U=>U.getMdcConfigs()).catch(()=>[]));const a=[...Dr||[],...t.configs||[]];t.highlight!=null&&t.highlight!=!1&&t.highlight.highlighter!==void 0&&typeof t.highlight.highlighter!="function"&&(t={...t,highlight:{...t.highlight}},delete t.highlight.highlighter);const r=Ln(t,{remark:{plugins:Le==null?void 0:Le.remarkPlugins},rehype:{plugins:Le==null?void 0:Le.rehypePlugins},highlight:Le==null?void 0:Le.highlight},PU);(f=(h=r.rehype)==null?void 0:h.plugins)!=null&&f.highlight&&(r.rehype.plugins.highlight.options=r.highlight||{});let n=Qu();for(const U of a)n=await((y=(_=U.unified)==null?void 0:_.pre)==null?void 0:y.call(_,n))||n;n.use(eh);for(const U of a)n=await((C=(b=U.unified)==null?void 0:b.remark)==null?void 0:C.call(b,n))||n;await Pi(n,(A=r.remark)==null?void 0:A.plugins),n.use(Qh,(S=r.rehype)==null?void 0:S.options);for(const U of a)n=await((M=(O=U.unified)==null?void 0:O.rehype)==null?void 0:M.call(O,n))||n;await Pi(n,(N=r.rehype)==null?void 0:N.plugins),n.use(ug);for(const U of a)n=await((z=(d=U.unified)==null?void 0:d.post)==null?void 0:z.call(d,n))||n;const{content:s,data:i}=await Ho(e),o=await n.process({value:s,data:i}),u=o.result,l=Object.assign($U(u.body),i,(o==null?void 0:o.data)||{});let p;if(l.toc!==!1){const U=Ln(l.toc||{},r.toc);p=qU(u.body,U)}return{data:l,body:u.body,excerpt:u.excerpt,toc:p}};function $U(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=Rn(n)}if(r.length&&r[0].tag==="p"){const n=r.shift();a=Rn(n)}return{title:t,description:a}}const VU=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=Qe(()=>lu(r.value)),{data:s,refresh:i}=([t,a]=cs(async()=>us(n.value,async()=>typeof r.value!="string"?r.value:await YU(r.value,r.parserOptions),"$zeFHsH7M0F")),t=await t,a(),t),o=Qe(()=>{var u,l;return r.excerpt?(u=s.value)==null?void 0:u.excerpt:(l=s.value)==null?void 0:l.body});return fu(()=>r.value,()=>{i()}),(u,l)=>{var h,f,_,y;const p=uu;return le(u.$slots,"default",{data:(h=V(s))==null?void 0:h.data,body:(f=V(s))==null?void 0:f.body,toc:(_=V(s))==null?void 0:_.toc,excerpt:(y=V(s))==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(s))==null?void 0:b.data},null,8,["tag","class","body","data"])):ue("",!0)]})}}}),WU=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=e,a=Qe(()=>{const s=oa("gap-16 sm:gap-y-24",t.orientation==="vertical"&&"flex flex-col",t.orientation==="horizontal"&&"grid lg:grid-cols-2 lg:items-center"),i=t.orientation==="vertical"?"text-center":"",o=oa("mt-10 flex flex-wrap gap-x-6 gap-y-3",t.orientation==="vertical"&&"justify-center");return{wrapper:"py-24 sm:py-32 md:py-40 relative",container:s,base:i,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:o}}),{ui:r,attrs:n}=$a("landing.hero",ct(t,"ui"),a,ct(t,"class"),!0);return(s,i)=>{const o=fs,u=ls;return Z(),ne("div",qe({class:V(r).wrapper},V(n)),[le(s.$slots,"top"),Be(u,{class:se(V(r).container)},{default:it(()=>{var l;return[Bt("div",{class:se(V(r).base)},[s.$slots.headline?(Z(),ne("div",{key:0,class:se(V(r).headline)},[le(s.$slots,"headline")],2)):ue("",!0),Bt("h1",{class:se(V(r).title)},[le(s.$slots,"title",{},()=>[kt(Re(e.title),1)])],2),e.description||s.$slots.description?(Z(),ne("p",{key:1,class:se(V(r).description)},[le(s.$slots,"description",{},()=>[kt(Re(e.description),1)])],2)):ue("",!0),(l=e.links)!=null&&l.length||s.$slots.links?(Z(),ne("div",{key:2,class:se(V(r).links)},[le(s.$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(s.$slots,"default")]}),_:3},8,["class"]),le(s.$slots,"bottom")],16)}}}),GU=hu(du);function QU(e,t={}){const{x:a,y:r}=GU(t),n=xa(e??(window==null?void 0:window.document.body)),s=xa(0),i=xa(0);return pu&&_u([n,a,r],()=>{const o=mu(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||(s.value=p,i.value=h)},{immediate:!0,throttle:50}),{x:a,y:r,elementX:s,elementY:i}}const XU=e=>(Tu("data-v-99e6f90c"),e=e(),Au(),e),KU=XU(()=>Bt("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)),JU=Ht({inheritAttrs:!1,__name:"LandingCard",props:{...gu,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){yu(_=>({c9a0cb80:V(a),"3ecc3d0c":V(r)}));const t=e,a=Qe(()=>{var _;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((_=ka[t.color])==null?void 0:_["500"])||ka[t.color]||t.color}),r=Qe(()=>{var _;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((_=ka[t.color])==null?void 0:_["400"])||ka[t.color]||t.color}),n=Qe(()=>({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:oa("gap-x-8 gap-y-4 rounded-xl flex-1",t.orientation==="vertical"&&"flex flex-col",!!i.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"})),s=xa(),i=ku(),{elementX:o,elementY:u}=QU(s),{ui:l,attrs:p}=$a("landing.card",ct(t,"ui"),n,ct(t,"class"),!0),h=Qe(()=>bu(t)),f=Qe(()=>(t.title||i.title&&wu(i.title())||"Card link").trim());return(_,y)=>{const b=Eu,C=hs,A=Nu;return Z(),ne("div",qe({ref_key:"el",ref:s,style:{"--x":`${V(o)}px`,"--y":`${V(u)}px`},class:[V(l).wrapper,_.to&&V(l).to]},V(p)),[Be(A,{ui:V(l)},{default:it(()=>[Bt("div",{class:se(V(l).container)},[_.to?(Z(),wt(b,qe({key:0,"aria-label":V(f)},V(h),{class:"focus:outline-none",tabindex:"-1"}),{default:it(()=>[KU]),_:1},16,["aria-label"])):ue("",!0),e.icon||_.$slots.icon?(Z(),ne("div",{key:1,class:se(V(l).icon.wrapper)},[le(_.$slots,"icon",{},()=>[Be(C,{name:e.icon,class:se(V(l).icon.base)},null,8,["name","class"])],!0)],2)):ue("",!0),e.title||_.$slots.title?(Z(),ne("p",{key:2,class:se(V(l).title)},[le(_.$slots,"title",{},()=>[kt(Re(e.title),1)],!0)],2)):ue("",!0),e.description||_.$slots.description?(Z(),ne("p",{key:3,class:se(V(l).description)},[le(_.$slots,"description",{},()=>[kt(Re(e.description),1)],!0)],2)):ue("",!0),le(_.$slots,"container",{},void 0,!0)],2),_.$slots.default?le(_.$slots,"default",{key:0},void 0,!0):ue("",!0)]),_:3},8,["ui"])],16)}}}),ZU=Cu(JU,[["__scopeId","data-v-99e6f90c"]]),ej=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}=$a("page.grid",ct(a,"ui"),t,ct(a,"class"),!0);return(s,i)=>(Z(),ne("div",qe({class:V(r).wrapper},V(n)),[le(s.$slots,"default")],16))}}),tj={key:0},aj={key:2},rj={key:0},nj=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=xu(),a=e,r=Qe(()=>{const i=oa("gap-16 sm:gap-y-24",a.align==="center"?"flex flex-col":"grid lg:grid-cols-2 lg:items-center"),o=oa("",a.align==="center"&&"text-center flex flex-col items-center",a.align==="right"&&"lg:order-last");return{wrapper:"py-24 sm:py-32",container:i,base:o,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:t.ui.icons.check}}}}),{ui:n,attrs:s}=$a("landing.section",ct(a,"ui"),r,ct(a,"class"),!0);return(i,o)=>{const u=hs,l=fs,p=ls;return Z(),ne("div",qe({class:V(n).wrapper},V(s)),[le(i.$slots,"top"),Be(p,{class:se(V(n).container)},{default:it(()=>{var h,f,_,y,b;return[e.icon||i.$slots.icon||e.headline||i.$slots.headline||e.title||i.$slots.title||e.description||i.$slots.description||(h=e.links)!=null&&h.length||i.$slots.links?(Z(),ne("div",{key:0,class:se(V(n).base)},[e.icon||i.$slots.icon?(Z(),ne("div",{key:0,class:se(V(n).icon.wrapper)},[le(i.$slots,"icon",{},()=>[Be(u,{name:e.icon,class:se(V(n).icon.base)},null,8,["name","class"])])],2)):e.headline||i.$slots.headline?(Z(),ne("div",{key:1,class:se(V(n).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(n).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(n).description)},[le(i.$slots,"description",{},()=>[kt(Re(e.description),1)])],2)):ue("",!0),e.align!=="center"&&((f=e.features)!=null&&f.length)?(Z(),ne("dl",{key:4,class:se([V(n).features.wrapper.base,V(n).features.wrapper.list])},[(Z(!0),ne(Ft,null,Ot(e.features,C=>(Z(),ne("div",{key:C.name,class:se(V(n).features.base)},[Bt("dt",{class:se(V(n).features.name)},[Be(u,{name:C.icon||V(n).features.icon.name,class:se(V(n).features.icon.base),"aria-hidden":"true"},null,8,["name","class"]),C.name?(Z(),ne("span",tj,Re(C.name),1)):ue("",!0)],2),C.description?(Z(),ne("dd",{key:0,class:se(V(n).features.description)},Re(C.description),3)):ue("",!0)],2))),128))],2)):ue("",!0),e.align!=="center"&&((_=e.links)!=null&&_.length||i.$slots.links)?(Z(),ne("div",{key:5,class:se(V(n).links)},[le(i.$slots,"links",{},()=>[(Z(!0),ne(Ft,null,Ot(e.links,(C,A)=>(Z(),wt(l,qe({key:A},C,{onClick:C.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",aj)):ue("",!0),e.align==="center"&&((y=e.features)!=null&&y.length)?(Z(),ne("dl",{key:3,class:se([V(n).features.wrapper.base,V(n).features.wrapper.grid])},[(Z(!0),ne(Ft,null,Ot(e.features,C=>(Z(),ne("div",{key:C.name,class:se(V(n).features.base)},[Bt("dt",{class:se(V(n).features.name)},[Be(u,{name:C.icon||V(n).features.icon.name,class:se(V(n).features.icon.base),"aria-hidden":"true"},null,8,["name","class"]),C.name?(Z(),ne("span",rj,Re(C.name),1)):ue("",!0)],2),C.description?(Z(),ne("dd",{key:0,class:se(V(n).features.description)},Re(C.description),3)):ue("",!0)],2))),128))],2)):ue("",!0),e.align==="center"&&((b=e.links)!=null&&b.length||i.$slots.links)?(Z(),ne("div",{key:4,class:se(V(Du)(V(n).links,"mt-0 justify-center"))},[le(i.$slots,"links",{},()=>[(Z(!0),ne(Ft,null,Ot(e.links,(C,A)=>(Z(),wt(l,qe({key:A},C,{onClick:C.click}),null,16,["onClick"]))),128))])],2)):ue("",!0)]}),_:3},8,["class"]),le(i.$slots,"bottom")],16)}}}),ij=Ht({__name:"index",async setup(e){let t,a;const{data:r}=([t,a]=cs(()=>us("index",()=>Su("/").findOne())),t=await t,a(),t);return zu({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,s)=>{const i=VU,o=WU,u=ZU,l=ej,p=nj;return Z(),ne("div",null,[V(r).hero?(Z(),wt(o,Iu(qe({key:0},V(r).hero)),{title:it(()=>[Be(i,{value:V(r).hero.title},null,8,["value"])]),default:it(()=>[Be(i,{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:it(()=>[Be(l,null,{default:it(()=>[(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"])])}}}),fj=Object.freeze(Object.defineProperty({__proto__:null,default:ij},Symbol.toStringTag,{value:"Module"}));export{fj as i,eg as t,Ke as v}; +`))}function u(_,y,b,C){const A=b.enter("tableCell"),S=b.enter("phrasing"),O=b.containerPhrasing(_,{...C,before:s,after:s});return S(),A(),O}function l(_,y){return _P(_,{align:y,alignDelimiters:r,padding:a,stringLength:n})}function p(_,y,b){const C=_.children;let A=-1;const S=[],O=y.enter("table");for(;++A0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const jP={tokenize:XP,partial:!0};function qP(){return{document:{91:{tokenize:WP,continuation:{tokenize:GP},exit:QP}},text:{91:{tokenize:VP},93:{add:"after",tokenize:YP,resolveTo:$P}}}}function YP(e,t,a){const r=this;let n=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;n--;){const u=r.events[n][1];if(u.type==="labelImage"){i=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(!i||!i._balanced)return a(u);const l=Pe(r.sliceSerialize({start:i.end,end:r.now()}));return l.codePointAt(0)!==94||!s.includes(l.slice(1))?a(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function $P(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 s={type:"gfmFootnoteCallString",start:Object.assign({},n.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},o=[e[a+1],e[a+2],["enter",r,t],e[a+3],e[a+4],["enter",n,t],["exit",n,t],["enter",s,t],["enter",i,t],["exit",i,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(a,e.length-a+1,...o),e}function VP(e,t,a){const r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,i;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(s>999||h===93&&!i||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)||(i=!0),s++,e.consume(h),h===92?p:l}function p(h){return h===91||h===92||h===93?(e.consume(h),s++,l):l(h)}}function WP(e,t,a){const r=this,n=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,i=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(i>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 s=Pe(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return ae(y)||(o=!0),i++,e.consume(y),y===92?h:p}function h(y){return y===91||y===92||y===93?(e.consume(y),i++,p):p(y)}function f(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),n.includes(s)||n.push(s),G(e,_,"gfmFootnoteDefinitionWhitespace")):a(y)}function _(y){return t(y)}}function GP(e,t,a){return e.check(ma,t,e.attempt(jP,t,a))}function QP(e){e.exit("gfmFootnoteDefinition")}function XP(e,t,a){const r=this;return G(e,n,"gfmFootnoteDefinitionIndent",5);function n(s){const i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?t(s):a(s)}}function KP(e){let a=(e||{}).singleTilde;const r={tokenize:s,resolveAll:n};return a==null&&(a=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function n(i,o){let u=-1;for(;++u1?u(y):(i.consume(y),h++,_);if(h<2&&!a)return u(y);const C=i.exit("strikethroughSequenceTemporary"),A=Fa(y);return C._open=!A||A===2&&!!b,C._close=!b||b===2&&!!A,o(y)}}}class JP{constructor(){this.map=[]}add(t,a,r){ZP(this,t,a,r)}consume(t){if(this.map.sort(function(s,i){return s[0]-i[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 ZP(e,t,a,r){let n=0;if(!(a===0&&r.length===0)){for(;n-1;){const te=r.events[I][1].type;if(te==="lineEnding"||te==="linePrefix")I--;else break}const P=I>-1?r.events[I][1].type:null,Q=P==="tableHead"||P==="tableRow"?d:u;return Q===d&&r.parser.lazy[r.now().line]?a(D):Q(D)}function u(D){return e.enter("tableHead"),e.enter("tableRow"),l(D)}function l(D){return D===124||(i=!0,s+=1),p(D)}function p(D){return D===null?a(D):Y(D)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),_):a(D):X(D)?G(e,p,"whitespace")(D):(s+=1,i&&(i=!1,n+=1),D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),i=!0,p):(e.enter("data"),h(D)))}function h(D){return D===null||D===124||ae(D)?(e.exit("data"),p(D)):(e.consume(D),D===92?f:h)}function f(D){return D===92||D===124?(e.consume(D),h):h(D)}function _(D){return r.interrupt=!1,r.parser.lazy[r.now().line]?a(D):(e.enter("tableDelimiterRow"),i=!1,X(D)?G(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):y(D))}function y(D){return D===45||D===58?C(D):D===124?(i=!0,e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),b):N(D)}function b(D){return X(D)?G(e,C,"whitespace")(D):C(D)}function C(D){return D===58?(s+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),A):D===45?(s+=1,A(D)):D===null||Y(D)?M(D):N(D)}function A(D){return D===45?(e.enter("tableDelimiterFiller"),S(D)):N(D)}function S(D){return D===45?(e.consume(D),S):D===58?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),O):(e.exit("tableDelimiterFiller"),O(D))}function O(D){return X(D)?G(e,M,"whitespace")(D):M(D)}function M(D){return D===124?y(D):D===null||Y(D)?!i||n!==s?N(D):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(D)):N(D)}function N(D){return a(D)}function d(D){return e.enter("tableRow"),z(D)}function z(D){return D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),z):D===null||Y(D)?(e.exit("tableRow"),t(D)):X(D)?G(e,z,"whitespace")(D):(e.enter("data"),U(D))}function U(D){return D===null||D===124||ae(D)?(e.exit("data"),z(D)):(e.consume(D),D===92?$:U)}function $(D){return D===92||D===124?(e.consume(D),U):U(D)}}function rM(e,t){let a=-1,r=!0,n=0,s=[0,0,0,0],i=[0,0,0,0],o=!1,u=0,l,p,h;const f=new JP;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&&(s.end=Object.assign({},St(t.events,n)),e.add(n,0,[["exit",s,t]]),s=void 0),s}function $i(e,t,a,r,n){const s=[],i=St(t.events,a);n&&(n.end=Object.assign({},i),s.push(["exit",n,t])),r.end=Object.assign({},i),s.push(["exit",r,t]),e.add(a+1,0,s)}function St(e,t){const a=e[t],r=a[0]==="enter"?"start":"end";return a[1][r]}const nM={tokenize:sM};function iM(){return{text:{91:nM}}}function sM(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"),s)}function s(u){return ae(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),i):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),i):a(u)}function i(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:oM},t,a)(u):a(u)}}function oM(e,t,a){return G(e,r,"whitespace");function r(n){return n===null?a(n):t(n)}}function cM(e){return _s([OP(),qP(),KP(e),tM(),iM()])}const uM={};function lM(e){const t=this,a=e||uM,r=t.data(),n=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),i=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);n.push(cM(a)),s.push(IP()),i.push(SP(a))}const fM=function(e,t,a,r,n){const s=bn(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 oc(e)?s.call(n,e,a,r):!1},bn=function(e){if(e==null)return pM;if(typeof e=="string")return dM(e);if(typeof e=="object")return hM(e);if(typeof e=="function")return wn(e);throw new Error("Expected function, string, or array as `test`")};function hM(e){const t=[];let a=-1;for(;++a0&&(s.properties.rel=[...f]),_&&(s.properties.target=_),p){const b=Gt(t.contentProperties,s)||{};s.children.push({type:"element",tagName:"span",properties:Xe(b),children:Xe(p)})}}}})}}function Gt(e,t){return typeof e=="function"?e(t):e}const Vi={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 TM(){return function(e){const t=new Map,a=[];Ke(e,"element",function(s){let i;for(i in s.properties)if(Object.hasOwn(s.properties,i)){const o=s.properties[i];Object.hasOwn(Vi,i)&&fM(s,Vi[i])&&Array.isArray(o)&&r(i,o)}}),n();function r(s,i){let o=-1,u=t.get(s);for(u||(u=new Map,t.set(s,u));++o-1&&ss)return{line:i+1,column:s-(i>0?a[i-1]:0)+1,offset:s}}}function n(s){const i=s&&s.line,o=s&&s.column;if(typeof i=="number"&&typeof o=="number"&&!Number.isNaN(i)&&!Number.isNaN(o)&&i-1 in a){const u=(a[i-2]||0)+o-1||0;if(u>-1&&u=55296&&e<=57343}function JM(e){return e>=56320&&e<=57343}function ZM(e,t){return(e-55296)*1024+9216+t}function _c(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function mc(e){return e>=64976&&e<=65007||KM.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 e7=65536;class t7{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=e7,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(JM(a))return this.pos++,this._addGap(),ZM(t,a)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,m.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,m.EOF;const r=this.html.charCodeAt(a);return r===m.CARRIAGE_RETURN?m.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,m.EOF;let t=this.html.charCodeAt(this.pos);return t===m.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,m.LINE_FEED):t===m.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,pc(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===m.LINE_FEED||t===m.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){_c(t)?this._err(F.controlCharacterInInputStream):mc(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 rt=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))),a7=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Ar;const r7=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]]),n7=(Ar=String.fromCodePoint)!==null&&Ar!==void 0?Ar: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 i7(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=r7.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 s7=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 Qr(e){return e>=ge.ZERO&&e<=ge.NINE}function o7(e){return e>=ge.UPPER_A&&e<=ge.UPPER_F||e>=ge.LOWER_A&&e<=ge.LOWER_F}function c7(e){return e>=ge.UPPER_A&&e<=ge.UPPER_Z||e>=ge.LOWER_A&&e<=ge.LOWER_Z||Qr(e)}function u7(e){return e===ge.EQUALS||c7(e)}var _e;(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"})(_e||(_e={}));var gt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(gt||(gt={}));class l7{constructor(t,a,r){this.decodeTree=t,this.emitCodePoint=a,this.errors=r,this.state=_e.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=gt.Strict}startEntity(t){this.decodeMode=t,this.state=_e.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,a){switch(this.state){case _e.EntityStart:return t.charCodeAt(a)===ge.NUM?(this.state=_e.NumericStart,this.consumed+=1,this.stateNumericStart(t,a+1)):(this.state=_e.NamedEntity,this.stateNamedEntity(t,a));case _e.NumericStart:return this.stateNumericStart(t,a);case _e.NumericDecimal:return this.stateNumericDecimal(t,a);case _e.NumericHex:return this.stateNumericHex(t,a);case _e.NamedEntity:return this.stateNamedEntity(t,a)}}stateNumericStart(t,a){return a>=t.length?-1:(t.charCodeAt(a)|s7)===ge.LOWER_X?(this.state=_e.NumericHex,this.consumed+=1,this.stateNumericHex(t,a+1)):(this.state=_e.NumericDecimal,this.stateNumericDecimal(t,a))}addToNumericResult(t,a,r,n){if(a!==r){const s=r-a;this.result=this.result*Math.pow(n,s)+parseInt(t.substr(a,s),n),this.consumed+=s}}stateNumericHex(t,a){const r=a;for(;a>14;for(;a>14,s!==0){if(i===ge.SEMI)return this.emitNamedEntityData(this.treeIndex,s,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 _e.NamedEntity:return this.result!==0&&(this.decodeMode!==gt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case _e.NumericDecimal:return this.emitNumericEntity(0,2);case _e.NumericHex:return this.emitNumericEntity(0,3);case _e.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case _e.EntityStart:return 0}}}function yc(e){let t="";const a=new l7(e,r=>t+=n7(r));return function(n,s){let i=0,o=0;for(;(o=n.indexOf("&",o))>=0;){t+=n.slice(i,o),a.startEntity(s);const l=a.write(n,o+1);if(l<0){i=o+a.end();break}i=o+l,o=l===0?i+1:i}const u=t+n.slice(i);return t="",u}}function kc(e,t,a,r){const n=(t&je.BRANCH_LENGTH)>>7,s=t&je.JUMP_TABLE;if(n===0)return s!==0&&r===s?a:-1;if(s){const u=r-s;return u<0||u>=n?-1:e[a+u]-1}let i=a,o=i+n-1;for(;i<=o;){const u=i+o>>>1,l=e[u];if(lr)o=u-1;else return e[u+n]}return-1}yc(rt);yc(a7);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 ot;(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"})(ot=ot||(ot={}));var ze;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ze=ze||(ze={}));var x;(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"})(x=x||(x={}));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 f7=new Map([[x.A,c.A],[x.ADDRESS,c.ADDRESS],[x.ANNOTATION_XML,c.ANNOTATION_XML],[x.APPLET,c.APPLET],[x.AREA,c.AREA],[x.ARTICLE,c.ARTICLE],[x.ASIDE,c.ASIDE],[x.B,c.B],[x.BASE,c.BASE],[x.BASEFONT,c.BASEFONT],[x.BGSOUND,c.BGSOUND],[x.BIG,c.BIG],[x.BLOCKQUOTE,c.BLOCKQUOTE],[x.BODY,c.BODY],[x.BR,c.BR],[x.BUTTON,c.BUTTON],[x.CAPTION,c.CAPTION],[x.CENTER,c.CENTER],[x.CODE,c.CODE],[x.COL,c.COL],[x.COLGROUP,c.COLGROUP],[x.DD,c.DD],[x.DESC,c.DESC],[x.DETAILS,c.DETAILS],[x.DIALOG,c.DIALOG],[x.DIR,c.DIR],[x.DIV,c.DIV],[x.DL,c.DL],[x.DT,c.DT],[x.EM,c.EM],[x.EMBED,c.EMBED],[x.FIELDSET,c.FIELDSET],[x.FIGCAPTION,c.FIGCAPTION],[x.FIGURE,c.FIGURE],[x.FONT,c.FONT],[x.FOOTER,c.FOOTER],[x.FOREIGN_OBJECT,c.FOREIGN_OBJECT],[x.FORM,c.FORM],[x.FRAME,c.FRAME],[x.FRAMESET,c.FRAMESET],[x.H1,c.H1],[x.H2,c.H2],[x.H3,c.H3],[x.H4,c.H4],[x.H5,c.H5],[x.H6,c.H6],[x.HEAD,c.HEAD],[x.HEADER,c.HEADER],[x.HGROUP,c.HGROUP],[x.HR,c.HR],[x.HTML,c.HTML],[x.I,c.I],[x.IMG,c.IMG],[x.IMAGE,c.IMAGE],[x.INPUT,c.INPUT],[x.IFRAME,c.IFRAME],[x.KEYGEN,c.KEYGEN],[x.LABEL,c.LABEL],[x.LI,c.LI],[x.LINK,c.LINK],[x.LISTING,c.LISTING],[x.MAIN,c.MAIN],[x.MALIGNMARK,c.MALIGNMARK],[x.MARQUEE,c.MARQUEE],[x.MATH,c.MATH],[x.MENU,c.MENU],[x.META,c.META],[x.MGLYPH,c.MGLYPH],[x.MI,c.MI],[x.MO,c.MO],[x.MN,c.MN],[x.MS,c.MS],[x.MTEXT,c.MTEXT],[x.NAV,c.NAV],[x.NOBR,c.NOBR],[x.NOFRAMES,c.NOFRAMES],[x.NOEMBED,c.NOEMBED],[x.NOSCRIPT,c.NOSCRIPT],[x.OBJECT,c.OBJECT],[x.OL,c.OL],[x.OPTGROUP,c.OPTGROUP],[x.OPTION,c.OPTION],[x.P,c.P],[x.PARAM,c.PARAM],[x.PLAINTEXT,c.PLAINTEXT],[x.PRE,c.PRE],[x.RB,c.RB],[x.RP,c.RP],[x.RT,c.RT],[x.RTC,c.RTC],[x.RUBY,c.RUBY],[x.S,c.S],[x.SCRIPT,c.SCRIPT],[x.SECTION,c.SECTION],[x.SELECT,c.SELECT],[x.SOURCE,c.SOURCE],[x.SMALL,c.SMALL],[x.SPAN,c.SPAN],[x.STRIKE,c.STRIKE],[x.STRONG,c.STRONG],[x.STYLE,c.STYLE],[x.SUB,c.SUB],[x.SUMMARY,c.SUMMARY],[x.SUP,c.SUP],[x.TABLE,c.TABLE],[x.TBODY,c.TBODY],[x.TEMPLATE,c.TEMPLATE],[x.TEXTAREA,c.TEXTAREA],[x.TFOOT,c.TFOOT],[x.TD,c.TD],[x.TH,c.TH],[x.THEAD,c.THEAD],[x.TITLE,c.TITLE],[x.TR,c.TR],[x.TRACK,c.TRACK],[x.TT,c.TT],[x.U,c.U],[x.UL,c.UL],[x.SVG,c.SVG],[x.VAR,c.VAR],[x.WBR,c.WBR],[x.XMP,c.XMP]]);function jt(e){var t;return(t=f7.get(e))!==null&&t!==void 0?t:c.UNKNOWN}const H=c,h7={[L.HTML]:new Set([H.ADDRESS,H.APPLET,H.AREA,H.ARTICLE,H.ASIDE,H.BASE,H.BASEFONT,H.BGSOUND,H.BLOCKQUOTE,H.BODY,H.BR,H.BUTTON,H.CAPTION,H.CENTER,H.COL,H.COLGROUP,H.DD,H.DETAILS,H.DIR,H.DIV,H.DL,H.DT,H.EMBED,H.FIELDSET,H.FIGCAPTION,H.FIGURE,H.FOOTER,H.FORM,H.FRAME,H.FRAMESET,H.H1,H.H2,H.H3,H.H4,H.H5,H.H6,H.HEAD,H.HEADER,H.HGROUP,H.HR,H.HTML,H.IFRAME,H.IMG,H.INPUT,H.LI,H.LINK,H.LISTING,H.MAIN,H.MARQUEE,H.MENU,H.META,H.NAV,H.NOEMBED,H.NOFRAMES,H.NOSCRIPT,H.OBJECT,H.OL,H.P,H.PARAM,H.PLAINTEXT,H.PRE,H.SCRIPT,H.SECTION,H.SELECT,H.SOURCE,H.STYLE,H.SUMMARY,H.TABLE,H.TBODY,H.TD,H.TEMPLATE,H.TEXTAREA,H.TFOOT,H.TH,H.THEAD,H.TITLE,H.TR,H.TRACK,H.UL,H.WBR,H.XMP]),[L.MATHML]:new Set([H.MI,H.MO,H.MN,H.MS,H.MTEXT,H.ANNOTATION_XML]),[L.SVG]:new Set([H.TITLE,H.FOREIGN_OBJECT,H.DESC]),[L.XLINK]:new Set,[L.XML]:new Set,[L.XMLNS]:new Set};function bc(e){return e===H.H1||e===H.H2||e===H.H3||e===H.H4||e===H.H5||e===H.H6}x.STYLE,x.SCRIPT,x.XMP,x.IFRAME,x.NOEMBED,x.NOFRAMES,x.PLAINTEXT;const d7=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>=m.DIGIT_0&&e<=m.DIGIT_9}function Jt(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_Z}function p7(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_Z}function nt(e){return p7(e)||Jt(e)}function Xr(e){return nt(e)||ea(e)}function wc(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_F}function Ec(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_F}function _7(e){return ea(e)||wc(e)||Ec(e)}function Aa(e){return e+32}function Tc(e){return e===m.SPACE||e===m.LINE_FEED||e===m.TABULATION||e===m.FORM_FEED}function m7(e){return e===m.EQUALS_SIGN||Xr(e)}function Ki(e){return Tc(e)||e===m.SOLIDUS||e===m.GREATER_THAN_SIGN}class g7{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 t7(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=Tc(t)?ee.WHITESPACE_CHARACTER:t===m.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 s=0,i=rt[0];s>=0&&(s=kc(rt,i,s+1,t),!(s<0));t=this._consume()){r+=1,i=rt[s];const o=i&je.VALUE_LENGTH;if(o){const u=(o>>14)-1;if(t!==m.SEMICOLON&&this._isCharacterReferenceInAttribute()&&m7(this.preprocessor.peek(1))?(a=[m.AMPERSAND],s+=u):(a=u===0?[rt[s]&~je.VALUE_LENGTH]:u===1?[rt[++s]]:[rt[++s],rt[++s]],r=0,n=t!==m.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 m.LESS_THAN_SIGN:{this.state=g.TAG_OPEN;break}case m.AMPERSAND:{this.returnState=g.DATA,this.state=g.CHARACTER_REFERENCE;break}case m.NULL:{this._err(F.unexpectedNullCharacter),this._emitCodePoint(t);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case m.AMPERSAND:{this.returnState=g.RCDATA,this.state=g.CHARACTER_REFERENCE;break}case m.LESS_THAN_SIGN:{this.state=g.RCDATA_LESS_THAN_SIGN;break}case m.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case m.LESS_THAN_SIGN:{this.state=g.RAWTEXT_LESS_THAN_SIGN;break}case m.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case m.LESS_THAN_SIGN:{this.state=g.SCRIPT_DATA_LESS_THAN_SIGN;break}case m.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case m.NULL:{this._err(F.unexpectedNullCharacter),this._emitChars(ce);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(nt(t))this._createStartTagToken(),this.state=g.TAG_NAME,this._stateTagName(t);else switch(t){case m.EXCLAMATION_MARK:{this.state=g.MARKUP_DECLARATION_OPEN;break}case m.SOLIDUS:{this.state=g.END_TAG_OPEN;break}case m.QUESTION_MARK:{this._err(F.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=g.BOGUS_COMMENT,this._stateBogusComment(t);break}case m.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(nt(t))this._createEndTagToken(),this.state=g.TAG_NAME,this._stateTagName(t);else switch(t){case m.GREATER_THAN_SIGN:{this._err(F.missingEndTagName),this.state=g.DATA;break}case m.EOF:{this._err(F.eofBeforeTagName),this._emitChars("");break}case m.NULL:{this._err(F.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_ESCAPED,this._emitChars(ce);break}case m.EOF:{this._err(F.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===m.SOLIDUS?this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:nt(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){nt(t)?(this.state=g.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("");break}case m.NULL:{this._err(F.unexpectedNullCharacter),this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ce);break}case m.EOF:{this._err(F.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=g.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===m.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)&&Ki(this.preprocessor.peek(Te.SCRIPT.length))){this._emitCodePoint(t);for(let a=0;a1114111)this._err(F.characterReferenceOutsideUnicodeRange),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(pc(this.charRefCode))this._err(F.surrogateCharacterReference),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(mc(this.charRefCode))this._err(F.noncharacterCharacterReference);else if(_c(this.charRefCode)||this.charRefCode===m.CARRIAGE_RETURN){this._err(F.controlCharacterReference);const a=d7.get(this.charRefCode);a!==void 0&&(this.charRefCode=a)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Ac=new Set([c.DD,c.DT,c.LI,c.OPTGROUP,c.OPTION,c.P,c.RB,c.RP,c.RT,c.RTC]),Ji=new Set([...Ac,c.CAPTION,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]),Ca=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]]),y7=[c.H1,c.H2,c.H3,c.H4,c.H5,c.H6],k7=[c.TR,c.TEMPLATE,c.HTML],b7=[c.TBODY,c.TFOOT,c.THEAD,c.TEMPLATE,c.HTML],w7=[c.TABLE,c.TEMPLATE,c.HTML],E7=[c.TD,c.TH];class T7{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(w7,L.HTML)}clearBackToTableBodyContext(){this.clearBackTo(b7,L.HTML)}clearBackToTableRowContext(){this.clearBackTo(k7,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(Ca.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(bc(a)&&r===L.HTML)return!0;if(Ca.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||Ca.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||Ca.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(;Ac.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Ji.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Ji.has(this.currentTagId);)this.pop()}}const Cr=3;var ve;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ve=ve||(ve={}));const Zi={type:ve.Marker};class A7{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,a){const r=[],n=a.length,s=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t);for(let o=0;o[i.name,i.value]));let s=0;for(let i=0;in.get(u.name)===u.value)&&(s+=1,s>=Cr&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Zi)}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(Zi);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 es(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(s=>s.nodeName==="#documentType");if(n)n.name=t,n.publicId=a,n.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:a,systemId:r,parentNode:null};Nt.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const a=e.childNodes[e.childNodes.length-1];if(Nt.isTextNode(a)){a.value+=t;return}}Nt.appendChild(e,es(t))},insertTextBefore(e,t,a){const r=e.childNodes[e.childNodes.indexOf(a)-1];r&&Nt.isTextNode(r)?r.value+=t:Nt.insertBefore(e,es(t),a)},adoptAttributes(e,t){const a=new Set(e.attrs.map(r=>r.name));for(let r=0;re.startsWith(a))}function S7(e){return e.name===Cc&&e.publicId===null&&(e.systemId===null||e.systemId===C7)}function N7(e){if(e.name!==Cc)return ze.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===x7)return ze.QUIRKS;let{publicId:a}=e;if(a!==null){if(a=a.toLowerCase(),z7.has(a))return ze.QUIRKS;let r=t===null?D7:xc;if(ts(a,r))return ze.QUIRKS;if(r=t===null?Dc:I7,ts(a,r))return ze.LIMITED_QUIRKS}return ze.NO_QUIRKS}const as={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},F7="definitionurl",O7="definitionURL",L7=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])),R7=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}]]),v7=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])),B7=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 P7(e){const t=e.tagID;return t===c.FONT&&e.attrs.some(({name:r})=>r===ot.COLOR||r===ot.SIZE||r===ot.FACE)||B7.has(t)}function zc(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 s,i;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,i=this.fragmentContextID):{current:s,currentTagId:i}=this.openElements,this._setContextModes(s,i)}}_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)===x.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 i=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));i&&this.treeAdapter.setNodeSourceCodeLocation(i,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(x.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),s=r?n.lastIndexOf(r):n.length,i=n[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:u,endCol:l,endOffset:p}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:u,endCol:l,endOffset:p})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,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),s=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,s)}}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)===x.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),s=this.treeAdapter.getAttrList(a);return j7(t,n,s,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 s=this.activeFormattingElements.entries[n];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=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 Sc.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 h7[r].has(a)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){EU(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:{Fc(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:{xr(this,t);break}case k.IN_TABLE_TEXT:{Pc(this,t);break}case k.IN_COLUMN_GROUP:{ja(this,t);break}case k.AFTER_BODY:{qa(this,t);break}case k.AFTER_AFTER_BODY:{Sa(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){wU(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:{xr(this,t);break}case k.IN_COLUMN_GROUP:{ja(this,t);break}case k.AFTER_BODY:{qa(this,t);break}case k.AFTER_AFTER_BODY:{Sa(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Kr(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:{Kr(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.AFTER_BODY:{Z7(this,t);break}case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{eH(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case k.INITIAL:{tH(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)?TU(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{aH(this,t);break}case k.BEFORE_HEAD:{nH(this,t);break}case k.IN_HEAD:{Me(this,t);break}case k.IN_HEAD_NO_SCRIPT:{oH(this,t);break}case k.AFTER_HEAD:{uH(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:{iU(this,t);break}case k.IN_COLUMN_GROUP:{Dn(this,t);break}case k.IN_TABLE_BODY:{ar(this,t);break}case k.IN_ROW:{rr(this,t);break}case k.IN_CELL:{cU(this,t);break}case k.IN_SELECT:{Uc(this,t);break}case k.IN_SELECT_IN_TABLE:{lU(this,t);break}case k.IN_TEMPLATE:{hU(this,t);break}case k.AFTER_BODY:{pU(this,t);break}case k.IN_FRAMESET:{_U(this,t);break}case k.AFTER_FRAMESET:{gU(this,t);break}case k.AFTER_AFTER_BODY:{kU(this,t);break}case k.AFTER_AFTER_FRAMESET:{bU(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?AU(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{Qt(this,t);break}case k.BEFORE_HTML:{rH(this,t);break}case k.BEFORE_HEAD:{iH(this,t);break}case k.IN_HEAD:{sH(this,t);break}case k.IN_HEAD_NO_SCRIPT:{cH(this,t);break}case k.AFTER_HEAD:{lH(this,t);break}case k.IN_BODY:{tr(this,t);break}case k.TEXT:{QH(this,t);break}case k.IN_TABLE:{da(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.IN_CAPTION:{sU(this,t);break}case k.IN_COLUMN_GROUP:{oU(this,t);break}case k.IN_TABLE_BODY:{Jr(this,t);break}case k.IN_ROW:{Hc(this,t);break}case k.IN_CELL:{uU(this,t);break}case k.IN_SELECT:{jc(this,t);break}case k.IN_SELECT_IN_TABLE:{fU(this,t);break}case k.IN_TEMPLATE:{dU(this,t);break}case k.AFTER_BODY:{Yc(this,t);break}case k.IN_FRAMESET:{mU(this,t);break}case k.AFTER_FRAMESET:{yU(this,t);break}case k.AFTER_AFTER_BODY:{Sa(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:{vc(this,t);break}case k.TEXT:{XH(this,t);break}case k.IN_TABLE_TEXT:{Xt(this,t);break}case k.IN_TEMPLATE:{qc(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:{xn(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===m.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:{Nc(this,t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{xr(this,t);break}case k.IN_TABLE_TEXT:{Bc(this,t);break}}}}function W7(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):Rc(e,t),a}function G7(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 Q7(e,t,a){let r=t,n=e.openElements.getCommonAncestor(t);for(let s=0,i=n;i!==a;s++,i=n){n=e.openElements.getCommonAncestor(i);const o=e.activeFormattingElements.getElementEntry(i),u=o&&s>=$7;!o||u?(u&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(i)):(i=X7(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}function X7(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 K7(e,t,a){const r=e.treeAdapter.getTagName(t),n=jt(r);if(e._isElementCausesFosterParenting(n))e._fosterParentElement(a);else{const s=e.treeAdapter.getNamespaceURI(t);n===c.TEMPLATE&&s===L.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,a)}}function J7(e,t,a){const r=e.treeAdapter.getNamespaceURI(a.element),{token:n}=a,s=e.treeAdapter.createElement(n.tagName,r,n.attrs);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,n),e.activeFormattingElements.removeEntry(a),e.openElements.remove(a.element),e.openElements.insertAfter(t,s,n.tagID)}function Cn(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 s=e.openElements.items[1],i=e.treeAdapter.getNodeSourceCodeLocation(s);i&&!i.endTag&&e._setEndLocation(s,t)}}}}function tH(e,t){e._setDocumentType(t);const a=t.forceQuirks?ze.QUIRKS:N7(t);S7(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 aH(e,t){t.tagID===c.HTML?(e._insertElement(t,L.HTML),e.insertionMode=k.BEFORE_HEAD):ta(e,t)}function rH(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 nH(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 iH(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(x.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 sH(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 oH(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 cH(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 uH(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 lH(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(x.BODY,c.BODY),e.insertionMode=k.IN_BODY,er(e,t)}function er(e,t){switch(t.type){case ee.CHARACTER:{Fc(e,t);break}case ee.WHITESPACE_CHARACTER:{Nc(e,t);break}case ee.COMMENT:{Kr(e,t);break}case ee.START_TAG:{we(e,t);break}case ee.END_TAG:{tr(e,t);break}case ee.EOF:{vc(e,t);break}}}function Nc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Fc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function fH(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function hH(e,t){const a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,t.attrs))}function dH(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 pH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function _H(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),bc(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,L.HTML)}function mH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function gH(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 yH(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 kH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.tokenizer.state=fe.PLAINTEXT}function bH(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 wH(e,t){const a=e.activeFormattingElements.getElementEntryInScopeWithTagName(x.A);a&&(Cn(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 EH(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function TH(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(c.NOBR)&&(Cn(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function AH(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function CH(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 Oc(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Lc(e){const t=gc(e,ot.TYPE);return t!=null&&t.toLowerCase()===q7}function xH(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),Lc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function DH(e,t){e._appendElement(t,L.HTML),t.ackSelfClosing=!0}function zH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function IH(e,t){t.tagName=x.IMG,t.tagID=c.IMG,Oc(e,t)}function SH(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 NH(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,fe.RAWTEXT)}function FH(e,t){e.framesetOk=!1,e._switchToTextParsing(t,fe.RAWTEXT)}function is(e,t){e._switchToTextParsing(t,fe.RAWTEXT)}function OH(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 LH(e,t){e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function RH(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,L.HTML)}function vH(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(c.RTC),e._insertElement(t,L.HTML)}function BH(e,t){e._reconstructActiveFormattingElements(),zc(t),An(t),t.selfClosing?e._appendElement(t,L.MATHML):e._insertElement(t,L.MATHML),t.ackSelfClosing=!0}function PH(e,t){e._reconstructActiveFormattingElements(),Ic(t),An(t),t.selfClosing?e._appendElement(t,L.SVG):e._insertElement(t,L.SVG),t.ackSelfClosing=!0}function ss(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:{EH(e,t);break}case c.A:{wH(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{_H(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:{pH(e,t);break}case c.LI:case c.DD:case c.DT:{yH(e,t);break}case c.BR:case c.IMG:case c.WBR:case c.AREA:case c.EMBED:case c.KEYGEN:{Oc(e,t);break}case c.HR:{zH(e,t);break}case c.RB:case c.RTC:{RH(e,t);break}case c.RT:case c.RP:{vH(e,t);break}case c.PRE:case c.LISTING:{mH(e,t);break}case c.XMP:{NH(e,t);break}case c.SVG:{PH(e,t);break}case c.HTML:{fH(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:{hH(e,t);break}case c.FORM:{gH(e,t);break}case c.NOBR:{TH(e,t);break}case c.MATH:{BH(e,t);break}case c.TABLE:{CH(e,t);break}case c.INPUT:{xH(e,t);break}case c.PARAM:case c.TRACK:case c.SOURCE:{DH(e,t);break}case c.IMAGE:{IH(e,t);break}case c.BUTTON:{bH(e,t);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{AH(e,t);break}case c.IFRAME:{FH(e,t);break}case c.SELECT:{OH(e,t);break}case c.OPTION:case c.OPTGROUP:{LH(e,t);break}case c.NOEMBED:{is(e,t);break}case c.FRAMESET:{dH(e,t);break}case c.TEXTAREA:{SH(e,t);break}case c.NOSCRIPT:{e.options.scriptingEnabled?is(e,t):ss(e,t);break}case c.PLAINTEXT:{kH(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:ss(e,t)}}function MH(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 HH(e,t){e.openElements.hasInScope(c.BODY)&&(e.insertionMode=k.AFTER_BODY,Yc(e,t))}function UH(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}function jH(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 qH(e){e.openElements.hasInButtonScope(c.P)||e._insertFakeElement(x.P,c.P),e._closePElement()}function YH(e){e.openElements.hasInListItemScope(c.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(c.LI),e.openElements.popUntilTagNamePopped(c.LI))}function $H(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}function VH(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function WH(e,t){const a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker())}function GH(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(x.BR,c.BR),e.openElements.pop(),e.framesetOk=!1}function Rc(e,t){const a=t.tagName,r=t.tagID;for(let n=e.openElements.stackTop;n>0;n--){const s=e.openElements.items[n],i=e.openElements.tagIDs[n];if(r===i&&(r!==c.UNKNOWN||e.treeAdapter.getTagName(s)===a)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=n&&e.openElements.shortenToLength(n);break}if(e._isSpecialElement(s,i))break}}function tr(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:{Cn(e,t);break}case c.P:{qH(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:{UH(e,t);break}case c.LI:{YH(e);break}case c.DD:case c.DT:{$H(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{VH(e);break}case c.BR:{GH(e);break}case c.BODY:{MH(e,t);break}case c.HTML:{HH(e,t);break}case c.FORM:{jH(e);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{WH(e,t);break}case c.TEMPLATE:{Tt(e,t);break}default:Rc(e,t)}}function vc(e,t){e.tmplInsertionModeStack.length>0?qc(e,t):xn(e,t)}function QH(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 XH(e,t){e._err(t,F.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function xr(e,t){if(Sc.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:{Pc(e,t);break}case ee.WHITESPACE_CHARACTER:{Bc(e,t);break}}else ga(e,t)}function KH(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_CAPTION}function JH(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_COLUMN_GROUP}function ZH(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(x.COLGROUP,c.COLGROUP),e.insertionMode=k.IN_COLUMN_GROUP,Dn(e,t)}function eU(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=k.IN_TABLE_BODY}function tU(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(x.TBODY,c.TBODY),e.insertionMode=k.IN_TABLE_BODY,ar(e,t)}function aU(e,t){e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function rU(e,t){Lc(t)?e._appendElement(t,L.HTML):ga(e,t),t.ackSelfClosing=!0}function nU(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:{tU(e,t);break}case c.STYLE:case c.SCRIPT:case c.TEMPLATE:{Me(e,t);break}case c.COL:{ZH(e,t);break}case c.FORM:{nU(e,t);break}case c.TABLE:{aU(e,t);break}case c.TBODY:case c.TFOOT:case c.THEAD:{eU(e,t);break}case c.INPUT:{rU(e,t);break}case c.CAPTION:{KH(e,t);break}case c.COLGROUP:{JH(e,t);break}default:ga(e,t)}}function da(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:ga(e,t)}}function ga(e,t){const a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,er(e,t),e.fosterParentingEnabled=a}function Bc(e,t){e.pendingCharacterTokens.push(t)}function Pc(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 lU(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)):Uc(e,t)}function fU(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)):jc(e,t)}function hU(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,Dn(e,t);break}case c.TR:{e.tmplInsertionModeStack[0]=k.IN_TABLE_BODY,e.insertionMode=k.IN_TABLE_BODY,ar(e,t);break}case c.TD:case c.TH:{e.tmplInsertionModeStack[0]=k.IN_ROW,e.insertionMode=k.IN_ROW,rr(e,t);break}default:e.tmplInsertionModeStack[0]=k.IN_BODY,e.insertionMode=k.IN_BODY,we(e,t)}}function dU(e,t){t.tagID===c.TEMPLATE&&Tt(e,t)}function qc(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):xn(e,t)}function pU(e,t){t.tagID===c.HTML?we(e,t):qa(e,t)}function Yc(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 qa(e,t)}function qa(e,t){e.insertionMode=k.IN_BODY,er(e,t)}function _U(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 mU(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 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.tagID===c.HTML&&(e.insertionMode=k.AFTER_AFTER_FRAMESET)}function kU(e,t){t.tagID===c.HTML?we(e,t):Sa(e,t)}function Sa(e,t){e.insertionMode=k.IN_BODY,er(e,t)}function bU(e,t){switch(t.tagID){case c.HTML:{we(e,t);break}case c.NOFRAMES:{Me(e,t);break}}}function wU(e,t){t.chars=ce,e._insertCharacters(t)}function EU(e,t){e._insertCharacters(t),e.framesetOk=!1}function $c(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==L.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function TU(e,t){if(P7(t))$c(e),e._startTagOutsideForeignContent(t);else{const a=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(a);r===L.MATHML?zc(t):r===L.SVG&&(M7(t),Ic(t)),An(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function AU(e,t){if(t.tagID===c.P||t.tagID===c.BR){$c(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}}}x.AREA,x.BASE,x.BASEFONT,x.BGSOUND,x.BR,x.COL,x.EMBED,x.FRAME,x.HR,x.IMG,x.INPUT,x.KEYGEN,x.LINK,x.META,x.PARAM,x.SOURCE,x.TRACK,x.WBR;const CU=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),os={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Vc(e,t){const a=RU(e),r=zo("type",{handlers:{root:xU,element:DU,text:zU,comment:Gc,doctype:IU,raw:NU},unknown:FU}),n={parser:a?new ns(os):ns.getFragmentParser(void 0,os),handle(o){r(o,n)},stitches:!1,options:t||{}};r(e,n),qt(n,Ze());const s=a?n.parser.document:n.parser.getFragment(),i=BM(s,{file:n.options.file});return n.stitches&&Ke(i,"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}}),i.type==="root"&&i.children.length===1&&i.children[0].type===e.type?i.children[0]:i}function Wc(e,t){let a=-1;if(e)for(;++at.concat(Xc(a)),"")}function Kc(e,t=2,a=0){return!Array.isArray(e.children)||a===t?[e]:[e,...e.children.reduce((r,n)=>r.concat(Kc(n,t,a+1)),[])]}const Jc=["h2","h3","h4","h5","h6"],MU=Jc.reduce((e,t)=>(e[t]=Number(t.charAt(t.length-1)),e),{}),HU=e=>MU[e.tag],UU=e=>((e<1||e>5)&&(console.log(`\`toc.depth\` is set to ${e}. It should be a number between 1 and 5. `),e=1),Jc.slice(0,e));function Zc(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=Zc(r.children):delete r.children}),t}function jU(e,t){const{searchDepth:a,depth:r,title:n=""}=t,s=UU(r),o=Kc(e,a).filter(u=>s.includes(u.tag||"")).map(u=>{var l;return{id:(l=u.props)==null?void 0:l.id,depth:HU(u),text:Xc(u)}});return{title:n,searchDepth:a,depth:r,links:o}}function qU(e,t){const a=jU(e,t);return a.links=Zc(a.links),a}let Le,Dr;const YU=async(e,t={})=>{var h,f,_,y,b,C,A,S,O,M,N,d,z;Le||(Le=await zr(()=>import("./mdc-imports.SdErBHLE.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).catch(()=>({}))),Dr||(Dr=await zr(()=>import("./mdc-configs.-tOr16rn.js"),__vite__mapDeps([]),import.meta.url).then(U=>U.getMdcConfigs()).catch(()=>[]));const a=[...Dr||[],...t.configs||[]];t.highlight!=null&&t.highlight!=!1&&t.highlight.highlighter!==void 0&&typeof t.highlight.highlighter!="function"&&(t={...t,highlight:{...t.highlight}},delete t.highlight.highlighter);const r=Ln(t,{remark:{plugins:Le==null?void 0:Le.remarkPlugins},rehype:{plugins:Le==null?void 0:Le.rehypePlugins},highlight:Le==null?void 0:Le.highlight},PU);(f=(h=r.rehype)==null?void 0:h.plugins)!=null&&f.highlight&&(r.rehype.plugins.highlight.options=r.highlight||{});let n=Qu();for(const U of a)n=await((y=(_=U.unified)==null?void 0:_.pre)==null?void 0:y.call(_,n))||n;n.use(eh);for(const U of a)n=await((C=(b=U.unified)==null?void 0:b.remark)==null?void 0:C.call(b,n))||n;await Pi(n,(A=r.remark)==null?void 0:A.plugins),n.use(Qh,(S=r.rehype)==null?void 0:S.options);for(const U of a)n=await((M=(O=U.unified)==null?void 0:O.rehype)==null?void 0:M.call(O,n))||n;await Pi(n,(N=r.rehype)==null?void 0:N.plugins),n.use(ug);for(const U of a)n=await((z=(d=U.unified)==null?void 0:d.post)==null?void 0:z.call(d,n))||n;const{content:s,data:i}=await Ho(e),o=await n.process({value:s,data:i}),u=o.result,l=Object.assign($U(u.body),i,(o==null?void 0:o.data)||{});let p;if(l.toc!==!1){const U=Ln(l.toc||{},r.toc);p=qU(u.body,U)}return{data:l,body:u.body,excerpt:u.excerpt,toc:p}};function $U(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=Rn(n)}if(r.length&&r[0].tag==="p"){const n=r.shift();a=Rn(n)}return{title:t,description:a}}const VU=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=Qe(()=>lu(r.value)),{data:s,refresh:i}=([t,a]=cs(async()=>us(n.value,async()=>typeof r.value!="string"?r.value:await YU(r.value,r.parserOptions),"$zeFHsH7M0F")),t=await t,a(),t),o=Qe(()=>{var u,l;return r.excerpt?(u=s.value)==null?void 0:u.excerpt:(l=s.value)==null?void 0:l.body});return fu(()=>r.value,()=>{i()}),(u,l)=>{var h,f,_,y;const p=uu;return le(u.$slots,"default",{data:(h=V(s))==null?void 0:h.data,body:(f=V(s))==null?void 0:f.body,toc:(_=V(s))==null?void 0:_.toc,excerpt:(y=V(s))==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(s))==null?void 0:b.data},null,8,["tag","class","body","data"])):ue("",!0)]})}}}),WU=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=e,a=Qe(()=>{const s=oa("gap-16 sm:gap-y-24",t.orientation==="vertical"&&"flex flex-col",t.orientation==="horizontal"&&"grid lg:grid-cols-2 lg:items-center"),i=t.orientation==="vertical"?"text-center":"",o=oa("mt-10 flex flex-wrap gap-x-6 gap-y-3",t.orientation==="vertical"&&"justify-center");return{wrapper:"py-24 sm:py-32 md:py-40 relative",container:s,base:i,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:o}}),{ui:r,attrs:n}=$a("landing.hero",ct(t,"ui"),a,ct(t,"class"),!0);return(s,i)=>{const o=fs,u=ls;return Z(),ne("div",qe({class:V(r).wrapper},V(n)),[le(s.$slots,"top"),Be(u,{class:se(V(r).container)},{default:it(()=>{var l;return[Bt("div",{class:se(V(r).base)},[s.$slots.headline?(Z(),ne("div",{key:0,class:se(V(r).headline)},[le(s.$slots,"headline")],2)):ue("",!0),Bt("h1",{class:se(V(r).title)},[le(s.$slots,"title",{},()=>[kt(Re(e.title),1)])],2),e.description||s.$slots.description?(Z(),ne("p",{key:1,class:se(V(r).description)},[le(s.$slots,"description",{},()=>[kt(Re(e.description),1)])],2)):ue("",!0),(l=e.links)!=null&&l.length||s.$slots.links?(Z(),ne("div",{key:2,class:se(V(r).links)},[le(s.$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(s.$slots,"default")]}),_:3},8,["class"]),le(s.$slots,"bottom")],16)}}}),GU=hu(du);function QU(e,t={}){const{x:a,y:r}=GU(t),n=xa(e??(window==null?void 0:window.document.body)),s=xa(0),i=xa(0);return pu&&_u([n,a,r],()=>{const o=mu(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||(s.value=p,i.value=h)},{immediate:!0,throttle:50}),{x:a,y:r,elementX:s,elementY:i}}const XU=e=>(Tu("data-v-99e6f90c"),e=e(),Au(),e),KU=XU(()=>Bt("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)),JU=Ht({inheritAttrs:!1,__name:"LandingCard",props:{...gu,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){yu(_=>({c9a0cb80:V(a),"3ecc3d0c":V(r)}));const t=e,a=Qe(()=>{var _;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((_=ka[t.color])==null?void 0:_["500"])||ka[t.color]||t.color}),r=Qe(()=>{var _;return t.color==="primary"?"rgb(var(--color-primary-DEFAULT))":((_=ka[t.color])==null?void 0:_["400"])||ka[t.color]||t.color}),n=Qe(()=>({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:oa("gap-x-8 gap-y-4 rounded-xl flex-1",t.orientation==="vertical"&&"flex flex-col",!!i.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"})),s=xa(),i=ku(),{elementX:o,elementY:u}=QU(s),{ui:l,attrs:p}=$a("landing.card",ct(t,"ui"),n,ct(t,"class"),!0),h=Qe(()=>bu(t)),f=Qe(()=>(t.title||i.title&&wu(i.title())||"Card link").trim());return(_,y)=>{const b=Eu,C=hs,A=Nu;return Z(),ne("div",qe({ref_key:"el",ref:s,style:{"--x":`${V(o)}px`,"--y":`${V(u)}px`},class:[V(l).wrapper,_.to&&V(l).to]},V(p)),[Be(A,{ui:V(l)},{default:it(()=>[Bt("div",{class:se(V(l).container)},[_.to?(Z(),wt(b,qe({key:0,"aria-label":V(f)},V(h),{class:"focus:outline-none",tabindex:"-1"}),{default:it(()=>[KU]),_:1},16,["aria-label"])):ue("",!0),e.icon||_.$slots.icon?(Z(),ne("div",{key:1,class:se(V(l).icon.wrapper)},[le(_.$slots,"icon",{},()=>[Be(C,{name:e.icon,class:se(V(l).icon.base)},null,8,["name","class"])],!0)],2)):ue("",!0),e.title||_.$slots.title?(Z(),ne("p",{key:2,class:se(V(l).title)},[le(_.$slots,"title",{},()=>[kt(Re(e.title),1)],!0)],2)):ue("",!0),e.description||_.$slots.description?(Z(),ne("p",{key:3,class:se(V(l).description)},[le(_.$slots,"description",{},()=>[kt(Re(e.description),1)],!0)],2)):ue("",!0),le(_.$slots,"container",{},void 0,!0)],2),_.$slots.default?le(_.$slots,"default",{key:0},void 0,!0):ue("",!0)]),_:3},8,["ui"])],16)}}}),ZU=Cu(JU,[["__scopeId","data-v-99e6f90c"]]),ej=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}=$a("page.grid",ct(a,"ui"),t,ct(a,"class"),!0);return(s,i)=>(Z(),ne("div",qe({class:V(r).wrapper},V(n)),[le(s.$slots,"default")],16))}}),tj={key:0},aj={key:2},rj={key:0},nj=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=xu(),a=e,r=Qe(()=>{const i=oa("gap-16 sm:gap-y-24",a.align==="center"?"flex flex-col":"grid lg:grid-cols-2 lg:items-center"),o=oa("",a.align==="center"&&"text-center flex flex-col items-center",a.align==="right"&&"lg:order-last");return{wrapper:"py-24 sm:py-32",container:i,base:o,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:t.ui.icons.check}}}}),{ui:n,attrs:s}=$a("landing.section",ct(a,"ui"),r,ct(a,"class"),!0);return(i,o)=>{const u=hs,l=fs,p=ls;return Z(),ne("div",qe({class:V(n).wrapper},V(s)),[le(i.$slots,"top"),Be(p,{class:se(V(n).container)},{default:it(()=>{var h,f,_,y,b;return[e.icon||i.$slots.icon||e.headline||i.$slots.headline||e.title||i.$slots.title||e.description||i.$slots.description||(h=e.links)!=null&&h.length||i.$slots.links?(Z(),ne("div",{key:0,class:se(V(n).base)},[e.icon||i.$slots.icon?(Z(),ne("div",{key:0,class:se(V(n).icon.wrapper)},[le(i.$slots,"icon",{},()=>[Be(u,{name:e.icon,class:se(V(n).icon.base)},null,8,["name","class"])])],2)):e.headline||i.$slots.headline?(Z(),ne("div",{key:1,class:se(V(n).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(n).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(n).description)},[le(i.$slots,"description",{},()=>[kt(Re(e.description),1)])],2)):ue("",!0),e.align!=="center"&&((f=e.features)!=null&&f.length)?(Z(),ne("dl",{key:4,class:se([V(n).features.wrapper.base,V(n).features.wrapper.list])},[(Z(!0),ne(Ft,null,Ot(e.features,C=>(Z(),ne("div",{key:C.name,class:se(V(n).features.base)},[Bt("dt",{class:se(V(n).features.name)},[Be(u,{name:C.icon||V(n).features.icon.name,class:se(V(n).features.icon.base),"aria-hidden":"true"},null,8,["name","class"]),C.name?(Z(),ne("span",tj,Re(C.name),1)):ue("",!0)],2),C.description?(Z(),ne("dd",{key:0,class:se(V(n).features.description)},Re(C.description),3)):ue("",!0)],2))),128))],2)):ue("",!0),e.align!=="center"&&((_=e.links)!=null&&_.length||i.$slots.links)?(Z(),ne("div",{key:5,class:se(V(n).links)},[le(i.$slots,"links",{},()=>[(Z(!0),ne(Ft,null,Ot(e.links,(C,A)=>(Z(),wt(l,qe({key:A},C,{onClick:C.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",aj)):ue("",!0),e.align==="center"&&((y=e.features)!=null&&y.length)?(Z(),ne("dl",{key:3,class:se([V(n).features.wrapper.base,V(n).features.wrapper.grid])},[(Z(!0),ne(Ft,null,Ot(e.features,C=>(Z(),ne("div",{key:C.name,class:se(V(n).features.base)},[Bt("dt",{class:se(V(n).features.name)},[Be(u,{name:C.icon||V(n).features.icon.name,class:se(V(n).features.icon.base),"aria-hidden":"true"},null,8,["name","class"]),C.name?(Z(),ne("span",rj,Re(C.name),1)):ue("",!0)],2),C.description?(Z(),ne("dd",{key:0,class:se(V(n).features.description)},Re(C.description),3)):ue("",!0)],2))),128))],2)):ue("",!0),e.align==="center"&&((b=e.links)!=null&&b.length||i.$slots.links)?(Z(),ne("div",{key:4,class:se(V(Du)(V(n).links,"mt-0 justify-center"))},[le(i.$slots,"links",{},()=>[(Z(!0),ne(Ft,null,Ot(e.links,(C,A)=>(Z(),wt(l,qe({key:A},C,{onClick:C.click}),null,16,["onClick"]))),128))])],2)):ue("",!0)]}),_:3},8,["class"]),le(i.$slots,"bottom")],16)}}}),ij=Ht({__name:"index",async setup(e){let t,a;const{data:r}=([t,a]=cs(()=>us("index",()=>Su("/").findOne())),t=await t,a(),t);return zu({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,s)=>{const i=VU,o=WU,u=ZU,l=ej,p=nj;return Z(),ne("div",null,[V(r).hero?(Z(),wt(o,Iu(qe({key:0},V(r).hero)),{title:it(()=>[Be(i,{value:V(r).hero.title},null,8,["value"])]),default:it(()=>[Be(i,{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:it(()=>[Be(l,null,{default:it(()=>[(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"])])}}}),fj=Object.freeze(Object.defineProperty({__proto__:null,default:ij},Symbol.toStringTag,{value:"Module"}));export{fj as i,eg as t,Ke as v}; diff --git a/_nuxt/index.5xrdXsZF.js b/_nuxt/index.rMmiTd3R.js similarity index 51% rename from _nuxt/index.5xrdXsZF.js rename to _nuxt/index.rMmiTd3R.js index 393f43bb..05a76db4 100644 --- a/_nuxt/index.5xrdXsZF.js +++ b/_nuxt/index.rMmiTd3R.js @@ -1 +1 @@ -import{d as e}from"./entry.rQ92EvLv.js";const o=e({name:"OgImage",async setup(n,{attrs:t}){return()=>null}});export{o as default}; +import{d as e}from"./entry.bb8_tySE.js";const o=e({name:"OgImage",async setup(n,{attrs:t}){return()=>null}});export{o as default}; diff --git a/_nuxt/mdc-highlighter.drB8Xnd9.js b/_nuxt/mdc-highlighter.NchL_s2I.js similarity index 99% rename from _nuxt/mdc-highlighter.drB8Xnd9.js rename to _nuxt/mdc-highlighter.NchL_s2I.js index 563537c7..9bce499b 100644 --- a/_nuxt/mdc-highlighter.drB8Xnd9.js +++ b/_nuxt/mdc-highlighter.NchL_s2I.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./wasm.Ji7Olrrq.js","./entry.rQ92EvLv.js","./entry.jnCQ1O-o.css","./vue.5RYf6BCf.js","./html.ZVb9jHrO.js","./javascript.JMZ6uy5M.js","./css.tuEqSfZX.js","./markdown.BZyvP-q3.js","./typescript.HpdcmTOD.js","./jsx.3LZ_BoLB.js","./tsx.7LxggtAE.js","./json.xL80yL3n.js","./yaml.zytfnWoA.js","./html-derivative.NgGDZnWR.js","./mdc.DUw-Yeky.js"] + __vite__mapDeps.viteFileDeps = ["./wasm.BnMJw1Cl.js","./entry.bb8_tySE.js","./entry.jnCQ1O-o.css","./vue.5RYf6BCf.js","./html.ZVb9jHrO.js","./javascript.JMZ6uy5M.js","./css.tuEqSfZX.js","./markdown.BZyvP-q3.js","./typescript.HpdcmTOD.js","./jsx.3LZ_BoLB.js","./tsx.7LxggtAE.js","./json.xL80yL3n.js","./yaml.zytfnWoA.js","./html-derivative.NgGDZnWR.js","./mdc.DUw-Yeky.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -var Xt=Object.defineProperty;var Jt=(r,e,t)=>e in r?Xt(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var h=(r,e,t)=>(Jt(r,typeof e!="symbol"?e+"":e,t),t);import{_ as k}from"./entry.rQ92EvLv.js";import{getMdcConfigs as Qt}from"./mdc-configs.-tOr16rn.js";var j;(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"})(j||(j={}));var ee;(function(r){function e(u){return u.toString(2).padStart(32,"0")}r.toBinaryStr=e;function t(u){const d=r.getLanguageId(u),f=r.getTokenType(u),g=r.getFontStyle(u),p=r.getForeground(u),b=r.getBackground(u);console.log({languageId:d,tokenType:f,fontStyle:g,foreground:p,background:b})}r.print=t;function n(u){return(u&255)>>>0}r.getLanguageId=n;function s(u){return(u&768)>>>8}r.getTokenType=s;function o(u){return(u&1024)!==0}r.containsBalancedBrackets=o;function i(u){return(u&30720)>>>11}r.getFontStyle=i;function a(u){return(u&16744448)>>>15}r.getForeground=a;function l(u){return(u&4278190080)>>>24}r.getBackground=l;function c(u,d,f,g,p,b,_){let y=r.getLanguageId(u),S=r.getTokenType(u),R=r.containsBalancedBrackets(u)?1:0,P=r.getFontStyle(u),w=r.getForeground(u),A=r.getBackground(u);return d!==0&&(y=d),f!==8&&(S=f),g!==null&&(R=g?1:0),p!==-1&&(P=p),b!==0&&(w=b),_!==0&&(A=_),(y<<0|S<<8|R<<10|P<<11|w<<15|A<<24)>>>0}r.set=c})(ee||(ee={}));function be(r,e){const t=[],n=Zt(r);let s=n.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=n.next()}let c=i();if(t.push({matcher:c,priority:l}),s!==",")break;s=n.next()}return t;function o(){if(s==="-"){s=n.next();const l=o();return c=>!!l&&!l(c)}if(s==="("){s=n.next();const l=a();return s===")"&&(s=n.next()),l}if(Ye(s)){const l=[];do l.push(s),s=n.next();while(Ye(s));return c=>e(l,c)}return null}function i(){const l=[];let c=o();for(;c;)l.push(c),c=o();return u=>l.every(d=>d(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),s==="|"||s===",");){do s=n.next();while(s==="|"||s===",");c=i()}return u=>l.some(d=>d(u))}}function Ye(r){return!!r&&!!r.match(/[\w\.:]+/)}function Zt(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 gt(r){typeof r.dispose=="function"&&r.dispose()}function en(r){return We(r)}function We(r){return Array.isArray(r)?tn(r):typeof r=="object"?nn(r):r}function tn(r){let e=[];for(let t=0,n=r.length;t{for(let n in t)r[n]=t[n]}),r}function _t(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?_t(r.substring(0,r.length-1)):r.substr(~e+1)}let Le=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class de{static hasCaptures(e){return e===null?!1:(Le.lastIndex=0,Le.test(e))}static replaceCaptures(e,t,n){return e.replace(Le,(s,o,i,a)=>{let l=n[parseInt(o||i,10)];if(l){let c=t.substring(l.start,l.end);for(;c[0]===".";)c=c.substring(1);switch(a){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return s})}}function yt(r,e){return re?1:0}function bt(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 s=0;s`);return}const o=t.lookup(e);r instanceof ie?ye({baseGrammar:o,selfGrammar:s},n):Be(r.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},n);const i=t.injections(r.scopeName);if(i)for(const a of i)n.add(new ie(a))}function Be(r,e,t){if(e.repository&&e.repository[r]){const n=e.repository[r];Se([n],e,t)}}function ye(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&Se(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&Se(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function Se(r,e,t){for(const n of r){if(t.visitedRule.has(n))continue;t.visitedRule.add(n);const s=n.repository?mt({},e.repository,n.repository):e.repository;Array.isArray(n.patterns)&&Se(n.patterns,{...e,repository:s},t);const o=n.include;if(!o)continue;const i=wt(o);switch(i.kind){case 0:ye({...e,selfGrammar:e.baseGrammar},t);break;case 1:ye(e,t);break;case 2:Be(i.ruleName,{...e,repository:s},t);break;case 3:case 4:const a=i.scopeName===e.selfGrammar.scopeName?e.selfGrammar:i.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(a){const l={baseGrammar:e.baseGrammar,selfGrammar:a,repository:s};i.kind===4?Be(i.ruleName,l,t):ye(l,t)}else i.kind===4?t.add(new rn(i.scopeName,i.ruleName)):t.add(new ie(i.scopeName));break}}}class an{constructor(){h(this,"kind",0)}}class cn{constructor(){h(this,"kind",1)}}class un{constructor(e){h(this,"ruleName");h(this,"kind",2);this.ruleName=e}}class hn{constructor(e){h(this,"scopeName");h(this,"kind",3);this.scopeName=e}}class fn{constructor(e,t){h(this,"scopeName");h(this,"ruleName");h(this,"kind",4);this.scopeName=e,this.ruleName=t}}function wt(r){if(r==="$base")return new an;if(r==="$self")return new cn;const e=r.indexOf("#");if(e===-1)return new hn(r);if(e===0)return new un(r.substring(1));{const t=r.substring(0,e),n=r.substring(e+1);return new fn(t,n)}}const pn=/\\(\d+)/,Je=/\\(\d+)/g,dn=-1,vt=-2;class ue{constructor(e,t,n,s){h(this,"$location");h(this,"id");h(this,"_nameIsCapturing");h(this,"_name");h(this,"_contentNameIsCapturing");h(this,"_contentName");this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=de.hasCaptures(this._name),this._contentName=s||null,this._contentNameIsCapturing=de.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${_t(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:de.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:de.replaceCaptures(this._contentName,e,t)}}class gn extends ue{constructor(t,n,s,o,i){super(t,n,s,o);h(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,s,o){throw new Error("Not supported!")}}class mn extends ue{constructor(t,n,s,o,i){super(t,n,s,null);h(this,"_match");h(this,"captures");h(this,"_cachedCompiledPatterns");this._match=new q(o,this.id),this.captures=i,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,s,o){return this._getCachedCompiledPatterns(t).compileAG(t,s,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new le,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Qe extends ue{constructor(t,n,s,o,i){super(t,n,s,o);h(this,"hasMissingPatterns");h(this,"patterns");h(this,"_cachedCompiledPatterns");this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const s of this.patterns)t.getRule(s).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,s,o){return this._getCachedCompiledPatterns(t).compileAG(t,s,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new le,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class De extends ue{constructor(t,n,s,o,i,a,l,c,u,d){super(t,n,s,o);h(this,"_begin");h(this,"beginCaptures");h(this,"_end");h(this,"endHasBackReferences");h(this,"endCaptures");h(this,"applyEndPatternLast");h(this,"hasMissingPatterns");h(this,"patterns");h(this,"_cachedCompiledPatterns");this._begin=new q(i,this.id),this.beginCaptures=a,this._end=new q(l||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=d.patterns,this.hasMissingPatterns=d.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,s,o){return this._getCachedCompiledPatterns(t,n).compileAG(t,s,o)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new le;for(const s of this.patterns)t.getRule(s).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 Ce extends ue{constructor(t,n,s,o,i,a,l,c,u){super(t,n,s,o);h(this,"_begin");h(this,"beginCaptures");h(this,"whileCaptures");h(this,"_while");h(this,"whileHasBackReferences");h(this,"hasMissingPatterns");h(this,"patterns");h(this,"_cachedCompiledPatterns");h(this,"_cachedCompiledWhilePatterns");this._begin=new q(i,this.id),this.beginCaptures=a,this.whileCaptures=c,this._while=new q(l,vt),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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,s,o){return this._getCachedCompiledPatterns(t).compileAG(t,s,o)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new le;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,s,o){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,s,o)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new le,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"￿"),this._cachedCompiledWhilePatterns}}class O{static createCaptureRule(e,t,n,s,o){return e.registerRule(i=>new gn(t,i,n,s,o))}static getCompiledRuleId(e,t,n){return e.id||t.registerRule(s=>{if(e.id=s,e.match)return new mn(e.$vscodeTextmateLocation,e.id,e.name,e.match,O._compileCaptures(e.captures,t,n));if(typeof e.begin>"u"){e.repository&&(n=mt({},n,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new Qe(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,O._compilePatterns(o,t,n))}return e.while?new Ce(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,n),e.while,O._compileCaptures(e.whileCaptures||e.captures,t,n),O._compilePatterns(e.patterns,t,n)):new De(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,n),e.end,O._compileCaptures(e.endCaptures||e.captures,t,n),e.applyEndPatternLast,O._compilePatterns(e.patterns,t,n))}),e.id}static _compileCaptures(e,t,n){let s=[];if(e){let o=0;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;e[i].patterns&&(l=O.getCompiledRuleId(e[i],t,n)),s[a]=O.createCaptureRule(t,e[i].$vscodeTextmateLocation,e[i].name,e[i].contentName,l)}}return s}static _compilePatterns(e,t,n){let s=[];if(e)for(let o=0,i=e.length;oe.substring(s.start,s.end));return Je.lastIndex=0,this.source.replace(Je,(s,o)=>St(n[parseInt(o,10)]||""))}_buildAnchorCache(){let e=[],t=[],n=[],s=[],o,i,a,l;for(o=0,i=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 s=this._items.map(o=>o.resolveAnchors(t,n));return new Ze(e,s,this._items.map(o=>o.ruleId))}}class Ze{constructor(e,t,n){h(this,"regExps");h(this,"rules");h(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?Xt(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var h=(r,e,t)=>(Jt(r,typeof e!="symbol"?e+"":e,t),t);import{_ as k}from"./entry.bb8_tySE.js";import{getMdcConfigs as Qt}from"./mdc-configs.-tOr16rn.js";var j;(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"})(j||(j={}));var ee;(function(r){function e(u){return u.toString(2).padStart(32,"0")}r.toBinaryStr=e;function t(u){const d=r.getLanguageId(u),f=r.getTokenType(u),g=r.getFontStyle(u),p=r.getForeground(u),b=r.getBackground(u);console.log({languageId:d,tokenType:f,fontStyle:g,foreground:p,background:b})}r.print=t;function n(u){return(u&255)>>>0}r.getLanguageId=n;function s(u){return(u&768)>>>8}r.getTokenType=s;function o(u){return(u&1024)!==0}r.containsBalancedBrackets=o;function i(u){return(u&30720)>>>11}r.getFontStyle=i;function a(u){return(u&16744448)>>>15}r.getForeground=a;function l(u){return(u&4278190080)>>>24}r.getBackground=l;function c(u,d,f,g,p,b,_){let y=r.getLanguageId(u),S=r.getTokenType(u),R=r.containsBalancedBrackets(u)?1:0,P=r.getFontStyle(u),w=r.getForeground(u),A=r.getBackground(u);return d!==0&&(y=d),f!==8&&(S=f),g!==null&&(R=g?1:0),p!==-1&&(P=p),b!==0&&(w=b),_!==0&&(A=_),(y<<0|S<<8|R<<10|P<<11|w<<15|A<<24)>>>0}r.set=c})(ee||(ee={}));function be(r,e){const t=[],n=Zt(r);let s=n.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=n.next()}let c=i();if(t.push({matcher:c,priority:l}),s!==",")break;s=n.next()}return t;function o(){if(s==="-"){s=n.next();const l=o();return c=>!!l&&!l(c)}if(s==="("){s=n.next();const l=a();return s===")"&&(s=n.next()),l}if(Ye(s)){const l=[];do l.push(s),s=n.next();while(Ye(s));return c=>e(l,c)}return null}function i(){const l=[];let c=o();for(;c;)l.push(c),c=o();return u=>l.every(d=>d(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),s==="|"||s===",");){do s=n.next();while(s==="|"||s===",");c=i()}return u=>l.some(d=>d(u))}}function Ye(r){return!!r&&!!r.match(/[\w\.:]+/)}function Zt(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 gt(r){typeof r.dispose=="function"&&r.dispose()}function en(r){return We(r)}function We(r){return Array.isArray(r)?tn(r):typeof r=="object"?nn(r):r}function tn(r){let e=[];for(let t=0,n=r.length;t{for(let n in t)r[n]=t[n]}),r}function _t(r){const e=~r.lastIndexOf("/")||~r.lastIndexOf("\\");return e===0?r:~e===r.length-1?_t(r.substring(0,r.length-1)):r.substr(~e+1)}let Le=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class de{static hasCaptures(e){return e===null?!1:(Le.lastIndex=0,Le.test(e))}static replaceCaptures(e,t,n){return e.replace(Le,(s,o,i,a)=>{let l=n[parseInt(o||i,10)];if(l){let c=t.substring(l.start,l.end);for(;c[0]===".";)c=c.substring(1);switch(a){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return s})}}function yt(r,e){return re?1:0}function bt(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 s=0;s`);return}const o=t.lookup(e);r instanceof ie?ye({baseGrammar:o,selfGrammar:s},n):Be(r.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},n);const i=t.injections(r.scopeName);if(i)for(const a of i)n.add(new ie(a))}function Be(r,e,t){if(e.repository&&e.repository[r]){const n=e.repository[r];Se([n],e,t)}}function ye(r,e){r.selfGrammar.patterns&&Array.isArray(r.selfGrammar.patterns)&&Se(r.selfGrammar.patterns,{...r,repository:r.selfGrammar.repository},e),r.selfGrammar.injections&&Se(Object.values(r.selfGrammar.injections),{...r,repository:r.selfGrammar.repository},e)}function Se(r,e,t){for(const n of r){if(t.visitedRule.has(n))continue;t.visitedRule.add(n);const s=n.repository?mt({},e.repository,n.repository):e.repository;Array.isArray(n.patterns)&&Se(n.patterns,{...e,repository:s},t);const o=n.include;if(!o)continue;const i=wt(o);switch(i.kind){case 0:ye({...e,selfGrammar:e.baseGrammar},t);break;case 1:ye(e,t);break;case 2:Be(i.ruleName,{...e,repository:s},t);break;case 3:case 4:const a=i.scopeName===e.selfGrammar.scopeName?e.selfGrammar:i.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(a){const l={baseGrammar:e.baseGrammar,selfGrammar:a,repository:s};i.kind===4?Be(i.ruleName,l,t):ye(l,t)}else i.kind===4?t.add(new rn(i.scopeName,i.ruleName)):t.add(new ie(i.scopeName));break}}}class an{constructor(){h(this,"kind",0)}}class cn{constructor(){h(this,"kind",1)}}class un{constructor(e){h(this,"ruleName");h(this,"kind",2);this.ruleName=e}}class hn{constructor(e){h(this,"scopeName");h(this,"kind",3);this.scopeName=e}}class fn{constructor(e,t){h(this,"scopeName");h(this,"ruleName");h(this,"kind",4);this.scopeName=e,this.ruleName=t}}function wt(r){if(r==="$base")return new an;if(r==="$self")return new cn;const e=r.indexOf("#");if(e===-1)return new hn(r);if(e===0)return new un(r.substring(1));{const t=r.substring(0,e),n=r.substring(e+1);return new fn(t,n)}}const pn=/\\(\d+)/,Je=/\\(\d+)/g,dn=-1,vt=-2;class ue{constructor(e,t,n,s){h(this,"$location");h(this,"id");h(this,"_nameIsCapturing");h(this,"_name");h(this,"_contentNameIsCapturing");h(this,"_contentName");this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=de.hasCaptures(this._name),this._contentName=s||null,this._contentNameIsCapturing=de.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${_t(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:de.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:de.replaceCaptures(this._contentName,e,t)}}class gn extends ue{constructor(t,n,s,o,i){super(t,n,s,o);h(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,s,o){throw new Error("Not supported!")}}class mn extends ue{constructor(t,n,s,o,i){super(t,n,s,null);h(this,"_match");h(this,"captures");h(this,"_cachedCompiledPatterns");this._match=new q(o,this.id),this.captures=i,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,s,o){return this._getCachedCompiledPatterns(t).compileAG(t,s,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new le,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Qe extends ue{constructor(t,n,s,o,i){super(t,n,s,o);h(this,"hasMissingPatterns");h(this,"patterns");h(this,"_cachedCompiledPatterns");this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const s of this.patterns)t.getRule(s).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,s,o){return this._getCachedCompiledPatterns(t).compileAG(t,s,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new le,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class De extends ue{constructor(t,n,s,o,i,a,l,c,u,d){super(t,n,s,o);h(this,"_begin");h(this,"beginCaptures");h(this,"_end");h(this,"endHasBackReferences");h(this,"endCaptures");h(this,"applyEndPatternLast");h(this,"hasMissingPatterns");h(this,"patterns");h(this,"_cachedCompiledPatterns");this._begin=new q(i,this.id),this.beginCaptures=a,this._end=new q(l||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=d.patterns,this.hasMissingPatterns=d.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,s,o){return this._getCachedCompiledPatterns(t,n).compileAG(t,s,o)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new le;for(const s of this.patterns)t.getRule(s).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 Ce extends ue{constructor(t,n,s,o,i,a,l,c,u){super(t,n,s,o);h(this,"_begin");h(this,"beginCaptures");h(this,"whileCaptures");h(this,"_while");h(this,"whileHasBackReferences");h(this,"hasMissingPatterns");h(this,"patterns");h(this,"_cachedCompiledPatterns");h(this,"_cachedCompiledWhilePatterns");this._begin=new q(i,this.id),this.beginCaptures=a,this.whileCaptures=c,this._while=new q(l,vt),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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,s,o){return this._getCachedCompiledPatterns(t).compileAG(t,s,o)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new le;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,s,o){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,s,o)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new le,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"￿"),this._cachedCompiledWhilePatterns}}class O{static createCaptureRule(e,t,n,s,o){return e.registerRule(i=>new gn(t,i,n,s,o))}static getCompiledRuleId(e,t,n){return e.id||t.registerRule(s=>{if(e.id=s,e.match)return new mn(e.$vscodeTextmateLocation,e.id,e.name,e.match,O._compileCaptures(e.captures,t,n));if(typeof e.begin>"u"){e.repository&&(n=mt({},n,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new Qe(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,O._compilePatterns(o,t,n))}return e.while?new Ce(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,n),e.while,O._compileCaptures(e.whileCaptures||e.captures,t,n),O._compilePatterns(e.patterns,t,n)):new De(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,O._compileCaptures(e.beginCaptures||e.captures,t,n),e.end,O._compileCaptures(e.endCaptures||e.captures,t,n),e.applyEndPatternLast,O._compilePatterns(e.patterns,t,n))}),e.id}static _compileCaptures(e,t,n){let s=[];if(e){let o=0;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;e[i].patterns&&(l=O.getCompiledRuleId(e[i],t,n)),s[a]=O.createCaptureRule(t,e[i].$vscodeTextmateLocation,e[i].name,e[i].contentName,l)}}return s}static _compilePatterns(e,t,n){let s=[];if(e)for(let o=0,i=e.length;oe.substring(s.start,s.end));return Je.lastIndex=0,this.source.replace(Je,(s,o)=>St(n[parseInt(o,10)]||""))}_buildAnchorCache(){let e=[],t=[],n=[],s=[],o,i,a,l;for(o=0,i=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 s=this._items.map(o=>o.resolveAnchors(t,n));return new Ze(e,s,this._items.map(o=>o.ruleId))}}class Ze{constructor(e,t,n){h(this,"regExps");h(this,"rules");h(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(bn(e),t)}static createFromParsedTheme(e,t){return Cn(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,s=this._cachedMatchRoot.get(t).find(o=>_n(e.parent,o.parentScopes));return s?new Rt(s.fontStyle,s.foreground,s.background):null}}class V{constructor(e,t){h(this,"parent");h(this,"scopeName");this.parent=e,this.scopeName=t}static push(e,t){for(const n of t)e=new V(e,n);return e}static from(...e){let t=null;for(let n=0;n1&&(_=p.slice(0,p.length-1),_.reverse()),t[n++]=new Sn(b,_,s,l,c,u)}}return t}class Sn{constructor(e,t,n,s,o,i){h(this,"scope");h(this,"parentScopes");h(this,"index");h(this,"fontStyle");h(this,"foreground");h(this,"background");this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=s,this.foreground=o,this.background=i}}function Cn(r,e){r.sort((l,c)=>{let u=yt(l.scope,c.scope);return u!==0||(u=bt(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let t=0,n="#000000",s="#ffffff";for(;r.length>=1&&r[0].scope==="";){let l=r.shift();l.fontStyle!==-1&&(t=l.fontStyle),l.foreground!==null&&(n=l.foreground),l.background!==null&&(s=l.background)}let o=new wn(e),i=new Rt(t,o.getId(n),o.getId(s)),a=new oe(new ae(0,null,-1,0,0),[]);for(let l=0,c=r.length;le?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),s!==0&&(this.background=s)}}class oe{constructor(e,t=[],n={}){h(this,"_mainRule");h(this,"_children");h(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,s=t.parentScopes;let o=n===null?0:n.length,i=s===null?0:s.length;if(o===i)for(let a=0;a{const t=this._scopeToLanguage(e),n=this._toStandardTokenType(e);return new xe(t,n)}));this._defaultAttributes=new xe(e,8),this._embeddedLanguagesMatcher=new vn(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?J._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(J.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!")}};h(J,"_NULL_SCOPE_METADATA",new xe(0,0)),h(J,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let Fe=J;class vn{constructor(e){h(this,"values");h(this,"scopesRegExp");if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,s])=>St(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 et{constructor(e,t){h(this,"stack");h(this,"stoppedEarly");this.stack=e,this.stoppedEarly=t}}function At(r,e,t,n,s,o,i,a){const l=e.content.length;let c=!1,u=-1;if(i){const g=Rn(r,e,t,n,s,o);s=g.stack,n=g.linePos,t=g.isFirstLine,u=g.anchorPosition}const d=Date.now();for(;!c;){if(a!==0&&Date.now()-d>a)return new et(s,!0);f()}return new et(s,!1);function f(){const g=An(r,e,t,n,s,u);if(!g){o.produce(s,l),c=!0;return}const p=g.captureIndices,b=g.matchedRuleId,_=p&&p.length>0?p[0].end>n:!1;if(b===dn){const y=s.getRule(r);o.produce(s,p[0].start),s=s.withContentNameScopesList(s.nameScopesList),se(r,e,t,s,o,y.endCaptures,p),o.produce(s,p[0].end);const S=s;if(s=s.parent,u=S.getAnchorPos(),!_&&S.getEnterPos()===n){s=S,o.produce(s,l),c=!0;return}}else{const y=r.getRule(b);o.produce(s,p[0].start);const S=s,R=y.getName(e.content,p),P=s.contentNameScopesList.pushAttributed(R,r);if(s=s.push(b,n,u,p[0].end===l,null,P,P),y instanceof De){const w=y;se(r,e,t,s,o,w.beginCaptures,p),o.produce(s,p[0].end),u=p[0].end;const A=w.getContentName(e.content,p),x=P.pushAttributed(A,r);if(s=s.withContentNameScopesList(x),w.endHasBackReferences&&(s=s.withEndRule(w.getEndWithResolvedBackReferences(e.content,p))),!_&&S.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(y instanceof Ce){const w=y;se(r,e,t,s,o,w.beginCaptures,p),o.produce(s,p[0].end),u=p[0].end;const A=w.getContentName(e.content,p),x=P.pushAttributed(A,r);if(s=s.withContentNameScopesList(x),w.whileHasBackReferences&&(s=s.withEndRule(w.getWhileWithResolvedBackReferences(e.content,p))),!_&&S.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(se(r,e,t,s,o,y.captures,p),o.produce(s,p[0].end),s=s.pop(),!_){s=s.safePop(),o.produce(s,l),c=!0;return}}p[0].end>n&&(n=p[0].end,t=!1)}}function Rn(r,e,t,n,s,o){let i=s.beginRuleCapturedEOL?0:-1;const a=[];for(let l=s;l;l=l.pop()){const c=l.getRule(r);c instanceof Ce&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=Nn(l.rule,r,l.stack.endRule,t,n===i),d=c.findNextMatchSync(e,n,u);if(d){if(d.ruleId!==vt){s=l.stack.pop();break}d.captureIndices&&d.captureIndices.length&&(o.produce(l.stack,d.captureIndices[0].start),se(r,e,t,l.stack,o,l.rule.whileCaptures,d.captureIndices),o.produce(l.stack,d.captureIndices[0].end),i=d.captureIndices[0].end,d.captureIndices[0].end>n&&(n=d.captureIndices[0].end,t=!1))}else{s=l.stack.pop();break}}return{stack:s,linePos:n,anchorPosition:i,isFirstLine:t}}function An(r,e,t,n,s,o){const i=Pn(r,e,t,n,s,o),a=r.getInjections();if(a.length===0)return i;const l=kn(a,r,e,t,n,s,o);if(!l)return i;if(!i)return l;const c=i.captureIndices[0].start,u=l.captureIndices[0].start;return u=a)&&(a=R,l=S.captureIndices,c=S.ruleId,u=p.priority,a===s))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function Pt(r,e,t,n,s){return{ruleScanner:r.compileAG(e,t,n,s),findOptions:0}}function Nn(r,e,t,n,s){return{ruleScanner:r.compileWhileAG(e,t,n,s),findOptions:0}}function se(r,e,t,n,s,o,i){if(o.length===0)return;const a=e.content,l=Math.min(o.length,i.length),c=[],u=i[0].end;for(let d=0;du)break;for(;c.length>0&&c[c.length-1].endPos<=g.start;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?s.produceFromScopes(c[c.length-1].scopes,g.start):s.produce(n,g.start),f.retokenizeCapturedWithRuleId){const b=f.getName(a,i),_=n.contentNameScopesList.pushAttributed(b,r),y=f.getContentName(a,i),S=_.pushAttributed(y,r),R=n.push(f.retokenizeCapturedWithRuleId,g.start,-1,!1,null,_,S),P=r.createOnigString(a.substring(0,g.end));At(r,P,t&&g.start===0,g.start,R,s,!1,0),gt(P);continue}const p=f.getName(a,i);if(p!==null){const _=(c.length>0?c[c.length-1].scopes:n.contentNameScopesList).pushAttributed(p,r);c.push(new En(_,g.end))}}for(;c.length>0;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class En{constructor(e,t){h(this,"scopes");h(this,"endPos");this.scopes=e,this.endPos=t}}function Ln(r,e,t,n,s,o,i,a){return new Tn(r,e,t,n,s,o,i,a)}function tt(r,e,t,n,s){const o=be(e,we),i=O.getCompiledRuleId(t,n,s.repository);for(const a of o)r.push({debugSelector:e,matcher:a.matcher,ruleId:i,grammar:s,priority:a.priority})}function we(r,e){if(e.length{for(let s=t;st&&r.substr(0,t)===e&&r[t]==="."}class Tn{constructor(e,t,n,s,o,i,a,l){h(this,"_rootScopeName");h(this,"balancedBracketSelectors");h(this,"_onigLib");h(this,"_rootId");h(this,"_lastRuleId");h(this,"_ruleId2desc");h(this,"_includedGrammars");h(this,"_grammarRepository");h(this,"_grammar");h(this,"_injections");h(this,"_basicScopeAttributesProvider");h(this,"_tokenTypeMatchers");if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=l,this._basicScopeAttributesProvider=new Fe(n,s),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=nt(t,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const c of Object.keys(o)){const u=be(c,we);for(const d of u)this._tokenTypeMatchers.push({matcher:d.matcher,type:o[c]})}}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,s=e.lookup(n);if(s){const o=s.injections;if(o)for(let a in o)tt(t,a,o[a],this,s);const i=this._grammarRepository.injections(n);i&&i.forEach(a=>{const l=this.getExternalGrammar(a);if(l){const c=l.injectionSelector;c&&tt(t,c,l,this,l)}})}return t.sort((o,i)=>o.priority-i.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]=nt(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const s=this._tokenize(e,t,!1,n);return{tokens:s.lineTokens.getResult(s.ruleStack,s.lineLength),ruleStack:s.ruleStack,stoppedEarly:s.stoppedEarly}}tokenizeLine2(e,t,n=0){const s=this._tokenize(e,t,!0,n);return{tokens:s.lineTokens.getBinaryResult(s.ruleStack,s.lineLength),ruleStack:s.ruleStack,stoppedEarly:s.stoppedEarly}}_tokenize(e,t,n,s){this._rootId===-1&&(this._rootId=O.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!t||t===ce.NULL){o=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),d=this.themeProvider.getDefaults(),f=ee.set(0,u.languageId,u.tokenType,null,d.fontStyle,d.foregroundId,d.backgroundId),g=this.getRule(this._rootId).getName(null,null);let p;g?p=B.createRootAndLookUpScopeName(g,f,this):p=B.createRoot("unknown",f),t=new ce(null,this._rootId,-1,-1,!1,null,p,p)}else o=!1,t.reset();e=e+` `;const i=this.createOnigString(e),a=i.content.length,l=new In(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=At(this,i,o,0,t,l,!0,s);return gt(i),{lineLength:a,lineTokens:l,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function nt(r,e){return r=en(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 B{constructor(e,t,n){h(this,"parent");h(this,"scopePath");h(this,"tokenAttributes");this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(e,t){let n=e,s=(e==null?void 0:e.scopePath)??null;for(const o of t)s=V.push(s,o.scopeNames),n=new B(n,s,o.encodedTokenAttributes);return n}static createRoot(e,t){return new B(null,new V(null,e),t)}static createRootAndLookUpScopeName(e,t,n){const s=n.getMetadataForScope(e),o=new V(null,e),i=n.themeProvider.themeMatch(o),a=B.mergeAttributes(t,s,i);return new B(null,o,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return B.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 s=-1,o=0,i=0;return n!==null&&(s=n.fontStyle,o=n.foregroundId,i=n.backgroundId),ee.set(e,t.languageId,t.tokenType,null,s,o,i)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return B._pushAttributed(this,e,t);const n=e.split(/ /g);let s=this;for(const o of n)s=B._pushAttributed(s,o,t);return s}static _pushAttributed(e,t,n){const s=n.getMetadataForScope(t),o=e.scopePath.push(t),i=n.themeProvider.themeMatch(o),a=B.mergeAttributes(e.tokenAttributes,s,i);return new B(e,o,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){var s;const t=[];let n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(((s=n.parent)==null?void 0:s.scopePath)??null)}),n=n.parent;return n===e?t.reverse():void 0}}const $=class ${constructor(e,t,n,s,o,i,a,l){h(this,"parent");h(this,"ruleId");h(this,"beginRuleCapturedEOL");h(this,"endRule");h(this,"nameScopesList");h(this,"contentNameScopesList");h(this,"_stackElementBrand");h(this,"_enterPos");h(this,"_anchorPos");h(this,"depth");this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=o,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=s}equals(e){return e===null?!1:$._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?B.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(){$._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,n,s,o,i,a){return new $(this,e,t,n,s,o,i,a)}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,s;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(s=this.contentNameScopesList)==null?void 0:s.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 $(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=B.fromExtension((e==null?void 0:e.nameScopesList)??null,t.nameScopesList);return new $(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,n,B.fromExtension(n,t.contentNameScopesList))}};h($,"NULL",new $(null,0,0,0,!1,null,null,null));let ce=$;class On{constructor(e,t){h(this,"balancedBracketScopes");h(this,"unbalancedBracketScopes");h(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):be(n,we).map(s=>s.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>be(n,we).map(s=>s.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 In{constructor(e,t,n,s){h(this,"balancedBracketSelectors");h(this,"_emitBinaryTokens");h(this,"_lineText");h(this,"_tokens");h(this,"_binaryTokens");h(this,"_lastTokenEndIndex");h(this,"_tokenTypeOverrides");this.balancedBracketSelectors=s,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 s;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let o=(e==null?void 0:e.tokenAttributes)??0,i=!1;if((s=this.balancedBracketSelectors)!=null&&s.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const a=(e==null?void 0:e.getScopeNames())??[];for(const l of this._tokenTypeOverrides)l.matcher(a)&&(o=ee.set(o,0,l.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(a))}if(i&&(o=ee.set(o,0,8,i,-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 s=0,o=this._binaryTokens.length;s0;)await Promise.all(i.Q.map(a=>this._loadSingleGrammar(a.scopeName))),i.processQueue();return this._grammarForScopeName(e,t,n,s,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,s=null){return this._syncRegistry.addGrammar(e,t),await this._grammarForScopeName(e.scopeName,n,s)}_grammarForScopeName(e,t=0,n=null,s=null,o=null){return this._syncRegistry.grammarForScopeName(e,t,n,s,o)}};const Dn=ce.NULL,M={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 W{static toBinaryStr(e){let t=e.toString(2);for(;t.length<32;)t=`0${t}`;return t}static getLanguageId(e){return(e&M.LANGUAGEID_MASK)>>>M.LANGUAGEID_OFFSET}static getTokenType(e){return(e&M.TOKEN_TYPE_MASK)>>>M.TOKEN_TYPE_OFFSET}static getFontStyle(e){return(e&M.FONT_STYLE_MASK)>>>M.FONT_STYLE_OFFSET}static getForeground(e){return(e&M.FOREGROUND_MASK)>>>M.FOREGROUND_OFFSET}static getBackground(e){return(e&M.BACKGROUND_MASK)>>>M.BACKGROUND_OFFSET}static containsBalancedBrackets(e){return(e&M.BALANCED_BRACKETS_MASK)!==0}static set(e,t,n,s,o,i){let a=W.getLanguageId(e),l=W.getTokenType(e),c=W.getFontStyle(e),u=W.getForeground(e),d=W.getBackground(e);const f=W.containsBalancedBrackets(e)?1:0;return t!==0&&(a=t),n!==0&&(l=n===8?0:n),s!==j.NotSet&&(c=s),o!==0&&(u=o),i!==0&&(d=i),(a<>>0}}function ke(r,e=!1){var o;const t=r.split(/(\r?\n)/g);let n=0;const s=[];for(let i=0;it&&n.push({...r,content:r.content.slice(t,s),offset:r.offset+t}),t=s;return tn-s);return t.length?r.map(n=>n.flatMap(s=>{const o=t.filter(i=>s.offseti-s.offset).sort((i,a)=>i-a);return o.length?Gn(s,o):s})):r}function xt(r,e){return(e==null?void 0:e[r==null?void 0:r.toLowerCase()])||r}function Tt(r){const e={};return r.color&&(e.color=r.color),r.bgColor&&(e["background-color"]=r.bgColor),r.fontStyle&&(r.fontStyle&j.Italic&&(e["font-style"]="italic"),r.fontStyle&j.Bold&&(e["font-weight"]="bold"),r.fontStyle&j.Underline&&(e["text-decoration"]="underline")),e}function Ot(r){return Object.entries(r).map(([e,t])=>`${e}:${t}`).join(";")}function Un(r){const e=ke(r,!0).map(([s])=>s);function t(s){let o=s,i=0;for(const a of e){if(oNumber.parseInt(i));o.length===3&&!o.some(i=>Number.isNaN(i))&&(s={type:"rgb",rgb:o})}else if(n==="5"){const o=Number.parseInt(r[e+t]);Number.isNaN(o)||(s={type:"table",index:Number(o)})}return[t,s]}function $n(r){const e=[];for(let t=0;t=90&&s<=97?e.push({type:"setForegroundColor",value:{type:"named",name:H[s-90+8]}}):s>=100&&s<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:H[s-100+8]}})}return e}function Wn(){let r=null,e=null,t=new Set;return{parse(n){const s=[];let o=0;do{const i=jn(n,o),a=i.sequence?n.substring(o,i.startPosition):n.substring(o);if(a.length>0&&s.push({value:a,foreground:r,background:e,decorations:new Set(t)}),i.sequence){const l=$n(i.sequence);for(const c of l)c.type==="resetAll"?(r=null,e=null,t.clear()):c.type==="resetForegroundColor"?r=null:c.type==="resetBackgroundColor"?e=null:c.type==="resetDecoration"&&t.delete(c.value);for(const c of l)c.type==="setForegroundColor"?r=c.value:c.type==="setBackgroundColor"?e=c.value:c.type==="setDecoration"&&t.add(c.value)}o=i.position}while(oMath.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let n;function s(){if(n)return n;n=[];for(let c=0;c{var l;return[a,(l=r.colors)==null?void 0:l[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]}))),i=Wn();return s.map(a=>i.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?o.value(l.background):r.bg,u=l.foreground?o.value(l.foreground):r.fg):(c=l.foreground?o.value(l.foreground):r.fg,u=l.background?o.value(l.background):void 0),c=xt(c,n),l.decorations.has("dim")&&(c=qn(c));let d=j.None;return l.decorations.has("bold")&&(d|=j.Bold),l.decorations.has("italic")&&(d|=j.Italic),l.decorations.has("underline")&&(d|=j.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:d}}))}function qn(r){const e=r.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(e)if(e[3]){const n=Math.round(Number.parseInt(e[3],16)/2).toString(16).padStart(2,"0");return`#${e[1]}${e[2]}${n}`}else return e[2]?`#${e[1]}${e[2]}80`:`#${Array.from(e[1]).map(n=>`${n}${n}`).join("")}80`;const t=r.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return t?`var(${t[1]}-dim)`:r}function He(r,e,t={}){const{lang:n="text",theme:s=r.getLoadedThemes()[0]}=t;if(kt(n)||Et(s))return ke(e).map(l=>[{content:l[0],offset:l[1]}]);const{theme:o,colorMap:i}=r.setTheme(s);if(n==="ansi")return Vn(o,e,t);const a=r.getLanguage(n);return Kn(e,a,o,i,t)}function Kn(r,e,t,n,s){const o={...t.colorReplacements,...s==null?void 0:s.colorReplacements},{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=s,l=ke(r);let c=Dn,u=[];const d=[];for(let f=0,g=l.length;f0&&p.length>=i){u=[],d.push([{content:p,offset:b,color:"",fontStyle:0}]);continue}let _,y,S;s.includeExplanation&&(_=e.tokenizeLine(p,c),y=_.tokens,S=0);const R=e.tokenizeLine2(p,c,a),P=R.tokens.length/2;for(let w=0;w=0&&o>=0;)st(e[s],n[o])&&(s-=1),o-=1;return s===-1}function Jn(r,e,t){const n=[];let s=0;for(let o=0,i=r.settings.length;oc.trim());else if(Array.isArray(a.scope))l=a.scope;else continue;for(let c=0,u=l.length;ci[1]).map(i=>({color:i[0],theme:i[1]})),s=Qn(...n.map(i=>He(r,e,{...t,theme:i.theme})));return s[0].map((i,a)=>i.map((l,c)=>{const u={content:l.content,variants:{},offset:l.offset};return s.forEach((d,f)=>{const{content:g,explanation:p,offset:b,..._}=d[a][c];u.variants[n[f].color]=_}),u}))}function Qn(...r){const e=r.map(()=>[]),t=r.length;for(let n=0;nl[n]),o=e.map(()=>[]);e.forEach((l,c)=>l.push(o[c]));const i=s.map(()=>0),a=s.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;cp[1]).map(p=>({color:p[0],theme:p[1]})).sort((p,b)=>p.color===l?-1:b.color===l?1:0);if(u.length===0)throw new D("`themes` option must not be empty");const d=It(r,e,t);if(l&&!u.find(p=>p.color===l))throw new D(`\`themes\` option must contain the defaultColor key \`${l}\``);const f=u.map(p=>r.getTheme(p.theme)),g=u.map(p=>p.color);o=d.map(p=>p.map(b=>Zn(b,g,c,l))),s=u.map((p,b)=>(b===0&&l?"":`${c+p.color}:`)+(f[b].fg||"inherit")).join(";"),n=u.map((p,b)=>(b===0&&l?"":`${c+p.color}-bg:`)+(f[b].bg||"inherit")).join(";"),i=`shiki-themes ${f.map(p=>p.name).join(" ")}`,a=l?void 0:[s,n].join(";")}else if("theme"in t){o=He(r,e,t);const l=r.getTheme(t.theme);n=l.bg,s=l.fg,i=l.name}else throw new D("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:s,bg:n,themeName:i,rootStyle:a}}function Zn(r,e,t,n){const s={content:r.content,explanation:r.explanation,offset:r.offset},o=e.map(l=>Tt(r.variants[l])),i=new Set(o.flatMap(l=>Object.keys(l))),a=o.reduce((l,c,u)=>{for(const d of i){const f=c[d]||"inherit";if(u===0&&n)l[d]=f;else{const g=d==="color"?"":d==="background-color"?"-bg":`-${d}`,p=t+e[u]+(d==="color"?"":g);l[d]?l[d]+=`;${p}:${f}`:l[d]=`${p}:${f}`}}return l},{});return s.htmlStyle=n?Ot(a):Object.values(a).join(";"),s}function er(){const r=new WeakMap;function e(n){if(!r.has(n.meta)){let o=function(a){return typeof a=="number"?{...s.indexToPos(a),offset:a}:{...a,offset:s.posToIndex(a.line,a.character)}};const s=Un(n.source),i=(n.options.decorations||[]).map(a=>({...a,start:o(a.start),end:o(a.end)}));t(i),r.set(n.meta,{decorations:i,converter:s,source:n.source})}return r.get(n.meta)}function t(n){for(let s=0;so.end.offset)throw new D(`Invalid decoration range: ${JSON.stringify(o.start)} - ${JSON.stringify(o.end)}`);for(let i=s+1;i[l.start.offset,l.end.offset]);return Fn(n,o)},code(n){var d;if(!((d=this.options.decorations)!=null&&d.length))return;const s=e(this),o=Array.from(n.children).filter(f=>f.type==="element"&&f.tagName==="span");if(o.length!==s.converter.lines.length)throw new D(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${s.converter.lines.length}). Failed to apply decorations.`);function i(f,g,p,b){const _=o[f];let y="",S=-1,R=-1;function P(A){return A.type==="text"?A.value:A.type==="element"?A.children.map(P).join(""):""}if(g===0&&(S=0),p===0&&(R=0),p===Number.POSITIVE_INFINITY&&(R=_.children.length),S===-1||R===-1)for(let A=0;A<_.children.length;A++)y+=P(_.children[A]),S===-1&&y.length===g&&(S=A+1),R===-1&&y.length===p&&(R=A+1);if(S===-1)throw new D(`Failed to find start index for decoration ${JSON.stringify(b.start)}`);if(R===-1)throw new D(`Failed to find end index for decoration ${JSON.stringify(b.end)}`);const w=_.children.slice(S,R);if(!b.alwaysWrap&&w.length===_.children.length)l(_,b,"line");else if(!b.alwaysWrap&&w.length===1&&w[0].type==="element")l(w[0],b,"token");else{const A={type:"element",tagName:"span",properties:{},children:w};l(A,b,"wrapper"),_.children.splice(S,w.length,A)}}function a(f,g){o[f]=l(o[f],g,"line")}function l(f,g,p){var y;const b=g.properties||{},_=g.transform||(S=>S);return f.tagName=g.tagName||"span",f.properties={...f.properties,...b,class:f.properties.class},(y=g.properties)!=null&&y.class&&ze(f,g.properties.class),f=_(f,p)||f,f}const c=[],u=s.decorations.sort((f,g)=>g.start.offset-f.start.offset);for(const f of u){const{start:g,end:p}=f;if(g.line===p.line)i(g.line,g.character,p.character,f);else if(g.linea(b,f));i(p.line,0,p.character,f)}}c.forEach(f=>f())}}}const tr=[er()];function Re(r){return[...r.transformers||[],...tr]}function Ae(r,e,t,n={meta:{},options:t,codeToHast:(s,o)=>Ae(r,s,o),codeToTokens:(s,o)=>ve(r,s,o)}){var f,g;let s=e;for(const p of Re(t))s=((f=p.preprocess)==null?void 0:f.call(n,s,t))||s;let{tokens:o,fg:i,bg:a,themeName:l,rootStyle:c}=ve(r,s,t);const{mergeWhitespaces:u=!0}=t;u===!0?o=rr(o):u==="never"&&(o=sr(o));const d={...n,get source(){return s}};for(const p of Re(t))o=((g=p.tokens)==null?void 0:g.call(d,o))||o;return nr(o,{...t,fg:i,bg:a,themeName:l,rootStyle:c},d)}function nr(r,e,t){var d,f,g;const n=Re(e),s=[],o={type:"root",children:[]};let i={type:"element",tagName:"pre",properties:{class:`shiki ${e.themeName||""}`,style:e.rootStyle||`background-color:${e.bg};color:${e.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(e.meta||{})).filter(([p])=>!p.startsWith("_")))},children:[]},a={type:"element",tagName:"code",properties:{},children:s};const l=[],c={...t,addClassToHast:ze,get source(){return t.source},get tokens(){return r},get options(){return e},get root(){return o},get pre(){return i},get code(){return a},get lines(){return l}};r.forEach((p,b)=>{var S,R;b&&s.push({type:"text",value:` `});let _={type:"element",tagName:"span",properties:{class:"line"},children:[]},y=0;for(const P of p){let w={type:"element",tagName:"span",properties:{},children:[{type:"text",value:P.content}]};const A=P.htmlStyle||Ot(Tt(P));A&&(w.properties.style=A);for(const x of n)w=((S=x==null?void 0:x.span)==null?void 0:S.call(c,w,b+1,y,_))||w;_.children.push(w),y+=P.content.length}for(const P of n)_=((R=P==null?void 0:P.line)==null?void 0:R.call(c,_,b+1))||_;l.push(_),s.push(_)});for(const p of n)a=((d=p==null?void 0:p.code)==null?void 0:d.call(c,a))||a;i.children.push(a);for(const p of n)i=((f=p==null?void 0:p.pre)==null?void 0:f.call(c,i))||i;o.children.push(i);let u=o;for(const p of n)u=((g=p==null?void 0:p.root)==null?void 0:g.call(c,u))||u;return u}function rr(r){return r.map(e=>{const t=[];let n="",s=0;return e.forEach((o,i)=>{const l=!(o.fontStyle&&o.fontStyle&j.Underline);l&&o.content.match(/^\s+$/)&&e[i+1]?(s||(s=o.offset),n+=o.content):n?(l?t.push({...o,offset:s,content:n+o.content}):t.push({content:n,offset:s},o),s=0,n=""):t.push(o)}),t})}function sr(r){return r.map(e=>e.flatMap(t=>{if(t.content.match(/^\s+$/))return t;const n=t.content.match(/^(\s*)(.*?)(\s*)$/);if(!n)return t;const[,s,o,i]=n;if(!s&&!i)return t;const a=[{...t,offset:t.offset+s.length,content:o}];return s&&a.unshift({content:s,offset:t.offset}),i&&a.push({content:i,offset:t.offset+s.length+o.length}),a}))}const or=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class he{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}he.prototype.property={};he.prototype.normal={};he.prototype.space=null;function Mt(r,e){const t={},n={};let s=-1;for(;++s4&&t.slice(0,4)==="data"&&ur.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(it,dr);n="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!it.test(o)){let i=o.replace(hr,pr);i.charAt(0)!=="-"&&(i="-"+i),e="data"+i}}s=Ve}return new s(n,e)}function pr(r){return"-"+r.toLowerCase()}function dr(r){return r.charAt(1).toUpperCase()}const gr=Mt([Gt,Dt,jt,$t,ar],"html"),Wt=Mt([Gt,Dt,jt,$t,cr],"svg"),lt={}.hasOwnProperty;function mr(r,e){const t=e||{};function n(s,...o){let i=n.invalid;const a=n.handlers;if(s&<.call(s,r)){const l=String(s[r]);i=lt.call(a,l)?a[l]:n.unknown}if(i)return i.call(this,s,...o)}return n.handlers=t.handlers||{},n.invalid=t.invalid,n.unknown=t.unknown,n}function _r(r,e){if(r=r.replace(e.subset?yr(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(s,o,i){return e.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),e)}function n(s,o,i){return e.format(s.charCodeAt(0),i.charCodeAt(o+1),e)}}function yr(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:"€"},wr=["cent","copy","divide","gt","lt","not","para","times"],zt={}.hasOwnProperty,$e={};let ge;for(ge in Ie)zt.call(Ie,ge)&&($e[Ie[ge]]=ge);function vr(r,e,t,n){const s=String.fromCharCode(r);if(zt.call($e,s)){const o=$e[s],i="&"+o;return t&&Cr.includes(o)&&!wr.includes(o)&&(!n||e&&e!==61&&/[^\da-z]/i.test(String.fromCharCode(e)))?i:i+";"}return""}function Rr(r,e,t){let n=br(r,e,t.omitOptionalSemicolons),s;if((t.useNamedReferences||t.useShortestReferences)&&(s=vr(r,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!s)&&t.useShortestReferences){const o=Sr(r,e,t.omitOptionalSemicolons);o.length"]}))+">":"|--!>|";function s(o){return Z(o,Object.assign({},n.settings.characterReferences,{subset:["<",">"]}))}}function Pr(r,e,t,n){return""}function at(r,e){const t=String(r);if(typeof e!="string")throw new TypeError("Expected character");let n=0,s=t.indexOf(e);for(;s!==-1;)n++,s=t.indexOf(e,s+e.length);return n}function kr(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 Er=/[ \t\n\f\r]/g;function qe(r){return typeof r=="object"?r.type==="text"?ct(r.value):!1:ct(r)}function ct(r){return r.replace(Er,"")===""}const T=Vt(1),Ht=Vt(-1),Lr=[];function Vt(r){return e;function e(t,n,s){const o=t?t.children:Lr;let i=(n||0)+r,a=o[i];if(!s)for(;a&&qe(a);)i+=r,a=o[i];return a}}const xr={}.hasOwnProperty;function qt(r){return e;function e(t,n,s){return xr.call(r,t.tagName)&&r[t.tagName](t,n,s)}}const Ke=qt({body:Or,caption:Me,colgroup:Me,dd:Dr,dt:Br,head:Me,html:Tr,li:Mr,optgroup:Gr,option:Fr,p:Ir,rp:ut,rt:ut,tbody:jr,td:ht,tfoot:$r,th:ht,thead:Ur,tr:Wr});function Me(r,e,t){const n=T(t,e,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&qe(n.value.charAt(0)))}function Tr(r,e,t){const n=T(t,e);return!n||n.type!=="comment"}function Or(r,e,t){const n=T(t,e);return!n||n.type!=="comment"}function Ir(r,e,t){const n=T(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 Mr(r,e,t){const n=T(t,e);return!n||n.type==="element"&&n.tagName==="li"}function Br(r,e,t){const n=T(t,e);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function Dr(r,e,t){const n=T(t,e);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function ut(r,e,t){const n=T(t,e);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function Gr(r,e,t){const n=T(t,e);return!n||n.type==="element"&&n.tagName==="optgroup"}function Fr(r,e,t){const n=T(t,e);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function Ur(r,e,t){const n=T(t,e);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function jr(r,e,t){const n=T(t,e);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function $r(r,e,t){return!T(t,e)}function Wr(r,e,t){const n=T(t,e);return!n||n.type==="element"&&n.tagName==="tr"}function ht(r,e,t){const n=T(t,e);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const zr=qt({body:qr,colgroup:Kr,head:Vr,html:Hr,tbody:Yr});function Hr(r){const e=T(r,-1);return!e||e.type!=="comment"}function Vr(r){const e=r.children,t=[];let n=-1;for(;++n0}function qr(r){const e=T(r,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&qe(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function Kr(r,e,t){const n=Ht(t,e),s=T(r,-1,!0);return t&&n&&n.type==="element"&&n.tagName==="colgroup"&&Ke(n,t.children.indexOf(n),t)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function Yr(r,e,t){const n=Ht(t,e),s=T(r,-1);return t&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&Ke(n,t.children.indexOf(n),t)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const me={name:[[` @@ -16,7 +16,7 @@ var Xt=Object.defineProperty;var Jt=(r,e,t)=>e in r?Xt(r,e,{enumerable:!0,config \f\r "&'<=>\``.split("")],[`\0 \f\r "&'<=>\``.split(""),`\0 \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Xr(r,e,t,n){const s=n.schema,o=s.space==="svg"?!1:n.settings.omitOptionalTags;let i=s.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(r.tagName.toLowerCase());const a=[];let l;s.space==="html"&&r.tagName==="svg"&&(n.schema=Wt);const c=Jr(n,r.properties),u=n.all(s.space==="html"&&r.tagName==="template"?r.content:r);return n.schema=s,u&&(i=!1),(c||!o||!zr(r,e,t))&&(a.push("<",r.tagName,c?" "+c:""),i&&(s.space==="svg"||n.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!n.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!i&&(!o||!Ke(r,e,t))&&a.push(""),a.join("")}function Jr(r,e){const t=[];let n=-1,s;if(e){for(s in e)if(e[s]!==null&&e[s]!==void 0){const o=Qr(r,s,e[s]);o&&t.push(o)}}for(;++nat(t,r.alternative)&&(i=r.alternative),a=i+Z(t,Object.assign({},r.settings.characterReferences,{subset:(i==="'"?me.single:me.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}function Kt(r,e,t,n){return t&&t.type==="element"&&(t.tagName==="script"||t.tagName==="style")?r.value:Z(r.value,Object.assign({},n.settings.characterReferences,{subset:["<","&"]}))}function Zr(r,e,t,n){return n.settings.allowDangerousHtml?r.value:Kt(r,e,t,n)}function es(r,e,t,n){return n.all(r)}const ts=mr("type",{invalid:ns,unknown:rs,handlers:{comment:Ar,doctype:Pr,element:Xr,raw:Zr,root:es,text:Kt}});function ns(r){throw new Error("Expected node, not `"+r+"`")}function rs(r){const e=r;throw new Error("Cannot compile unknown node `"+e.type+"`")}const ss={},os={},is=[];function ls(r,e){const t=e||ss,n=t.quote||'"',s=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:as,all:cs,settings:{omitOptionalTags:t.omitOptionalTags||!1,allowParseErrors:t.allowParseErrors||!1,allowDangerousCharacters:t.allowDangerousCharacters||!1,quoteSmart:t.quoteSmart||!1,preferUnquoted:t.preferUnquoted||!1,tightAttributes:t.tightAttributes||!1,upperDoctype:t.upperDoctype||!1,tightDoctype:t.tightDoctype||!1,bogusComments:t.bogusComments||!1,tightCommaSeparatedLists:t.tightCommaSeparatedLists||!1,tightSelfClosing:t.tightSelfClosing||!1,collapseEmptyAttributes:t.collapseEmptyAttributes||!1,allowDangerousHtml:t.allowDangerousHtml||!1,voids:t.voids||or,characterReferences:t.characterReferences||os,closeSelfClosing:t.closeSelfClosing||!1,closeEmptyElements:t.closeEmptyElements||!1},schema:t.space==="svg"?Wt:gr,quote:n,alternative:s}.one(Array.isArray(r)?{type:"root",children:r}:r,void 0,void 0)}function as(r,e,t){return ts(r,e,t,this)}function cs(r){const e=[],t=r&&r.children||is;let n=-1;for(;++nAe(r,i,a),codeToTokens:(i,a)=>ve(r,i,a)};let s=ls(Ae(r,e,t,n));for(const i of Re(t))s=((o=i.postprocess)==null?void 0:o.call(n,s,t))||s;return s}async function hs(r){let e,t;const n={};function s(f){t=f,n.HEAPU8=new Uint8Array(f),n.HEAPU32=new Uint32Array(f)}function o(){return typeof performance<"u"?performance.now():Date.now()}function i(f,g,p){n.HEAPU8.copyWithin(f,g,g+p)}function a(){return 2147483648}function l(f){try{return e.grow(f-t.byteLength+65535>>>16),s(e.buffer),1}catch{}}function c(f){const g=n.HEAPU8.length;f=f>>>0;const p=a();if(f>p)return!1;const b=(_,y)=>_+(y-_%y)%y;for(let _=1;_<=4;_*=2){let y=g*(1+.2/_);y=Math.min(y,f+100663296);const S=Math.min(p,b(Math.max(f,y),65536));if(l(S))return!0}return!1}const u={emscripten_get_now:o,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function d(){const g=await r({env:u,wasi_snapshot_preview1:u});e=g.memory,s(e.buffer),Object.assign(n,g)}return await d(),n}let I=null,fs=!1;function ps(r){throw new D(r.UTF8ToString(r.getLastOnigError()))}class Ne{constructor(e){h(this,"utf16Length");h(this,"utf8Length");h(this,"utf16Value");h(this,"utf8Value");h(this,"utf16OffsetToUtf8");h(this,"utf8OffsetToUtf16");const t=e.length,n=Ne._utf8ByteLength(e),s=n!==t,o=s?new Uint32Array(t+1):null;s&&(o[t]=n);const i=s?new Uint32Array(n+1):null;s&&(i[n]=t);const a=new Uint8Array(n);let l=0;for(let c=0;c=55296&&u<=56319&&c+1=56320&&g<=57343&&(d=(u-55296<<10)+65536|g-56320,f=!0)}s&&(o[c]=l,f&&(o[c+1]=l),d<=127?i[l+0]=c:d<=2047?(i[l+0]=c,i[l+1]=c):d<=65535?(i[l+0]=c,i[l+1]=c,i[l+2]=c):(i[l+0]=c,i[l+1]=c,i[l+2]=c,i[l+3]=c)),d<=127?a[l++]=d:d<=2047?(a[l++]=192|(d&1984)>>>6,a[l++]=128|(d&63)>>>0):d<=65535?(a[l++]=224|(d&61440)>>>12,a[l++]=128|(d&4032)>>>6,a[l++]=128|(d&63)>>>0):(a[l++]=240|(d&1835008)>>>18,a[l++]=128|(d&258048)>>>12,a[l++]=128|(d&4032)>>>6,a[l++]=128|(d&63)>>>0),f&&c++}this.utf16Length=t,this.utf8Length=n,this.utf16Value=e,this.utf8Value=a,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=i}static _utf8ByteLength(e){let t=0;for(let n=0,s=e.length;n=55296&&o<=56319&&n+1=56320&&l<=57343&&(i=(o-55296<<10)+65536|l-56320,a=!0)}i<=127?t+=1:i<=2047?t+=2:i<=65535?t+=3:t+=4,a&&n++}return t}createString(e){const t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}}const G=class G{constructor(e){h(this,"id",++G.LAST_ID);h(this,"_onigBinding");h(this,"content");h(this,"utf16Length");h(this,"utf8Length");h(this,"utf16OffsetToUtf8");h(this,"utf8OffsetToUtf16");h(this,"ptr");if(!I)throw new D("Must invoke loadWasm first.");this._onigBinding=I,this.content=e;const t=new Ne(e);this.utf16Length=t.utf16Length,this.utf8Length=t.utf8Length,this.utf16OffsetToUtf8=t.utf16OffsetToUtf8,this.utf8OffsetToUtf16=t.utf8OffsetToUtf16,this.utf8Length<1e4&&!G._sharedPtrInUse?(G._sharedPtr||(G._sharedPtr=I.omalloc(1e4)),G._sharedPtrInUse=!0,I.HEAPU8.set(t.utf8Value,G._sharedPtr),this.ptr=G._sharedPtr):this.ptr=t.createString(I)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===G._sharedPtr?G._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};h(G,"LAST_ID",0),h(G,"_sharedPtr",0),h(G,"_sharedPtrInUse",!1);let Pe=G;class ds{constructor(e){h(this,"_onigBinding");h(this,"_ptr");if(!I)throw new D("Must invoke loadWasm first.");const t=[],n=[];for(let a=0,l=e.length;a{let n=r;return n=await n,typeof n=="function"&&(n=await n(t)),typeof n=="function"&&(n=await n(t)),gs(n)?n=await n.instantiator(t):ms(n)?n=await n.default(t):(_s(n)&&(n=n.data),ys(n)?typeof WebAssembly.instantiateStreaming=="function"?n=await ws(n)(t):n=await vs(n)(t):bs(n)&&(n=await Cs(n)(t))),"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}return _e=e(),_e}function Cs(r){return e=>WebAssembly.instantiate(r,e)}function ws(r){return e=>WebAssembly.instantiateStreaming(r,e)}function vs(r){return async e=>{const t=await r.arrayBuffer();return WebAssembly.instantiate(t,e)}}function Rs(r){return new Pe(r)}function As(r){return new ds(r)}const ft={light:"#333333",dark:"#bbbbbb"},pt={light:"#fffffe",dark:"#1e1e1e"},dt="__shiki_resolved";function Yt(r){var a,l,c,u,d;if(r!=null&&r[dt])return r;const e={...r};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||(e.type="dark"),e.colorReplacements={...e.colorReplacements},e.settings||(e.settings=[]);let{bg:t,fg:n}=e;if(!t||!n){const f=e.settings?e.settings.find(g=>!g.name&&!g.scope):void 0;(a=f==null?void 0:f.settings)!=null&&a.foreground&&(n=f.settings.foreground),(l=f==null?void 0:f.settings)!=null&&l.background&&(t=f.settings.background),!n&&((c=e==null?void 0:e.colors)!=null&&c["editor.foreground"])&&(n=e.colors["editor.foreground"]),!t&&((u=e==null?void 0:e.colors)!=null&&u["editor.background"])&&(t=e.colors["editor.background"]),n||(n=e.type==="light"?ft.light:ft.dark),t||(t=e.type==="light"?pt.light:pt.dark),e.fg=n,e.bg=t}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let s=0;const o=new Map;function i(f){var p;if(o.has(f))return o.get(f);s+=1;const g=`#${s.toString(16).padStart(8,"0").toLowerCase()}`;return(p=e.colorReplacements)!=null&&p[`#${g}`]?i(f):(o.set(f,g),g)}e.settings=e.settings.map(f=>{var _,y;const g=((_=f.settings)==null?void 0:_.foreground)&&!f.settings.foreground.startsWith("#"),p=((y=f.settings)==null?void 0:y.background)&&!f.settings.background.startsWith("#");if(!g&&!p)return f;const b={...f,settings:{...f.settings}};if(g){const S=i(f.settings.foreground);e.colorReplacements[S]=f.settings.foreground,b.settings.foreground=S}if(p){const S=i(f.settings.background);e.colorReplacements[S]=f.settings.background,b.settings.background=S}return b});for(const f of Object.keys(e.colors||{}))if((f==="editor.foreground"||f==="editor.background"||f.startsWith("terminal.ansi"))&&!((d=e.colors[f])!=null&&d.startsWith("#"))){const g=i(e.colors[f]);e.colorReplacements[g]=e.colors[f],e.colors[f]=g}return Object.defineProperty(e,dt,{enumerable:!1,writable:!1,value:!0}),e}class Ps extends Bn{constructor(t,n,s){super(t);h(this,"_resolver");h(this,"_themes");h(this,"_langs");h(this,"_resolvedThemes",{});h(this,"_resolvedGrammars",{});h(this,"_langMap",{});h(this,"_langGraph",new Map);h(this,"alias",{});this._resolver=t,this._themes=n,this._langs=s,n.forEach(o=>this.loadTheme(o)),s.forEach(o=>this.loadLanguage(o))}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:this.loadTheme(t)}loadTheme(t){const n=Yt(t);return n.name&&(this._resolvedThemes[n.name]=n),n}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){if(this.alias[t]){const n=new Set([t]);for(;this.alias[t];){if(t=this.alias[t],n.has(t))throw new D(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars[t]}async loadLanguage(t){var i,a,l,c;if(this.getGrammar(t.name))return;const n=new Set(Object.values(this._langMap).filter(u=>{var d;return(d=u.embeddedLangsLazy)==null?void 0:d.includes(t.name)}));this._resolver.addLanguage(t);const s={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const o=await this.loadGrammarWithConfiguration(t.scopeName,1,s);if(this._resolvedGrammars[t.name]=o,t.aliases&&t.aliases.forEach(u=>{this.alias[u]=t.name}),n.size)for(const u of n)delete this._resolvedGrammars[u.name],(a=(i=this._syncRegistry)==null?void 0:i._injectionGrammars)==null||a.delete(u.scopeName),(c=(l=this._syncRegistry)==null?void 0:l._grammars)==null||c.delete(u.scopeName),await this.loadLanguage(this._langMap[u.name])}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}async loadLanguages(t){for(const o of t)this.resolveEmbeddedLanguages(o);const n=Array.from(this._langGraph.entries()),s=n.filter(([o,i])=>!i);if(s.length){const o=n.filter(([i,a])=>{var l;return a&&((l=a.embeddedLangs)==null?void 0:l.some(c=>s.map(([u])=>u).includes(c)))}).filter(i=>!s.includes(i));throw new D(`Missing languages ${s.map(([i])=>`\`${i}\``).join(", ")}, required by ${o.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[o,i]of n)this._resolver.addLanguage(i);for(const[o,i]of n)await this.loadLanguage(i)}getLoadedLanguages(){return Object.keys({...this._resolvedGrammars,...this.alias})}resolveEmbeddedLanguages(t){if(this._langMap[t.name]=t,this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}class ks{constructor(e,t){h(this,"_langs",new Map);h(this,"_scopeToLang",new Map);h(this,"_injections",new Map);h(this,"_onigLibPromise");this._onigLibPromise=e,t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLibPromise}getLangRegistration(e){return this._langs.get(e)}async loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let s=1;s<=t.length;s++){const o=t.slice(0,s).join(".");n=[...n,...this._injections.get(o)||[]]}return n}}let Ns;async function Es(r={}){async function e(_){return Promise.resolve(typeof _=="function"?_():_).then(y=>y.default||y)}async function t(_){return Array.from(new Set((await Promise.all(_.filter(y=>!Nt(y)).map(async y=>await e(y).then(S=>Array.isArray(S)?S:[S])))).flat()))}const n=r.loadWasm||Ns,[s,o]=await Promise.all([Promise.all((r.themes||[]).map(e)).then(_=>_.map(Yt)),t(r.langs||[]),n?Ss(n):void 0]),i=new ks(Promise.resolve({createOnigScanner(_){return As(_)},createOnigString(_){return Rs(_)}}),o),a=new Ps(i,s,o);Object.assign(a.alias,r.langAlias),await a.init();let l;function c(_){const y=a.getGrammar(typeof _=="string"?_:_.name);if(!y)throw new D(`Language \`${_}\` not found, you may need to load it first`);return y}function u(_){if(_==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const y=a.getTheme(_);if(!y)throw new D(`Theme \`${_}\` not found, you may need to load it first`);return y}function d(_){const y=u(_);l!==_&&(a.setTheme(y),l=_);const S=a.getColorMap();return{theme:y,colorMap:S}}function f(){return a.getLoadedThemes()}function g(){return a.getLoadedLanguages()}async function p(..._){await a.loadLanguages(await t(_))}async function b(..._){await Promise.all(_.map(async y=>Lt(y)?null:a.loadTheme(await e(y))))}return{setTheme:d,getTheme:u,getLanguage:c,getLoadedThemes:f,getLoadedLanguages:g,loadLanguage:p,loadTheme:b}}async function Ls(r={}){const e=await Es(r);return{codeToTokensBase:(t,n)=>He(e,t,n),codeToTokensWithThemes:(t,n)=>It(e,t,n),codeToTokens:(t,n)=>ve(e,t,n),codeToHast:(t,n)=>Ae(e,t,n),codeToHtml:(t,n)=>us(e,t,n),...e,getInternalContext:()=>e}}function xs(r,e,t,n=!1){return{name:r,code(s){const o=s.children.filter(a=>a.type==="element"),i=[];o.forEach((a,l)=>{let c;for(const u of a.children){if(u.type!=="element")continue;const d=u.children[0];if(d.type!=="text")continue;let f=!1;d.value=d.value.replace(e,(...g)=>t.call(this,g,a,u,o,l)?(f=!0,""):g[0]),f&&!d.value.trim()&&(c=u)}if(c&&(a.children.splice(a.children.indexOf(c),1),a.children.length===0&&(i.push(a),n))){const u=s.children[s.children.indexOf(a)+1];u&&u.type==="text"&&u.value===` -`&&i.push(u)}});for(const a of i)s.children.splice(s.children.indexOf(a),1)}}}function Ts(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ee(r={},e="@shikijs/transformers:notation-map"){const{classMap:t={},classActivePre:n=void 0}=r;return xs(e,new RegExp(`\\s*(?://|/\\*|)?`),function([s,o,i=":1"],a,l,c,u){const d=Number.parseInt(i.slice(1),10);return c.slice(u,u+d).forEach(f=>{this.addClassToHast(f,t[o])}),n&&this.addClassToHast(this.pre,n),!0})}function Os(r={}){const{classActiveLine:e="focused",classActivePre:t="has-focused"}=r;return Ee({classMap:{focus:e},classActivePre:t},"@shikijs/transformers:notation-focus")}function Is(r={}){const{classActiveLine:e="highlighted",classActivePre:t="has-highlighted"}=r;return Ee({classMap:{highlight:e,hl:e},classActivePre:t},"@shikijs/transformers:notation-highlight")}function Ms(r={}){const{classLineAdd:e="diff add",classLineRemove:t="diff remove",classActivePre:n="has-diff"}=r;return Ee({classMap:{"++":e,"--":t},classActivePre:n},"@shikijs/transformers:notation-diff")}function Bs(r={}){const{classMap:e={error:["highlighted","error"],warning:["highlighted","warning"]},classActivePre:t="has-highlighted"}=r;return Ee({classMap:e,classActivePre:t},"@shikijs/transformers:notation-error-level")}function Ds({langs:r=[],themes:e=[],bundledLangs:t={},bundledThemes:n={},getMdcConfigs:s,options:o}={}){let i,a;async function l(){var p,b;const g=await Ls({langs:r,themes:e,loadWasm:()=>k(()=>import("./wasm.Ji7Olrrq.js"),__vite__mapDeps([0,1,2]),import.meta.url)});for await(const _ of await u())await((b=(p=_.shiki)==null?void 0:p.setup)==null?void 0:b.call(p,g));return g}async function c(){return i||(i=l()),i}async function u(){return a||(a=Promise.resolve((s==null?void 0:s())||[])),a}const d=[Ms(),Os(),Is(),Bs()];return async(g,p,b,_={})=>{var pe,X,re;const y=await c(),S=typeof b=="string"?{default:b}:b||{},R=y.getLoadedThemes(),P=y.getLoadedLanguages();typeof p=="string"&&!P.includes(p)&&!Nt(p)&&(t[p]?await y.loadLanguage(t[p]):p="text");for(const[v,E]of Object.entries(S))typeof E=="string"&&!R.includes(E)&&!Lt(E)&&(n[E]?await y.loadTheme(n[E]):S[v]="none");const w=[...d];for(const v of await u()){const E=typeof((pe=v.shiki)==null?void 0:pe.transformers)=="function"?await((X=v.shiki)==null?void 0:X.transformers(g,p,b,_)):((re=v.shiki)==null?void 0:re.transformers)||[];w.push(...E)}const x=y.codeToHast(g.trimEnd(),{lang:p,themes:S,defaultColor:!1,meta:{__raw:_.meta},transformers:[...w,{name:"mdc:highlight",line(v,E){var z;(z=_.highlights)!=null&&z.includes(E)&&ze(v,"highlight"),v.properties.line=E}},{name:"mdc:newline",line(v){if(g!=null&&g.includes(` +`&&i.push(u)}});for(const a of i)s.children.splice(s.children.indexOf(a),1)}}}function Ts(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ee(r={},e="@shikijs/transformers:notation-map"){const{classMap:t={},classActivePre:n=void 0}=r;return xs(e,new RegExp(`\\s*(?://|/\\*|)?`),function([s,o,i=":1"],a,l,c,u){const d=Number.parseInt(i.slice(1),10);return c.slice(u,u+d).forEach(f=>{this.addClassToHast(f,t[o])}),n&&this.addClassToHast(this.pre,n),!0})}function Os(r={}){const{classActiveLine:e="focused",classActivePre:t="has-focused"}=r;return Ee({classMap:{focus:e},classActivePre:t},"@shikijs/transformers:notation-focus")}function Is(r={}){const{classActiveLine:e="highlighted",classActivePre:t="has-highlighted"}=r;return Ee({classMap:{highlight:e,hl:e},classActivePre:t},"@shikijs/transformers:notation-highlight")}function Ms(r={}){const{classLineAdd:e="diff add",classLineRemove:t="diff remove",classActivePre:n="has-diff"}=r;return Ee({classMap:{"++":e,"--":t},classActivePre:n},"@shikijs/transformers:notation-diff")}function Bs(r={}){const{classMap:e={error:["highlighted","error"],warning:["highlighted","warning"]},classActivePre:t="has-highlighted"}=r;return Ee({classMap:e,classActivePre:t},"@shikijs/transformers:notation-error-level")}function Ds({langs:r=[],themes:e=[],bundledLangs:t={},bundledThemes:n={},getMdcConfigs:s,options:o}={}){let i,a;async function l(){var p,b;const g=await Ls({langs:r,themes:e,loadWasm:()=>k(()=>import("./wasm.BnMJw1Cl.js"),__vite__mapDeps([0,1,2]),import.meta.url)});for await(const _ of await u())await((b=(p=_.shiki)==null?void 0:p.setup)==null?void 0:b.call(p,g));return g}async function c(){return i||(i=l()),i}async function u(){return a||(a=Promise.resolve((s==null?void 0:s())||[])),a}const d=[Ms(),Os(),Is(),Bs()];return async(g,p,b,_={})=>{var pe,X,re;const y=await c(),S=typeof b=="string"?{default:b}:b||{},R=y.getLoadedThemes(),P=y.getLoadedLanguages();typeof p=="string"&&!P.includes(p)&&!Nt(p)&&(t[p]?await y.loadLanguage(t[p]):p="text");for(const[v,E]of Object.entries(S))typeof E=="string"&&!R.includes(E)&&!Lt(E)&&(n[E]?await y.loadTheme(n[E]):S[v]="none");const w=[...d];for(const v of await u()){const E=typeof((pe=v.shiki)==null?void 0:pe.transformers)=="function"?await((X=v.shiki)==null?void 0:X.transformers(g,p,b,_)):((re=v.shiki)==null?void 0:re.transformers)||[];w.push(...E)}const x=y.codeToHast(g.trimEnd(),{lang:p,themes:S,defaultColor:!1,meta:{__raw:_.meta},transformers:[...w,{name:"mdc:highlight",line(v,E){var z;(z=_.highlights)!=null&&z.includes(E)&&ze(v,"highlight"),v.properties.line=E}},{name:"mdc:newline",line(v){if(g!=null&&g.includes(` `)){if(v.children.length===0||v.children.length===1&&v.children[0].type==="element"&&v.children[0].children.length===1&&v.children[0].children[0].type==="text"&&v.children[0].children[0].value===""){v.children=[{type:"element",tagName:"span",properties:{emptyLinePlaceholder:!0},children:[{type:"text",value:` `}]}];return}const E=v.children.at(-1);if((E==null?void 0:E.type)==="element"&&E.tagName==="span"){const z=E.children.at(-1);(z==null?void 0:z.type)==="text"&&(z.value+=` `)}}}}]}).children[0],fe=x.children[0],Y=o==null?void 0:o.wrapperStyle;x.properties.style=Y?typeof Y=="string"?Y:x.properties.style:"";const ne=[];return Object.keys(S).forEach(v=>{const E=v!=="default"?`.${v}`:"";ne.push(Y?`${E} .shiki,`:"",`html .${v} .shiki span {`,`color: var(--shiki-${v});`,`background: var(--shiki-${v}-bg);`,`font-style: var(--shiki-${v}-font-style);`,`font-weight: var(--shiki-${v}-font-weight);`,`text-decoration: var(--shiki-${v}-text-decoration);`,"}"),ne.push(`html${E} .shiki span {`,`color: var(--shiki-${v});`,`background: var(--shiki-${v}-bg);`,`font-style: var(--shiki-${v}-font-style);`,`font-weight: var(--shiki-${v}-font-weight);`,`text-decoration: var(--shiki-${v}-text-decoration);`,"}")}),{tree:fe.children,className:Array.isArray(x.properties.class)?x.properties.class.join(" "):x.properties.class,inlineStyle:x.properties.style,style:ne.join("")}}}const Gs={javascript:()=>k(()=>import("./javascript.JMZ6uy5M.js"),__vite__mapDeps([]),import.meta.url),js:()=>k(()=>import("./javascript.JMZ6uy5M.js"),__vite__mapDeps([]),import.meta.url),jsx:()=>k(()=>import("./jsx.3LZ_BoLB.js"),__vite__mapDeps([]),import.meta.url),json:()=>k(()=>import("./json.xL80yL3n.js"),__vite__mapDeps([]),import.meta.url),typescript:()=>k(()=>import("./typescript.HpdcmTOD.js"),__vite__mapDeps([]),import.meta.url),ts:()=>k(()=>import("./typescript.HpdcmTOD.js"),__vite__mapDeps([]),import.meta.url),tsx:()=>k(()=>import("./tsx.7LxggtAE.js"),__vite__mapDeps([]),import.meta.url),vue:()=>k(()=>import("./vue.5RYf6BCf.js"),__vite__mapDeps([3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),css:()=>k(()=>import("./css.tuEqSfZX.js"),__vite__mapDeps([]),import.meta.url),html:()=>k(()=>import("./html.ZVb9jHrO.js"),__vite__mapDeps([4,5,6]),import.meta.url),shellscript:()=>k(()=>import("./shellscript.QP4ZqdYB.js"),__vite__mapDeps([]),import.meta.url),bash:()=>k(()=>import("./shellscript.QP4ZqdYB.js"),__vite__mapDeps([]),import.meta.url),sh:()=>k(()=>import("./shellscript.QP4ZqdYB.js"),__vite__mapDeps([]),import.meta.url),shell:()=>k(()=>import("./shellscript.QP4ZqdYB.js"),__vite__mapDeps([]),import.meta.url),zsh:()=>k(()=>import("./shellscript.QP4ZqdYB.js"),__vite__mapDeps([]),import.meta.url),markdown:()=>k(()=>import("./markdown.BZyvP-q3.js"),__vite__mapDeps([]),import.meta.url),md:()=>k(()=>import("./markdown.BZyvP-q3.js"),__vite__mapDeps([]),import.meta.url),mdc:()=>k(()=>import("./mdc.DUw-Yeky.js"),__vite__mapDeps([14,7,12,13,4,5,6]),import.meta.url),yaml:()=>k(()=>import("./yaml.zytfnWoA.js"),__vite__mapDeps([]),import.meta.url),yml:()=>k(()=>import("./yaml.zytfnWoA.js"),__vite__mapDeps([]),import.meta.url),diff:()=>k(()=>import("./diff.-l9-nN5b.js"),__vite__mapDeps([]),import.meta.url),ini:()=>k(()=>import("./ini.T6bxBy5-.js"),__vite__mapDeps([]),import.meta.url),properties:()=>k(()=>import("./ini.T6bxBy5-.js"),__vite__mapDeps([]),import.meta.url)},Fs={"material-theme-lighter":()=>k(()=>import("./material-theme-lighter.y77yPuAI.js"),__vite__mapDeps([]),import.meta.url).then(r=>r.default),"material-theme":()=>k(()=>import("./material-theme.49YjOoAR.js"),__vite__mapDeps([]),import.meta.url).then(r=>r.default),"material-theme-palenight":()=>k(()=>import("./material-theme-palenight.Z44VU5rQ.js"),__vite__mapDeps([]),import.meta.url).then(r=>r.default)},Us={theme:{light:"material-theme-lighter",default:"material-theme",dark:"material-theme-palenight"}},Hs=Ds({bundledLangs:Gs,bundledThemes:Fs,options:Us,getMdcConfigs:Qt});export{Ds as createShikiHighlighter,Hs as default}; diff --git a/_nuxt/mdc-imports.rU9K4kSx.js b/_nuxt/mdc-imports.SdErBHLE.js similarity index 84% rename from _nuxt/mdc-imports.rU9K4kSx.js rename to _nuxt/mdc-imports.SdErBHLE.js index 8f79e3ad..26b024db 100644 --- a/_nuxt/mdc-imports.rU9K4kSx.js +++ b/_nuxt/mdc-imports.SdErBHLE.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./mdc-highlighter.drB8Xnd9.js","./entry.rQ92EvLv.js","./entry.jnCQ1O-o.css","./mdc-configs.-tOr16rn.js"] + __vite__mapDeps.viteFileDeps = ["./mdc-highlighter.NchL_s2I.js","./entry.bb8_tySE.js","./entry.jnCQ1O-o.css","./mdc-configs.-tOr16rn.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as u}from"./entry.rQ92EvLv.js";import{v as y,t as f}from"./index.qRAVkPDV.js";import"./MDCRenderer.r7QY4jzo.js";import"./_commonjsHelpers.5-cIlDoe.js";import"./node.kQagOfUD.js";import"./Card.ecKOF5af.js";const d={theme:{},async highlighter(r,s,e,h){var a,i;if(window.sessionStorage.getItem("mdc-shiki-highlighter")==="browser")return u(()=>import("./mdc-highlighter.drB8Xnd9.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(t=>t.default(r,s,e,h));try{return await $fetch("/api/_mdc/highlight",{params:{code:r,lang:s,theme:JSON.stringify(e),options:JSON.stringify(h)}})}catch(t){if(((a=t==null?void 0:t.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,e,h)}return Promise.resolve({tree:[{type:"text",value:r}],className:"",style:""})}};function N(r={}){const s={...d,...r};return async e=>{const h=[],a=[];y(e,i=>{var t,l;return["pre","code"].includes(i.tagName)&&!!((t=i.properties)!=null&&t.language||(l=i.properties)!=null&&l.highlights)},i=>{const t=i,l=typeof t.properties.highlights=="string"?t.properties.highlights.split(/[,\s]+/).map(Number):Array.isArray(t.properties.highlights)?t.properties.highlights.map(Number):[],g=s.highlighter(f(i),t.properties.language,s.theme,{highlights:l.filter(Boolean),meta:t.properties.meta}).then(({tree:o,className:m,style:p,inlineStyle:c})=>{var n;t.properties.className=((t.properties.className||"")+" "+m).trim(),t.properties.style=((t.properties.style||"")+" "+c).trim(),((n=t.children[0])==null?void 0:n.tagName)==="code"?t.children[0].children=o:t.children=o[0].children||o,p&&a.push(p)});h.push(g)}),h.length&&(await Promise.all(h),e.children.push({type:"element",tagName:"style",children:[{type:"text",value:_(a.join(""))}],properties:{}}))}}const _=r=>{const s=r.split("}").filter(e=>!!e.trim()).map(e=>e.trim()+"}");return Array.from(new Set(s)).join("")},A={},x={highlight:{instance:N,options:{}}},I={theme:{light:"material-theme-lighter",default:"material-theme",dark:"material-theme-palenight"}};export{I as highlight,x as rehypePlugins,A as remarkPlugins}; +import{_ as u}from"./entry.bb8_tySE.js";import{v as y,t as f}from"./index.3XGNYxtw.js";import"./MDCRenderer.QrfRPW2s.js";import"./_commonjsHelpers.5-cIlDoe.js";import"./node.kQagOfUD.js";import"./Card.9CHU1W46.js";const d={theme:{},async highlighter(r,s,e,h){var a,i;if(window.sessionStorage.getItem("mdc-shiki-highlighter")==="browser")return u(()=>import("./mdc-highlighter.NchL_s2I.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(t=>t.default(r,s,e,h));try{return await $fetch("/api/_mdc/highlight",{params:{code:r,lang:s,theme:JSON.stringify(e),options:JSON.stringify(h)}})}catch(t){if(((a=t==null?void 0:t.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,e,h)}return Promise.resolve({tree:[{type:"text",value:r}],className:"",style:""})}};function N(r={}){const s={...d,...r};return async e=>{const h=[],a=[];y(e,i=>{var t,l;return["pre","code"].includes(i.tagName)&&!!((t=i.properties)!=null&&t.language||(l=i.properties)!=null&&l.highlights)},i=>{const t=i,l=typeof t.properties.highlights=="string"?t.properties.highlights.split(/[,\s]+/).map(Number):Array.isArray(t.properties.highlights)?t.properties.highlights.map(Number):[],g=s.highlighter(f(i),t.properties.language,s.theme,{highlights:l.filter(Boolean),meta:t.properties.meta}).then(({tree:o,className:m,style:p,inlineStyle:c})=>{var n;t.properties.className=((t.properties.className||"")+" "+m).trim(),t.properties.style=((t.properties.style||"")+" "+c).trim(),((n=t.children[0])==null?void 0:n.tagName)==="code"?t.children[0].children=o:t.children=o[0].children||o,p&&a.push(p)});h.push(g)}),h.length&&(await Promise.all(h),e.children.push({type:"element",tagName:"style",children:[{type:"text",value:_(a.join(""))}],properties:{}}))}}const _=r=>{const s=r.split("}").filter(e=>!!e.trim()).map(e=>e.trim()+"}");return Array.from(new Set(s)).join("")},A={},x={highlight:{instance:N,options:{}}},I={theme:{light:"material-theme-lighter",default:"material-theme",dark:"material-theme-palenight"}};export{I as highlight,x as rehypePlugins,A as remarkPlugins}; diff --git a/_nuxt/slot.yKcOMwL8.js b/_nuxt/slot.ZNG1_16C.js similarity index 67% rename from _nuxt/slot.yKcOMwL8.js rename to _nuxt/slot.ZNG1_16C.js index 76c51e7c..a19ce1cd 100644 --- a/_nuxt/slot.yKcOMwL8.js +++ b/_nuxt/slot.ZNG1_16C.js @@ -1 +1 @@ -import{f as n}from"./node.kQagOfUD.js";import{aj as i}from"./entry.rQ92EvLv.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{aj as i}from"./entry.bb8_tySE.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.Rfi70Rdj.js b/_nuxt/useGithub.24J5VJ4k.js similarity index 88% rename from _nuxt/useGithub.Rfi70Rdj.js rename to _nuxt/useGithub.24J5VJ4k.js index d9f26996..912e8472 100644 --- a/_nuxt/useGithub.Rfi70Rdj.js +++ b/_nuxt/useGithub.24J5VJ4k.js @@ -1 +1 @@ -import{bo as o}from"./entry.rQ92EvLv.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{bo as o}from"./entry.bb8_tySE.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.kkQ9mGA6.js b/_nuxt/useStudio.cwMoTLNg.js similarity index 98% rename from _nuxt/useStudio.kkQ9mGA6.js rename to _nuxt/useStudio.cwMoTLNg.js index 80c49c44..5b35f307 100644 --- a/_nuxt/useStudio.kkQ9mGA6.js +++ b/_nuxt/useStudio.cwMoTLNg.js @@ -4,4 +4,4 @@ function __vite__mapDeps(indexes) { } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{d as ne,u as Q,r as R,o as oe,_ as ie,a as se,b,c as q,n as ae,F as re,e as f,f as L,g as z,w as H,T as V,t as de,h as W,p as ce,i as le,j as ue,k as X,l as pe,m as fe,q as Z,s as we,v as F,x as D,y as Y,z as ve,A as he,B as J,C as ye}from"./entry.rQ92EvLv.js";const A=i=>(ce("data-v-cadfb551"),i=i(),le(),i),me=A(()=>f("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[f("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)),_e=A(()=>f("span",null,[f("a",{href:"https://nuxt.studio",target:"_blank",rel:"noopener"},"Nuxt Studio"),ue(": Preview enabled")],-1)),ge={key:0},ke=A(()=>f("div",{id:"__preview_background"},null,-1)),Ce=A(()=>f("svg",{id:"__preview_loading_icon",width:"32",height:"32",viewBox:"0 0 24 24"},[f("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)),Ie=A(()=>f("p",null,"Initializing the preview...",-1)),Pe={key:0},xe=A(()=>f("div",{id:"__preview_background"},null,-1)),Se={id:"__preview_loader"},Te=ne({__name:"ContentPreviewMode",props:{previewToken:{type:String,required:!0},apiURL:{type:String,required:!0},syncPreview:{type:Function,required:!0},requestPreviewSyncAPI:{type:Function,required:!0}},setup(i){const a=i,r=["__nuxt_preview","__preview_enabled"],l=X(),m=Q(),w=R(!0),g=R(!1),t=R(!1),p=R("");let d;const v=async()=>{W("previewToken").value="",window.sessionStorage.removeItem("previewToken"),window.sessionStorage.removeItem("previewAPI"),await m.replace({query:{preview:void 0}}),window.location.reload()},P=async x=>{const y=await a.syncPreview(x);if(t.value!==!0){if(!y){setTimeout(()=>P(x),1e3);return}W("previewToken").value&&(t.value=!0,await m.replace({query:{}}),l.callHook("nuxt-studio:preview:ready"),window.parent&&window.self!==window.parent&&d.disconnect())}};return oe(async()=>{d=(await ie(()=>import("./index.5Jz4PfUi.js"),__vite__mapDeps([]),import.meta.url)).connect(`${a.apiURL}/preview`,{transports:["websocket","polling"],auth:{token:a.previewToken}});let y;d.on("connect",()=>{y=setTimeout(()=>{t.value||(y=setTimeout(()=>{p.value="Preview sync timed out",t.value=!1},3e4),d.emit("draft:requestSync"))},3e4)});const T=()=>{y&&(clearTimeout(y),y=null)};d.on("draft:sync",async _=>{if(T(),!_){try{d.once("draft:ready",()=>{d.emit("draft:requestSync")}),await a.requestPreviewSyncAPI()}catch(N){switch(T(),N.response.status){case 404:p.value="Preview draft not found",t.value=!1;break;default:p.value="An error occurred while syncing preview",t.value=!1}}return}P(_)}),d.on("draft:unauthorized",()=>{T(),p.value="Unauthorized preview token",t.value=!1}),d.on("disconnect",()=>{T()}),document.body.classList.add(...r),d.on("draft:update",_=>{g.value=!0,a.syncPreview(_),g.value=!1})}),se(()=>{document.body.classList.remove(...r)}),(x,y)=>(b(),q("div",null,[w.value?(b(),q("div",{key:0,id:"__nuxt_preview",class:ae({__preview_ready:t.value,__preview_refreshing:g.value})},[t.value?(b(),q(re,{key:0},[me,_e,f("button",{onClick:v}," Close ")],64)):L("",!0)],2)):L("",!0),z(V,{name:"preview-loading"},{default:H(()=>[w.value&&!t.value&&!p.value?(b(),q("div",ge,[ke,f("div",{id:"__preview_loader"},[Ce,Ie,f("button",{onClick:v}," Cancel ")])])):L("",!0)]),_:1}),z(V,{name:"preview-loading"},{default:H(()=>[p.value?(b(),q("div",Pe,[xe,f("div",Se,[f("p",null,de(p.value),1),f("button",{onClick:v}," Exit preview ")])])):L("",!0)]),_:1})]))}}),Ae=pe(Te,[["__scopeId","data-v-cadfb551"]]),be=(i=[],a,r)=>{const l=[...a||[]],m=[...r||[]],w=JSON.parse(JSON.stringify(i));for(const t of l)if(t.oldPath)if(m.splice(m.findIndex(d=>d.path===t.oldPath),1),l.find(d=>d.path===t.oldPath))w.push({path:t.path,parsed:t.parsed});else{const d=w.find(v=>v.path===t.oldPath);d&&(d.path=t.path,t.parsed?d.parsed=t.parsed:t.pathMeta&&["_file","_path","_id","_locale"].forEach(v=>{d.parsed[v]=t.pathMeta[v]}))}else if(t.new)w.push({path:t.path,parsed:t.parsed});else{const p=w.find(d=>d.path===t.path);p&&Object.assign(p,{path:t.path,parsed:t.parsed})}for(const t of m)w.splice(w.findIndex(p=>p.path===t.path),1);const g=new Intl.Collator(void 0,{numeric:!0});return w.sort((t,p)=>g.compare(t.path,p.path)),w},C={appConfig:"app.config.ts",nuxtConfig:"nuxt.config.ts",tokensConfig:"tokens.config.ts"},qe=i=>{let a;return r=>(a||(a=i()),a)};function j(i,a){for(const r in i){const l=a[r];r in a||delete i[r],l!==null&&typeof l=="object"&&j(i[r],a[r])}}function ee(i,a){for(const r in a){const l=a[r];l!==null&&typeof l=="object"?Array.isArray(l)&&Array.isArray(i[r])?i[r]=l:(i[r]=i[r]||{},ee(i[r],l)):i[r]=l}}const Re=qe(()=>JSON.parse(JSON.stringify(Y()))),G=ye((i,a,r)=>{if(Array.isArray(i[a])&&Array.isArray(r))return i[a]=r,!0}),Me=()=>{const i=X(),{studio:a,content:r}=fe().public,l={},m=window.sessionStorage.getItem("previewAPI")||(a==null?void 0:a.apiURL),w=Re();let g;const t=Z("studio-client-db",()=>null),p=Z("studio-preview-db-files",()=>[]);t.value||(i.hook("content:storage",n=>{t.value=n}),we("/non-existing-path").findOne());const d=async(n,o)=>{const s=window.sessionStorage.getItem("previewToken"),c=await n.getKeys(`${s}:`);await Promise.all(c.map(e=>n.removeItem(e)));const u=new Set(o.map(e=>e.parsed._id.split(":").shift()));await n.setItem(`${s}$`,JSON.stringify({ignoreSources:Array.from(u)})),await Promise.all(o.map(e=>(l[e.parsed._path]=e.parsed,n.setItem(`${s}:${e.parsed._id}`,JSON.stringify(e.parsed)))))},v=n=>{const o=D(i,Y);o!=null&&o.ui&&(o.ui.icons={...o.ui.icons,dynamic:!0}),ee(o,G(n,w)),n||j(o,w)},P=n=>{var s,c,u,e;const o=(e=(u=(c=(s=i==null?void 0:i.vueApp)==null?void 0:s._context)==null?void 0:c.config)==null?void 0:u.globalProperties)==null?void 0:e.$pinceauTheme;!o||!(o!=null&&o.updateTheme)||(g||(g=JSON.parse(JSON.stringify((o==null?void 0:o.theme.value)||{}))),D(i,o.updateTheme,[G(n,g)]))},x=async n=>{if(p.value=n.files=n.files||p.value||[],!t.value)return!1;const o=be(n.files,n.additions,n.deletions),s=o.filter(e=>![C.appConfig,C.nuxtConfig,C.tokensConfig].includes(e.path));await d(t.value,s);const c=o.find(e=>e.path===C.appConfig);v(c==null?void 0:c.parsed);const u=o.find(e=>e.path===C.tokensConfig);return P(u==null?void 0:u.parsed),$(),!0},y=async()=>{const n=window.sessionStorage.getItem("previewToken");await $fetch("api/projects/preview/sync",{baseURL:m,method:"POST",params:{token:n}})},T=()=>{const n=window.sessionStorage.getItem("previewToken"),o=document.createElement("div");o.id="__nuxt_preview_wrapper",document.body.appendChild(o),ve(Ae,{previewToken:n,apiURL:m,syncPreview:x,requestPreviewSyncAPI:y}).mount(o)},_=async n=>{var c,u,e;const o=window.sessionStorage.getItem("previewToken");if(!n)return null;n=n.replace(/\/$/,"");let s=await((c=t.value)==null?void 0:c.getItem(`${o}:${n}`));return s||(s=await((u=t.value)==null?void 0:u.getItem(`cached:${n}`))),s||(s=s=await((e=t.value)==null?void 0:e.getItem(n))),s||(s=l[n||"/"]),s},N=n=>{var s;const o=window.sessionStorage.getItem("previewToken");t.value&&(l[n.parsed._path]=n.parsed,t.value.setItem(`${o}:${(s=n.parsed)==null?void 0:s._id}`,JSON.stringify(n.parsed)))},U=async n=>{var c;const o=window.sessionStorage.getItem("previewToken"),s=await _(n);if(await((c=t.value)==null?void 0:c.removeItem(`${o}:${n}`)),s){delete l[s._path];const u=await _(s._id);u&&(l[u._path]=u)}},$=async()=>{if(r!=null&&r.documentDriven){const{pages:n}=D(i,he),o=await Promise.all(Object.keys(n.value).map(async s=>{var c;return await _(((c=n.value[s])==null?void 0:c._id)??s)}));n.value=o.reduce((s,c,u)=>(c&&(s[Object.keys(n.value)[u]]=c),s),{})}await i.hooks.callHookParallel("app:data:refresh")};return{apiURL:m,contentStorage:t,syncPreviewFiles:d,syncPreviewAppConfig:v,syncPreviewTokensConfig:P,requestPreviewSynchronization:y,findContentWithId:_,updateContent:N,removeContentWithId:U,requestRerender:$,mountPreviewUI:T,initiateIframeCommunication:te};function te(){if(!window.parent||window.self===window.parent)return;const n=Q(),o=F(),s=R(""),c=e=>({path:e.path,query:J(e.query),params:J(e.params),fullPath:e.fullPath,meta:J(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=>{var B;if(!["https://nuxt.studio","https://new.nuxt.studio","https://new.dev.nuxt.studio","https://dev.nuxt.studio","http://localhost:3000",...((B=a==null?void 0:a.iframeMessagingAllowedOrigins)==null?void 0:B.split(",").map(h=>h.trim()))||[]].includes(e.origin))return;const{type:E,payload:O={}}=e.data||{};switch(E){case"nuxt-studio:editor:file-selected":{const h=await _(O.path);h&&(h._partial||h._path!==F().path&&(s.value=h._path,n.push(h._path)));break}case"nuxt-studio:editor:file-changed":{const{additions:h=[],deletions:M=[]}=O;for(const I of h)await N(I);for(const I of M)await U(I.path);$();break}case"nuxt-studio:preview:sync":{x(O);break}case"nuxt-studio:config:file-changed":{const{additions:h=[],deletions:M=[]}=O,I=h.find(S=>S.path===C.appConfig);I&&v(I==null?void 0:I.parsed),M.find(S=>S.path===C.appConfig)&&v(void 0);const K=h.find(S=>S.path===C.tokensConfig);K&&P(K==null?void 0:K.parsed),M.find(S=>S.path===C.tokensConfig)&&P(void 0);break}}}),i.hook("page:finish",()=>{u(),i.payload.prerenderedAt&&$()}),i.hook("content:document-driven:finish",({route:e,page:k})=>{e.meta.studio_page_contentId=k==null?void 0:k._id}),i.hook("nuxt-studio:preview:ready",()=>{window.parent.postMessage({type:"nuxt-studio:preview:ready",payload:c(F())},"*"),setTimeout(()=>{u()},100)});function u(){const e=Array.from(window.document.querySelectorAll("[data-content-id]")).map(E=>E.getAttribute("data-content-id")),k=Array.from(new Set([o.meta.studio_page_contentId,...e])).filter(Boolean);if(s.value===k[0]){s.value="";return}window.openContentInStudioEditor(k,{navigate:!0,pageContentId:o.meta.studio_page_contentId})}window.openContentInStudioEditor=(e,k={})=>{window.parent.postMessage({type:"nuxt-studio:preview:navigate",payload:{...c(o),contentIds:e,...k}},"*")}}};export{Me as useStudio}; +import{d as ne,u as Q,r as R,o as oe,_ as ie,a as se,b,c as q,n as ae,F as re,e as f,f as L,g as z,w as H,T as V,t as de,h as W,p as ce,i as le,j as ue,k as X,l as pe,m as fe,q as Z,s as we,v as F,x as D,y as Y,z as ve,A as he,B as J,C as ye}from"./entry.bb8_tySE.js";const A=i=>(ce("data-v-cadfb551"),i=i(),le(),i),me=A(()=>f("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[f("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)),_e=A(()=>f("span",null,[f("a",{href:"https://nuxt.studio",target:"_blank",rel:"noopener"},"Nuxt Studio"),ue(": Preview enabled")],-1)),ge={key:0},ke=A(()=>f("div",{id:"__preview_background"},null,-1)),Ce=A(()=>f("svg",{id:"__preview_loading_icon",width:"32",height:"32",viewBox:"0 0 24 24"},[f("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)),Ie=A(()=>f("p",null,"Initializing the preview...",-1)),Pe={key:0},xe=A(()=>f("div",{id:"__preview_background"},null,-1)),Se={id:"__preview_loader"},Te=ne({__name:"ContentPreviewMode",props:{previewToken:{type:String,required:!0},apiURL:{type:String,required:!0},syncPreview:{type:Function,required:!0},requestPreviewSyncAPI:{type:Function,required:!0}},setup(i){const a=i,r=["__nuxt_preview","__preview_enabled"],l=X(),m=Q(),w=R(!0),g=R(!1),t=R(!1),p=R("");let d;const v=async()=>{W("previewToken").value="",window.sessionStorage.removeItem("previewToken"),window.sessionStorage.removeItem("previewAPI"),await m.replace({query:{preview:void 0}}),window.location.reload()},P=async x=>{const y=await a.syncPreview(x);if(t.value!==!0){if(!y){setTimeout(()=>P(x),1e3);return}W("previewToken").value&&(t.value=!0,await m.replace({query:{}}),l.callHook("nuxt-studio:preview:ready"),window.parent&&window.self!==window.parent&&d.disconnect())}};return oe(async()=>{d=(await ie(()=>import("./index.5Jz4PfUi.js"),__vite__mapDeps([]),import.meta.url)).connect(`${a.apiURL}/preview`,{transports:["websocket","polling"],auth:{token:a.previewToken}});let y;d.on("connect",()=>{y=setTimeout(()=>{t.value||(y=setTimeout(()=>{p.value="Preview sync timed out",t.value=!1},3e4),d.emit("draft:requestSync"))},3e4)});const T=()=>{y&&(clearTimeout(y),y=null)};d.on("draft:sync",async _=>{if(T(),!_){try{d.once("draft:ready",()=>{d.emit("draft:requestSync")}),await a.requestPreviewSyncAPI()}catch(N){switch(T(),N.response.status){case 404:p.value="Preview draft not found",t.value=!1;break;default:p.value="An error occurred while syncing preview",t.value=!1}}return}P(_)}),d.on("draft:unauthorized",()=>{T(),p.value="Unauthorized preview token",t.value=!1}),d.on("disconnect",()=>{T()}),document.body.classList.add(...r),d.on("draft:update",_=>{g.value=!0,a.syncPreview(_),g.value=!1})}),se(()=>{document.body.classList.remove(...r)}),(x,y)=>(b(),q("div",null,[w.value?(b(),q("div",{key:0,id:"__nuxt_preview",class:ae({__preview_ready:t.value,__preview_refreshing:g.value})},[t.value?(b(),q(re,{key:0},[me,_e,f("button",{onClick:v}," Close ")],64)):L("",!0)],2)):L("",!0),z(V,{name:"preview-loading"},{default:H(()=>[w.value&&!t.value&&!p.value?(b(),q("div",ge,[ke,f("div",{id:"__preview_loader"},[Ce,Ie,f("button",{onClick:v}," Cancel ")])])):L("",!0)]),_:1}),z(V,{name:"preview-loading"},{default:H(()=>[p.value?(b(),q("div",Pe,[xe,f("div",Se,[f("p",null,de(p.value),1),f("button",{onClick:v}," Exit preview ")])])):L("",!0)]),_:1})]))}}),Ae=pe(Te,[["__scopeId","data-v-cadfb551"]]),be=(i=[],a,r)=>{const l=[...a||[]],m=[...r||[]],w=JSON.parse(JSON.stringify(i));for(const t of l)if(t.oldPath)if(m.splice(m.findIndex(d=>d.path===t.oldPath),1),l.find(d=>d.path===t.oldPath))w.push({path:t.path,parsed:t.parsed});else{const d=w.find(v=>v.path===t.oldPath);d&&(d.path=t.path,t.parsed?d.parsed=t.parsed:t.pathMeta&&["_file","_path","_id","_locale"].forEach(v=>{d.parsed[v]=t.pathMeta[v]}))}else if(t.new)w.push({path:t.path,parsed:t.parsed});else{const p=w.find(d=>d.path===t.path);p&&Object.assign(p,{path:t.path,parsed:t.parsed})}for(const t of m)w.splice(w.findIndex(p=>p.path===t.path),1);const g=new Intl.Collator(void 0,{numeric:!0});return w.sort((t,p)=>g.compare(t.path,p.path)),w},C={appConfig:"app.config.ts",nuxtConfig:"nuxt.config.ts",tokensConfig:"tokens.config.ts"},qe=i=>{let a;return r=>(a||(a=i()),a)};function j(i,a){for(const r in i){const l=a[r];r in a||delete i[r],l!==null&&typeof l=="object"&&j(i[r],a[r])}}function ee(i,a){for(const r in a){const l=a[r];l!==null&&typeof l=="object"?Array.isArray(l)&&Array.isArray(i[r])?i[r]=l:(i[r]=i[r]||{},ee(i[r],l)):i[r]=l}}const Re=qe(()=>JSON.parse(JSON.stringify(Y()))),G=ye((i,a,r)=>{if(Array.isArray(i[a])&&Array.isArray(r))return i[a]=r,!0}),Me=()=>{const i=X(),{studio:a,content:r}=fe().public,l={},m=window.sessionStorage.getItem("previewAPI")||(a==null?void 0:a.apiURL),w=Re();let g;const t=Z("studio-client-db",()=>null),p=Z("studio-preview-db-files",()=>[]);t.value||(i.hook("content:storage",n=>{t.value=n}),we("/non-existing-path").findOne());const d=async(n,o)=>{const s=window.sessionStorage.getItem("previewToken"),c=await n.getKeys(`${s}:`);await Promise.all(c.map(e=>n.removeItem(e)));const u=new Set(o.map(e=>e.parsed._id.split(":").shift()));await n.setItem(`${s}$`,JSON.stringify({ignoreSources:Array.from(u)})),await Promise.all(o.map(e=>(l[e.parsed._path]=e.parsed,n.setItem(`${s}:${e.parsed._id}`,JSON.stringify(e.parsed)))))},v=n=>{const o=D(i,Y);o!=null&&o.ui&&(o.ui.icons={...o.ui.icons,dynamic:!0}),ee(o,G(n,w)),n||j(o,w)},P=n=>{var s,c,u,e;const o=(e=(u=(c=(s=i==null?void 0:i.vueApp)==null?void 0:s._context)==null?void 0:c.config)==null?void 0:u.globalProperties)==null?void 0:e.$pinceauTheme;!o||!(o!=null&&o.updateTheme)||(g||(g=JSON.parse(JSON.stringify((o==null?void 0:o.theme.value)||{}))),D(i,o.updateTheme,[G(n,g)]))},x=async n=>{if(p.value=n.files=n.files||p.value||[],!t.value)return!1;const o=be(n.files,n.additions,n.deletions),s=o.filter(e=>![C.appConfig,C.nuxtConfig,C.tokensConfig].includes(e.path));await d(t.value,s);const c=o.find(e=>e.path===C.appConfig);v(c==null?void 0:c.parsed);const u=o.find(e=>e.path===C.tokensConfig);return P(u==null?void 0:u.parsed),$(),!0},y=async()=>{const n=window.sessionStorage.getItem("previewToken");await $fetch("api/projects/preview/sync",{baseURL:m,method:"POST",params:{token:n}})},T=()=>{const n=window.sessionStorage.getItem("previewToken"),o=document.createElement("div");o.id="__nuxt_preview_wrapper",document.body.appendChild(o),ve(Ae,{previewToken:n,apiURL:m,syncPreview:x,requestPreviewSyncAPI:y}).mount(o)},_=async n=>{var c,u,e;const o=window.sessionStorage.getItem("previewToken");if(!n)return null;n=n.replace(/\/$/,"");let s=await((c=t.value)==null?void 0:c.getItem(`${o}:${n}`));return s||(s=await((u=t.value)==null?void 0:u.getItem(`cached:${n}`))),s||(s=s=await((e=t.value)==null?void 0:e.getItem(n))),s||(s=l[n||"/"]),s},N=n=>{var s;const o=window.sessionStorage.getItem("previewToken");t.value&&(l[n.parsed._path]=n.parsed,t.value.setItem(`${o}:${(s=n.parsed)==null?void 0:s._id}`,JSON.stringify(n.parsed)))},U=async n=>{var c;const o=window.sessionStorage.getItem("previewToken"),s=await _(n);if(await((c=t.value)==null?void 0:c.removeItem(`${o}:${n}`)),s){delete l[s._path];const u=await _(s._id);u&&(l[u._path]=u)}},$=async()=>{if(r!=null&&r.documentDriven){const{pages:n}=D(i,he),o=await Promise.all(Object.keys(n.value).map(async s=>{var c;return await _(((c=n.value[s])==null?void 0:c._id)??s)}));n.value=o.reduce((s,c,u)=>(c&&(s[Object.keys(n.value)[u]]=c),s),{})}await i.hooks.callHookParallel("app:data:refresh")};return{apiURL:m,contentStorage:t,syncPreviewFiles:d,syncPreviewAppConfig:v,syncPreviewTokensConfig:P,requestPreviewSynchronization:y,findContentWithId:_,updateContent:N,removeContentWithId:U,requestRerender:$,mountPreviewUI:T,initiateIframeCommunication:te};function te(){if(!window.parent||window.self===window.parent)return;const n=Q(),o=F(),s=R(""),c=e=>({path:e.path,query:J(e.query),params:J(e.params),fullPath:e.fullPath,meta:J(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=>{var B;if(!["https://nuxt.studio","https://new.nuxt.studio","https://new.dev.nuxt.studio","https://dev.nuxt.studio","http://localhost:3000",...((B=a==null?void 0:a.iframeMessagingAllowedOrigins)==null?void 0:B.split(",").map(h=>h.trim()))||[]].includes(e.origin))return;const{type:E,payload:O={}}=e.data||{};switch(E){case"nuxt-studio:editor:file-selected":{const h=await _(O.path);h&&(h._partial||h._path!==F().path&&(s.value=h._path,n.push(h._path)));break}case"nuxt-studio:editor:file-changed":{const{additions:h=[],deletions:M=[]}=O;for(const I of h)await N(I);for(const I of M)await U(I.path);$();break}case"nuxt-studio:preview:sync":{x(O);break}case"nuxt-studio:config:file-changed":{const{additions:h=[],deletions:M=[]}=O,I=h.find(S=>S.path===C.appConfig);I&&v(I==null?void 0:I.parsed),M.find(S=>S.path===C.appConfig)&&v(void 0);const K=h.find(S=>S.path===C.tokensConfig);K&&P(K==null?void 0:K.parsed),M.find(S=>S.path===C.tokensConfig)&&P(void 0);break}}}),i.hook("page:finish",()=>{u(),i.payload.prerenderedAt&&$()}),i.hook("content:document-driven:finish",({route:e,page:k})=>{e.meta.studio_page_contentId=k==null?void 0:k._id}),i.hook("nuxt-studio:preview:ready",()=>{window.parent.postMessage({type:"nuxt-studio:preview:ready",payload:c(F())},"*"),setTimeout(()=>{u()},100)});function u(){const e=Array.from(window.document.querySelectorAll("[data-content-id]")).map(E=>E.getAttribute("data-content-id")),k=Array.from(new Set([o.meta.studio_page_contentId,...e])).filter(Boolean);if(s.value===k[0]){s.value="";return}window.openContentInStudioEditor(k,{navigate:!0,pageContentId:o.meta.studio_page_contentId})}window.openContentInStudioEditor=(e,k={})=>{window.parent.postMessage({type:"nuxt-studio:preview:navigate",payload:{...c(o),contentIds:e,...k}},"*")}}};export{Me as useStudio}; diff --git a/_nuxt/wasm.Ji7Olrrq.js b/_nuxt/wasm.BnMJw1Cl.js similarity index 85% rename from _nuxt/wasm.Ji7Olrrq.js rename to _nuxt/wasm.BnMJw1Cl.js index e8f48e35..7669af6e 100644 --- a/_nuxt/wasm.Ji7Olrrq.js +++ b/_nuxt/wasm.BnMJw1Cl.js @@ -4,4 +4,4 @@ function __vite__mapDeps(indexes) { } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as r}from"./entry.rQ92EvLv.js";const s=async e=>{const a=await r(()=>import("./onig.mBJmD8D5.js"),__vite__mapDeps([]),import.meta.url).then(t=>t.default);return WebAssembly.instantiate(a,e).then(t=>t.instance.exports)};export{s as default}; +import{_ as r}from"./entry.bb8_tySE.js";const s=async e=>{const a=await r(()=>import("./onig.mBJmD8D5.js"),__vite__mapDeps([]),import.meta.url).then(t=>t.default);return WebAssembly.instantiate(a,e).then(t=>t.instance.exports)};export{s as default}; diff --git a/_payload.json b/_payload.json index de1a2a59..fe3fc6c9 100644 --- a/_payload.json +++ b/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":367},["Reactive",2],{"navigation":3,"index":52,"1CZYD6bgNK":103,"q3uGftTUSs":128},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","i-heroicons-rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","i-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","i-heroicons-computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","i-heroicons-bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","i-heroicons-map",{"_path":53,"_dir":54,"_draft":55,"_partial":55,"_locale":54,"title":56,"description":57,"navigation":55,"hero":58,"features":72,"_id":98,"_type":99,"_source":100,"_file":101,"_extension":102},"/","",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":71},"Nuxt [Supabase]{.text-primary}","horizontal",[62,65],{"label":63,"icon":7,"to":6,"size":64},"Get started","lg",{"label":66,"icon":67,"color":68,"to":69,"target":70,"size":64},"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":73,"items":74},"Shipped with many features",[75,79,83,87,91,94],{"title":76,"icon":77,"to":78,"target":70},"Nuxt 3 ready","i-simple-icons-nuxtdotjs","https://nuxt.com",{"title":80,"icon":81,"to":82,"target":70},"Vue 3 composables","i-simple-icons-vuedotjs","https://vuejs.org/guide/reusability/composables.html",{"title":84,"icon":85,"to":86,"target":70},"Supabase-js V2","i-simple-icons-supabase","https://supabase.com",{"title":88,"icon":89,"to":90},"Usage in API server routes","i-heroicons-server","usage/services/serversupabaseclient",{"title":92,"icon":93,"to":10},"Authentication support","i-heroicons-key",{"title":95,"icon":96,"to":97,"target":70},"TypeScript support","i-simple-icons-typescript","https://www.typescriptlang.org","content:index.yml","yaml","content","index.yml","yml",{"data":104,"body":106,"excerpt":-1,"toc":125},{"title":54,"description":105},"Nuxt Supabase",{"type":107,"children":108},"root",[109],{"type":110,"tag":111,"props":112,"children":113},"element","p",{},[114,117],{"type":115,"value":116},"text","Nuxt ",{"type":110,"tag":118,"props":119,"children":122},"span",{"className":120},[121],"text-primary",[123],{"type":115,"value":124},"Supabase",{"title":54,"searchDepth":126,"depth":126,"links":127},2,[],{"data":129,"body":130,"excerpt":-1,"toc":365},{"title":54,"description":54},{"type":107,"children":131},[132,359],{"type":110,"tag":133,"props":134,"children":138},"pre",{"className":135,"code":136,"language":137,"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",[139],{"type":110,"tag":140,"props":141,"children":142},"code",{"__ignoreMap":54},[143,177,213,223,260,304,337,350],{"type":110,"tag":118,"props":144,"children":147},{"class":145,"line":146},"line",1,[148,154,160,166,172],{"type":110,"tag":118,"props":149,"children":151},{"style":150},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[152],{"type":115,"value":153}," const",{"type":110,"tag":118,"props":155,"children":157},{"style":156},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[158],{"type":115,"value":159}," supabase ",{"type":110,"tag":118,"props":161,"children":163},{"style":162},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[164],{"type":115,"value":165},"=",{"type":110,"tag":118,"props":167,"children":169},{"style":168},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[170],{"type":115,"value":171}," useSupabaseClient",{"type":110,"tag":118,"props":173,"children":174},{"style":156},[175],{"type":115,"value":176},"()\n",{"type":110,"tag":118,"props":178,"children":179},{"class":145,"line":126},[180,184,189,193,198,203,208],{"type":110,"tag":118,"props":181,"children":182},{"style":150},[183],{"type":115,"value":153},{"type":110,"tag":118,"props":185,"children":186},{"style":156},[187],{"type":115,"value":188}," email ",{"type":110,"tag":118,"props":190,"children":191},{"style":162},[192],{"type":115,"value":165},{"type":110,"tag":118,"props":194,"children":195},{"style":168},[196],{"type":115,"value":197}," ref",{"type":110,"tag":118,"props":199,"children":200},{"style":156},[201],{"type":115,"value":202},"(",{"type":110,"tag":118,"props":204,"children":205},{"style":162},[206],{"type":115,"value":207},"''",{"type":110,"tag":118,"props":209,"children":210},{"style":156},[211],{"type":115,"value":212},")\n",{"type":110,"tag":118,"props":214,"children":216},{"class":145,"line":215},3,[217],{"type":110,"tag":118,"props":218,"children":220},{"emptyLinePlaceholder":219},true,[221],{"type":115,"value":222},"\n",{"type":110,"tag":118,"props":224,"children":226},{"class":145,"line":225},4,[227,231,236,240,245,250,255],{"type":110,"tag":118,"props":228,"children":229},{"style":150},[230],{"type":115,"value":153},{"type":110,"tag":118,"props":232,"children":233},{"style":156},[234],{"type":115,"value":235}," signInWithOtp ",{"type":110,"tag":118,"props":237,"children":238},{"style":162},[239],{"type":115,"value":165},{"type":110,"tag":118,"props":241,"children":242},{"style":150},[243],{"type":115,"value":244}," async",{"type":110,"tag":118,"props":246,"children":247},{"style":162},[248],{"type":115,"value":249}," ()",{"type":110,"tag":118,"props":251,"children":252},{"style":150},[253],{"type":115,"value":254}," =>",{"type":110,"tag":118,"props":256,"children":257},{"style":162},[258],{"type":115,"value":259}," {\n",{"type":110,"tag":118,"props":261,"children":263},{"class":145,"line":262},5,[264,270,275,280,285,289,294,299],{"type":110,"tag":118,"props":265,"children":267},{"style":266},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[268],{"type":115,"value":269}," await",{"type":110,"tag":118,"props":271,"children":272},{"style":156},[273],{"type":115,"value":274}," supabase",{"type":110,"tag":118,"props":276,"children":277},{"style":162},[278],{"type":115,"value":279},".",{"type":110,"tag":118,"props":281,"children":282},{"style":156},[283],{"type":115,"value":284},"auth",{"type":110,"tag":118,"props":286,"children":287},{"style":162},[288],{"type":115,"value":279},{"type":110,"tag":118,"props":290,"children":291},{"style":168},[292],{"type":115,"value":293},"signInWithOtp",{"type":110,"tag":118,"props":295,"children":297},{"style":296},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[298],{"type":115,"value":202},{"type":110,"tag":118,"props":300,"children":301},{"style":162},[302],{"type":115,"value":303},"{\n",{"type":110,"tag":118,"props":305,"children":307},{"class":145,"line":306},6,[308,313,318,323,327,332],{"type":110,"tag":118,"props":309,"children":310},{"style":296},[311],{"type":115,"value":312}," email",{"type":110,"tag":118,"props":314,"children":315},{"style":162},[316],{"type":115,"value":317},":",{"type":110,"tag":118,"props":319,"children":320},{"style":156},[321],{"type":115,"value":322}," email",{"type":110,"tag":118,"props":324,"children":325},{"style":162},[326],{"type":115,"value":279},{"type":110,"tag":118,"props":328,"children":329},{"style":156},[330],{"type":115,"value":331},"value",{"type":110,"tag":118,"props":333,"children":334},{"style":162},[335],{"type":115,"value":336},",\n",{"type":110,"tag":118,"props":338,"children":340},{"class":145,"line":339},7,[341,346],{"type":110,"tag":118,"props":342,"children":343},{"style":162},[344],{"type":115,"value":345}," }",{"type":110,"tag":118,"props":347,"children":348},{"style":296},[349],{"type":115,"value":212},{"type":110,"tag":118,"props":351,"children":353},{"class":145,"line":352},8,[354],{"type":110,"tag":118,"props":355,"children":356},{"style":162},[357],{"type":115,"value":358}," }\n",{"type":110,"tag":360,"props":361,"children":362},"style",{},[363],{"type":115,"value":364},"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 .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);}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":126,"depth":126,"links":366},[],1709806271641] \ No newline at end of file +[{"data":1,"prerenderedAt":373},["Reactive",2],{"navigation":3,"index":58,"1CZYD6bgNK":109,"q3uGftTUSs":134},[4,8,12,46,50,54],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","i-heroicons-rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","i-heroicons-lock-closed",{"title":13,"_path":14,"children":15,"icon":45},"Usage","/usage",[16,29],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23,26],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseSession","/usage/composables/usesupabasesession",{"title":27,"_path":28},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":30,"_path":31,"children":32},"Server services","/usage/services",[33,36,39,42],{"title":34,"_path":35},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":37,"_path":38},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":40,"_path":41},"serverSupabaseSession","/usage/services/serversupabasesession",{"title":43,"_path":44},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":47,"_path":48,"icon":49},"Demo","/demo","i-heroicons-computer-desktop-20-solid",{"title":51,"_path":52,"icon":53},"Changelog","/changelog","i-heroicons-bookmark",{"title":55,"_path":56,"icon":57},"Roadmap","/roadmap","i-heroicons-map",{"_path":59,"_dir":60,"_draft":61,"_partial":61,"_locale":60,"title":62,"description":63,"navigation":61,"hero":64,"features":78,"_id":104,"_type":105,"_source":106,"_file":107,"_extension":108},"/","",false,"Nuxt Supabase - Home","A supa simple wrapper around supabase-js to enable usage and integration within Nuxt.",{"title":65,"description":63,"orientation":66,"links":67,"code":77},"Nuxt [Supabase]{.text-primary}","horizontal",[68,71],{"label":69,"icon":7,"to":6,"size":70},"Get started","lg",{"label":72,"icon":73,"color":74,"to":75,"target":76,"size":70},"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":79,"items":80},"Shipped with many features",[81,85,89,93,97,100],{"title":82,"icon":83,"to":84,"target":76},"Nuxt 3 ready","i-simple-icons-nuxtdotjs","https://nuxt.com",{"title":86,"icon":87,"to":88,"target":76},"Vue 3 composables","i-simple-icons-vuedotjs","https://vuejs.org/guide/reusability/composables.html",{"title":90,"icon":91,"to":92,"target":76},"Supabase-js V2","i-simple-icons-supabase","https://supabase.com",{"title":94,"icon":95,"to":96},"Usage in API server routes","i-heroicons-server","usage/services/serversupabaseclient",{"title":98,"icon":99,"to":10},"Authentication support","i-heroicons-key",{"title":101,"icon":102,"to":103,"target":76},"TypeScript support","i-simple-icons-typescript","https://www.typescriptlang.org","content:index.yml","yaml","content","index.yml","yml",{"data":110,"body":112,"excerpt":-1,"toc":131},{"title":60,"description":111},"Nuxt Supabase",{"type":113,"children":114},"root",[115],{"type":116,"tag":117,"props":118,"children":119},"element","p",{},[120,123],{"type":121,"value":122},"text","Nuxt ",{"type":116,"tag":124,"props":125,"children":128},"span",{"className":126},[127],"text-primary",[129],{"type":121,"value":130},"Supabase",{"title":60,"searchDepth":132,"depth":132,"links":133},2,[],{"data":135,"body":136,"excerpt":-1,"toc":371},{"title":60,"description":60},{"type":113,"children":137},[138,365],{"type":116,"tag":139,"props":140,"children":144},"pre",{"className":141,"code":142,"language":143,"meta":60,"style":60},"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",[145],{"type":116,"tag":146,"props":147,"children":148},"code",{"__ignoreMap":60},[149,183,219,229,266,310,343,356],{"type":116,"tag":124,"props":150,"children":153},{"class":151,"line":152},"line",1,[154,160,166,172,178],{"type":116,"tag":124,"props":155,"children":157},{"style":156},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[158],{"type":121,"value":159}," const",{"type":116,"tag":124,"props":161,"children":163},{"style":162},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[164],{"type":121,"value":165}," supabase ",{"type":116,"tag":124,"props":167,"children":169},{"style":168},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[170],{"type":121,"value":171},"=",{"type":116,"tag":124,"props":173,"children":175},{"style":174},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[176],{"type":121,"value":177}," useSupabaseClient",{"type":116,"tag":124,"props":179,"children":180},{"style":162},[181],{"type":121,"value":182},"()\n",{"type":116,"tag":124,"props":184,"children":185},{"class":151,"line":132},[186,190,195,199,204,209,214],{"type":116,"tag":124,"props":187,"children":188},{"style":156},[189],{"type":121,"value":159},{"type":116,"tag":124,"props":191,"children":192},{"style":162},[193],{"type":121,"value":194}," email ",{"type":116,"tag":124,"props":196,"children":197},{"style":168},[198],{"type":121,"value":171},{"type":116,"tag":124,"props":200,"children":201},{"style":174},[202],{"type":121,"value":203}," ref",{"type":116,"tag":124,"props":205,"children":206},{"style":162},[207],{"type":121,"value":208},"(",{"type":116,"tag":124,"props":210,"children":211},{"style":168},[212],{"type":121,"value":213},"''",{"type":116,"tag":124,"props":215,"children":216},{"style":162},[217],{"type":121,"value":218},")\n",{"type":116,"tag":124,"props":220,"children":222},{"class":151,"line":221},3,[223],{"type":116,"tag":124,"props":224,"children":226},{"emptyLinePlaceholder":225},true,[227],{"type":121,"value":228},"\n",{"type":116,"tag":124,"props":230,"children":232},{"class":151,"line":231},4,[233,237,242,246,251,256,261],{"type":116,"tag":124,"props":234,"children":235},{"style":156},[236],{"type":121,"value":159},{"type":116,"tag":124,"props":238,"children":239},{"style":162},[240],{"type":121,"value":241}," signInWithOtp ",{"type":116,"tag":124,"props":243,"children":244},{"style":168},[245],{"type":121,"value":171},{"type":116,"tag":124,"props":247,"children":248},{"style":156},[249],{"type":121,"value":250}," async",{"type":116,"tag":124,"props":252,"children":253},{"style":168},[254],{"type":121,"value":255}," ()",{"type":116,"tag":124,"props":257,"children":258},{"style":156},[259],{"type":121,"value":260}," =>",{"type":116,"tag":124,"props":262,"children":263},{"style":168},[264],{"type":121,"value":265}," {\n",{"type":116,"tag":124,"props":267,"children":269},{"class":151,"line":268},5,[270,276,281,286,291,295,300,305],{"type":116,"tag":124,"props":271,"children":273},{"style":272},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[274],{"type":121,"value":275}," await",{"type":116,"tag":124,"props":277,"children":278},{"style":162},[279],{"type":121,"value":280}," supabase",{"type":116,"tag":124,"props":282,"children":283},{"style":168},[284],{"type":121,"value":285},".",{"type":116,"tag":124,"props":287,"children":288},{"style":162},[289],{"type":121,"value":290},"auth",{"type":116,"tag":124,"props":292,"children":293},{"style":168},[294],{"type":121,"value":285},{"type":116,"tag":124,"props":296,"children":297},{"style":174},[298],{"type":121,"value":299},"signInWithOtp",{"type":116,"tag":124,"props":301,"children":303},{"style":302},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[304],{"type":121,"value":208},{"type":116,"tag":124,"props":306,"children":307},{"style":168},[308],{"type":121,"value":309},"{\n",{"type":116,"tag":124,"props":311,"children":313},{"class":151,"line":312},6,[314,319,324,329,333,338],{"type":116,"tag":124,"props":315,"children":316},{"style":302},[317],{"type":121,"value":318}," email",{"type":116,"tag":124,"props":320,"children":321},{"style":168},[322],{"type":121,"value":323},":",{"type":116,"tag":124,"props":325,"children":326},{"style":162},[327],{"type":121,"value":328}," email",{"type":116,"tag":124,"props":330,"children":331},{"style":168},[332],{"type":121,"value":285},{"type":116,"tag":124,"props":334,"children":335},{"style":162},[336],{"type":121,"value":337},"value",{"type":116,"tag":124,"props":339,"children":340},{"style":168},[341],{"type":121,"value":342},",\n",{"type":116,"tag":124,"props":344,"children":346},{"class":151,"line":345},7,[347,352],{"type":116,"tag":124,"props":348,"children":349},{"style":168},[350],{"type":121,"value":351}," }",{"type":116,"tag":124,"props":353,"children":354},{"style":302},[355],{"type":121,"value":218},{"type":116,"tag":124,"props":357,"children":359},{"class":151,"line":358},8,[360],{"type":116,"tag":124,"props":361,"children":362},{"style":168},[363],{"type":121,"value":364}," }\n",{"type":116,"tag":366,"props":367,"children":368},"style",{},[369],{"type":121,"value":370},"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 .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);}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":60,"searchDepth":132,"depth":132,"links":372},[],1711702876901] \ No newline at end of file diff --git a/api/_content/cache.1709806211546.json b/api/_content/cache.1711702812811.json similarity index 66% rename from api/_content/cache.1709806211546.json rename to api/_content/cache.1711702812811.json index a55deba0..66f2cd22 100644 --- a/api/_content/cache.1709806211546.json +++ b/api/_content/cache.1711702812811.json @@ -1 +1 @@ -{"generatedAt":1709806271588,"generateTime":4039,"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":"i-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 include: undefined,\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":" include"}]},{"type":"element","tag":"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":" undefined,\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":" 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":6},"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":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":"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":"include"}]},{"type":"text","value":": Routes to include in the redirect. "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"['/admin(/*)?']"}]},{"type":"text","value":" will enable the redirect only for the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"admin"}]},{"type":"text","value":" page and all sub-pages."}]},{"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 .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 .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);}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":"i-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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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":" 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:#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 .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 .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);}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 .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 .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);}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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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 .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 .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);}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 .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 .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);}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 .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 .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);}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 .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 .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);}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":"i-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":"i-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":"i-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":"i-heroicons-rocket-launch"},{"title":"Authentication","_path":"/authentication","icon":"i-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":"i-heroicons-computer-desktop-20-solid"},{"title":"Changelog","_path":"/changelog","icon":"i-heroicons-bookmark"},{"title":"Roadmap","_path":"/roadmap","icon":"i-heroicons-map"}]} \ No newline at end of file +{"generatedAt":1711702876843,"generateTime":4508,"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":"i-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 include: undefined,\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":" include"}]},{"type":"element","tag":"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":" undefined,\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":" 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":6},"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":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":"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":"include"}]},{"type":"text","value":": Routes to include in the redirect. "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"['/admin(/*)?']"}]},{"type":"text","value":" will enable the redirect only for the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"admin"}]},{"type":"text","value":" page and all sub-pages."}]},{"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 .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 .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);}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":"i-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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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":" 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:#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 .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 .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);}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 .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 .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);}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/usesupabasesession","_dir":"composables","_draft":false,"_partial":false,"_locale":"","title":"useSupabaseSession","description":"Auto import and use your Supabase user's session with the useSupabaseSession 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's session 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":" session "}]},{"type":"element","tag":"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":" useSupabaseSession"}]},{"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":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If you just need the User's information you can use "},{"type":"element","tag":"a","props":{"href":"/usage/composables/usesupabaseuser"},"children":[{"type":"text","value":"useSupabaseUser"}]},{"type":"text","value":" which returns just the User information of the session."}]}]},{"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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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 session = useSupabaseSession()\n\n if (!session.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":" session"}]},{"type":"element","tag":"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":" useSupabaseSession"}]},{"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":"session"}]},{"type":"element","tag":"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 .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 .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);}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:useSupabaseSession.md","_source":"content","_file":"4.usage/composables/useSupabaseSession.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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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 .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 .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);}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 .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 .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);}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 .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 .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);}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/serversupabasesession","_dir":"services","_draft":false,"_partial":false,"_locale":"","title":"serverSupabaseSession","description":"Get your Supabase user's session 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/usesupabasesession"},"children":[{"type":"text","value":"useSupabaseSession"}]},{"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":"serverSupabaseSession"}]},{"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 { serverSupabaseSession } from '#supabase/server'\n\nexport default defineEventHandler(async (event) => {\n return await serverSupabaseSession(event)\n})\n","filename":"server/api/session.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":" serverSupabaseSession"}]},{"type":"element","tag":"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":" serverSupabaseSession"}]},{"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 session = ref(null)\n\nconst fetchSession = async () => {\n session.value = await $fetch('/api/session')\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":" session "}]},{"type":"element","tag":"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":" fetchSession "}]},{"type":"element","tag":"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":" session"}]},{"type":"element","tag":"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/session"}]},{"type":"element","tag":"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 session = ref(null)\n\nconst { data } = await useFetch('/api/session', {\n headers: useRequestHeaders(['cookie'])\n})\n\nsession.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":" session "}]},{"type":"element","tag":"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/session"}]},{"type":"element","tag":"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":"session"}]},{"type":"element","tag":"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 .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 .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);}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.serverSupabaseSession.md","_source":"content","_file":"4.usage/services/3.serverSupabaseSession.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 .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 .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);}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:4.serverSupabaseUser.md","_source":"content","_file":"4.usage/services/4.serverSupabaseUser.md","_extension":"md"},{"_path":"/demo","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Demo","description":"Demonstration of using Supabase with Nuxt.","icon":"i-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":"i-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":"i-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":"i-heroicons-rocket-launch"},{"title":"Authentication","_path":"/authentication","icon":"i-heroicons-lock-closed"},{"title":"Usage","_path":"/usage","children":[{"title":"Vue composables","_path":"/usage/composables","children":[{"title":"useSupabaseClient","_path":"/usage/composables/usesupabaseclient"},{"title":"useSupabaseSession","_path":"/usage/composables/usesupabasesession"},{"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":"serverSupabaseSession","_path":"/usage/services/serversupabasesession"},{"title":"serverSupabaseUser","_path":"/usage/services/serversupabaseuser"}]}],"icon":"heroicons:book-open"},{"title":"Demo","_path":"/demo","icon":"i-heroicons-computer-desktop-20-solid"},{"title":"Changelog","_path":"/changelog","icon":"i-heroicons-bookmark"},{"title":"Roadmap","_path":"/roadmap","icon":"i-heroicons-map"}]} \ No newline at end of file diff --git a/api/_content/navigation/u7BbTyuhiE.1709806211546.json b/api/_content/navigation/u7BbTyuhiE.1709806211546.json deleted file mode 100644 index d42a43ba..00000000 --- a/api/_content/navigation/u7BbTyuhiE.1709806211546.json +++ /dev/null @@ -1 +0,0 @@ -[{"title":"Get Started","_path":"/get-started","icon":"i-heroicons-rocket-launch"},{"title":"Authentication","_path":"/authentication","icon":"i-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":"i-heroicons-computer-desktop-20-solid"},{"title":"Changelog","_path":"/changelog","icon":"i-heroicons-bookmark"},{"title":"Roadmap","_path":"/roadmap","icon":"i-heroicons-map"}] \ No newline at end of file diff --git a/api/_content/navigation/u7BbTyuhiE.1711702812811.json b/api/_content/navigation/u7BbTyuhiE.1711702812811.json new file mode 100644 index 00000000..c349df80 --- /dev/null +++ b/api/_content/navigation/u7BbTyuhiE.1711702812811.json @@ -0,0 +1 @@ +[{"title":"Get Started","_path":"/get-started","icon":"i-heroicons-rocket-launch"},{"title":"Authentication","_path":"/authentication","icon":"i-heroicons-lock-closed"},{"title":"Usage","_path":"/usage","children":[{"title":"Vue composables","_path":"/usage/composables","children":[{"title":"useSupabaseClient","_path":"/usage/composables/usesupabaseclient"},{"title":"useSupabaseSession","_path":"/usage/composables/usesupabasesession"},{"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":"serverSupabaseSession","_path":"/usage/services/serversupabasesession"},{"title":"serverSupabaseUser","_path":"/usage/services/serversupabaseuser"}]}],"icon":"heroicons:book-open"},{"title":"Demo","_path":"/demo","icon":"i-heroicons-computer-desktop-20-solid"},{"title":"Changelog","_path":"/changelog","icon":"i-heroicons-bookmark"},{"title":"Roadmap","_path":"/roadmap","icon":"i-heroicons-map"}] \ No newline at end of file diff --git a/api/_content/query/0ZdUo9TsNt.1711702812811.json b/api/_content/query/0ZdUo9TsNt.1711702812811.json new file mode 100644 index 00000000..2767ca34 --- /dev/null +++ b/api/_content/query/0ZdUo9TsNt.1711702812811.json @@ -0,0 +1 @@ +[{"_path":"/usage/composables/usesupabaseclient","title":"useSupabaseClient","description":"Make requests to the Supabase API with the useSupabaseClient composable"},{"_path":"/usage/composables/usesupabaseuser","title":"useSupabaseUser","description":"Auto import and use your Supabase user with the useSupabaseUser composable"}] \ No newline at end of file diff --git a/api/_content/query/0gudQYZdI3.1709806211546.json b/api/_content/query/0gudQYZdI3.1711702812811.json similarity index 100% rename from api/_content/query/0gudQYZdI3.1709806211546.json rename to api/_content/query/0gudQYZdI3.1711702812811.json diff --git a/api/_content/query/0wFsGmvw10.1709806211546.json b/api/_content/query/0wFsGmvw10.1711702812811.json similarity index 100% rename from api/_content/query/0wFsGmvw10.1709806211546.json rename to api/_content/query/0wFsGmvw10.1711702812811.json diff --git a/api/_content/query/4zYVP4W6op.1709806211546.json b/api/_content/query/4zYVP4W6op.1709806211546.json deleted file mode 100644 index 4bc3a2ae..00000000 --- a/api/_content/query/4zYVP4W6op.1709806211546.json +++ /dev/null @@ -1 +0,0 @@ -[{"_path":"/usage/composables/usesupabaseclient","title":"useSupabaseClient","description":"Make requests to the Supabase API with the useSupabaseClient composable"},{"_path":"/usage/services/serversupabaseclient","title":"serverSupabaseClient","description":"Make requests to the Supabase API on server side with the serverSupabaseClient service"}] \ No newline at end of file diff --git a/api/_content/query/4zYVP4W6op.1711702812811.json b/api/_content/query/4zYVP4W6op.1711702812811.json new file mode 100644 index 00000000..0b1c9a08 --- /dev/null +++ b/api/_content/query/4zYVP4W6op.1711702812811.json @@ -0,0 +1 @@ +[{"_path":"/usage/composables/usesupabasesession","title":"useSupabaseSession","description":"Auto import and use your Supabase user's session with the useSupabaseSession composable"},{"_path":"/usage/services/serversupabaseclient","title":"serverSupabaseClient","description":"Make requests to the Supabase API on server side with the serverSupabaseClient service"}] \ No newline at end of file diff --git a/api/_content/query/5lOdqeHnNL.1709806211546.json b/api/_content/query/5lOdqeHnNL.1711702812811.json similarity index 100% rename from api/_content/query/5lOdqeHnNL.1709806211546.json rename to api/_content/query/5lOdqeHnNL.1711702812811.json diff --git a/api/_content/query/73iqs3CJ2F.1711702812811.json b/api/_content/query/73iqs3CJ2F.1711702812811.json new file mode 100644 index 00000000..3319cbc8 --- /dev/null +++ b/api/_content/query/73iqs3CJ2F.1711702812811.json @@ -0,0 +1 @@ +{"_path":"/usage/composables/usesupabasesession","_dir":"composables","_draft":false,"_partial":false,"_locale":"","title":"useSupabaseSession","description":"Auto import and use your Supabase user's session with the useSupabaseSession 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's session 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":" session "}]},{"type":"element","tag":"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":" useSupabaseSession"}]},{"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":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If you just need the User's information you can use "},{"type":"element","tag":"a","props":{"href":"/usage/composables/usesupabaseuser"},"children":[{"type":"text","value":"useSupabaseUser"}]},{"type":"text","value":" which returns just the User information of the session."}]}]},{"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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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 session = useSupabaseSession()\n\n if (!session.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":" session"}]},{"type":"element","tag":"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":" useSupabaseSession"}]},{"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":"session"}]},{"type":"element","tag":"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 .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 .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);}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:useSupabaseSession.md","_source":"content","_file":"4.usage/composables/useSupabaseSession.md","_extension":"md"} \ No newline at end of file diff --git a/api/_content/query/76BoSDA4U0.1709806211546.json b/api/_content/query/76BoSDA4U0.1711702812811.json similarity index 100% rename from api/_content/query/76BoSDA4U0.1709806211546.json rename to api/_content/query/76BoSDA4U0.1711702812811.json diff --git a/api/_content/query/CsvcZ6zVi1.1709806211546.json b/api/_content/query/CsvcZ6zVi1.1711702812811.json similarity index 52% rename from api/_content/query/CsvcZ6zVi1.1709806211546.json rename to api/_content/query/CsvcZ6zVi1.1711702812811.json index 8fe928d2..146c352f 100644 --- a/api/_content/query/CsvcZ6zVi1.1709806211546.json +++ b/api/_content/query/CsvcZ6zVi1.1711702812811.json @@ -1 +1 @@ -[{"_path":"/usage/services/serversupabaseclient","title":"serverSupabaseClient","description":"Make requests to the Supabase API on server side with the serverSupabaseClient service"},{"_path":"/usage/services/serversupabaseuser","title":"serverSupabaseUser","description":"Get your Supabase user from serverside with the serverSupabaseUser service"}] \ No newline at end of file +[{"_path":"/usage/services/serversupabaseclient","title":"serverSupabaseClient","description":"Make requests to the Supabase API on server side with the serverSupabaseClient service"},{"_path":"/usage/services/serversupabasesession","title":"serverSupabaseSession","description":"Get your Supabase user's session from serverside with the serverSupabaseUser service"}] \ No newline at end of file diff --git a/api/_content/query/xTj1Y0li2H.1709806211546.json b/api/_content/query/I6vLwdSZqs.1711702812811.json similarity index 52% rename from api/_content/query/xTj1Y0li2H.1709806211546.json rename to api/_content/query/I6vLwdSZqs.1711702812811.json index f37ebae6..8792a4d7 100644 --- a/api/_content/query/xTj1Y0li2H.1709806211546.json +++ b/api/_content/query/I6vLwdSZqs.1711702812811.json @@ -1 +1 @@ -[{"_path":"/usage/services/serversupabaseservicerole","title":"serverServiceRole","description":"Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service"},{"_path":"/demo","title":"Demo","description":"Demonstration of using Supabase with Nuxt."}] \ No newline at end of file +[{"_path":"/usage/services/serversupabaseservicerole","title":"serverServiceRole","description":"Make requests with super admin rights to the Supabase API with the serverSupabaseServiceRole service"},{"_path":"/usage/services/serversupabaseuser","title":"serverSupabaseUser","description":"Get your Supabase user from serverside with the serverSupabaseUser service"}] \ No newline at end of file diff --git a/api/_content/query/JW0JBzZZMj.1709806211546.json b/api/_content/query/JW0JBzZZMj.1711702812811.json similarity index 100% rename from api/_content/query/JW0JBzZZMj.1709806211546.json rename to api/_content/query/JW0JBzZZMj.1711702812811.json diff --git a/api/_content/query/L15561AOag.1709806211546.json b/api/_content/query/L15561AOag.1711702812811.json similarity index 100% rename from api/_content/query/L15561AOag.1709806211546.json rename to api/_content/query/L15561AOag.1711702812811.json diff --git a/api/_content/query/U0fhu5Rxhl.1709806211546.json b/api/_content/query/U0fhu5Rxhl.1711702812811.json similarity index 100% rename from api/_content/query/U0fhu5Rxhl.1709806211546.json rename to api/_content/query/U0fhu5Rxhl.1711702812811.json diff --git a/api/_content/query/Y4LEUEirY6.1709806211546.json b/api/_content/query/Y4LEUEirY6.1711702812811.json similarity index 99% rename from api/_content/query/Y4LEUEirY6.1709806211546.json rename to api/_content/query/Y4LEUEirY6.1711702812811.json index 584f98fa..cb484632 100644 --- a/api/_content/query/Y4LEUEirY6.1709806211546.json +++ b/api/_content/query/Y4LEUEirY6.1711702812811.json @@ -1 +1 @@ -{"_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 .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 .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);}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"} \ No newline at end of file +{"_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 .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 .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);}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:4.serverSupabaseUser.md","_source":"content","_file":"4.usage/services/4.serverSupabaseUser.md","_extension":"md"} \ No newline at end of file diff --git a/api/_content/query/YSHNqHnuhS.1709806211546.json b/api/_content/query/YSHNqHnuhS.1711702812811.json similarity index 100% rename from api/_content/query/YSHNqHnuhS.1709806211546.json rename to api/_content/query/YSHNqHnuhS.1711702812811.json diff --git a/api/_content/query/brX4CwCJoQ.1709806211546.json b/api/_content/query/brX4CwCJoQ.1711702812811.json similarity index 100% rename from api/_content/query/brX4CwCJoQ.1709806211546.json rename to api/_content/query/brX4CwCJoQ.1711702812811.json diff --git a/api/_content/query/dKXPFPos09.1709806211546.json b/api/_content/query/dKXPFPos09.1711702812811.json similarity index 100% rename from api/_content/query/dKXPFPos09.1709806211546.json rename to api/_content/query/dKXPFPos09.1711702812811.json diff --git a/api/_content/query/hYpPLZd268.1709806211546.json b/api/_content/query/hYpPLZd268.1711702812811.json similarity index 100% rename from api/_content/query/hYpPLZd268.1709806211546.json rename to api/_content/query/hYpPLZd268.1711702812811.json diff --git a/api/_content/query/hfM3q6x7pc.1711702812811.json b/api/_content/query/hfM3q6x7pc.1711702812811.json new file mode 100644 index 00000000..3b7b91a2 --- /dev/null +++ b/api/_content/query/hfM3q6x7pc.1711702812811.json @@ -0,0 +1 @@ +{"_path":"/usage/services/serversupabasesession","_dir":"services","_draft":false,"_partial":false,"_locale":"","title":"serverSupabaseSession","description":"Get your Supabase user's session 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/usesupabasesession"},"children":[{"type":"text","value":"useSupabaseSession"}]},{"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":"serverSupabaseSession"}]},{"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 { serverSupabaseSession } from '#supabase/server'\n\nexport default defineEventHandler(async (event) => {\n return await serverSupabaseSession(event)\n})\n","filename":"server/api/session.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":" serverSupabaseSession"}]},{"type":"element","tag":"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":" serverSupabaseSession"}]},{"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 session = ref(null)\n\nconst fetchSession = async () => {\n session.value = await $fetch('/api/session')\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":" session "}]},{"type":"element","tag":"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":" fetchSession "}]},{"type":"element","tag":"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":" session"}]},{"type":"element","tag":"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/session"}]},{"type":"element","tag":"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 session = ref(null)\n\nconst { data } = await useFetch('/api/session', {\n headers: useRequestHeaders(['cookie'])\n})\n\nsession.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":" session "}]},{"type":"element","tag":"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/session"}]},{"type":"element","tag":"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":"session"}]},{"type":"element","tag":"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 .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 .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);}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.serverSupabaseSession.md","_source":"content","_file":"4.usage/services/3.serverSupabaseSession.md","_extension":"md"} \ No newline at end of file diff --git a/api/_content/query/mUC1LoY5SU.1709806211546.json b/api/_content/query/mUC1LoY5SU.1711702812811.json similarity index 60% rename from api/_content/query/mUC1LoY5SU.1709806211546.json rename to api/_content/query/mUC1LoY5SU.1711702812811.json index 781063aa..b1b99b2d 100644 --- a/api/_content/query/mUC1LoY5SU.1709806211546.json +++ b/api/_content/query/mUC1LoY5SU.1711702812811.json @@ -1 +1 @@ -[{"_path":"/authentication","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"},{"_path":"/usage/composables/usesupabaseuser","title":"useSupabaseUser","description":"Auto import and use your Supabase user with the useSupabaseUser composable"}] \ No newline at end of file +[{"_path":"/authentication","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"},{"_path":"/usage/composables/usesupabasesession","title":"useSupabaseSession","description":"Auto import and use your Supabase user's session with the useSupabaseSession composable"}] \ No newline at end of file diff --git a/api/_content/query/mjPUuLZ5K0.1709806211546.json b/api/_content/query/mjPUuLZ5K0.1711702812811.json similarity index 100% rename from api/_content/query/mjPUuLZ5K0.1709806211546.json rename to api/_content/query/mjPUuLZ5K0.1711702812811.json diff --git a/api/_content/query/pTByVtROxU.1709806211546.json b/api/_content/query/pTByVtROxU.1711702812811.json similarity index 100% rename from api/_content/query/pTByVtROxU.1709806211546.json rename to api/_content/query/pTByVtROxU.1711702812811.json diff --git a/api/_content/query/sY2lwz2oSi.1709806211546.json b/api/_content/query/sY2lwz2oSi.1711702812811.json similarity index 100% rename from api/_content/query/sY2lwz2oSi.1709806211546.json rename to api/_content/query/sY2lwz2oSi.1711702812811.json diff --git a/api/_content/query/unQN3QZxvJ.1709806211546.json b/api/_content/query/unQN3QZxvJ.1711702812811.json similarity index 100% rename from api/_content/query/unQN3QZxvJ.1709806211546.json rename to api/_content/query/unQN3QZxvJ.1711702812811.json diff --git a/api/_content/query/xTj1Y0li2H.1711702812811.json b/api/_content/query/xTj1Y0li2H.1711702812811.json new file mode 100644 index 00000000..5a1f72af --- /dev/null +++ b/api/_content/query/xTj1Y0li2H.1711702812811.json @@ -0,0 +1 @@ +[{"_path":"/usage/services/serversupabasesession","title":"serverSupabaseSession","description":"Get your Supabase user's session from serverside with the serverSupabaseUser service"},{"_path":"/demo","title":"Demo","description":"Demonstration of using Supabase with Nuxt."}] \ No newline at end of file diff --git a/api/_content/query/yZYG07dTrW.1709806211546.json b/api/_content/query/yZYG07dTrW.1711702812811.json similarity index 100% rename from api/_content/query/yZYG07dTrW.1709806211546.json rename to api/_content/query/yZYG07dTrW.1711702812811.json diff --git a/api/_github/contributors/index.json b/api/_github/contributors/index.json index 0637a088..e423fa20 100644 --- a/api/_github/contributors/index.json +++ b/api/_github/contributors/index.json @@ -1 +1 @@ -[] \ No newline at end of file +[{"avatar_url":"https://avatars.githubusercontent.com/u/7290030?v=4","login":"larbish"},{"avatar_url":"https://avatars.githubusercontent.com/u/904724?v=4","login":"Atinux"},{"avatar_url":"https://avatars.githubusercontent.com/in/2740?v=4","login":"renovate[bot]"},{"avatar_url":"https://avatars.githubusercontent.com/u/5158436?v=4","login":"pi0"},{"avatar_url":"https://avatars.githubusercontent.com/u/5823770?v=4","login":"Aietes"},{"avatar_url":"https://avatars.githubusercontent.com/u/25272043?v=4","login":"kevinmarrec"},{"avatar_url":"https://avatars.githubusercontent.com/u/739984?v=4","login":"benjamincanac"},{"avatar_url":"https://avatars.githubusercontent.com/u/28706372?v=4","login":"danielroe"},{"avatar_url":"https://avatars.githubusercontent.com/u/1259364?v=4","login":"levibe"},{"avatar_url":"https://avatars.githubusercontent.com/u/25180681?v=4","login":"renovate-bot"},{"avatar_url":"https://avatars.githubusercontent.com/u/982975?v=4","login":"AlbertBrand"},{"avatar_url":"https://avatars.githubusercontent.com/u/1248148?v=4","login":"blqke"},{"avatar_url":"https://avatars.githubusercontent.com/u/61005888?v=4","login":"kuizuo"},{"avatar_url":"https://avatars.githubusercontent.com/u/1463854?v=4","login":"Matthewenderle"},{"avatar_url":"https://avatars.githubusercontent.com/u/83463097?v=4","login":"oumarbarry"},{"avatar_url":"https://avatars.githubusercontent.com/u/7809845?v=4","login":"psto"},{"avatar_url":"https://avatars.githubusercontent.com/u/16954673?v=4","login":"relisora"},{"avatar_url":"https://avatars.githubusercontent.com/u/38413630?v=4","login":"icarusgk"},{"avatar_url":"https://avatars.githubusercontent.com/u/3911343?v=4","login":"stafyniaksacha"},{"avatar_url":"https://avatars.githubusercontent.com/u/7547335?v=4","login":"smarroufin"},{"avatar_url":"https://avatars.githubusercontent.com/u/70212709?v=4","login":"yannaufray"},{"avatar_url":"https://avatars.githubusercontent.com/u/66277921?v=4","login":"jojomatik"},{"avatar_url":"https://avatars.githubusercontent.com/u/126086612?v=4","login":"kiri10ten"},{"avatar_url":"https://avatars.githubusercontent.com/in/257149?v=4","login":"nuxt-studio[bot]"},{"avatar_url":"https://avatars.githubusercontent.com/u/13519194?v=4","login":"xMorthi"},{"avatar_url":"https://avatars.githubusercontent.com/u/44786998?v=4","login":"josueayala27"},{"avatar_url":"https://avatars.githubusercontent.com/u/3399841?v=4","login":"joshuabyler"},{"avatar_url":"https://avatars.githubusercontent.com/u/44449?v=4","login":"jawngee"},{"avatar_url":"https://avatars.githubusercontent.com/u/100753878?v=4","login":"joeychilson"},{"avatar_url":"https://avatars.githubusercontent.com/u/36164786?v=4","login":"Jclong98"}] \ No newline at end of file diff --git a/api/_github/releases/index.json b/api/_github/releases/index.json index 0637a088..7dce4f52 100644 --- a/api/_github/releases/index.json +++ b/api/_github/releases/index.json @@ -1 +1 @@ -[] \ No newline at end of file +[{"name":"v1.1.7","tag_name":"v1.1.7","date":"2024-03-07T09:33:03Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"h3","props":{"id":"features"},"children":[{"type":"text","value":"Features"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"auth-middleware:"}]},{"type":"text","value":" add "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"include"}]},{"type":"text","value":" to "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"RedirectOptions"}]},{"type":"text","value":" ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/issues/336","rel":["nofollow"]},"children":[{"type":"text","value":"#336"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/f9aad558da8171af1c442a60915c979eb10b8fab","rel":["nofollow"]},"children":[{"type":"text","value":"f9aad55"}]},{"type":"text","value":"), closes "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/issues/268","rel":["nofollow"]},"children":[{"type":"text","value":"#268"}]}]}]},{"type":"element","tag":"h3","props":{"id":"thanks-for-the-help-from"},"children":[{"type":"text","value":"💚 Thanks for the help from"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://github.com/jojomatik","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@jojomatik"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v1.1.6...v1.1.7","rel":["nofollow"]},"children":[{"type":"text","value":"Full changelog"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed","children":[{"id":"features","depth":3,"text":"Features"},{"id":"thanks-for-the-help-from","depth":3,"text":"💚 Thanks for the help from"}]}]}},"v":1,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.7","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.7","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.7","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/145217172/reactions","total_count":1,"+1":0,"-1":0,"laugh":0,"hooray":1,"confused":0,"heart":0,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v1.1.7.md"},{"name":"v1.1.6","tag_name":"v1.1.6","date":"2024-01-26T15:22:23Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"h3","props":{"id":"bug-fixes"},"children":[{"type":"text","value":"Bug Fixes"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"deps:"}]},{"type":"text","value":" set resolution ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/db8c102fb9d69395528eece3e1e0552a16e673da","rel":["nofollow"]},"children":[{"type":"text","value":"db8c102"}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"playground:"}]},{"type":"text","value":" watch on confirm page ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/0caf5c11d632df6b7e74e5e8973ee56a38b1c968","rel":["nofollow"]},"children":[{"type":"text","value":"0caf5c1"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"h3","props":{"id":"features"},"children":[{"type":"text","value":"Features"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"app:"}]},{"type":"text","value":" added redirect path cookie for use after signin ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/issues/327","rel":["nofollow"]},"children":[{"type":"text","value":"#327"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/1b78a050fdc6da155434e261823b029f9dce2d40","rel":["nofollow"]},"children":[{"type":"text","value":"1b78a05"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"h3","props":{"id":"thanks-for-the-help-from"},"children":[{"type":"text","value":"💚 Thanks for the help from"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://github.com/Matthewenderle","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@Matthewenderle"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v1.1.5...v1.1.6","rel":["nofollow"]},"children":[{"type":"text","value":"Full changelog"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed","children":[{"id":"bug-fixes","depth":3,"text":"Bug Fixes"},{"id":"features","depth":3,"text":"Features"},{"id":"thanks-for-the-help-from","depth":3,"text":"💚 Thanks for the help from"}]}]}},"v":1,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.6","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.6","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.6","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/138681536/reactions","total_count":3,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":3,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v1.1.6.md"},{"name":"v1.1.5","tag_name":"v1.1.5","date":"2023-12-28T14:29:18Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"h3","props":{"id":"bug-fixes"},"children":[{"type":"text","value":"Bug Fixes"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"server:"}]},{"type":"text","value":" fetch user from session ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/7a3b73c36cc9aea10100a0ff37b0e0e7ecefe2a8","rel":["nofollow"]},"children":[{"type":"text","value":"7a3b73c"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"h3","props":{"id":"improvements"},"children":[{"type":"text","value":"Improvements"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"app:"}]},{"type":"text","value":" use module-builder stub mode for more accurate types "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/315","rel":["nofollow"]},"children":[{"type":"text","value":"#315"}]}]}]},{"type":"element","tag":"h3","props":{"id":"docs"},"children":[{"type":"text","value":"Docs"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"get-started:"}]},{"type":"text","value":" bun command "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/317","rel":["nofollow"]},"children":[{"type":"text","value":"#317"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"readme:"}]},{"type":"text","value":" typo in #dev section "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/316","rel":["nofollow"]},"children":[{"type":"text","value":"#316"}]}]}]},{"type":"element","tag":"h3","props":{"id":"thanks-for-the-help-from"},"children":[{"type":"text","value":"💚 Thanks for the help from"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://github.com/danielroe","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@danielroe"}]}]},{"type":"text","value":"\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/joshuabyler","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@joshuabyler"}]}]},{"type":"text","value":"\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/hafizjavaid","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@hafizjavaid"}]}]},{"type":"text","value":"\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/relisora","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@relisora"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v1.1.4...v1.1.5","rel":["nofollow"]},"children":[{"type":"text","value":"Full changelog"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed","children":[{"id":"bug-fixes","depth":3,"text":"Bug Fixes"},{"id":"improvements","depth":3,"text":"Improvements"},{"id":"docs","depth":3,"text":"Docs"},{"id":"thanks-for-the-help-from","depth":3,"text":"💚 Thanks for the help from"}]}]}},"v":1,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.5","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.5","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.5","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/135279818/reactions","total_count":4,"+1":3,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":1,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v1.1.5.md"},{"name":"v1.1.4","tag_name":"v1.1.4","date":"2023-11-17T14:42:47Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"h3","props":{"id":"bug-fixes"},"children":[{"type":"text","value":"Bug Fixes"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"client:"}]},{"type":"text","value":" prevent useCookie usage outside of effect scope ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/issues/309","rel":["nofollow"]},"children":[{"type":"text","value":"#309"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/bb55bed870efb68c39f255ddbcbe0b5446965399","rel":["nofollow"]},"children":[{"type":"text","value":"bb55bed"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"💚 Thanks for the help from 💚\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/AlbertBrand","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@AlbertBrand"}]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed","children":[{"id":"bug-fixes","depth":3,"text":"Bug Fixes"}]}]}},"v":1,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.4","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.4","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.4","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/129966845/reactions","total_count":1,"+1":1,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v1.1.4.md"},{"name":"v1.1.3","tag_name":"v1.1.3","date":"2023-10-06T07:51:37Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"client:"}]},{"type":"text","value":" clientOptions merge"},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/issues/275","rel":["nofollow"]},"children":[{"type":"text","value":"#275"}]},{"type":"text","value":" ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/issues/277","rel":["nofollow"]},"children":[{"type":"text","value":"#277"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/c0097a355b859cb6a2d97884a7648284128acca2","rel":["nofollow"]},"children":[{"type":"text","value":"c0097a3"}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"module:"}]},{"type":"text","value":" do not warn when using runtimeConfig to set url and key ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/issues/281","rel":["nofollow"]},"children":[{"type":"text","value":"#281"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/8c151737b55738c68fc24b5e4db2517c4e866693","rel":["nofollow"]},"children":[{"type":"text","value":"8c15173"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"💚 Thanks for the help from 💚\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/stafyniaksacha","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@stafyniaksacha"}]}]},{"type":"text","value":"\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/jonesisg1","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@jonesisg1"}]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":1,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.3","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.3","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.3","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/123992311/reactions","total_count":4,"+1":2,"-1":0,"laugh":0,"hooray":2,"confused":0,"heart":0,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v1.1.3.md"},{"name":"v1.1.2","tag_name":"v1.1.2","date":"2023-09-06T17:44:35Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"⚠️ BREAKING CHANGE ⚠️\r\nBreaking change is related to "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/244","rel":["nofollow"]},"children":[{"type":"text","value":"#244"}]},{"type":"text","value":" and was first adressed in the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"v1.1.0"}]},{"type":"text","value":" but patch has been necessary to fix the version."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"On the confirm page, configured in "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"redirect.callback"}]},{"type":"text","value":" option (default to "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"/confirm"}]},{"type":"text","value":"), ensure to set the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"immediate"}]},{"type":"text","value":" option in the watch.\r\nCheck out the doc: "},{"type":"element","tag":"a","props":{"href":"http://supabase.nuxtjs.org/authentication#confirm-page-confirm","rel":["nofollow"]},"children":[{"type":"text","value":"http://supabase.nuxtjs.org/authentication#confirm-page-confirm"}]},{"type":"text","value":"\r\nCheck out the demo code: "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/blob/main/demo/pages/confirm.vue","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-modules/supabase/blob/main/demo/pages/confirm.vue"}]}]},{"type":"element","tag":"h3","props":{"id":"bug-fixes"},"children":[{"type":"text","value":"Bug Fixes"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"module:"}]},{"type":"text","value":" priority of redirect options made by defu ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/issues/256","rel":["nofollow"]},"children":[{"type":"text","value":"#256"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/c4e30bf50eb7816fee3a2e46b404df5ce9f7cf4d","rel":["nofollow"]},"children":[{"type":"text","value":"c4e30bf"}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"plugin:"}]},{"type":"text","value":" retrieve user for client only page ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/244","rel":["nofollow"]},"children":[{"type":"text","value":"#244"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/4a35428e26542bf22b3288db6e9a9309f1310705","rel":["nofollow"]},"children":[{"type":"text","value":"4a35428"}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"useSupabaseUser:"}]},{"type":"text","value":" add explicit user type ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/issues/254","rel":["nofollow"]},"children":[{"type":"text","value":"#254"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/60d8551ee83a9c64a962b9f76b881b17d7384736","rel":["nofollow"]},"children":[{"type":"text","value":"60d8551"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v1.0.2...v1.1.0","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v1.0.2...v1.1.0"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"💚 Thanks for the help from 💚\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/52cs","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@52cs"}]}]},{"type":"text","value":"\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/Aietes","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@Aietes"}]}]},{"type":"text","value":"\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/AlbertBrand","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@AlbertBrand"}]}]},{"type":"text","value":"\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/kiri10ten","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@kiri10ten"}]}]},{"type":"text","value":"\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/xMorthi","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@xMorthi"}]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed","children":[{"id":"bug-fixes","depth":3,"text":"Bug Fixes"}]}]}},"v":1,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.2","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.2","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.2","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/120162649/reactions","total_count":4,"+1":0,"-1":0,"laugh":0,"hooray":3,"confused":0,"heart":0,"rocket":0,"eyes":1},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v1.1.2.md"},{"name":"v1.0.2","tag_name":"v1.0.2","date":"2023-08-04T15:56:13Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs(auth): update ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/df00ffe8ecc253fc23572b65465ad7928e185b13","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"df00ffe"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix(client): correct provider_token assignment to cookie ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/a76df3f67d6b08daf359f38130ce08aeab57317b","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"a76df3f"}]}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v1.0.1...v1.0.2","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v1.0.1...v1.0.2"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"💚 Thanks for the help from 💚\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/blqke","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@blqke"}]}]},{"type":"text","value":"\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/Aietes","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@Aietes"}]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":1,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v1.0.2","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.0.2","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.0.2","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/115135546/reactions","total_count":3,"+1":0,"-1":0,"laugh":0,"hooray":3,"confused":0,"heart":0,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v1.0.2.md"},{"name":"v1.0.1","tag_name":"v1.0.1","date":"2023-08-02T15:46:15Z","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"I am happy to announce the release of version "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"1.0.0"}]},{"type":"text","value":" 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":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"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":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/authentication","rel":["nofollow"]},"children":[{"type":"text","value":"dedicated section"}]},{"type":"text","value":" has been added to the documentation. ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/219","rel":["nofollow"]},"children":[{"type":"text","value":"#219"}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"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":"element","tag":"li","props":{},"children":[{"type":"text","value":"A brand new documentation has been built entirely using "},{"type":"element","tag":"a","props":{"href":"https://nuxt.studio","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt Studio"}]},{"type":"text","value":". Feel free to create PRs to suggest fixes or add any necessary changes to further enhance the documentation. ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/210","rel":["nofollow"]},"children":[{"type":"text","value":"#210"}]},{"type":"text","value":" / "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/221","rel":["nofollow"]},"children":[{"type":"text","value":"#221"}]},{"type":"text","value":") => "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org","rel":["nofollow"]},"children":[{"type":"text","value":"https://supabase.nuxtjs.org"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Here's documentation that can help you understand the PKCE authentication flow:"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://supabase.com/blog/supabase-auth-sso-pkce#server-side-and-mobile-auth","rel":["nofollow"]},"children":[{"type":"text","value":"https://supabase.com/blog/supabase-auth-sso-pkce#server-side-and-mobile-auth"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/guides/resources/glossary#pkce","rel":["nofollow"]},"children":[{"type":"text","value":"https://supabase.com/docs/guides/resources/glossary#pkce"}]}]}]},{"type":"element","tag":"br","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"⚠️ BREAKING CHANGES ⚠️"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"useSupabaseAuthClient"}]},{"type":"text","value":" has been removed in favor of "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"useSupabaseClient"}]},{"type":"text","value":" in all cases"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serverSupabaseClient"}]},{"type":"text","value":" is now returning a promise (should be called with "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"await"}]},{"type":"text","value":" in an "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"async"}]},{"type":"text","value":" method)"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"redirect"}]},{"type":"text","value":" option is enable by default, follow this "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/authentication","rel":["nofollow"]},"children":[{"type":"text","value":"guide"}]},{"type":"text","value":" to update your app"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"client"}]},{"type":"text","value":" option becomes "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"clientOptions"}]},{"type":"text","value":" with new "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/get-started#clientoptions","rel":["nofollow"]},"children":[{"type":"text","value":"default value"}]},{"type":"text","value":" (including the PKCE flow)"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"cookies"}]},{"type":"text","value":" options is split in "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"cookieName"}]},{"type":"text","value":" and "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"cookieOptions"}]},{"type":"text","value":", "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/get-started#cookieoptions","rel":["nofollow"]},"children":[{"type":"text","value":"default values"}]},{"type":"text","value":" have not changed"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Here si the commit done for updating the demo with the last version: "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/10e05860862b68c49817f6420d50d082452f7a7f","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"10e0586"}]}]}]},{"type":"element","tag":"br","props":{},"children":[]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A huge thanks to "},{"type":"element","tag":"a","props":{"href":"https://github.com/Aietes","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@Aietes"}]}]},{"type":"text","value":" for initialising all those changes and help me built it 💚"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's changed"}]}},"v":1,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v1.0.1","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.0.1","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.0.1","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/114843996/reactions","total_count":40,"+1":9,"-1":0,"laugh":0,"hooray":19,"confused":0,"heart":4,"rocket":8,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"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.","_type":"markdown","_id":"github:v1.0.1.md"},{"name":"v0.3.8","tag_name":"v0.3.8","date":"2023-07-03T08:29:53Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"feat(session): save provider access/refresh tokens in cookies ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/ea8c21f3d625984832cb27a3ae7605b16caaf94b","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"ea8c21f"}]}]},{"type":"text","value":") in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/197","rel":["nofollow"]},"children":[{"type":"text","value":"#197"}]},{"type":"text","value":" by "},{"type":"element","tag":"a","props":{"href":"https://github.com/mitjans","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@mitjans"}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(deps): upgrade to latest ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/a52abc871b6ab756c2b477f7c6b3c0f51279693c","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"a52abc8"}]}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.3.7...v0.3.8","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.3.7...v0.3.8"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"💚 Thanks for the help from 💚\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/mitjans","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@mitjans"}]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.8","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.8","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.8","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/110829614/reactions","total_count":5,"+1":0,"-1":0,"laugh":0,"hooray":5,"confused":0,"heart":0,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.3.8.md"},{"name":"v0.3.7","tag_name":"v0.3.7","date":"2023-06-12T07:51:13Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix(client): fix persist session warning for "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"serverSupabaseServiceRole"}]},{"type":"text","value":" ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/194","rel":["nofollow"]},"children":[{"type":"text","value":"#194"}]},{"type":"text","value":") resolves "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/193","rel":["nofollow"]},"children":[{"type":"text","value":"#193"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs(get-started): remove defineNuxtConfig ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/0151901","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"0151901"}]}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"💚 Thanks for the help from 💚\r\n"},{"type":"element","tag":"a","props":{"href":"https://github.com/jawngee","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@jawngee"}]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.7","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.7","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.7","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.3.7.md"},{"name":"v0.3.6","tag_name":"v0.3.6","date":"2023-06-02T14:33:38Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(deps): upgrade to nuxt and supabase latest version"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix(client): remove persist session warning on server side in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/227113f68fb8723f9687adfa12150f825940e0c9","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"227113f"}]}]},{"type":"text","value":" (Resolves "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/188","rel":["nofollow"]},"children":[{"type":"text","value":"#188"}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix(chore): resolve imports (Resolves "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/190","rel":["nofollow"]},"children":[{"type":"text","value":"#190"}]},{"type":"text","value":")"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.6","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.6","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.6","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/105847469/reactions","total_count":5,"+1":1,"-1":0,"laugh":0,"hooray":4,"confused":0,"heart":0,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.3.6.md"},{"name":"v0.3.5","tag_name":"v0.3.5","date":"2023-04-03T09:50:57Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(demo): upgrade on last version ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/9bb9e2856823a0bb86c07ae7775462e02a1e430d","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"9bb9e28"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(demo): generate database types from supabase cli ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/bca199292dfeb23d5e0581ab40a6994fed3d1157","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"bca1992"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs(links): update nuxt & supabase links and fix typos ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/5699dc6c22f9182e9593936fc1260fc785eea450","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"5699dc6"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(app): move to pnpm ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/94f7e130747801584d2b0999bd2f5f904e575082","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"94f7e13"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(module): conditionally add redirect plugin ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/0cad0a557934f669f2ab424ef072f6b07c098646","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"0cad0a5"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs(get-started): fix typos ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/ba437a8534f3dcda53f805cc34b5d6a943297354","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"ba437a8"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs(composables): correct grammar errors ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/034d7dfaf9f52a08da0ade4bf6d5ed31ec740734","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"034d7df"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"feat(demo): add call from server route("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/989a91eacdc471de90a2307c39cd03f23cca57ee","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"989a91e"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"perf(useSupabaseAuthClient): avoid declaring unused variables ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/8c070b9e571b3fe7870c08033ea561624a6ae575","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"8c070b9"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix(dev): optimize supabase deps ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/d1da3f6b2f463e7196c69c3a580833438926a6e1","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"d1da3f6"}]}]},{"type":"text","value":") resolves "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/172","rel":["nofollow"]},"children":[{"type":"text","value":"#172"}]},{"type":"text","value":" & "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/151","rel":["nofollow"]},"children":[{"type":"text","value":"#151"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(deps): transpile websocket lib prod only ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/a1ee40c848c9da81aa41acc53dc3555b32bafd86","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"a1ee40c"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix(deps): transpile gotrue only on client ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/fcc6823e248395a513706cf67ab664f84daacb45","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"fcc6823"}]}]},{"type":"text","value":") resolves "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/172","rel":["nofollow"]},"children":[{"type":"text","value":"#172"}]},{"type":"text","value":" on server side"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.5","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.5"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"💚 Thanks for the help from 💚\r\n@"},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commits?author=kuizuo","rel":["nofollow"]},"children":[{"type":"text","value":"kuizuo"}]},{"type":"text","value":"\r\n@"},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commits?author=tnntwister","rel":["nofollow"]},"children":[{"type":"text","value":"tnntwister"}]},{"type":"text","value":"\r\n@"},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commits?author=yannaufray","rel":["nofollow"]},"children":[{"type":"text","value":"yannaufray"}]},{"type":"text","value":"\r\n@"},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commits?author=DamianGlowala","rel":["nofollow"]},"children":[{"type":"text","value":"DamianGlowala"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.5","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.5","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.5","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/97822579/reactions","total_count":1,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":1,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.3.5.md"},{"name":"v0.3.3","tag_name":"v0.3.3","date":"2023-03-31T21:51:14Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"perf(useSupabaseAuthClient): avoid declaring unused variables ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/166","rel":["nofollow"]},"children":[{"type":"text","value":"#166"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/8c070b9","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"8c070b9"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"feat(demo): add call from server route ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/989a91e","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"989a91e"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(demo): upgrade deps ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/9ebbc77","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"9ebbc77"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(deps): upgrade ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/e274a5e","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"e274a5e"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs(composables): correct grammar errors ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/162","rel":["nofollow"]},"children":[{"type":"text","value":"#162"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/034d7df","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"034d7df"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs(readme): add nuxt badge ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/68271b8","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"68271b8"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs(demo): fix typo ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/125","rel":["nofollow"]},"children":[{"type":"text","value":"#125"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/bd33d12","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"bd33d12"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs(get-started): fix typos ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/154","rel":["nofollow"]},"children":[{"type":"text","value":"#154"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/ba437a8","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"ba437a8"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(module): conditionally add redirect plugin ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/157","rel":["nofollow"]},"children":[{"type":"text","value":"#157"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/0cad0a5","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"0cad0a5"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(app): move to pnpm ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/94f7e13","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"94f7e13"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs(links): update nuxt & supabase links and fix typos ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/126","rel":["nofollow"]},"children":[{"type":"text","value":"#126"}]},{"type":"text","value":") ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/5699dc6","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"5699dc6"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(demo): generate database types from supabase cli ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/bca1992","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"bca1992"}]}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.3","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.3"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.3","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.3","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.3","prerelease":true,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/97697076/reactions","total_count":1,"+1":1,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.3.3.md"},{"name":"v0.3.1","tag_name":"v0.3.1","date":"2023-02-07T20:18:04Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(app): upgrade deps and fix lint ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/68baf68","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"68baf68"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix(client): unset user before session on logout ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/ab574ef","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"ab574ef"}]}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore(demo): update with latest and fix logout"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.3.0...v0.3.1","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.3.0...v0.3.1"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.1","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.1","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.1","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.3.1.md"},{"name":"v0.3.0","tag_name":"v0.3.0","date":"2022-11-22T15:26:02Z","body":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"⚠️ BREAKING CHANGES ⚠️"}]},{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"In order to resolve "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/114","rel":["nofollow"]},"children":[{"type":"text","value":"#114"}]},{"type":"text","value":", I have made the choice to separate the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"useSupabaseClient"}]},{"type":"text","value":" in two other composables:"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"The "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"useSupabaseAuthClient"}]},{"type":"text","value":" 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":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"onAuthStateChange"}]},{"type":"text","value":" events."}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"The "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"useSupabaseClient"}]},{"type":"text","value":" is now only useful for data request."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"To avoid regression you just need to use "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"useSupabaseAuthClient"}]},{"type":"text","value":" instead of "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"useSupabaseClient"}]},{"type":"text","value":" everywhere you use "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/auth-signup","rel":["nofollow"]},"children":[{"type":"text","value":"Supabase auth methods"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/usage/composables/use-supabase-auth-client","rel":["nofollow"]},"children":[{"type":"text","value":"Documentation"}]},{"type":"text","value":" has been updated."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.2.6...v0.3.0","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.2.6...v0.3.0"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.3.0","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.3.0","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.3.0","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/83886320/reactions","total_count":8,"+1":2,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":3,"rocket":3,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"⚠️ BREAKING CHANGES ⚠️","_type":"markdown","_id":"github:v0.3.0.md"},{"name":"v0.2.6","tag_name":"v0.2.6","date":"2022-11-22T15:16:16Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore: update to Nuxt 3 stable 🚀 "},{"type":"element","tag":"a","props":{"href":"https://nuxt.com/v3","rel":["nofollow"]},"children":[{"type":"text","value":"https://nuxt.com/v3"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.2.5...v0.2.6","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.2.5...v0.2.6"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.6","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.6","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.6","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.2.6.md"},{"name":"v0.2.5","tag_name":"v0.2.5","date":"2022-11-22T15:14:51Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: use Router instead of navigateTo for login redirect in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/79fc0e43655d4dee5858acf06cf1979e3ead542b","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"79fc0e4"}]}]},{"type":"text","value":" (resolves "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/89","rel":["nofollow"]},"children":[{"type":"text","value":"#89"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.2.4...v0.2.5","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.2.4...v0.2.5"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.5","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.5","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.5","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.2.5.md"},{"name":"v0.2.4","tag_name":"v0.2.4","date":"2022-11-13T19:36:18Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: handle TOKEN_REFRESHED session event in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/bf503029b48113b4b66545d0d2065c899209a06a","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"bf50302"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.2.3...v0.2.4","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.2.3...v0.2.4"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.4","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.4","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.4","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/82920199/reactions","total_count":2,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":2,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.2.4.md"},{"name":"v0.2.3","tag_name":"v0.2.3","date":"2022-11-11T17:27:14Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"feat: typed supabase client in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/b59ff1acfbbe2cd36aea1ade2d2b538404909260","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"b59ff1a"}]}]},{"type":"text","value":" and "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/fd751d7e50c63c48df9e03763458cc826409ff35","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"fd751d7"}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore: upgrade to nuxt "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.13","rel":["nofollow"]},"children":[{"type":"text","value":"rc13"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: do not apply token if not exists ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/107","rel":["nofollow"]},"children":[{"type":"text","value":"#107"}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs: add roadmap board from "},{"type":"element","tag":"a","props":{"href":"https://volta.net","rel":["nofollow"]},"children":[{"type":"text","value":"https://volta.net"}]},{"type":"text","value":" in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/f8e73b535924f133e479dbc2863bb37856ff4555","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"f8e73b5"}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"contributors"},"children":[{"type":"text","value":"Contributors"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Thanks to "},{"type":"element","tag":"a","props":{"href":"https://github.com/manniL","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@manniL"}]}]},{"type":"text","value":" and "},{"type":"element","tag":"a","props":{"href":"https://github.com/levibe","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@levibe"}]}]},{"type":"text","value":" 💚"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.2.0...v0.2.3","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.2.0...v0.2.3"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"},{"id":"contributors","depth":2,"text":"Contributors"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.3","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.3","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.3","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/82825289/reactions","total_count":1,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":1,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.2.3.md"},{"name":"v0.2.0","tag_name":"v0.2.0","date":"2022-10-17T14:18:31Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"⚠️ Breaking Changes"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Upgrade to supabase-js v2, check Supabase "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/release-notes","rel":["nofollow"]},"children":[{"type":"text","value":"release notes"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Module "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org","rel":["nofollow"]},"children":[{"type":"text","value":"documentation"}]},{"type":"text","value":" has been updated in favor of supabase v2 syntax."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Please feel free to make PR if I missed something 🙏"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"🚀 Features"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"options: redirect user after signout or when user is not authenticated (check "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/get-started#redirect","rel":["nofollow"]},"children":[{"type":"text","value":"documentation"}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"session: set refresh token "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/18","rel":["nofollow"]},"children":[{"type":"text","value":"#18"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.28...v0.2.0","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.28...v0.2.0"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.0","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.0","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.0","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.2.0.md"},{"name":"v0.1.28","tag_name":"v0.1.28","date":"2022-10-07T10:05:52Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: cloudflare workers deployment ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/46","rel":["nofollow"]},"children":[{"type":"text","value":"#46"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.27...v0.1.28","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.27...v0.1.28"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Thanks to "},{"type":"element","tag":"a","props":{"href":"https://github.com/kevinmarrec","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@kevinmarrec"}]}]},{"type":"text","value":" for the fix 🔥"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.28","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.28","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.28","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.28.md"},{"name":"v0.1.27","tag_name":"v0.1.27","date":"2022-09-23T10:19:42Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore: upgrade to Nuxt "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.11","rel":["nofollow"]},"children":[{"type":"text","value":"rc.11"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Stable is coming 🚀"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.26...v0.1.27","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.26...v0.1.27"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.27","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.27","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.27","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.27.md"},{"name":"v0.2.0","tag_name":"v0.2.0-16","date":"2022-08-16T14:56:45Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"⚠️ Breaking Changes"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Upgrade to supabase-js v2, check Supabase "},{"type":"element","tag":"a","props":{"href":"https://supabase.com/docs/reference/javascript/next/release-notes","rel":["nofollow"]},"children":[{"type":"text","value":"release notes"}]},{"type":"text","value":"."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.22...v0.2.0","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.22...v0.2.0"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.2.0-16","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.2.0-16","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.2.0-16","prerelease":true,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.2.0.md"},{"name":"v0.1.26","tag_name":"v0.1.26","date":"2022-09-16T11:17:29Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore: upgrade to Nuxt "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.10","rel":["nofollow"]},"children":[{"type":"text","value":"rc.10"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Stable in coming 🚀"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.25...v0.1.26","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.25...v0.1.26"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.26","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.26","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.26","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/77384555/reactions","total_count":1,"+1":1,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.26.md"},{"name":"v0.1.25","tag_name":"v0.1.25","date":"2022-09-05T07:28:01Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"docs: new directory architecture + supabase module v2 coming soon in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/d48522a369bcced45dfb3d16793b33f0144ffa50","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"d48522a"}]}]},{"type":"text","value":" and "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/e69712b4862a5baa464c01ae32755473358b82d2","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"e69712b"}]}]},{"type":"text","value":". Check out "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/","rel":["nofollow"]},"children":[{"type":"text","value":"https://supabase.nuxtjs.org/"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore: upgrade to rc9 in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/3c5220bf9569d2e939a466aa4a2814e0dc38622c","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"3c5220b"}]}]},{"type":"text","value":" and "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/commit/495e0b705622e9bda28072815c828beedea1082c","rel":["nofollow"]},"children":[{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"495e0b7"}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore: fix nuxt compatibility ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/70","rel":["nofollow"]},"children":[{"type":"text","value":"#70"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.23...v0.1.25","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.23...v0.1.25"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.25","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.25","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.25","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/76259131/reactions","total_count":5,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":5,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.25.md"},{"name":"v0.1.23","tag_name":"v0.1.23","date":"2022-08-16T10:12:13Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: transpile supabase packages in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/66020204e8aad98db94a83964f1bb988642c90f3","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"6602020"}]}]},{"type":"text","value":" "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/237ddf2cf83079e39748b6252182ca1d2f62cc54","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"237ddf2"}]}]},{"type":"text","value":" and ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/62","rel":["nofollow"]},"children":[{"type":"text","value":"#62"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.20...v0.1.23","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.20...v0.1.23"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.23","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.23","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.23","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.23.md"},{"name":"v0.1.20","tag_name":"v0.1.20","date":"2022-08-16T09:12:14Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore: upgrade to "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.8","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt rc.8"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.19...v0.1.20","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.19...v0.1.20"}]}]},{"type":"element","tag":"h2","props":{"id":"new-contributors"},"children":[{"type":"text","value":"New Contributors"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://github.com/josuemartinezz","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@josuemartinezz"}]}]},{"type":"text","value":" made his first contribution in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/59","rel":["nofollow"]},"children":[{"type":"text","value":"#59"}]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"},{"id":"new-contributors","depth":2,"text":"New Contributors"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.20","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.20","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.20","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.20.md"},{"name":"v0.1.19","tag_name":"v0.1.19","date":"2022-07-18T08:18:42Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore: upgrade to "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/framework/pull/5825","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt rc.5"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"doc: add supabase icon in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/c0cce016eae809fd64acc9a503b4807750280b39","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"c0cce01"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.18...v0.1.19","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.18...v0.1.19"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.19","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.19","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.19","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/72200550/reactions","total_count":1,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":1,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.19.md"},{"name":"v0.1.18","tag_name":"v0.1.18","date":"2022-06-29T09:23:26Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"doc: update logo & social preview in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/9b0b2fbee1f2fed50e903c2b368b817568d7ab1f","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"9b0b2fb"}]}]},{"type":"text","value":" ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/53","rel":["nofollow"]},"children":[{"type":"text","value":"#53"}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: transpile supabase packages in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/309c137f7ae23985f0ed9947fb85cb75cbfbfca2","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"309c137"}]}]},{"type":"text","value":" ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/55","rel":["nofollow"]},"children":[{"type":"text","value":"#55"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.17...v0.1.18","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.17...v0.1.18"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.18","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.18","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.18","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.18.md"},{"name":"v0.1.17","tag_name":"v0.1.17","date":"2022-06-17T07:01:12Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore: upgrade to "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/framework/discussions/5445","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt rc.4"}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"doc: update "},{"type":"element","tag":"a","props":{"href":"https://docus.com/","rel":["nofollow"]},"children":[{"type":"text","value":"docus theme"}]},{"type":"text","value":" in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/64a5add3db5e0416a8a3b7f9708d27148797e958","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"64a5add"}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"doc: add advanced usage with supabase realtime "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/8047e311e5526a4597b81a99dc8045114348172f","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"8047e31"}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Checkout the "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/advanced#realtime","rel":["nofollow"]},"children":[{"type":"text","value":"documentation"}]},{"type":"text","value":" for supabase realtime!"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.16...v0.1.17","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.16...v0.1.17"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.17","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.17","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.17","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/69689480/reactions","total_count":1,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":1,"rocket":0,"eyes":0},"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.17.md"},{"name":"v0.1.16","tag_name":"v0.1.16","date":"2022-06-01T10:51:45Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"doc: use docus theme (public release coming soon) powered by "},{"type":"element","tag":"a","props":{"href":"https://content.nuxtjs.org/","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt content v2"}]},{"type":"text","value":" in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/c24a16ff0bc94221adc021231a2206b6db8f293c","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"c24a16f"}]}]},{"type":"text","value":" ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/41","rel":["nofollow"]},"children":[{"type":"text","value":"#41"}]},{"type":"text","value":")"}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"feat: service role client to bypass RLS in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/ba70a976be97acb3c438d59e45b789ee917bee6b","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"ba70a97"}]}]},{"type":"text","value":" ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/43","rel":["nofollow"]},"children":[{"type":"text","value":"#43"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Checkout the new "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org","rel":["nofollow"]},"children":[{"type":"text","value":"documentation"}]},{"type":"text","value":" !"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.14...v0.1.16","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.14...v0.1.16"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.16","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.16","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.16","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.16.md"},{"name":"v0.1.14","tag_name":"v0.1.14","date":"2022-05-13T16:48:40Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"feat: add playground folder in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/339cf31cf48d4059ba0e4470d6e5e2aa9ef184c7","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"339cf31"}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: client options in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/4c5595c11caf7a55621d297f6a0183a756175473","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"4c5595c"}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"feat: add server routes services in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/696d3e8d19b8db79c85e86b79a3ba4dd31bb2343","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"696d3e8"}]}]},{"type":"text","value":" ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/36","rel":["nofollow"]},"children":[{"type":"text","value":"#36"}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can check the "},{"type":"element","tag":"a","props":{"href":"https://supabase.nuxtjs.org/usage#server-routes-services","rel":["nofollow"]},"children":[{"type":"text","value":"documentation updated"}]},{"type":"text","value":" for the use of "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"services"}]},{"type":"text","value":" in server routes."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.11...v0.1.14","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.11...v0.1.14"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.14","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.14","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.14","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.14.md"},{"name":"v0.1.11","tag_name":"v0.1.11","date":"2022-05-06T08:51:02Z","body":{"type":"root","children":[{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"chore: upgrade deps"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.9...v0.1.11","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.9...v0.1.11"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.11","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.11","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.11","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.11.md"},{"name":"v0.1.9","tag_name":"v0.1.9","date":"2022-04-20T11:07:23Z","body":{"type":"root","children":[{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: use "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"#imports"}]},{"type":"text","value":" instead of "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"#nitro"}]},{"type":"text","value":" ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/42af598b7d9f3adf2c577c20e9cfb68bbb17d52b","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"42af598"}]}]},{"type":"text","value":")"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.8...v0.1.9","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.8...v0.1.9"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.9","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.9","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.9","prerelease":false,"author":{"name":"Atinux","url":"https://github.com/Atinux","avatar":"https://avatars.githubusercontent.com/u/904724?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.9.md"},{"name":"v0.1.8","tag_name":"v0.1.8","date":"2022-04-13T12:26:33Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: update runtime config fetch and override in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/260ebc7be39dfa65902ad4fe6a49639c99a69da8","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"260ebc7"}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"feat: handle session with defineEventHandler in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/e646b1ce03773bf44932824726f280ad15455ec2","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"e646b1c"}]}]},{"type":"text","value":" (Check "},{"type":"element","tag":"a","props":{"href":"https://v3.nuxtjs.org/guide/features/server-routes","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt doc"}]},{"type":"text","value":")"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.8","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.8","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.8","prerelease":false,"author":{"name":"larbish","url":"https://github.com/larbish","avatar":"https://avatars.githubusercontent.com/u/7290030?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.8.md"},{"name":"v0.1.7","tag_name":"v0.1.7","date":"2022-04-07T21:31:24Z","body":{"type":"root","children":[{"type":"element","tag":"h2","props":{"id":"whats-changed"},"children":[{"type":"text","value":"What's Changed"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: assert method and use correct key for server middleware in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/8a4d63101e6d2bc24563f7944988909ec7dcc6e5","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module@"},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"8a4d631"}]}]}]},{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"fix: replace #config with #nitro by "},{"type":"element","tag":"a","props":{"href":"https://github.com/psto","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@psto"}]}]},{"type":"text","value":" in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/pull/23","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module#23"}]}]}]},{"type":"element","tag":"h2","props":{"id":"new-contributors"},"children":[{"type":"text","value":"New Contributors"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"a","props":{"href":"https://github.com/psto","rel":["nofollow"]},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"@psto"}]}]},{"type":"text","value":" made their first contribution in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/pull/23","rel":["nofollow"]},"children":[{"type":"text","value":"nuxt-community/supabase-module#23"}]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"whats-changed","depth":2,"text":"What's Changed"},{"id":"new-contributors","depth":2,"text":"New Contributors"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.7","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.7","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.7","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/63922233/reactions","total_count":3,"+1":0,"-1":0,"laugh":0,"hooray":3,"confused":0,"heart":0,"rocket":0,"eyes":0},"author":{"name":"Atinux","url":"https://github.com/Atinux","avatar":"https://avatars.githubusercontent.com/u/904724?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.7.md"},{"name":"v0.1.5","tag_name":"v0.1.5","date":"2022-04-04T10:15:21Z","body":{"type":"root","children":[{"type":"element","tag":"h3","props":{"id":"bug-fixes"},"children":[{"type":"text","value":"Bug Fixes"}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"remove lodash.clonedeep ("},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/commit/b5c5c60358ab192b98c8a63185f58a2eb0ab706a","rel":["nofollow"]},"children":[{"type":"text","value":"b5c5c60"}]},{"type":"text","value":"), resolved "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-modules/supabase/issues/21","rel":["nofollow"]},"children":[{"type":"text","value":"#21"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Full Changelog"}]},{"type":"text","value":": "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt-community/supabase-module/compare/v0.1.4...v0.1.5","rel":["nofollow"]},"children":[{"type":"text","value":"https://github.com/nuxt-community/supabase-module/compare/v0.1.4...v0.1.5"}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"bug-fixes","depth":3,"text":"Bug Fixes"}]}},"v":0,"url":"https://github.com/nuxt-modules/supabase/releases/tag/v0.1.5","tarball":"https://api.github.com/repos/nuxt-modules/supabase/tarball/v0.1.5","zipball":"https://api.github.com/repos/nuxt-modules/supabase/zipball/v0.1.5","prerelease":false,"reactions":{"url":"https://api.github.com/repos/nuxt-modules/supabase/releases/63507078/reactions","total_count":6,"+1":0,"-1":0,"laugh":0,"hooray":4,"confused":0,"heart":2,"rocket":0,"eyes":0},"author":{"name":"Atinux","url":"https://github.com/Atinux","avatar":"https://avatars.githubusercontent.com/u/904724?v=4"},"title":"","description":"","_type":"markdown","_id":"github:v0.1.5.md"}] \ No newline at end of file diff --git a/api/search.json b/api/search.json index bc38e38f..11e7338e 100644 --- a/api/search.json +++ b/api/search.json @@ -1 +1 @@ -[{"_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":"i-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 include: undefined,\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":" include"}]},{"type":"element","tag":"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":" undefined,\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":" 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":6},"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":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":"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":"include"}]},{"type":"text","value":": Routes to include in the redirect. "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"['/admin(/*)?']"}]},{"type":"text","value":" will enable the redirect only for the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"admin"}]},{"type":"text","value":" page and all sub-pages."}]},{"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 .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 .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);}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":"i-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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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":" 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:#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 .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 .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);}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/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 .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 .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);}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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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 .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 .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);}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/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 .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 .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);}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 .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 .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);}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 .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 .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);}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":"i-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":"i-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":"i-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"}] \ No newline at end of file +[{"_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":"i-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 include: undefined,\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":" include"}]},{"type":"element","tag":"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":" undefined,\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":" 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":6},"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":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":"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":"include"}]},{"type":"text","value":": Routes to include in the redirect. "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"['/admin(/*)?']"}]},{"type":"text","value":" will enable the redirect only for the "},{"type":"element","tag":"code","props":{"className":[]},"children":[{"type":"text","value":"admin"}]},{"type":"text","value":" page and all sub-pages."}]},{"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 .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 .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);}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":"i-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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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":" 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:#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 .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 .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);}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/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 .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 .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);}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/usesupabasesession","_dir":"composables","_draft":false,"_partial":false,"_locale":"","title":"useSupabaseSession","description":"Auto import and use your Supabase user's session with the useSupabaseSession 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's session 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":" session "}]},{"type":"element","tag":"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":" useSupabaseSession"}]},{"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":"callout","props":{"icon":"i-heroicons-light-bulb"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If you just need the User's information you can use "},{"type":"element","tag":"a","props":{"href":"/usage/composables/usesupabaseuser"},"children":[{"type":"text","value":"useSupabaseUser"}]},{"type":"text","value":" which returns just the User information of the session."}]}]},{"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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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 session = useSupabaseSession()\n\n if (!session.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":" session"}]},{"type":"element","tag":"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":" useSupabaseSession"}]},{"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":"session"}]},{"type":"element","tag":"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 .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 .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);}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:useSupabaseSession.md","_source":"content","_file":"4.usage/composables/useSupabaseSession.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. Alternatively, you can enable the redirect only for certain routes using the "},{"type":"element","tag":"a","props":{"href":"/get-started#redirectoptions"},"children":[{"type":"text","value":"include"}]},{"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 .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 .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);}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/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 .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 .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);}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 .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 .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);}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/serversupabasesession","_dir":"services","_draft":false,"_partial":false,"_locale":"","title":"serverSupabaseSession","description":"Get your Supabase user's session 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/usesupabasesession"},"children":[{"type":"text","value":"useSupabaseSession"}]},{"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":"serverSupabaseSession"}]},{"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 { serverSupabaseSession } from '#supabase/server'\n\nexport default defineEventHandler(async (event) => {\n return await serverSupabaseSession(event)\n})\n","filename":"server/api/session.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":" serverSupabaseSession"}]},{"type":"element","tag":"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":" serverSupabaseSession"}]},{"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 session = ref(null)\n\nconst fetchSession = async () => {\n session.value = await $fetch('/api/session')\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":" session "}]},{"type":"element","tag":"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":" fetchSession "}]},{"type":"element","tag":"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":" session"}]},{"type":"element","tag":"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/session"}]},{"type":"element","tag":"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 session = ref(null)\n\nconst { data } = await useFetch('/api/session', {\n headers: useRequestHeaders(['cookie'])\n})\n\nsession.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":" session "}]},{"type":"element","tag":"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/session"}]},{"type":"element","tag":"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":"session"}]},{"type":"element","tag":"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 .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 .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);}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.serverSupabaseSession.md","_source":"content","_file":"4.usage/services/3.serverSupabaseSession.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 .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 .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);}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:4.serverSupabaseUser.md","_source":"content","_file":"4.usage/services/4.serverSupabaseUser.md","_extension":"md"},{"_path":"/demo","_dir":"","_draft":false,"_partial":false,"_locale":"","title":"Demo","description":"Demonstration of using Supabase with Nuxt.","icon":"i-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":"i-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":"i-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"}] \ No newline at end of file diff --git a/authentication/_payload.json b/authentication/_payload.json index 6e4e0d99..2f033fa8 100644 --- a/authentication/_payload.json +++ b/authentication/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":1764},["Reactive",2],{"navigation":3,"/authentication":52,"/authentication-surround":1759},[4,8,12,40,44,48],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","i-heroicons-rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","i-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","i-heroicons-computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","i-heroicons-bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","i-heroicons-map",{"_path":10,"_dir":53,"_draft":54,"_partial":54,"_locale":53,"title":9,"description":55,"icon":11,"body":56,"_type":1754,"_id":1755,"_source":1756,"_file":1757,"_extension":1758},"",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":1746},"root",[59,87,117,134,147,167,184,198,836,862,873,878,893,1205,1212,1217,1240,1740],{"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,160,165],{"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. Alternatively, you can enable the redirect only for certain routes using the ",{"type":60,"tag":68,"props":161,"children":162},{"href":154},[163],{"type":65,"value":164},"include",{"type":65,"value":166}," redirect option.",{"type":60,"tag":118,"props":168,"children":171},{"icon":169,"color":170},"i-heroicons-exclamation-triangle-20-solid","amber",[172],{"type":60,"tag":61,"props":173,"children":174},{},[175,177,183],{"type":65,"value":176},"Ensure to activate the authentication providers you want in the Supabase Dashboard under ",{"type":60,"tag":93,"props":178,"children":180},{"className":179},[],[181],{"type":65,"value":182},"Authentication -> Providers",{"type":65,"value":86},{"type":60,"tag":61,"props":185,"children":186},{},[187,189,196],{"type":65,"value":188},"The log-in page initiates the log-in method(s) you choose from the ",{"type":60,"tag":68,"props":190,"children":193},{"href":191,"rel":192},"https://supabase.com/docs/reference/javascript/auth-signinwithpassword",[72],[194],{"type":65,"value":195},"available authorization methods",{"type":65,"value":197}," provided by Supabase, it could looks like:",{"type":60,"tag":199,"props":200,"children":205},"pre",{"className":201,"code":202,"filename":203,"language":204,"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",[206],{"type":60,"tag":93,"props":207,"children":208},{"__ignoreMap":53},[209,263,293,330,340,377,444,477,494,526,535,548,598,607,624,641,659,703,712,729,742,769,794,803,820],{"type":60,"tag":210,"props":211,"children":214},"span",{"class":212,"line":213},"line",1,[215,221,227,233,238,243,248,254,258],{"type":60,"tag":210,"props":216,"children":218},{"style":217},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[219],{"type":65,"value":220},"\u003C",{"type":60,"tag":210,"props":222,"children":224},{"style":223},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[225],{"type":65,"value":226},"script",{"type":60,"tag":210,"props":228,"children":230},{"style":229},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[231],{"type":65,"value":232}," setup",{"type":60,"tag":210,"props":234,"children":235},{"style":229},[236],{"type":65,"value":237}," lang",{"type":60,"tag":210,"props":239,"children":240},{"style":217},[241],{"type":65,"value":242},"=",{"type":60,"tag":210,"props":244,"children":245},{"style":217},[246],{"type":65,"value":247},"\"",{"type":60,"tag":210,"props":249,"children":251},{"style":250},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[252],{"type":65,"value":253},"ts",{"type":60,"tag":210,"props":255,"children":256},{"style":217},[257],{"type":65,"value":247},{"type":60,"tag":210,"props":259,"children":260},{"style":217},[261],{"type":65,"value":262},">\n",{"type":60,"tag":210,"props":264,"children":266},{"class":212,"line":265},2,[267,272,278,282,288],{"type":60,"tag":210,"props":268,"children":269},{"style":229},[270],{"type":65,"value":271},"const",{"type":60,"tag":210,"props":273,"children":275},{"style":274},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[276],{"type":65,"value":277}," supabase ",{"type":60,"tag":210,"props":279,"children":280},{"style":217},[281],{"type":65,"value":242},{"type":60,"tag":210,"props":283,"children":285},{"style":284},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[286],{"type":65,"value":287}," useSupabaseClient",{"type":60,"tag":210,"props":289,"children":290},{"style":274},[291],{"type":65,"value":292},"()\n",{"type":60,"tag":210,"props":294,"children":296},{"class":212,"line":295},3,[297,301,306,310,315,320,325],{"type":60,"tag":210,"props":298,"children":299},{"style":229},[300],{"type":65,"value":271},{"type":60,"tag":210,"props":302,"children":303},{"style":274},[304],{"type":65,"value":305}," email ",{"type":60,"tag":210,"props":307,"children":308},{"style":217},[309],{"type":65,"value":242},{"type":60,"tag":210,"props":311,"children":312},{"style":284},[313],{"type":65,"value":314}," ref",{"type":60,"tag":210,"props":316,"children":317},{"style":274},[318],{"type":65,"value":319},"(",{"type":60,"tag":210,"props":321,"children":322},{"style":217},[323],{"type":65,"value":324},"''",{"type":60,"tag":210,"props":326,"children":327},{"style":274},[328],{"type":65,"value":329},")\n",{"type":60,"tag":210,"props":331,"children":333},{"class":212,"line":332},4,[334],{"type":60,"tag":210,"props":335,"children":337},{"emptyLinePlaceholder":336},true,[338],{"type":65,"value":339},"\n",{"type":60,"tag":210,"props":341,"children":343},{"class":212,"line":342},5,[344,348,353,357,362,367,372],{"type":60,"tag":210,"props":345,"children":346},{"style":229},[347],{"type":65,"value":271},{"type":60,"tag":210,"props":349,"children":350},{"style":274},[351],{"type":65,"value":352}," signInWithOtp ",{"type":60,"tag":210,"props":354,"children":355},{"style":217},[356],{"type":65,"value":242},{"type":60,"tag":210,"props":358,"children":359},{"style":229},[360],{"type":65,"value":361}," async",{"type":60,"tag":210,"props":363,"children":364},{"style":217},[365],{"type":65,"value":366}," ()",{"type":60,"tag":210,"props":368,"children":369},{"style":229},[370],{"type":65,"value":371}," =>",{"type":60,"tag":210,"props":373,"children":374},{"style":217},[375],{"type":65,"value":376}," {\n",{"type":60,"tag":210,"props":378,"children":380},{"class":212,"line":379},6,[381,386,391,396,401,406,412,417,421,426,430,435,439],{"type":60,"tag":210,"props":382,"children":383},{"style":229},[384],{"type":65,"value":385}," const",{"type":60,"tag":210,"props":387,"children":388},{"style":217},[389],{"type":65,"value":390}," {",{"type":60,"tag":210,"props":392,"children":393},{"style":274},[394],{"type":65,"value":395}," error",{"type":60,"tag":210,"props":397,"children":398},{"style":217},[399],{"type":65,"value":400}," }",{"type":60,"tag":210,"props":402,"children":403},{"style":217},[404],{"type":65,"value":405}," =",{"type":60,"tag":210,"props":407,"children":409},{"style":408},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[410],{"type":65,"value":411}," await",{"type":60,"tag":210,"props":413,"children":414},{"style":274},[415],{"type":65,"value":416}," supabase",{"type":60,"tag":210,"props":418,"children":419},{"style":217},[420],{"type":65,"value":86},{"type":60,"tag":210,"props":422,"children":423},{"style":274},[424],{"type":65,"value":425},"auth",{"type":60,"tag":210,"props":427,"children":428},{"style":217},[429],{"type":65,"value":86},{"type":60,"tag":210,"props":431,"children":432},{"style":284},[433],{"type":65,"value":434},"signInWithOtp",{"type":60,"tag":210,"props":436,"children":437},{"style":223},[438],{"type":65,"value":319},{"type":60,"tag":210,"props":440,"children":441},{"style":217},[442],{"type":65,"value":443},"{\n",{"type":60,"tag":210,"props":445,"children":447},{"class":212,"line":446},7,[448,453,458,463,467,472],{"type":60,"tag":210,"props":449,"children":450},{"style":223},[451],{"type":65,"value":452}," email",{"type":60,"tag":210,"props":454,"children":455},{"style":217},[456],{"type":65,"value":457},":",{"type":60,"tag":210,"props":459,"children":460},{"style":274},[461],{"type":65,"value":462}," email",{"type":60,"tag":210,"props":464,"children":465},{"style":217},[466],{"type":65,"value":86},{"type":60,"tag":210,"props":468,"children":469},{"style":274},[470],{"type":65,"value":471},"value",{"type":60,"tag":210,"props":473,"children":474},{"style":217},[475],{"type":65,"value":476},",\n",{"type":60,"tag":210,"props":478,"children":480},{"class":212,"line":479},8,[481,486,490],{"type":60,"tag":210,"props":482,"children":483},{"style":223},[484],{"type":65,"value":485}," options",{"type":60,"tag":210,"props":487,"children":488},{"style":217},[489],{"type":65,"value":457},{"type":60,"tag":210,"props":491,"children":492},{"style":217},[493],{"type":65,"value":376},{"type":60,"tag":210,"props":495,"children":497},{"class":212,"line":496},9,[498,503,507,512,517,522],{"type":60,"tag":210,"props":499,"children":500},{"style":223},[501],{"type":65,"value":502}," emailRedirectTo",{"type":60,"tag":210,"props":504,"children":505},{"style":217},[506],{"type":65,"value":457},{"type":60,"tag":210,"props":508,"children":509},{"style":217},[510],{"type":65,"value":511}," '",{"type":60,"tag":210,"props":513,"children":514},{"style":250},[515],{"type":65,"value":516},"http://localhost:3000/confirm",{"type":60,"tag":210,"props":518,"children":519},{"style":217},[520],{"type":65,"value":521},"'",{"type":60,"tag":210,"props":523,"children":524},{"style":217},[525],{"type":65,"value":476},{"type":60,"tag":210,"props":527,"children":529},{"class":212,"line":528},10,[530],{"type":60,"tag":210,"props":531,"children":532},{"style":217},[533],{"type":65,"value":534}," }\n",{"type":60,"tag":210,"props":536,"children":538},{"class":212,"line":537},11,[539,544],{"type":60,"tag":210,"props":540,"children":541},{"style":217},[542],{"type":65,"value":543}," }",{"type":60,"tag":210,"props":545,"children":546},{"style":223},[547],{"type":65,"value":329},{"type":60,"tag":210,"props":549,"children":551},{"class":212,"line":550},12,[552,557,562,567,572,577,581,586,590,594],{"type":60,"tag":210,"props":553,"children":554},{"style":408},[555],{"type":65,"value":556}," if",{"type":60,"tag":210,"props":558,"children":559},{"style":223},[560],{"type":65,"value":561}," (",{"type":60,"tag":210,"props":563,"children":564},{"style":274},[565],{"type":65,"value":566},"error",{"type":60,"tag":210,"props":568,"children":569},{"style":223},[570],{"type":65,"value":571},") ",{"type":60,"tag":210,"props":573,"children":574},{"style":274},[575],{"type":65,"value":576},"console",{"type":60,"tag":210,"props":578,"children":579},{"style":217},[580],{"type":65,"value":86},{"type":60,"tag":210,"props":582,"children":583},{"style":284},[584],{"type":65,"value":585},"log",{"type":60,"tag":210,"props":587,"children":588},{"style":223},[589],{"type":65,"value":319},{"type":60,"tag":210,"props":591,"children":592},{"style":274},[593],{"type":65,"value":566},{"type":60,"tag":210,"props":595,"children":596},{"style":223},[597],{"type":65,"value":329},{"type":60,"tag":210,"props":599,"children":601},{"class":212,"line":600},13,[602],{"type":60,"tag":210,"props":603,"children":604},{"style":217},[605],{"type":65,"value":606},"}\n",{"type":60,"tag":210,"props":608,"children":610},{"class":212,"line":609},14,[611,616,620],{"type":60,"tag":210,"props":612,"children":613},{"style":217},[614],{"type":65,"value":615},"\u003C/",{"type":60,"tag":210,"props":617,"children":618},{"style":223},[619],{"type":65,"value":226},{"type":60,"tag":210,"props":621,"children":622},{"style":217},[623],{"type":65,"value":262},{"type":60,"tag":210,"props":625,"children":627},{"class":212,"line":626},15,[628,632,637],{"type":60,"tag":210,"props":629,"children":630},{"style":217},[631],{"type":65,"value":220},{"type":60,"tag":210,"props":633,"children":634},{"style":223},[635],{"type":65,"value":636},"template",{"type":60,"tag":210,"props":638,"children":639},{"style":217},[640],{"type":65,"value":262},{"type":60,"tag":210,"props":642,"children":644},{"class":212,"line":643},16,[645,650,655],{"type":60,"tag":210,"props":646,"children":647},{"style":217},[648],{"type":65,"value":649}," \u003C",{"type":60,"tag":210,"props":651,"children":652},{"style":223},[653],{"type":65,"value":654},"div",{"type":60,"tag":210,"props":656,"children":657},{"style":217},[658],{"type":65,"value":262},{"type":60,"tag":210,"props":660,"children":662},{"class":212,"line":661},17,[663,668,673,678,683,687,691,695,699],{"type":60,"tag":210,"props":664,"children":665},{"style":217},[666],{"type":65,"value":667}," \u003C",{"type":60,"tag":210,"props":669,"children":670},{"style":223},[671],{"type":65,"value":672},"button",{"type":60,"tag":210,"props":674,"children":675},{"style":217},[676],{"type":65,"value":677}," @",{"type":60,"tag":210,"props":679,"children":680},{"style":229},[681],{"type":65,"value":682},"click",{"type":60,"tag":210,"props":684,"children":685},{"style":217},[686],{"type":65,"value":242},{"type":60,"tag":210,"props":688,"children":689},{"style":217},[690],{"type":65,"value":247},{"type":60,"tag":210,"props":692,"children":693},{"style":274},[694],{"type":65,"value":434},{"type":60,"tag":210,"props":696,"children":697},{"style":217},[698],{"type":65,"value":247},{"type":60,"tag":210,"props":700,"children":701},{"style":217},[702],{"type":65,"value":262},{"type":60,"tag":210,"props":704,"children":706},{"class":212,"line":705},18,[707],{"type":60,"tag":210,"props":708,"children":709},{"style":274},[710],{"type":65,"value":711}," Sign In with E-Mail\n",{"type":60,"tag":210,"props":713,"children":715},{"class":212,"line":714},19,[716,721,725],{"type":60,"tag":210,"props":717,"children":718},{"style":217},[719],{"type":65,"value":720}," \u003C/",{"type":60,"tag":210,"props":722,"children":723},{"style":223},[724],{"type":65,"value":672},{"type":60,"tag":210,"props":726,"children":727},{"style":217},[728],{"type":65,"value":262},{"type":60,"tag":210,"props":730,"children":732},{"class":212,"line":731},20,[733,737],{"type":60,"tag":210,"props":734,"children":735},{"style":217},[736],{"type":65,"value":667},{"type":60,"tag":210,"props":738,"children":739},{"style":223},[740],{"type":65,"value":741},"input\n",{"type":60,"tag":210,"props":743,"children":745},{"class":212,"line":744},21,[746,751,755,759,764],{"type":60,"tag":210,"props":747,"children":748},{"style":229},[749],{"type":65,"value":750}," v-model",{"type":60,"tag":210,"props":752,"children":753},{"style":217},[754],{"type":65,"value":242},{"type":60,"tag":210,"props":756,"children":757},{"style":217},[758],{"type":65,"value":247},{"type":60,"tag":210,"props":760,"children":761},{"style":274},[762],{"type":65,"value":763},"email",{"type":60,"tag":210,"props":765,"children":766},{"style":217},[767],{"type":65,"value":768},"\"\n",{"type":60,"tag":210,"props":770,"children":772},{"class":212,"line":771},22,[773,778,782,786,790],{"type":60,"tag":210,"props":774,"children":775},{"style":229},[776],{"type":65,"value":777}," type",{"type":60,"tag":210,"props":779,"children":780},{"style":217},[781],{"type":65,"value":242},{"type":60,"tag":210,"props":783,"children":784},{"style":217},[785],{"type":65,"value":247},{"type":60,"tag":210,"props":787,"children":788},{"style":250},[789],{"type":65,"value":763},{"type":60,"tag":210,"props":791,"children":792},{"style":217},[793],{"type":65,"value":768},{"type":60,"tag":210,"props":795,"children":797},{"class":212,"line":796},23,[798],{"type":60,"tag":210,"props":799,"children":800},{"style":217},[801],{"type":65,"value":802}," />\n",{"type":60,"tag":210,"props":804,"children":806},{"class":212,"line":805},24,[807,812,816],{"type":60,"tag":210,"props":808,"children":809},{"style":217},[810],{"type":65,"value":811}," \u003C/",{"type":60,"tag":210,"props":813,"children":814},{"style":223},[815],{"type":65,"value":654},{"type":60,"tag":210,"props":817,"children":818},{"style":217},[819],{"type":65,"value":262},{"type":60,"tag":210,"props":821,"children":823},{"class":212,"line":822},25,[824,828,832],{"type":60,"tag":210,"props":825,"children":826},{"style":217},[827],{"type":65,"value":615},{"type":60,"tag":210,"props":829,"children":830},{"style":223},[831],{"type":65,"value":636},{"type":60,"tag":210,"props":833,"children":834},{"style":217},[835],{"type":65,"value":262},{"type":60,"tag":61,"props":837,"children":838},{},[839,841,846,848,852,854,860],{"type":65,"value":840},"Once the authorization flow is triggered using the ",{"type":60,"tag":93,"props":842,"children":844},{"className":843},[],[845],{"type":65,"value":425},{"type":65,"value":847}," wrapper of the ",{"type":60,"tag":68,"props":849,"children":850},{"href":22},[851],{"type":65,"value":21},{"type":65,"value":853}," 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":855,"children":857},{"className":856},[],[858],{"type":65,"value":859},"/confirm",{"type":65,"value":861}," by default).",{"type":60,"tag":135,"props":863,"children":865},{"id":864},"confirm-page-confirm",[866,868],{"type":65,"value":867},"Confirm page - ",{"type":60,"tag":93,"props":869,"children":871},{"className":870},[],[872],{"type":65,"value":859},{"type":60,"tag":61,"props":874,"children":875},{},[876],{"type":65,"value":877},"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":879,"children":880},{"icon":120},[881],{"type":60,"tag":61,"props":882,"children":883},{},[884,886,892],{"type":65,"value":885},"The redirect URL must be configured in your Supabase dashboard under ",{"type":60,"tag":93,"props":887,"children":889},{"className":888},[],[890],{"type":65,"value":891},"Authentication -> URL Configuration -> Redirect URLs",{"type":65,"value":86},{"type":60,"tag":199,"props":894,"children":897},{"className":201,"code":895,"filename":896,"language":204,"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",[898],{"type":60,"tag":93,"props":899,"children":900},{"__ignoreMap":53},[901,940,965,972,1002,1034,1043,1077,1085,1120,1135,1142,1157,1190],{"type":60,"tag":210,"props":902,"children":903},{"class":212,"line":213},[904,908,912,916,920,924,928,932,936],{"type":60,"tag":210,"props":905,"children":906},{"style":217},[907],{"type":65,"value":220},{"type":60,"tag":210,"props":909,"children":910},{"style":223},[911],{"type":65,"value":226},{"type":60,"tag":210,"props":913,"children":914},{"style":229},[915],{"type":65,"value":232},{"type":60,"tag":210,"props":917,"children":918},{"style":229},[919],{"type":65,"value":237},{"type":60,"tag":210,"props":921,"children":922},{"style":217},[923],{"type":65,"value":242},{"type":60,"tag":210,"props":925,"children":926},{"style":217},[927],{"type":65,"value":247},{"type":60,"tag":210,"props":929,"children":930},{"style":250},[931],{"type":65,"value":253},{"type":60,"tag":210,"props":933,"children":934},{"style":217},[935],{"type":65,"value":247},{"type":60,"tag":210,"props":937,"children":938},{"style":217},[939],{"type":65,"value":262},{"type":60,"tag":210,"props":941,"children":942},{"class":212,"line":265},[943,947,952,956,961],{"type":60,"tag":210,"props":944,"children":945},{"style":229},[946],{"type":65,"value":271},{"type":60,"tag":210,"props":948,"children":949},{"style":274},[950],{"type":65,"value":951}," user ",{"type":60,"tag":210,"props":953,"children":954},{"style":217},[955],{"type":65,"value":242},{"type":60,"tag":210,"props":957,"children":958},{"style":284},[959],{"type":65,"value":960}," useSupabaseUser",{"type":60,"tag":210,"props":962,"children":963},{"style":274},[964],{"type":65,"value":292},{"type":60,"tag":210,"props":966,"children":967},{"class":212,"line":295},[968],{"type":60,"tag":210,"props":969,"children":970},{"emptyLinePlaceholder":336},[971],{"type":65,"value":339},{"type":60,"tag":210,"props":973,"children":974},{"class":212,"line":332},[975,980,985,990,994,998],{"type":60,"tag":210,"props":976,"children":977},{"style":284},[978],{"type":65,"value":979},"watch",{"type":60,"tag":210,"props":981,"children":982},{"style":274},[983],{"type":65,"value":984},"(user",{"type":60,"tag":210,"props":986,"children":987},{"style":217},[988],{"type":65,"value":989},",",{"type":60,"tag":210,"props":991,"children":992},{"style":217},[993],{"type":65,"value":366},{"type":60,"tag":210,"props":995,"children":996},{"style":229},[997],{"type":65,"value":371},{"type":60,"tag":210,"props":999,"children":1000},{"style":217},[1001],{"type":65,"value":376},{"type":60,"tag":210,"props":1003,"children":1004},{"class":212,"line":342},[1005,1009,1013,1018,1022,1026,1030],{"type":60,"tag":210,"props":1006,"children":1007},{"style":408},[1008],{"type":65,"value":556},{"type":60,"tag":210,"props":1010,"children":1011},{"style":223},[1012],{"type":65,"value":561},{"type":60,"tag":210,"props":1014,"children":1015},{"style":274},[1016],{"type":65,"value":1017},"user",{"type":60,"tag":210,"props":1019,"children":1020},{"style":217},[1021],{"type":65,"value":86},{"type":60,"tag":210,"props":1023,"children":1024},{"style":274},[1025],{"type":65,"value":471},{"type":60,"tag":210,"props":1027,"children":1028},{"style":223},[1029],{"type":65,"value":571},{"type":60,"tag":210,"props":1031,"children":1032},{"style":217},[1033],{"type":65,"value":443},{"type":60,"tag":210,"props":1035,"children":1036},{"class":212,"line":379},[1037],{"type":60,"tag":210,"props":1038,"children":1040},{"style":1039},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[1041],{"type":65,"value":1042}," // Redirect to protected page\n",{"type":60,"tag":210,"props":1044,"children":1045},{"class":212,"line":446},[1046,1051,1056,1060,1064,1069,1073],{"type":60,"tag":210,"props":1047,"children":1048},{"style":408},[1049],{"type":65,"value":1050}," return",{"type":60,"tag":210,"props":1052,"children":1053},{"style":284},[1054],{"type":65,"value":1055}," navigateTo",{"type":60,"tag":210,"props":1057,"children":1058},{"style":223},[1059],{"type":65,"value":319},{"type":60,"tag":210,"props":1061,"children":1062},{"style":217},[1063],{"type":65,"value":521},{"type":60,"tag":210,"props":1065,"children":1066},{"style":250},[1067],{"type":65,"value":1068},"/",{"type":60,"tag":210,"props":1070,"children":1071},{"style":217},[1072],{"type":65,"value":521},{"type":60,"tag":210,"props":1074,"children":1075},{"style":223},[1076],{"type":65,"value":329},{"type":60,"tag":210,"props":1078,"children":1079},{"class":212,"line":479},[1080],{"type":60,"tag":210,"props":1081,"children":1082},{"style":217},[1083],{"type":65,"value":1084}," }\n",{"type":60,"tag":210,"props":1086,"children":1087},{"class":212,"line":496},[1088,1093,1097,1102,1106,1112,1116],{"type":60,"tag":210,"props":1089,"children":1090},{"style":217},[1091],{"type":65,"value":1092},"},",{"type":60,"tag":210,"props":1094,"children":1095},{"style":217},[1096],{"type":65,"value":390},{"type":60,"tag":210,"props":1098,"children":1099},{"style":223},[1100],{"type":65,"value":1101}," immediate",{"type":60,"tag":210,"props":1103,"children":1104},{"style":217},[1105],{"type":65,"value":457},{"type":60,"tag":210,"props":1107,"children":1109},{"style":1108},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1110],{"type":65,"value":1111}," true",{"type":60,"tag":210,"props":1113,"children":1114},{"style":217},[1115],{"type":65,"value":400},{"type":60,"tag":210,"props":1117,"children":1118},{"style":274},[1119],{"type":65,"value":329},{"type":60,"tag":210,"props":1121,"children":1122},{"class":212,"line":528},[1123,1127,1131],{"type":60,"tag":210,"props":1124,"children":1125},{"style":217},[1126],{"type":65,"value":615},{"type":60,"tag":210,"props":1128,"children":1129},{"style":223},[1130],{"type":65,"value":226},{"type":60,"tag":210,"props":1132,"children":1133},{"style":217},[1134],{"type":65,"value":262},{"type":60,"tag":210,"props":1136,"children":1137},{"class":212,"line":537},[1138],{"type":60,"tag":210,"props":1139,"children":1140},{"emptyLinePlaceholder":336},[1141],{"type":65,"value":339},{"type":60,"tag":210,"props":1143,"children":1144},{"class":212,"line":550},[1145,1149,1153],{"type":60,"tag":210,"props":1146,"children":1147},{"style":217},[1148],{"type":65,"value":220},{"type":60,"tag":210,"props":1150,"children":1151},{"style":223},[1152],{"type":65,"value":636},{"type":60,"tag":210,"props":1154,"children":1155},{"style":217},[1156],{"type":65,"value":262},{"type":60,"tag":210,"props":1158,"children":1159},{"class":212,"line":600},[1160,1164,1168,1173,1178,1182,1186],{"type":60,"tag":210,"props":1161,"children":1162},{"style":217},[1163],{"type":65,"value":649},{"type":60,"tag":210,"props":1165,"children":1166},{"style":223},[1167],{"type":65,"value":654},{"type":60,"tag":210,"props":1169,"children":1170},{"style":217},[1171],{"type":65,"value":1172},">",{"type":60,"tag":210,"props":1174,"children":1175},{"style":274},[1176],{"type":65,"value":1177},"Waiting for login...",{"type":60,"tag":210,"props":1179,"children":1180},{"style":217},[1181],{"type":65,"value":615},{"type":60,"tag":210,"props":1183,"children":1184},{"style":223},[1185],{"type":65,"value":654},{"type":60,"tag":210,"props":1187,"children":1188},{"style":217},[1189],{"type":65,"value":262},{"type":60,"tag":210,"props":1191,"children":1192},{"class":212,"line":609},[1193,1197,1201],{"type":60,"tag":210,"props":1194,"children":1195},{"style":217},[1196],{"type":65,"value":615},{"type":60,"tag":210,"props":1198,"children":1199},{"style":223},[1200],{"type":65,"value":636},{"type":60,"tag":210,"props":1202,"children":1203},{"style":217},[1204],{"type":65,"value":262},{"type":60,"tag":1206,"props":1207,"children":1209},"h3",{"id":1208},"redirect-path",[1210],{"type":65,"value":1211},"Redirect path",{"type":60,"tag":61,"props":1213,"children":1214},{},[1215],{"type":65,"value":1216},"You can easily handle redirection to the initial requested route after login.",{"type":60,"tag":118,"props":1218,"children":1219},{"icon":120},[1220],{"type":60,"tag":61,"props":1221,"children":1222},{},[1223,1225,1231,1233,1238],{"type":65,"value":1224},"You must enable the ",{"type":60,"tag":93,"props":1226,"children":1228},{"className":1227},[],[1229],{"type":65,"value":1230},"cookieRedirect",{"type":65,"value":1232}," option of the ",{"type":60,"tag":68,"props":1234,"children":1235},{"href":154},[1236],{"type":65,"value":1237},"redirectOptions",{"type":65,"value":1239}," to allow cookie storage and take benefit of this feature.",{"type":60,"tag":199,"props":1241,"children":1243},{"className":201,"code":1242,"filename":896,"language":204,"meta":53,"style":53},"\u003Cscript setup lang=\"ts\">\nconst user = useSupabaseUser()\n\n// Get redirect path from cookies\nconst cookieName = 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",[1244],{"type":60,"tag":93,"props":1245,"children":1246},{"__ignoreMap":53},[1247,1286,1309,1316,1324,1377,1441,1448,1475,1506,1514,1567,1575,1626,1633,1664,1679,1694,1725],{"type":60,"tag":210,"props":1248,"children":1249},{"class":212,"line":213},[1250,1254,1258,1262,1266,1270,1274,1278,1282],{"type":60,"tag":210,"props":1251,"children":1252},{"style":217},[1253],{"type":65,"value":220},{"type":60,"tag":210,"props":1255,"children":1256},{"style":223},[1257],{"type":65,"value":226},{"type":60,"tag":210,"props":1259,"children":1260},{"style":229},[1261],{"type":65,"value":232},{"type":60,"tag":210,"props":1263,"children":1264},{"style":229},[1265],{"type":65,"value":237},{"type":60,"tag":210,"props":1267,"children":1268},{"style":217},[1269],{"type":65,"value":242},{"type":60,"tag":210,"props":1271,"children":1272},{"style":217},[1273],{"type":65,"value":247},{"type":60,"tag":210,"props":1275,"children":1276},{"style":250},[1277],{"type":65,"value":253},{"type":60,"tag":210,"props":1279,"children":1280},{"style":217},[1281],{"type":65,"value":247},{"type":60,"tag":210,"props":1283,"children":1284},{"style":217},[1285],{"type":65,"value":262},{"type":60,"tag":210,"props":1287,"children":1288},{"class":212,"line":265},[1289,1293,1297,1301,1305],{"type":60,"tag":210,"props":1290,"children":1291},{"style":229},[1292],{"type":65,"value":271},{"type":60,"tag":210,"props":1294,"children":1295},{"style":274},[1296],{"type":65,"value":951},{"type":60,"tag":210,"props":1298,"children":1299},{"style":217},[1300],{"type":65,"value":242},{"type":60,"tag":210,"props":1302,"children":1303},{"style":284},[1304],{"type":65,"value":960},{"type":60,"tag":210,"props":1306,"children":1307},{"style":274},[1308],{"type":65,"value":292},{"type":60,"tag":210,"props":1310,"children":1311},{"class":212,"line":295},[1312],{"type":60,"tag":210,"props":1313,"children":1314},{"emptyLinePlaceholder":336},[1315],{"type":65,"value":339},{"type":60,"tag":210,"props":1317,"children":1318},{"class":212,"line":332},[1319],{"type":60,"tag":210,"props":1320,"children":1321},{"style":1039},[1322],{"type":65,"value":1323},"// Get redirect path from cookies\n",{"type":60,"tag":210,"props":1325,"children":1326},{"class":212,"line":342},[1327,1331,1336,1340,1345,1350,1354,1359,1363,1368,1372],{"type":60,"tag":210,"props":1328,"children":1329},{"style":229},[1330],{"type":65,"value":271},{"type":60,"tag":210,"props":1332,"children":1333},{"style":274},[1334],{"type":65,"value":1335}," cookieName ",{"type":60,"tag":210,"props":1337,"children":1338},{"style":217},[1339],{"type":65,"value":242},{"type":60,"tag":210,"props":1341,"children":1342},{"style":284},[1343],{"type":65,"value":1344}," useRuntimeConfig",{"type":60,"tag":210,"props":1346,"children":1347},{"style":274},[1348],{"type":65,"value":1349},"()",{"type":60,"tag":210,"props":1351,"children":1352},{"style":217},[1353],{"type":65,"value":86},{"type":60,"tag":210,"props":1355,"children":1356},{"style":274},[1357],{"type":65,"value":1358},"public",{"type":60,"tag":210,"props":1360,"children":1361},{"style":217},[1362],{"type":65,"value":86},{"type":60,"tag":210,"props":1364,"children":1365},{"style":274},[1366],{"type":65,"value":1367},"supabase",{"type":60,"tag":210,"props":1369,"children":1370},{"style":217},[1371],{"type":65,"value":86},{"type":60,"tag":210,"props":1373,"children":1374},{"style":274},[1375],{"type":65,"value":1376},"cookieName\n",{"type":60,"tag":210,"props":1378,"children":1379},{"class":212,"line":379},[1380,1384,1389,1393,1398,1402,1407,1412,1417,1422,1427,1432,1436],{"type":60,"tag":210,"props":1381,"children":1382},{"style":229},[1383],{"type":65,"value":271},{"type":60,"tag":210,"props":1385,"children":1386},{"style":274},[1387],{"type":65,"value":1388}," redirectPath ",{"type":60,"tag":210,"props":1390,"children":1391},{"style":217},[1392],{"type":65,"value":242},{"type":60,"tag":210,"props":1394,"children":1395},{"style":284},[1396],{"type":65,"value":1397}," useCookie",{"type":60,"tag":210,"props":1399,"children":1400},{"style":274},[1401],{"type":65,"value":319},{"type":60,"tag":210,"props":1403,"children":1404},{"style":217},[1405],{"type":65,"value":1406},"`${",{"type":60,"tag":210,"props":1408,"children":1409},{"style":274},[1410],{"type":65,"value":1411},"cookieName",{"type":60,"tag":210,"props":1413,"children":1414},{"style":217},[1415],{"type":65,"value":1416},"}",{"type":60,"tag":210,"props":1418,"children":1419},{"style":250},[1420],{"type":65,"value":1421},"-redirect-path",{"type":60,"tag":210,"props":1423,"children":1424},{"style":217},[1425],{"type":65,"value":1426},"`",{"type":60,"tag":210,"props":1428,"children":1429},{"style":274},[1430],{"type":65,"value":1431},")",{"type":60,"tag":210,"props":1433,"children":1434},{"style":217},[1435],{"type":65,"value":86},{"type":60,"tag":210,"props":1437,"children":1438},{"style":274},[1439],{"type":65,"value":1440},"value\n",{"type":60,"tag":210,"props":1442,"children":1443},{"class":212,"line":446},[1444],{"type":60,"tag":210,"props":1445,"children":1446},{"emptyLinePlaceholder":336},[1447],{"type":65,"value":339},{"type":60,"tag":210,"props":1449,"children":1450},{"class":212,"line":479},[1451,1455,1459,1463,1467,1471],{"type":60,"tag":210,"props":1452,"children":1453},{"style":284},[1454],{"type":65,"value":979},{"type":60,"tag":210,"props":1456,"children":1457},{"style":274},[1458],{"type":65,"value":984},{"type":60,"tag":210,"props":1460,"children":1461},{"style":217},[1462],{"type":65,"value":989},{"type":60,"tag":210,"props":1464,"children":1465},{"style":217},[1466],{"type":65,"value":366},{"type":60,"tag":210,"props":1468,"children":1469},{"style":229},[1470],{"type":65,"value":371},{"type":60,"tag":210,"props":1472,"children":1473},{"style":217},[1474],{"type":65,"value":376},{"type":60,"tag":210,"props":1476,"children":1477},{"class":212,"line":496},[1478,1482,1486,1490,1494,1498,1502],{"type":60,"tag":210,"props":1479,"children":1480},{"style":408},[1481],{"type":65,"value":556},{"type":60,"tag":210,"props":1483,"children":1484},{"style":223},[1485],{"type":65,"value":561},{"type":60,"tag":210,"props":1487,"children":1488},{"style":274},[1489],{"type":65,"value":1017},{"type":60,"tag":210,"props":1491,"children":1492},{"style":217},[1493],{"type":65,"value":86},{"type":60,"tag":210,"props":1495,"children":1496},{"style":274},[1497],{"type":65,"value":471},{"type":60,"tag":210,"props":1499,"children":1500},{"style":223},[1501],{"type":65,"value":571},{"type":60,"tag":210,"props":1503,"children":1504},{"style":217},[1505],{"type":65,"value":443},{"type":60,"tag":210,"props":1507,"children":1508},{"class":212,"line":528},[1509],{"type":60,"tag":210,"props":1510,"children":1511},{"style":1039},[1512],{"type":65,"value":1513}," // Clear cookie\n",{"type":60,"tag":210,"props":1515,"children":1516},{"class":212,"line":537},[1517,1522,1526,1530,1534,1538,1542,1546,1550,1554,1558,1562],{"type":60,"tag":210,"props":1518,"children":1519},{"style":284},[1520],{"type":65,"value":1521}," useCookie",{"type":60,"tag":210,"props":1523,"children":1524},{"style":223},[1525],{"type":65,"value":319},{"type":60,"tag":210,"props":1527,"children":1528},{"style":217},[1529],{"type":65,"value":1406},{"type":60,"tag":210,"props":1531,"children":1532},{"style":274},[1533],{"type":65,"value":1411},{"type":60,"tag":210,"props":1535,"children":1536},{"style":217},[1537],{"type":65,"value":1416},{"type":60,"tag":210,"props":1539,"children":1540},{"style":250},[1541],{"type":65,"value":1421},{"type":60,"tag":210,"props":1543,"children":1544},{"style":217},[1545],{"type":65,"value":1426},{"type":60,"tag":210,"props":1547,"children":1548},{"style":223},[1549],{"type":65,"value":1431},{"type":60,"tag":210,"props":1551,"children":1552},{"style":217},[1553],{"type":65,"value":86},{"type":60,"tag":210,"props":1555,"children":1556},{"style":274},[1557],{"type":65,"value":471},{"type":60,"tag":210,"props":1559,"children":1560},{"style":217},[1561],{"type":65,"value":405},{"type":60,"tag":210,"props":1563,"children":1564},{"style":217},[1565],{"type":65,"value":1566}," null\n",{"type":60,"tag":210,"props":1568,"children":1569},{"class":212,"line":550},[1570],{"type":60,"tag":210,"props":1571,"children":1572},{"style":1039},[1573],{"type":65,"value":1574}," // Redirect to path\n",{"type":60,"tag":210,"props":1576,"children":1577},{"class":212,"line":600},[1578,1582,1586,1590,1595,1600,1604,1608,1612,1616,1621],{"type":60,"tag":210,"props":1579,"children":1580},{"style":408},[1581],{"type":65,"value":1050},{"type":60,"tag":210,"props":1583,"children":1584},{"style":284},[1585],{"type":65,"value":1055},{"type":60,"tag":210,"props":1587,"children":1588},{"style":223},[1589],{"type":65,"value":319},{"type":60,"tag":210,"props":1591,"children":1592},{"style":274},[1593],{"type":65,"value":1594},"redirectPath",{"type":60,"tag":210,"props":1596,"children":1597},{"style":217},[1598],{"type":65,"value":1599}," ||",{"type":60,"tag":210,"props":1601,"children":1602},{"style":217},[1603],{"type":65,"value":511},{"type":60,"tag":210,"props":1605,"children":1606},{"style":250},[1607],{"type":65,"value":1068},{"type":60,"tag":210,"props":1609,"children":1610},{"style":217},[1611],{"type":65,"value":521},{"type":60,"tag":210,"props":1613,"children":1614},{"style":223},[1615],{"type":65,"value":1431},{"type":60,"tag":210,"props":1617,"children":1618},{"style":217},[1619],{"type":65,"value":1620},";",{"type":60,"tag":210,"props":1622,"children":1623},{"style":223},[1624],{"type":65,"value":1625}," \n",{"type":60,"tag":210,"props":1627,"children":1628},{"class":212,"line":609},[1629],{"type":60,"tag":210,"props":1630,"children":1631},{"style":217},[1632],{"type":65,"value":1084},{"type":60,"tag":210,"props":1634,"children":1635},{"class":212,"line":626},[1636,1640,1644,1648,1652,1656,1660],{"type":60,"tag":210,"props":1637,"children":1638},{"style":217},[1639],{"type":65,"value":1092},{"type":60,"tag":210,"props":1641,"children":1642},{"style":217},[1643],{"type":65,"value":390},{"type":60,"tag":210,"props":1645,"children":1646},{"style":223},[1647],{"type":65,"value":1101},{"type":60,"tag":210,"props":1649,"children":1650},{"style":217},[1651],{"type":65,"value":457},{"type":60,"tag":210,"props":1653,"children":1654},{"style":1108},[1655],{"type":65,"value":1111},{"type":60,"tag":210,"props":1657,"children":1658},{"style":217},[1659],{"type":65,"value":400},{"type":60,"tag":210,"props":1661,"children":1662},{"style":274},[1663],{"type":65,"value":329},{"type":60,"tag":210,"props":1665,"children":1666},{"class":212,"line":643},[1667,1671,1675],{"type":60,"tag":210,"props":1668,"children":1669},{"style":217},[1670],{"type":65,"value":615},{"type":60,"tag":210,"props":1672,"children":1673},{"style":223},[1674],{"type":65,"value":226},{"type":60,"tag":210,"props":1676,"children":1677},{"style":217},[1678],{"type":65,"value":262},{"type":60,"tag":210,"props":1680,"children":1681},{"class":212,"line":661},[1682,1686,1690],{"type":60,"tag":210,"props":1683,"children":1684},{"style":217},[1685],{"type":65,"value":220},{"type":60,"tag":210,"props":1687,"children":1688},{"style":223},[1689],{"type":65,"value":636},{"type":60,"tag":210,"props":1691,"children":1692},{"style":217},[1693],{"type":65,"value":262},{"type":60,"tag":210,"props":1695,"children":1696},{"class":212,"line":705},[1697,1701,1705,1709,1713,1717,1721],{"type":60,"tag":210,"props":1698,"children":1699},{"style":217},[1700],{"type":65,"value":649},{"type":60,"tag":210,"props":1702,"children":1703},{"style":223},[1704],{"type":65,"value":654},{"type":60,"tag":210,"props":1706,"children":1707},{"style":217},[1708],{"type":65,"value":1172},{"type":60,"tag":210,"props":1710,"children":1711},{"style":274},[1712],{"type":65,"value":1177},{"type":60,"tag":210,"props":1714,"children":1715},{"style":217},[1716],{"type":65,"value":615},{"type":60,"tag":210,"props":1718,"children":1719},{"style":223},[1720],{"type":65,"value":654},{"type":60,"tag":210,"props":1722,"children":1723},{"style":217},[1724],{"type":65,"value":262},{"type":60,"tag":210,"props":1726,"children":1727},{"class":212,"line":714},[1728,1732,1736],{"type":60,"tag":210,"props":1729,"children":1730},{"style":217},[1731],{"type":65,"value":615},{"type":60,"tag":210,"props":1733,"children":1734},{"style":223},[1735],{"type":65,"value":636},{"type":60,"tag":210,"props":1737,"children":1738},{"style":217},[1739],{"type":65,"value":262},{"type":60,"tag":1741,"props":1742,"children":1743},"style",{},[1744],{"type":65,"value":1745},"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 .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);}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":265,"depth":265,"links":1747},[1748,1750],{"id":137,"depth":265,"text":1749},"Log-in page - /login",{"id":864,"depth":265,"text":1751,"children":1752},"Confirm page - /confirm",[1753],{"id":1208,"depth":295,"text":1211},"markdown","content:3.authentication.md","content","3.authentication.md","md",[1760,1762],{"_path":6,"title":5,"description":1761},"@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.",{"_path":22,"title":21,"description":1763},"Make requests to the Supabase API with the useSupabaseClient composable",1709806275706] \ No newline at end of file +[{"data":1,"prerenderedAt":1770},["Reactive",2],{"navigation":3,"/authentication":58,"/authentication-surround":1765},[4,8,12,46,50,54],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","i-heroicons-rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","i-heroicons-lock-closed",{"title":13,"_path":14,"children":15,"icon":45},"Usage","/usage",[16,29],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23,26],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseSession","/usage/composables/usesupabasesession",{"title":27,"_path":28},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":30,"_path":31,"children":32},"Server services","/usage/services",[33,36,39,42],{"title":34,"_path":35},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":37,"_path":38},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":40,"_path":41},"serverSupabaseSession","/usage/services/serversupabasesession",{"title":43,"_path":44},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":47,"_path":48,"icon":49},"Demo","/demo","i-heroicons-computer-desktop-20-solid",{"title":51,"_path":52,"icon":53},"Changelog","/changelog","i-heroicons-bookmark",{"title":55,"_path":56,"icon":57},"Roadmap","/roadmap","i-heroicons-map",{"_path":10,"_dir":59,"_draft":60,"_partial":60,"_locale":59,"title":9,"description":61,"icon":11,"body":62,"_type":1760,"_id":1761,"_source":1762,"_file":1763,"_extension":1764},"",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":63,"children":64,"toc":1752},"root",[65,93,123,140,153,173,190,204,842,868,879,884,899,1211,1218,1223,1246,1746],{"type":66,"tag":67,"props":68,"children":69},"element","p",{},[70,73,82,84,91],{"type":71,"value":72},"text","With the default options, the module requires a log-in page and a confirm page to handle the ",{"type":66,"tag":74,"props":75,"children":79},"a",{"href":76,"rel":77},"https://supabase.com/docs/guides/resources/glossary#pkce",[78],"nofollow",[80],{"type":71,"value":81},"PKCE authorization code flow",{"type":71,"value":83},". If you want to understand how it works under the hood, you can read this ",{"type":66,"tag":74,"props":85,"children":88},{"href":86,"rel":87},"https://supabase.com/docs/guides/auth/server-side-rendering#understanding-the-authentication-flow",[78],[89],{"type":71,"value":90},"section",{"type":71,"value":92},".",{"type":66,"tag":67,"props":94,"children":95},{},[96,98,105,107,113,115,121],{"type":71,"value":97},"All you need to do is to create a ",{"type":66,"tag":99,"props":100,"children":102},"code",{"className":101},[],[103],{"type":71,"value":104},"login.vue",{"type":71,"value":106}," and ",{"type":66,"tag":99,"props":108,"children":110},{"className":109},[],[111],{"type":71,"value":112},"confirm.vue",{"type":71,"value":114}," page in the ",{"type":66,"tag":99,"props":116,"children":118},{"className":117},[],[119],{"type":71,"value":120},"pages",{"type":71,"value":122}," folder.",{"type":66,"tag":124,"props":125,"children":127},"callout",{"icon":126},"i-heroicons-light-bulb",[128],{"type":66,"tag":67,"props":129,"children":130},{},[131,133,139],{"type":71,"value":132},"For advanced users who want to implement the auth behaviour themselves, you can disable or override the ",{"type":66,"tag":74,"props":134,"children":136},{"href":135},"/get-started#redirect",[137],{"type":71,"value":138},"redirect options",{"type":71,"value":92},{"type":66,"tag":141,"props":142,"children":144},"h2",{"id":143},"log-in-page-login",[145,147],{"type":71,"value":146},"Log-in page - ",{"type":66,"tag":99,"props":148,"children":150},{"className":149},[],[151],{"type":71,"value":152},"/login",{"type":66,"tag":67,"props":154,"children":155},{},[156,158,164,166,171],{"type":71,"value":157},"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":66,"tag":74,"props":159,"children":161},{"href":160},"/get-started#redirectoptions",[162],{"type":71,"value":163},"exclude",{"type":71,"value":165}," redirect option. Alternatively, you can enable the redirect only for certain routes using the ",{"type":66,"tag":74,"props":167,"children":168},{"href":160},[169],{"type":71,"value":170},"include",{"type":71,"value":172}," redirect option.",{"type":66,"tag":124,"props":174,"children":177},{"icon":175,"color":176},"i-heroicons-exclamation-triangle-20-solid","amber",[178],{"type":66,"tag":67,"props":179,"children":180},{},[181,183,189],{"type":71,"value":182},"Ensure to activate the authentication providers you want in the Supabase Dashboard under ",{"type":66,"tag":99,"props":184,"children":186},{"className":185},[],[187],{"type":71,"value":188},"Authentication -> Providers",{"type":71,"value":92},{"type":66,"tag":67,"props":191,"children":192},{},[193,195,202],{"type":71,"value":194},"The log-in page initiates the log-in method(s) you choose from the ",{"type":66,"tag":74,"props":196,"children":199},{"href":197,"rel":198},"https://supabase.com/docs/reference/javascript/auth-signinwithpassword",[78],[200],{"type":71,"value":201},"available authorization methods",{"type":71,"value":203}," provided by Supabase, it could looks like:",{"type":66,"tag":205,"props":206,"children":211},"pre",{"className":207,"code":208,"filename":209,"language":210,"meta":59,"style":59},"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",[212],{"type":66,"tag":99,"props":213,"children":214},{"__ignoreMap":59},[215,269,299,336,346,383,450,483,500,532,541,554,604,613,630,647,665,709,718,735,748,775,800,809,826],{"type":66,"tag":216,"props":217,"children":220},"span",{"class":218,"line":219},"line",1,[221,227,233,239,244,249,254,260,264],{"type":66,"tag":216,"props":222,"children":224},{"style":223},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[225],{"type":71,"value":226},"\u003C",{"type":66,"tag":216,"props":228,"children":230},{"style":229},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[231],{"type":71,"value":232},"script",{"type":66,"tag":216,"props":234,"children":236},{"style":235},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[237],{"type":71,"value":238}," setup",{"type":66,"tag":216,"props":240,"children":241},{"style":235},[242],{"type":71,"value":243}," lang",{"type":66,"tag":216,"props":245,"children":246},{"style":223},[247],{"type":71,"value":248},"=",{"type":66,"tag":216,"props":250,"children":251},{"style":223},[252],{"type":71,"value":253},"\"",{"type":66,"tag":216,"props":255,"children":257},{"style":256},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[258],{"type":71,"value":259},"ts",{"type":66,"tag":216,"props":261,"children":262},{"style":223},[263],{"type":71,"value":253},{"type":66,"tag":216,"props":265,"children":266},{"style":223},[267],{"type":71,"value":268},">\n",{"type":66,"tag":216,"props":270,"children":272},{"class":218,"line":271},2,[273,278,284,288,294],{"type":66,"tag":216,"props":274,"children":275},{"style":235},[276],{"type":71,"value":277},"const",{"type":66,"tag":216,"props":279,"children":281},{"style":280},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[282],{"type":71,"value":283}," supabase ",{"type":66,"tag":216,"props":285,"children":286},{"style":223},[287],{"type":71,"value":248},{"type":66,"tag":216,"props":289,"children":291},{"style":290},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[292],{"type":71,"value":293}," useSupabaseClient",{"type":66,"tag":216,"props":295,"children":296},{"style":280},[297],{"type":71,"value":298},"()\n",{"type":66,"tag":216,"props":300,"children":302},{"class":218,"line":301},3,[303,307,312,316,321,326,331],{"type":66,"tag":216,"props":304,"children":305},{"style":235},[306],{"type":71,"value":277},{"type":66,"tag":216,"props":308,"children":309},{"style":280},[310],{"type":71,"value":311}," email ",{"type":66,"tag":216,"props":313,"children":314},{"style":223},[315],{"type":71,"value":248},{"type":66,"tag":216,"props":317,"children":318},{"style":290},[319],{"type":71,"value":320}," ref",{"type":66,"tag":216,"props":322,"children":323},{"style":280},[324],{"type":71,"value":325},"(",{"type":66,"tag":216,"props":327,"children":328},{"style":223},[329],{"type":71,"value":330},"''",{"type":66,"tag":216,"props":332,"children":333},{"style":280},[334],{"type":71,"value":335},")\n",{"type":66,"tag":216,"props":337,"children":339},{"class":218,"line":338},4,[340],{"type":66,"tag":216,"props":341,"children":343},{"emptyLinePlaceholder":342},true,[344],{"type":71,"value":345},"\n",{"type":66,"tag":216,"props":347,"children":349},{"class":218,"line":348},5,[350,354,359,363,368,373,378],{"type":66,"tag":216,"props":351,"children":352},{"style":235},[353],{"type":71,"value":277},{"type":66,"tag":216,"props":355,"children":356},{"style":280},[357],{"type":71,"value":358}," signInWithOtp ",{"type":66,"tag":216,"props":360,"children":361},{"style":223},[362],{"type":71,"value":248},{"type":66,"tag":216,"props":364,"children":365},{"style":235},[366],{"type":71,"value":367}," async",{"type":66,"tag":216,"props":369,"children":370},{"style":223},[371],{"type":71,"value":372}," ()",{"type":66,"tag":216,"props":374,"children":375},{"style":235},[376],{"type":71,"value":377}," =>",{"type":66,"tag":216,"props":379,"children":380},{"style":223},[381],{"type":71,"value":382}," {\n",{"type":66,"tag":216,"props":384,"children":386},{"class":218,"line":385},6,[387,392,397,402,407,412,418,423,427,432,436,441,445],{"type":66,"tag":216,"props":388,"children":389},{"style":235},[390],{"type":71,"value":391}," const",{"type":66,"tag":216,"props":393,"children":394},{"style":223},[395],{"type":71,"value":396}," {",{"type":66,"tag":216,"props":398,"children":399},{"style":280},[400],{"type":71,"value":401}," error",{"type":66,"tag":216,"props":403,"children":404},{"style":223},[405],{"type":71,"value":406}," }",{"type":66,"tag":216,"props":408,"children":409},{"style":223},[410],{"type":71,"value":411}," =",{"type":66,"tag":216,"props":413,"children":415},{"style":414},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[416],{"type":71,"value":417}," await",{"type":66,"tag":216,"props":419,"children":420},{"style":280},[421],{"type":71,"value":422}," supabase",{"type":66,"tag":216,"props":424,"children":425},{"style":223},[426],{"type":71,"value":92},{"type":66,"tag":216,"props":428,"children":429},{"style":280},[430],{"type":71,"value":431},"auth",{"type":66,"tag":216,"props":433,"children":434},{"style":223},[435],{"type":71,"value":92},{"type":66,"tag":216,"props":437,"children":438},{"style":290},[439],{"type":71,"value":440},"signInWithOtp",{"type":66,"tag":216,"props":442,"children":443},{"style":229},[444],{"type":71,"value":325},{"type":66,"tag":216,"props":446,"children":447},{"style":223},[448],{"type":71,"value":449},"{\n",{"type":66,"tag":216,"props":451,"children":453},{"class":218,"line":452},7,[454,459,464,469,473,478],{"type":66,"tag":216,"props":455,"children":456},{"style":229},[457],{"type":71,"value":458}," email",{"type":66,"tag":216,"props":460,"children":461},{"style":223},[462],{"type":71,"value":463},":",{"type":66,"tag":216,"props":465,"children":466},{"style":280},[467],{"type":71,"value":468}," email",{"type":66,"tag":216,"props":470,"children":471},{"style":223},[472],{"type":71,"value":92},{"type":66,"tag":216,"props":474,"children":475},{"style":280},[476],{"type":71,"value":477},"value",{"type":66,"tag":216,"props":479,"children":480},{"style":223},[481],{"type":71,"value":482},",\n",{"type":66,"tag":216,"props":484,"children":486},{"class":218,"line":485},8,[487,492,496],{"type":66,"tag":216,"props":488,"children":489},{"style":229},[490],{"type":71,"value":491}," options",{"type":66,"tag":216,"props":493,"children":494},{"style":223},[495],{"type":71,"value":463},{"type":66,"tag":216,"props":497,"children":498},{"style":223},[499],{"type":71,"value":382},{"type":66,"tag":216,"props":501,"children":503},{"class":218,"line":502},9,[504,509,513,518,523,528],{"type":66,"tag":216,"props":505,"children":506},{"style":229},[507],{"type":71,"value":508}," emailRedirectTo",{"type":66,"tag":216,"props":510,"children":511},{"style":223},[512],{"type":71,"value":463},{"type":66,"tag":216,"props":514,"children":515},{"style":223},[516],{"type":71,"value":517}," '",{"type":66,"tag":216,"props":519,"children":520},{"style":256},[521],{"type":71,"value":522},"http://localhost:3000/confirm",{"type":66,"tag":216,"props":524,"children":525},{"style":223},[526],{"type":71,"value":527},"'",{"type":66,"tag":216,"props":529,"children":530},{"style":223},[531],{"type":71,"value":482},{"type":66,"tag":216,"props":533,"children":535},{"class":218,"line":534},10,[536],{"type":66,"tag":216,"props":537,"children":538},{"style":223},[539],{"type":71,"value":540}," }\n",{"type":66,"tag":216,"props":542,"children":544},{"class":218,"line":543},11,[545,550],{"type":66,"tag":216,"props":546,"children":547},{"style":223},[548],{"type":71,"value":549}," }",{"type":66,"tag":216,"props":551,"children":552},{"style":229},[553],{"type":71,"value":335},{"type":66,"tag":216,"props":555,"children":557},{"class":218,"line":556},12,[558,563,568,573,578,583,587,592,596,600],{"type":66,"tag":216,"props":559,"children":560},{"style":414},[561],{"type":71,"value":562}," if",{"type":66,"tag":216,"props":564,"children":565},{"style":229},[566],{"type":71,"value":567}," (",{"type":66,"tag":216,"props":569,"children":570},{"style":280},[571],{"type":71,"value":572},"error",{"type":66,"tag":216,"props":574,"children":575},{"style":229},[576],{"type":71,"value":577},") ",{"type":66,"tag":216,"props":579,"children":580},{"style":280},[581],{"type":71,"value":582},"console",{"type":66,"tag":216,"props":584,"children":585},{"style":223},[586],{"type":71,"value":92},{"type":66,"tag":216,"props":588,"children":589},{"style":290},[590],{"type":71,"value":591},"log",{"type":66,"tag":216,"props":593,"children":594},{"style":229},[595],{"type":71,"value":325},{"type":66,"tag":216,"props":597,"children":598},{"style":280},[599],{"type":71,"value":572},{"type":66,"tag":216,"props":601,"children":602},{"style":229},[603],{"type":71,"value":335},{"type":66,"tag":216,"props":605,"children":607},{"class":218,"line":606},13,[608],{"type":66,"tag":216,"props":609,"children":610},{"style":223},[611],{"type":71,"value":612},"}\n",{"type":66,"tag":216,"props":614,"children":616},{"class":218,"line":615},14,[617,622,626],{"type":66,"tag":216,"props":618,"children":619},{"style":223},[620],{"type":71,"value":621},"\u003C/",{"type":66,"tag":216,"props":623,"children":624},{"style":229},[625],{"type":71,"value":232},{"type":66,"tag":216,"props":627,"children":628},{"style":223},[629],{"type":71,"value":268},{"type":66,"tag":216,"props":631,"children":633},{"class":218,"line":632},15,[634,638,643],{"type":66,"tag":216,"props":635,"children":636},{"style":223},[637],{"type":71,"value":226},{"type":66,"tag":216,"props":639,"children":640},{"style":229},[641],{"type":71,"value":642},"template",{"type":66,"tag":216,"props":644,"children":645},{"style":223},[646],{"type":71,"value":268},{"type":66,"tag":216,"props":648,"children":650},{"class":218,"line":649},16,[651,656,661],{"type":66,"tag":216,"props":652,"children":653},{"style":223},[654],{"type":71,"value":655}," \u003C",{"type":66,"tag":216,"props":657,"children":658},{"style":229},[659],{"type":71,"value":660},"div",{"type":66,"tag":216,"props":662,"children":663},{"style":223},[664],{"type":71,"value":268},{"type":66,"tag":216,"props":666,"children":668},{"class":218,"line":667},17,[669,674,679,684,689,693,697,701,705],{"type":66,"tag":216,"props":670,"children":671},{"style":223},[672],{"type":71,"value":673}," \u003C",{"type":66,"tag":216,"props":675,"children":676},{"style":229},[677],{"type":71,"value":678},"button",{"type":66,"tag":216,"props":680,"children":681},{"style":223},[682],{"type":71,"value":683}," @",{"type":66,"tag":216,"props":685,"children":686},{"style":235},[687],{"type":71,"value":688},"click",{"type":66,"tag":216,"props":690,"children":691},{"style":223},[692],{"type":71,"value":248},{"type":66,"tag":216,"props":694,"children":695},{"style":223},[696],{"type":71,"value":253},{"type":66,"tag":216,"props":698,"children":699},{"style":280},[700],{"type":71,"value":440},{"type":66,"tag":216,"props":702,"children":703},{"style":223},[704],{"type":71,"value":253},{"type":66,"tag":216,"props":706,"children":707},{"style":223},[708],{"type":71,"value":268},{"type":66,"tag":216,"props":710,"children":712},{"class":218,"line":711},18,[713],{"type":66,"tag":216,"props":714,"children":715},{"style":280},[716],{"type":71,"value":717}," Sign In with E-Mail\n",{"type":66,"tag":216,"props":719,"children":721},{"class":218,"line":720},19,[722,727,731],{"type":66,"tag":216,"props":723,"children":724},{"style":223},[725],{"type":71,"value":726}," \u003C/",{"type":66,"tag":216,"props":728,"children":729},{"style":229},[730],{"type":71,"value":678},{"type":66,"tag":216,"props":732,"children":733},{"style":223},[734],{"type":71,"value":268},{"type":66,"tag":216,"props":736,"children":738},{"class":218,"line":737},20,[739,743],{"type":66,"tag":216,"props":740,"children":741},{"style":223},[742],{"type":71,"value":673},{"type":66,"tag":216,"props":744,"children":745},{"style":229},[746],{"type":71,"value":747},"input\n",{"type":66,"tag":216,"props":749,"children":751},{"class":218,"line":750},21,[752,757,761,765,770],{"type":66,"tag":216,"props":753,"children":754},{"style":235},[755],{"type":71,"value":756}," v-model",{"type":66,"tag":216,"props":758,"children":759},{"style":223},[760],{"type":71,"value":248},{"type":66,"tag":216,"props":762,"children":763},{"style":223},[764],{"type":71,"value":253},{"type":66,"tag":216,"props":766,"children":767},{"style":280},[768],{"type":71,"value":769},"email",{"type":66,"tag":216,"props":771,"children":772},{"style":223},[773],{"type":71,"value":774},"\"\n",{"type":66,"tag":216,"props":776,"children":778},{"class":218,"line":777},22,[779,784,788,792,796],{"type":66,"tag":216,"props":780,"children":781},{"style":235},[782],{"type":71,"value":783}," type",{"type":66,"tag":216,"props":785,"children":786},{"style":223},[787],{"type":71,"value":248},{"type":66,"tag":216,"props":789,"children":790},{"style":223},[791],{"type":71,"value":253},{"type":66,"tag":216,"props":793,"children":794},{"style":256},[795],{"type":71,"value":769},{"type":66,"tag":216,"props":797,"children":798},{"style":223},[799],{"type":71,"value":774},{"type":66,"tag":216,"props":801,"children":803},{"class":218,"line":802},23,[804],{"type":66,"tag":216,"props":805,"children":806},{"style":223},[807],{"type":71,"value":808}," />\n",{"type":66,"tag":216,"props":810,"children":812},{"class":218,"line":811},24,[813,818,822],{"type":66,"tag":216,"props":814,"children":815},{"style":223},[816],{"type":71,"value":817}," \u003C/",{"type":66,"tag":216,"props":819,"children":820},{"style":229},[821],{"type":71,"value":660},{"type":66,"tag":216,"props":823,"children":824},{"style":223},[825],{"type":71,"value":268},{"type":66,"tag":216,"props":827,"children":829},{"class":218,"line":828},25,[830,834,838],{"type":66,"tag":216,"props":831,"children":832},{"style":223},[833],{"type":71,"value":621},{"type":66,"tag":216,"props":835,"children":836},{"style":229},[837],{"type":71,"value":642},{"type":66,"tag":216,"props":839,"children":840},{"style":223},[841],{"type":71,"value":268},{"type":66,"tag":67,"props":843,"children":844},{},[845,847,852,854,858,860,866],{"type":71,"value":846},"Once the authorization flow is triggered using the ",{"type":66,"tag":99,"props":848,"children":850},{"className":849},[],[851],{"type":71,"value":431},{"type":71,"value":853}," wrapper of the ",{"type":66,"tag":74,"props":855,"children":856},{"href":22},[857],{"type":71,"value":21},{"type":71,"value":859}," composable, the session management is handled automatically and the user will be redirected to the page you specify in the redirect option (",{"type":66,"tag":99,"props":861,"children":863},{"className":862},[],[864],{"type":71,"value":865},"/confirm",{"type":71,"value":867}," by default).",{"type":66,"tag":141,"props":869,"children":871},{"id":870},"confirm-page-confirm",[872,874],{"type":71,"value":873},"Confirm page - ",{"type":66,"tag":99,"props":875,"children":877},{"className":876},[],[878],{"type":71,"value":865},{"type":66,"tag":67,"props":880,"children":881},{},[882],{"type":71,"value":883},"The confirmation page receives the supabase callback. From there you can check the user value and redirect to the appropriate page.",{"type":66,"tag":124,"props":885,"children":886},{"icon":126},[887],{"type":66,"tag":67,"props":888,"children":889},{},[890,892,898],{"type":71,"value":891},"The redirect URL must be configured in your Supabase dashboard under ",{"type":66,"tag":99,"props":893,"children":895},{"className":894},[],[896],{"type":71,"value":897},"Authentication -> URL Configuration -> Redirect URLs",{"type":71,"value":92},{"type":66,"tag":205,"props":900,"children":903},{"className":207,"code":901,"filename":902,"language":210,"meta":59,"style":59},"\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",[904],{"type":66,"tag":99,"props":905,"children":906},{"__ignoreMap":59},[907,946,971,978,1008,1040,1049,1083,1091,1126,1141,1148,1163,1196],{"type":66,"tag":216,"props":908,"children":909},{"class":218,"line":219},[910,914,918,922,926,930,934,938,942],{"type":66,"tag":216,"props":911,"children":912},{"style":223},[913],{"type":71,"value":226},{"type":66,"tag":216,"props":915,"children":916},{"style":229},[917],{"type":71,"value":232},{"type":66,"tag":216,"props":919,"children":920},{"style":235},[921],{"type":71,"value":238},{"type":66,"tag":216,"props":923,"children":924},{"style":235},[925],{"type":71,"value":243},{"type":66,"tag":216,"props":927,"children":928},{"style":223},[929],{"type":71,"value":248},{"type":66,"tag":216,"props":931,"children":932},{"style":223},[933],{"type":71,"value":253},{"type":66,"tag":216,"props":935,"children":936},{"style":256},[937],{"type":71,"value":259},{"type":66,"tag":216,"props":939,"children":940},{"style":223},[941],{"type":71,"value":253},{"type":66,"tag":216,"props":943,"children":944},{"style":223},[945],{"type":71,"value":268},{"type":66,"tag":216,"props":947,"children":948},{"class":218,"line":271},[949,953,958,962,967],{"type":66,"tag":216,"props":950,"children":951},{"style":235},[952],{"type":71,"value":277},{"type":66,"tag":216,"props":954,"children":955},{"style":280},[956],{"type":71,"value":957}," user ",{"type":66,"tag":216,"props":959,"children":960},{"style":223},[961],{"type":71,"value":248},{"type":66,"tag":216,"props":963,"children":964},{"style":290},[965],{"type":71,"value":966}," useSupabaseUser",{"type":66,"tag":216,"props":968,"children":969},{"style":280},[970],{"type":71,"value":298},{"type":66,"tag":216,"props":972,"children":973},{"class":218,"line":301},[974],{"type":66,"tag":216,"props":975,"children":976},{"emptyLinePlaceholder":342},[977],{"type":71,"value":345},{"type":66,"tag":216,"props":979,"children":980},{"class":218,"line":338},[981,986,991,996,1000,1004],{"type":66,"tag":216,"props":982,"children":983},{"style":290},[984],{"type":71,"value":985},"watch",{"type":66,"tag":216,"props":987,"children":988},{"style":280},[989],{"type":71,"value":990},"(user",{"type":66,"tag":216,"props":992,"children":993},{"style":223},[994],{"type":71,"value":995},",",{"type":66,"tag":216,"props":997,"children":998},{"style":223},[999],{"type":71,"value":372},{"type":66,"tag":216,"props":1001,"children":1002},{"style":235},[1003],{"type":71,"value":377},{"type":66,"tag":216,"props":1005,"children":1006},{"style":223},[1007],{"type":71,"value":382},{"type":66,"tag":216,"props":1009,"children":1010},{"class":218,"line":348},[1011,1015,1019,1024,1028,1032,1036],{"type":66,"tag":216,"props":1012,"children":1013},{"style":414},[1014],{"type":71,"value":562},{"type":66,"tag":216,"props":1016,"children":1017},{"style":229},[1018],{"type":71,"value":567},{"type":66,"tag":216,"props":1020,"children":1021},{"style":280},[1022],{"type":71,"value":1023},"user",{"type":66,"tag":216,"props":1025,"children":1026},{"style":223},[1027],{"type":71,"value":92},{"type":66,"tag":216,"props":1029,"children":1030},{"style":280},[1031],{"type":71,"value":477},{"type":66,"tag":216,"props":1033,"children":1034},{"style":229},[1035],{"type":71,"value":577},{"type":66,"tag":216,"props":1037,"children":1038},{"style":223},[1039],{"type":71,"value":449},{"type":66,"tag":216,"props":1041,"children":1042},{"class":218,"line":385},[1043],{"type":66,"tag":216,"props":1044,"children":1046},{"style":1045},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[1047],{"type":71,"value":1048}," // Redirect to protected page\n",{"type":66,"tag":216,"props":1050,"children":1051},{"class":218,"line":452},[1052,1057,1062,1066,1070,1075,1079],{"type":66,"tag":216,"props":1053,"children":1054},{"style":414},[1055],{"type":71,"value":1056}," return",{"type":66,"tag":216,"props":1058,"children":1059},{"style":290},[1060],{"type":71,"value":1061}," navigateTo",{"type":66,"tag":216,"props":1063,"children":1064},{"style":229},[1065],{"type":71,"value":325},{"type":66,"tag":216,"props":1067,"children":1068},{"style":223},[1069],{"type":71,"value":527},{"type":66,"tag":216,"props":1071,"children":1072},{"style":256},[1073],{"type":71,"value":1074},"/",{"type":66,"tag":216,"props":1076,"children":1077},{"style":223},[1078],{"type":71,"value":527},{"type":66,"tag":216,"props":1080,"children":1081},{"style":229},[1082],{"type":71,"value":335},{"type":66,"tag":216,"props":1084,"children":1085},{"class":218,"line":485},[1086],{"type":66,"tag":216,"props":1087,"children":1088},{"style":223},[1089],{"type":71,"value":1090}," }\n",{"type":66,"tag":216,"props":1092,"children":1093},{"class":218,"line":502},[1094,1099,1103,1108,1112,1118,1122],{"type":66,"tag":216,"props":1095,"children":1096},{"style":223},[1097],{"type":71,"value":1098},"},",{"type":66,"tag":216,"props":1100,"children":1101},{"style":223},[1102],{"type":71,"value":396},{"type":66,"tag":216,"props":1104,"children":1105},{"style":229},[1106],{"type":71,"value":1107}," immediate",{"type":66,"tag":216,"props":1109,"children":1110},{"style":223},[1111],{"type":71,"value":463},{"type":66,"tag":216,"props":1113,"children":1115},{"style":1114},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1116],{"type":71,"value":1117}," true",{"type":66,"tag":216,"props":1119,"children":1120},{"style":223},[1121],{"type":71,"value":406},{"type":66,"tag":216,"props":1123,"children":1124},{"style":280},[1125],{"type":71,"value":335},{"type":66,"tag":216,"props":1127,"children":1128},{"class":218,"line":534},[1129,1133,1137],{"type":66,"tag":216,"props":1130,"children":1131},{"style":223},[1132],{"type":71,"value":621},{"type":66,"tag":216,"props":1134,"children":1135},{"style":229},[1136],{"type":71,"value":232},{"type":66,"tag":216,"props":1138,"children":1139},{"style":223},[1140],{"type":71,"value":268},{"type":66,"tag":216,"props":1142,"children":1143},{"class":218,"line":543},[1144],{"type":66,"tag":216,"props":1145,"children":1146},{"emptyLinePlaceholder":342},[1147],{"type":71,"value":345},{"type":66,"tag":216,"props":1149,"children":1150},{"class":218,"line":556},[1151,1155,1159],{"type":66,"tag":216,"props":1152,"children":1153},{"style":223},[1154],{"type":71,"value":226},{"type":66,"tag":216,"props":1156,"children":1157},{"style":229},[1158],{"type":71,"value":642},{"type":66,"tag":216,"props":1160,"children":1161},{"style":223},[1162],{"type":71,"value":268},{"type":66,"tag":216,"props":1164,"children":1165},{"class":218,"line":606},[1166,1170,1174,1179,1184,1188,1192],{"type":66,"tag":216,"props":1167,"children":1168},{"style":223},[1169],{"type":71,"value":655},{"type":66,"tag":216,"props":1171,"children":1172},{"style":229},[1173],{"type":71,"value":660},{"type":66,"tag":216,"props":1175,"children":1176},{"style":223},[1177],{"type":71,"value":1178},">",{"type":66,"tag":216,"props":1180,"children":1181},{"style":280},[1182],{"type":71,"value":1183},"Waiting for login...",{"type":66,"tag":216,"props":1185,"children":1186},{"style":223},[1187],{"type":71,"value":621},{"type":66,"tag":216,"props":1189,"children":1190},{"style":229},[1191],{"type":71,"value":660},{"type":66,"tag":216,"props":1193,"children":1194},{"style":223},[1195],{"type":71,"value":268},{"type":66,"tag":216,"props":1197,"children":1198},{"class":218,"line":615},[1199,1203,1207],{"type":66,"tag":216,"props":1200,"children":1201},{"style":223},[1202],{"type":71,"value":621},{"type":66,"tag":216,"props":1204,"children":1205},{"style":229},[1206],{"type":71,"value":642},{"type":66,"tag":216,"props":1208,"children":1209},{"style":223},[1210],{"type":71,"value":268},{"type":66,"tag":1212,"props":1213,"children":1215},"h3",{"id":1214},"redirect-path",[1216],{"type":71,"value":1217},"Redirect path",{"type":66,"tag":67,"props":1219,"children":1220},{},[1221],{"type":71,"value":1222},"You can easily handle redirection to the initial requested route after login.",{"type":66,"tag":124,"props":1224,"children":1225},{"icon":126},[1226],{"type":66,"tag":67,"props":1227,"children":1228},{},[1229,1231,1237,1239,1244],{"type":71,"value":1230},"You must enable the ",{"type":66,"tag":99,"props":1232,"children":1234},{"className":1233},[],[1235],{"type":71,"value":1236},"cookieRedirect",{"type":71,"value":1238}," option of the ",{"type":66,"tag":74,"props":1240,"children":1241},{"href":160},[1242],{"type":71,"value":1243},"redirectOptions",{"type":71,"value":1245}," to allow cookie storage and take benefit of this feature.",{"type":66,"tag":205,"props":1247,"children":1249},{"className":207,"code":1248,"filename":902,"language":210,"meta":59,"style":59},"\u003Cscript setup lang=\"ts\">\nconst user = useSupabaseUser()\n\n// Get redirect path from cookies\nconst cookieName = 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",[1250],{"type":66,"tag":99,"props":1251,"children":1252},{"__ignoreMap":59},[1253,1292,1315,1322,1330,1383,1447,1454,1481,1512,1520,1573,1581,1632,1639,1670,1685,1700,1731],{"type":66,"tag":216,"props":1254,"children":1255},{"class":218,"line":219},[1256,1260,1264,1268,1272,1276,1280,1284,1288],{"type":66,"tag":216,"props":1257,"children":1258},{"style":223},[1259],{"type":71,"value":226},{"type":66,"tag":216,"props":1261,"children":1262},{"style":229},[1263],{"type":71,"value":232},{"type":66,"tag":216,"props":1265,"children":1266},{"style":235},[1267],{"type":71,"value":238},{"type":66,"tag":216,"props":1269,"children":1270},{"style":235},[1271],{"type":71,"value":243},{"type":66,"tag":216,"props":1273,"children":1274},{"style":223},[1275],{"type":71,"value":248},{"type":66,"tag":216,"props":1277,"children":1278},{"style":223},[1279],{"type":71,"value":253},{"type":66,"tag":216,"props":1281,"children":1282},{"style":256},[1283],{"type":71,"value":259},{"type":66,"tag":216,"props":1285,"children":1286},{"style":223},[1287],{"type":71,"value":253},{"type":66,"tag":216,"props":1289,"children":1290},{"style":223},[1291],{"type":71,"value":268},{"type":66,"tag":216,"props":1293,"children":1294},{"class":218,"line":271},[1295,1299,1303,1307,1311],{"type":66,"tag":216,"props":1296,"children":1297},{"style":235},[1298],{"type":71,"value":277},{"type":66,"tag":216,"props":1300,"children":1301},{"style":280},[1302],{"type":71,"value":957},{"type":66,"tag":216,"props":1304,"children":1305},{"style":223},[1306],{"type":71,"value":248},{"type":66,"tag":216,"props":1308,"children":1309},{"style":290},[1310],{"type":71,"value":966},{"type":66,"tag":216,"props":1312,"children":1313},{"style":280},[1314],{"type":71,"value":298},{"type":66,"tag":216,"props":1316,"children":1317},{"class":218,"line":301},[1318],{"type":66,"tag":216,"props":1319,"children":1320},{"emptyLinePlaceholder":342},[1321],{"type":71,"value":345},{"type":66,"tag":216,"props":1323,"children":1324},{"class":218,"line":338},[1325],{"type":66,"tag":216,"props":1326,"children":1327},{"style":1045},[1328],{"type":71,"value":1329},"// Get redirect path from cookies\n",{"type":66,"tag":216,"props":1331,"children":1332},{"class":218,"line":348},[1333,1337,1342,1346,1351,1356,1360,1365,1369,1374,1378],{"type":66,"tag":216,"props":1334,"children":1335},{"style":235},[1336],{"type":71,"value":277},{"type":66,"tag":216,"props":1338,"children":1339},{"style":280},[1340],{"type":71,"value":1341}," cookieName ",{"type":66,"tag":216,"props":1343,"children":1344},{"style":223},[1345],{"type":71,"value":248},{"type":66,"tag":216,"props":1347,"children":1348},{"style":290},[1349],{"type":71,"value":1350}," useRuntimeConfig",{"type":66,"tag":216,"props":1352,"children":1353},{"style":280},[1354],{"type":71,"value":1355},"()",{"type":66,"tag":216,"props":1357,"children":1358},{"style":223},[1359],{"type":71,"value":92},{"type":66,"tag":216,"props":1361,"children":1362},{"style":280},[1363],{"type":71,"value":1364},"public",{"type":66,"tag":216,"props":1366,"children":1367},{"style":223},[1368],{"type":71,"value":92},{"type":66,"tag":216,"props":1370,"children":1371},{"style":280},[1372],{"type":71,"value":1373},"supabase",{"type":66,"tag":216,"props":1375,"children":1376},{"style":223},[1377],{"type":71,"value":92},{"type":66,"tag":216,"props":1379,"children":1380},{"style":280},[1381],{"type":71,"value":1382},"cookieName\n",{"type":66,"tag":216,"props":1384,"children":1385},{"class":218,"line":385},[1386,1390,1395,1399,1404,1408,1413,1418,1423,1428,1433,1438,1442],{"type":66,"tag":216,"props":1387,"children":1388},{"style":235},[1389],{"type":71,"value":277},{"type":66,"tag":216,"props":1391,"children":1392},{"style":280},[1393],{"type":71,"value":1394}," redirectPath ",{"type":66,"tag":216,"props":1396,"children":1397},{"style":223},[1398],{"type":71,"value":248},{"type":66,"tag":216,"props":1400,"children":1401},{"style":290},[1402],{"type":71,"value":1403}," useCookie",{"type":66,"tag":216,"props":1405,"children":1406},{"style":280},[1407],{"type":71,"value":325},{"type":66,"tag":216,"props":1409,"children":1410},{"style":223},[1411],{"type":71,"value":1412},"`${",{"type":66,"tag":216,"props":1414,"children":1415},{"style":280},[1416],{"type":71,"value":1417},"cookieName",{"type":66,"tag":216,"props":1419,"children":1420},{"style":223},[1421],{"type":71,"value":1422},"}",{"type":66,"tag":216,"props":1424,"children":1425},{"style":256},[1426],{"type":71,"value":1427},"-redirect-path",{"type":66,"tag":216,"props":1429,"children":1430},{"style":223},[1431],{"type":71,"value":1432},"`",{"type":66,"tag":216,"props":1434,"children":1435},{"style":280},[1436],{"type":71,"value":1437},")",{"type":66,"tag":216,"props":1439,"children":1440},{"style":223},[1441],{"type":71,"value":92},{"type":66,"tag":216,"props":1443,"children":1444},{"style":280},[1445],{"type":71,"value":1446},"value\n",{"type":66,"tag":216,"props":1448,"children":1449},{"class":218,"line":452},[1450],{"type":66,"tag":216,"props":1451,"children":1452},{"emptyLinePlaceholder":342},[1453],{"type":71,"value":345},{"type":66,"tag":216,"props":1455,"children":1456},{"class":218,"line":485},[1457,1461,1465,1469,1473,1477],{"type":66,"tag":216,"props":1458,"children":1459},{"style":290},[1460],{"type":71,"value":985},{"type":66,"tag":216,"props":1462,"children":1463},{"style":280},[1464],{"type":71,"value":990},{"type":66,"tag":216,"props":1466,"children":1467},{"style":223},[1468],{"type":71,"value":995},{"type":66,"tag":216,"props":1470,"children":1471},{"style":223},[1472],{"type":71,"value":372},{"type":66,"tag":216,"props":1474,"children":1475},{"style":235},[1476],{"type":71,"value":377},{"type":66,"tag":216,"props":1478,"children":1479},{"style":223},[1480],{"type":71,"value":382},{"type":66,"tag":216,"props":1482,"children":1483},{"class":218,"line":502},[1484,1488,1492,1496,1500,1504,1508],{"type":66,"tag":216,"props":1485,"children":1486},{"style":414},[1487],{"type":71,"value":562},{"type":66,"tag":216,"props":1489,"children":1490},{"style":229},[1491],{"type":71,"value":567},{"type":66,"tag":216,"props":1493,"children":1494},{"style":280},[1495],{"type":71,"value":1023},{"type":66,"tag":216,"props":1497,"children":1498},{"style":223},[1499],{"type":71,"value":92},{"type":66,"tag":216,"props":1501,"children":1502},{"style":280},[1503],{"type":71,"value":477},{"type":66,"tag":216,"props":1505,"children":1506},{"style":229},[1507],{"type":71,"value":577},{"type":66,"tag":216,"props":1509,"children":1510},{"style":223},[1511],{"type":71,"value":449},{"type":66,"tag":216,"props":1513,"children":1514},{"class":218,"line":534},[1515],{"type":66,"tag":216,"props":1516,"children":1517},{"style":1045},[1518],{"type":71,"value":1519}," // Clear cookie\n",{"type":66,"tag":216,"props":1521,"children":1522},{"class":218,"line":543},[1523,1528,1532,1536,1540,1544,1548,1552,1556,1560,1564,1568],{"type":66,"tag":216,"props":1524,"children":1525},{"style":290},[1526],{"type":71,"value":1527}," useCookie",{"type":66,"tag":216,"props":1529,"children":1530},{"style":229},[1531],{"type":71,"value":325},{"type":66,"tag":216,"props":1533,"children":1534},{"style":223},[1535],{"type":71,"value":1412},{"type":66,"tag":216,"props":1537,"children":1538},{"style":280},[1539],{"type":71,"value":1417},{"type":66,"tag":216,"props":1541,"children":1542},{"style":223},[1543],{"type":71,"value":1422},{"type":66,"tag":216,"props":1545,"children":1546},{"style":256},[1547],{"type":71,"value":1427},{"type":66,"tag":216,"props":1549,"children":1550},{"style":223},[1551],{"type":71,"value":1432},{"type":66,"tag":216,"props":1553,"children":1554},{"style":229},[1555],{"type":71,"value":1437},{"type":66,"tag":216,"props":1557,"children":1558},{"style":223},[1559],{"type":71,"value":92},{"type":66,"tag":216,"props":1561,"children":1562},{"style":280},[1563],{"type":71,"value":477},{"type":66,"tag":216,"props":1565,"children":1566},{"style":223},[1567],{"type":71,"value":411},{"type":66,"tag":216,"props":1569,"children":1570},{"style":223},[1571],{"type":71,"value":1572}," null\n",{"type":66,"tag":216,"props":1574,"children":1575},{"class":218,"line":556},[1576],{"type":66,"tag":216,"props":1577,"children":1578},{"style":1045},[1579],{"type":71,"value":1580}," // Redirect to path\n",{"type":66,"tag":216,"props":1582,"children":1583},{"class":218,"line":606},[1584,1588,1592,1596,1601,1606,1610,1614,1618,1622,1627],{"type":66,"tag":216,"props":1585,"children":1586},{"style":414},[1587],{"type":71,"value":1056},{"type":66,"tag":216,"props":1589,"children":1590},{"style":290},[1591],{"type":71,"value":1061},{"type":66,"tag":216,"props":1593,"children":1594},{"style":229},[1595],{"type":71,"value":325},{"type":66,"tag":216,"props":1597,"children":1598},{"style":280},[1599],{"type":71,"value":1600},"redirectPath",{"type":66,"tag":216,"props":1602,"children":1603},{"style":223},[1604],{"type":71,"value":1605}," ||",{"type":66,"tag":216,"props":1607,"children":1608},{"style":223},[1609],{"type":71,"value":517},{"type":66,"tag":216,"props":1611,"children":1612},{"style":256},[1613],{"type":71,"value":1074},{"type":66,"tag":216,"props":1615,"children":1616},{"style":223},[1617],{"type":71,"value":527},{"type":66,"tag":216,"props":1619,"children":1620},{"style":229},[1621],{"type":71,"value":1437},{"type":66,"tag":216,"props":1623,"children":1624},{"style":223},[1625],{"type":71,"value":1626},";",{"type":66,"tag":216,"props":1628,"children":1629},{"style":229},[1630],{"type":71,"value":1631}," \n",{"type":66,"tag":216,"props":1633,"children":1634},{"class":218,"line":615},[1635],{"type":66,"tag":216,"props":1636,"children":1637},{"style":223},[1638],{"type":71,"value":1090},{"type":66,"tag":216,"props":1640,"children":1641},{"class":218,"line":632},[1642,1646,1650,1654,1658,1662,1666],{"type":66,"tag":216,"props":1643,"children":1644},{"style":223},[1645],{"type":71,"value":1098},{"type":66,"tag":216,"props":1647,"children":1648},{"style":223},[1649],{"type":71,"value":396},{"type":66,"tag":216,"props":1651,"children":1652},{"style":229},[1653],{"type":71,"value":1107},{"type":66,"tag":216,"props":1655,"children":1656},{"style":223},[1657],{"type":71,"value":463},{"type":66,"tag":216,"props":1659,"children":1660},{"style":1114},[1661],{"type":71,"value":1117},{"type":66,"tag":216,"props":1663,"children":1664},{"style":223},[1665],{"type":71,"value":406},{"type":66,"tag":216,"props":1667,"children":1668},{"style":280},[1669],{"type":71,"value":335},{"type":66,"tag":216,"props":1671,"children":1672},{"class":218,"line":649},[1673,1677,1681],{"type":66,"tag":216,"props":1674,"children":1675},{"style":223},[1676],{"type":71,"value":621},{"type":66,"tag":216,"props":1678,"children":1679},{"style":229},[1680],{"type":71,"value":232},{"type":66,"tag":216,"props":1682,"children":1683},{"style":223},[1684],{"type":71,"value":268},{"type":66,"tag":216,"props":1686,"children":1687},{"class":218,"line":667},[1688,1692,1696],{"type":66,"tag":216,"props":1689,"children":1690},{"style":223},[1691],{"type":71,"value":226},{"type":66,"tag":216,"props":1693,"children":1694},{"style":229},[1695],{"type":71,"value":642},{"type":66,"tag":216,"props":1697,"children":1698},{"style":223},[1699],{"type":71,"value":268},{"type":66,"tag":216,"props":1701,"children":1702},{"class":218,"line":711},[1703,1707,1711,1715,1719,1723,1727],{"type":66,"tag":216,"props":1704,"children":1705},{"style":223},[1706],{"type":71,"value":655},{"type":66,"tag":216,"props":1708,"children":1709},{"style":229},[1710],{"type":71,"value":660},{"type":66,"tag":216,"props":1712,"children":1713},{"style":223},[1714],{"type":71,"value":1178},{"type":66,"tag":216,"props":1716,"children":1717},{"style":280},[1718],{"type":71,"value":1183},{"type":66,"tag":216,"props":1720,"children":1721},{"style":223},[1722],{"type":71,"value":621},{"type":66,"tag":216,"props":1724,"children":1725},{"style":229},[1726],{"type":71,"value":660},{"type":66,"tag":216,"props":1728,"children":1729},{"style":223},[1730],{"type":71,"value":268},{"type":66,"tag":216,"props":1732,"children":1733},{"class":218,"line":720},[1734,1738,1742],{"type":66,"tag":216,"props":1735,"children":1736},{"style":223},[1737],{"type":71,"value":621},{"type":66,"tag":216,"props":1739,"children":1740},{"style":229},[1741],{"type":71,"value":642},{"type":66,"tag":216,"props":1743,"children":1744},{"style":223},[1745],{"type":71,"value":268},{"type":66,"tag":1747,"props":1748,"children":1749},"style",{},[1750],{"type":71,"value":1751},"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 .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);}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":59,"searchDepth":271,"depth":271,"links":1753},[1754,1756],{"id":143,"depth":271,"text":1755},"Log-in page - /login",{"id":870,"depth":271,"text":1757,"children":1758},"Confirm page - /confirm",[1759],{"id":1214,"depth":301,"text":1217},"markdown","content:3.authentication.md","content","3.authentication.md","md",[1766,1768],{"_path":6,"title":5,"description":1767},"@nuxtjs/supabase is a Nuxt module for first class integration with Supabase.",{"_path":22,"title":21,"description":1769},"Make requests to the Supabase API with the useSupabaseClient composable",1711702881413] \ No newline at end of file diff --git a/authentication/index.html b/authentication/index.html index 5b4fa43f..08f76e20 100644 --- a/authentication/index.html +++ b/authentication/index.html @@ -62,51 +62,51 @@ - + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - + - - - - - - - + + + + + + + - - + + - -
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. Alternatively, you can enable the redirect only for certain routes using the include 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">
+
+
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. Alternatively, you can enable the redirect only for certain routes using the include 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 4af07049..f1660b4d 100644 --- a/changelog/_payload.json +++ b/changelog/_payload.json @@ -1 +1 @@ -[{"data":1,"prerenderedAt":85},["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","i-heroicons-rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","i-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","i-heroicons-computer-desktop-20-solid",{"title":45,"_path":46,"icon":47},"Changelog","/changelog","i-heroicons-bookmark",{"title":49,"_path":50,"icon":51},"Roadmap","/roadmap","i-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.",[],1709806276406] \ No newline at end of file +[{"data":1,"prerenderedAt":4026},["Reactive",2],{"navigation":3,"/changelog":58,"/changelog-surround":85,"releases":90},[4,8,12,46,50,54],{"title":5,"_path":6,"icon":7},"Get Started","/get-started","i-heroicons-rocket-launch",{"title":9,"_path":10,"icon":11},"Authentication","/authentication","i-heroicons-lock-closed",{"title":13,"_path":14,"children":15,"icon":45},"Usage","/usage",[16,29],{"title":17,"_path":18,"children":19},"Vue composables","/usage/composables",[20,23,26],{"title":21,"_path":22},"useSupabaseClient","/usage/composables/usesupabaseclient",{"title":24,"_path":25},"useSupabaseSession","/usage/composables/usesupabasesession",{"title":27,"_path":28},"useSupabaseUser","/usage/composables/usesupabaseuser",{"title":30,"_path":31,"children":32},"Server services","/usage/services",[33,36,39,42],{"title":34,"_path":35},"serverSupabaseClient","/usage/services/serversupabaseclient",{"title":37,"_path":38},"serverSupabaseServiceRole","/usage/services/serversupabaseservicerole",{"title":40,"_path":41},"serverSupabaseSession","/usage/services/serversupabasesession",{"title":43,"_path":44},"serverSupabaseUser","/usage/services/serversupabaseuser","heroicons:book-open",{"title":47,"_path":48,"icon":49},"Demo","/demo","i-heroicons-computer-desktop-20-solid",{"title":51,"_path":52,"icon":53},"Changelog","/changelog","i-heroicons-bookmark",{"title":55,"_path":56,"icon":57},"Roadmap","/roadmap","i-heroicons-map",{"_path":52,"_dir":59,"_draft":60,"_partial":60,"_locale":59,"title":51,"description":61,"icon":53,"body":62,"_type":80,"_id":81,"_source":82,"_file":83,"_extension":84},"",false,"Discover the latest updates of the Supabase Module",{"type":63,"children":64,"toc":77},"root",[65,73],{"type":66,"tag":67,"props":68,"children":69},"element","p",{},[70],{"type":71,"value":72},"text","Discover the lastest updates.",{"type":66,"tag":74,"props":75,"children":76},"releases",{},[],{"title":59,"searchDepth":78,"depth":78,"links":79},2,[],"markdown","content:6.changelog.md","content","6.changelog.md","md",[86,88],{"_path":48,"title":47,"description":87},"Demonstration of using Supabase with Nuxt.",{"_path":56,"title":55,"description":89},"Discover our kaban board for the next release of the Supabase module.",[91,218,346,524,593,699,939,1032,1337,1440,1518,1584,1884,2158,2231,2363,2408,2468,2520,2668,2767,2830,2881,2926,2978,3091,3167,3245,3309,3394,3496,3602,3718,3752,3816,3880,3968],{"name":92,"tag_name":92,"date":93,"body":94,"v":206,"url":207,"tarball":208,"zipball":209,"prerelease":60,"reactions":210,"author":213,"title":59,"description":59,"_type":80,"_id":217},"v1.1.7","2024-03-07T09:33:03Z",{"type":63,"children":95,"toc":199},[96,103,110,170,176,189],{"type":66,"tag":97,"props":98,"children":100},"h2",{"id":99},"whats-changed",[101],{"type":71,"value":102},"What's Changed",{"type":66,"tag":104,"props":105,"children":107},"h3",{"id":106},"features",[108],{"type":71,"value":109},"Features",{"type":66,"tag":111,"props":112,"children":113},"ul",{},[114],{"type":66,"tag":115,"props":116,"children":117},"li",{},[118,124,126,133,135,141,143,152,154,161,163],{"type":66,"tag":119,"props":120,"children":121},"strong",{},[122],{"type":71,"value":123},"auth-middleware:",{"type":71,"value":125}," add ",{"type":66,"tag":127,"props":128,"children":130},"code",{"className":129},[],[131],{"type":71,"value":132},"include",{"type":71,"value":134}," to ",{"type":66,"tag":127,"props":136,"children":138},{"className":137},[],[139],{"type":71,"value":140},"RedirectOptions",{"type":71,"value":142}," (",{"type":66,"tag":144,"props":145,"children":149},"a",{"href":146,"rel":147},"https://github.com/nuxt-community/supabase-module/issues/336",[148],"nofollow",[150],{"type":71,"value":151},"#336",{"type":71,"value":153},") (",{"type":66,"tag":144,"props":155,"children":158},{"href":156,"rel":157},"https://github.com/nuxt-community/supabase-module/commit/f9aad558da8171af1c442a60915c979eb10b8fab",[148],[159],{"type":71,"value":160},"f9aad55",{"type":71,"value":162},"), closes ",{"type":66,"tag":144,"props":164,"children":167},{"href":165,"rel":166},"https://github.com/nuxt-community/supabase-module/issues/268",[148],[168],{"type":71,"value":169},"#268",{"type":66,"tag":104,"props":171,"children":173},{"id":172},"thanks-for-the-help-from",[174],{"type":71,"value":175},"💚 Thanks for the help from",{"type":66,"tag":67,"props":177,"children":178},{},[179],{"type":66,"tag":144,"props":180,"children":183},{"href":181,"rel":182},"https://github.com/jojomatik",[148],[184],{"type":66,"tag":119,"props":185,"children":186},{},[187],{"type":71,"value":188},"@jojomatik",{"type":66,"tag":67,"props":190,"children":191},{},[192],{"type":66,"tag":144,"props":193,"children":196},{"href":194,"rel":195},"https://github.com/nuxt-community/supabase-module/compare/v1.1.6...v1.1.7",[148],[197],{"type":71,"value":198},"Full changelog",{"title":59,"searchDepth":78,"depth":78,"links":200},[201],{"id":99,"depth":78,"text":102,"children":202},[203,205],{"id":106,"depth":204,"text":109},3,{"id":172,"depth":204,"text":175},1,"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.7","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.7","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.7",{"url":211,"total_count":206,"+1":212,"-1":212,"laugh":212,"hooray":206,"confused":212,"heart":212,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/145217172/reactions",0,{"name":214,"url":215,"avatar":216},"larbish","https://github.com/larbish","https://avatars.githubusercontent.com/u/7290030?v=4","github:v1.1.7.md",{"name":219,"tag_name":219,"date":220,"body":221,"v":206,"url":339,"tarball":340,"zipball":341,"prerelease":60,"reactions":342,"author":344,"title":59,"description":59,"_type":80,"_id":345},"v1.1.6","2024-01-26T15:22:23Z",{"type":63,"children":222,"toc":332},[223,227,233,273,277,306,310,323],{"type":66,"tag":97,"props":224,"children":225},{"id":99},[226],{"type":71,"value":102},{"type":66,"tag":104,"props":228,"children":230},{"id":229},"bug-fixes",[231],{"type":71,"value":232},"Bug Fixes",{"type":66,"tag":111,"props":234,"children":235},{},[236,255],{"type":66,"tag":115,"props":237,"children":238},{},[239,244,246,253],{"type":66,"tag":119,"props":240,"children":241},{},[242],{"type":71,"value":243},"deps:",{"type":71,"value":245}," set resolution (",{"type":66,"tag":144,"props":247,"children":250},{"href":248,"rel":249},"https://github.com/nuxt-community/supabase-module/commit/db8c102fb9d69395528eece3e1e0552a16e673da",[148],[251],{"type":71,"value":252},"db8c102",{"type":71,"value":254},")",{"type":66,"tag":115,"props":256,"children":257},{},[258,263,265,272],{"type":66,"tag":119,"props":259,"children":260},{},[261],{"type":71,"value":262},"playground:",{"type":71,"value":264}," watch on confirm page (",{"type":66,"tag":144,"props":266,"children":269},{"href":267,"rel":268},"https://github.com/nuxt-community/supabase-module/commit/0caf5c11d632df6b7e74e5e8973ee56a38b1c968",[148],[270],{"type":71,"value":271},"0caf5c1",{"type":71,"value":254},{"type":66,"tag":104,"props":274,"children":275},{"id":106},[276],{"type":71,"value":109},{"type":66,"tag":111,"props":278,"children":279},{},[280],{"type":66,"tag":115,"props":281,"children":282},{},[283,288,290,297,298,305],{"type":66,"tag":119,"props":284,"children":285},{},[286],{"type":71,"value":287},"app:",{"type":71,"value":289}," added redirect path cookie for use after signin (",{"type":66,"tag":144,"props":291,"children":294},{"href":292,"rel":293},"https://github.com/nuxt-community/supabase-module/issues/327",[148],[295],{"type":71,"value":296},"#327",{"type":71,"value":153},{"type":66,"tag":144,"props":299,"children":302},{"href":300,"rel":301},"https://github.com/nuxt-community/supabase-module/commit/1b78a050fdc6da155434e261823b029f9dce2d40",[148],[303],{"type":71,"value":304},"1b78a05",{"type":71,"value":254},{"type":66,"tag":104,"props":307,"children":308},{"id":172},[309],{"type":71,"value":175},{"type":66,"tag":67,"props":311,"children":312},{},[313],{"type":66,"tag":144,"props":314,"children":317},{"href":315,"rel":316},"https://github.com/Matthewenderle",[148],[318],{"type":66,"tag":119,"props":319,"children":320},{},[321],{"type":71,"value":322},"@Matthewenderle",{"type":66,"tag":67,"props":324,"children":325},{},[326],{"type":66,"tag":144,"props":327,"children":330},{"href":328,"rel":329},"https://github.com/nuxt-community/supabase-module/compare/v1.1.5...v1.1.6",[148],[331],{"type":71,"value":198},{"title":59,"searchDepth":78,"depth":78,"links":333},[334],{"id":99,"depth":78,"text":102,"children":335},[336,337,338],{"id":229,"depth":204,"text":232},{"id":106,"depth":204,"text":109},{"id":172,"depth":204,"text":175},"https://github.com/nuxt-modules/supabase/releases/tag/v1.1.6","https://api.github.com/repos/nuxt-modules/supabase/tarball/v1.1.6","https://api.github.com/repos/nuxt-modules/supabase/zipball/v1.1.6",{"url":343,"total_count":204,"+1":212,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":204,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/138681536/reactions",{"name":214,"url":215,"avatar":216},"github:v1.1.6.md",{"name":347,"tag_name":347,"date":348,"body":349,"v":206,"url":516,"tarball":517,"zipball":518,"prerelease":60,"reactions":519,"author":522,"title":59,"description":59,"_type":80,"_id":523},"v1.1.5","2023-12-28T14:29:18Z",{"type":63,"children":350,"toc":508},[351,355,359,380,386,405,411,448,452,499],{"type":66,"tag":97,"props":352,"children":353},{"id":99},[354],{"type":71,"value":102},{"type":66,"tag":104,"props":356,"children":357},{"id":229},[358],{"type":71,"value":232},{"type":66,"tag":111,"props":360,"children":361},{},[362],{"type":66,"tag":115,"props":363,"children":364},{},[365,370,372,379],{"type":66,"tag":119,"props":366,"children":367},{},[368],{"type":71,"value":369},"server:",{"type":71,"value":371}," fetch user from session (",{"type":66,"tag":144,"props":373,"children":376},{"href":374,"rel":375},"https://github.com/nuxt-community/supabase-module/commit/7a3b73c36cc9aea10100a0ff37b0e0e7ecefe2a8",[148],[377],{"type":71,"value":378},"7a3b73c",{"type":71,"value":254},{"type":66,"tag":104,"props":381,"children":383},{"id":382},"improvements",[384],{"type":71,"value":385},"Improvements",{"type":66,"tag":111,"props":387,"children":388},{},[389],{"type":66,"tag":115,"props":390,"children":391},{},[392,396,398],{"type":66,"tag":119,"props":393,"children":394},{},[395],{"type":71,"value":287},{"type":71,"value":397}," use module-builder stub mode for more accurate types ",{"type":66,"tag":144,"props":399,"children":402},{"href":400,"rel":401},"https://github.com/nuxt-modules/supabase/issues/315",[148],[403],{"type":71,"value":404},"#315",{"type":66,"tag":104,"props":406,"children":408},{"id":407},"docs",[409],{"type":71,"value":410},"Docs",{"type":66,"tag":111,"props":412,"children":413},{},[414,431],{"type":66,"tag":115,"props":415,"children":416},{},[417,422,424],{"type":66,"tag":119,"props":418,"children":419},{},[420],{"type":71,"value":421},"get-started:",{"type":71,"value":423}," bun command ",{"type":66,"tag":144,"props":425,"children":428},{"href":426,"rel":427},"https://github.com/nuxt-modules/supabase/issues/317",[148],[429],{"type":71,"value":430},"#317",{"type":66,"tag":115,"props":432,"children":433},{},[434,439,441],{"type":66,"tag":119,"props":435,"children":436},{},[437],{"type":71,"value":438},"readme:",{"type":71,"value":440}," typo in #dev section ",{"type":66,"tag":144,"props":442,"children":445},{"href":443,"rel":444},"https://github.com/nuxt-modules/supabase/issues/316",[148],[446],{"type":71,"value":447},"#316",{"type":66,"tag":104,"props":449,"children":450},{"id":172},[451],{"type":71,"value":175},{"type":66,"tag":67,"props":453,"children":454},{},[455,465,467,477,478,488,489],{"type":66,"tag":144,"props":456,"children":459},{"href":457,"rel":458},"https://github.com/danielroe",[148],[460],{"type":66,"tag":119,"props":461,"children":462},{},[463],{"type":71,"value":464},"@danielroe",{"type":71,"value":466},"\r\n",{"type":66,"tag":144,"props":468,"children":471},{"href":469,"rel":470},"https://github.com/joshuabyler",[148],[472],{"type":66,"tag":119,"props":473,"children":474},{},[475],{"type":71,"value":476},"@joshuabyler",{"type":71,"value":466},{"type":66,"tag":144,"props":479,"children":482},{"href":480,"rel":481},"https://github.com/hafizjavaid",[148],[483],{"type":66,"tag":119,"props":484,"children":485},{},[486],{"type":71,"value":487},"@hafizjavaid",{"type":71,"value":466},{"type":66,"tag":144,"props":490,"children":493},{"href":491,"rel":492},"https://github.com/relisora",[148],[494],{"type":66,"tag":119,"props":495,"children":496},{},[497],{"type":71,"value":498},"@relisora",{"type":66,"tag":67,"props":500,"children":501},{},[502],{"type":66,"tag":144,"props":503,"children":506},{"href":504,"rel":505},"https://github.com/nuxt-community/supabase-module/compare/v1.1.4...v1.1.5",[148],[507],{"type":71,"value":198},{"title":59,"searchDepth":78,"depth":78,"links":509},[510],{"id":99,"depth":78,"text":102,"children":511},[512,513,514,515],{"id":229,"depth":204,"text":232},{"id":382,"depth":204,"text":385},{"id":407,"depth":204,"text":410},{"id":172,"depth":204,"text":175},"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":520,"total_count":521,"+1":204,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":206,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/135279818/reactions",4,{"name":214,"url":215,"avatar":216},"github:v1.1.5.md",{"name":525,"tag_name":525,"date":526,"body":527,"v":206,"url":586,"tarball":587,"zipball":588,"prerelease":60,"reactions":589,"author":591,"title":59,"description":59,"_type":80,"_id":592},"v1.1.4","2023-11-17T14:42:47Z",{"type":63,"children":528,"toc":581},[529,533,537,566],{"type":66,"tag":97,"props":530,"children":531},{"id":99},[532],{"type":71,"value":102},{"type":66,"tag":104,"props":534,"children":535},{"id":229},[536],{"type":71,"value":232},{"type":66,"tag":111,"props":538,"children":539},{},[540],{"type":66,"tag":115,"props":541,"children":542},{},[543,548,550,557,558,565],{"type":66,"tag":119,"props":544,"children":545},{},[546],{"type":71,"value":547},"client:",{"type":71,"value":549}," prevent useCookie usage outside of effect scope (",{"type":66,"tag":144,"props":551,"children":554},{"href":552,"rel":553},"https://github.com/nuxt-community/supabase-module/issues/309",[148],[555],{"type":71,"value":556},"#309",{"type":71,"value":153},{"type":66,"tag":144,"props":559,"children":562},{"href":560,"rel":561},"https://github.com/nuxt-community/supabase-module/commit/bb55bed870efb68c39f255ddbcbe0b5446965399",[148],[563],{"type":71,"value":564},"bb55bed",{"type":71,"value":254},{"type":66,"tag":67,"props":567,"children":568},{},[569,571],{"type":71,"value":570},"💚 Thanks for the help from 💚\r\n",{"type":66,"tag":144,"props":572,"children":575},{"href":573,"rel":574},"https://github.com/AlbertBrand",[148],[576],{"type":66,"tag":119,"props":577,"children":578},{},[579],{"type":71,"value":580},"@AlbertBrand",{"title":59,"searchDepth":78,"depth":78,"links":582},[583],{"id":99,"depth":78,"text":102,"children":584},[585],{"id":229,"depth":204,"text":232},"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":590,"total_count":206,"+1":206,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":212,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/129966845/reactions",{"name":214,"url":215,"avatar":216},"github:v1.1.4.md",{"name":594,"tag_name":594,"date":595,"body":596,"v":206,"url":692,"tarball":693,"zipball":694,"prerelease":60,"reactions":695,"author":697,"title":59,"description":59,"_type":80,"_id":698},"v1.1.3","2023-10-06T07:51:37Z",{"type":63,"children":597,"toc":689},[598,602,664],{"type":66,"tag":97,"props":599,"children":600},{"id":99},[601],{"type":71,"value":102},{"type":66,"tag":111,"props":603,"children":604},{},[605,638],{"type":66,"tag":115,"props":606,"children":607},{},[608,612,614,621,622,629,630,637],{"type":66,"tag":119,"props":609,"children":610},{},[611],{"type":71,"value":547},{"type":71,"value":613}," clientOptions merge",{"type":66,"tag":144,"props":615,"children":618},{"href":616,"rel":617},"https://github.com/nuxt-community/supabase-module/issues/275",[148],[619],{"type":71,"value":620},"#275",{"type":71,"value":142},{"type":66,"tag":144,"props":623,"children":626},{"href":624,"rel":625},"https://github.com/nuxt-community/supabase-module/issues/277",[148],[627],{"type":71,"value":628},"#277",{"type":71,"value":153},{"type":66,"tag":144,"props":631,"children":634},{"href":632,"rel":633},"https://github.com/nuxt-community/supabase-module/commit/c0097a355b859cb6a2d97884a7648284128acca2",[148],[635],{"type":71,"value":636},"c0097a3",{"type":71,"value":254},{"type":66,"tag":115,"props":639,"children":640},{},[641,646,648,655,656,663],{"type":66,"tag":119,"props":642,"children":643},{},[644],{"type":71,"value":645},"module:",{"type":71,"value":647}," do not warn when using runtimeConfig to set url and key (",{"type":66,"tag":144,"props":649,"children":652},{"href":650,"rel":651},"https://github.com/nuxt-community/supabase-module/issues/281",[148],[653],{"type":71,"value":654},"#281",{"type":71,"value":153},{"type":66,"tag":144,"props":657,"children":660},{"href":658,"rel":659},"https://github.com/nuxt-community/supabase-module/commit/8c151737b55738c68fc24b5e4db2517c4e866693",[148],[661],{"type":71,"value":662},"8c15173",{"type":71,"value":254},{"type":66,"tag":67,"props":665,"children":666},{},[667,668,678,679],{"type":71,"value":570},{"type":66,"tag":144,"props":669,"children":672},{"href":670,"rel":671},"https://github.com/stafyniaksacha",[148],[673],{"type":66,"tag":119,"props":674,"children":675},{},[676],{"type":71,"value":677},"@stafyniaksacha",{"type":71,"value":466},{"type":66,"tag":144,"props":680,"children":683},{"href":681,"rel":682},"https://github.com/jonesisg1",[148],[684],{"type":66,"tag":119,"props":685,"children":686},{},[687],{"type":71,"value":688},"@jonesisg1",{"title":59,"searchDepth":78,"depth":78,"links":690},[691],{"id":99,"depth":78,"text":102},"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":696,"total_count":521,"+1":78,"-1":212,"laugh":212,"hooray":78,"confused":212,"heart":212,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/123992311/reactions",{"name":214,"url":215,"avatar":216},"github:v1.1.3.md",{"name":700,"tag_name":700,"date":701,"body":702,"v":206,"url":932,"tarball":933,"zipball":934,"prerelease":60,"reactions":935,"author":937,"title":59,"description":59,"_type":80,"_id":938},"v1.1.2","2023-09-06T17:44:35Z",{"type":63,"children":703,"toc":927},[704,708,730,773,777,855,871],{"type":66,"tag":97,"props":705,"children":706},{"id":99},[707],{"type":71,"value":102},{"type":66,"tag":67,"props":709,"children":710},{},[711,713,720,722,728],{"type":71,"value":712},"⚠️ BREAKING CHANGE ⚠️\r\nBreaking change is related to ",{"type":66,"tag":144,"props":714,"children":717},{"href":715,"rel":716},"https://github.com/nuxt-modules/supabase/issues/244",[148],[718],{"type":71,"value":719},"#244",{"type":71,"value":721}," and was first adressed in the ",{"type":66,"tag":127,"props":723,"children":725},{"className":724},[],[726],{"type":71,"value":727},"v1.1.0",{"type":71,"value":729}," but patch has been necessary to fix the version.",{"type":66,"tag":67,"props":731,"children":732},{},[733,735,741,743,749,751,757,759,765,767],{"type":71,"value":734},"On the confirm page, configured in ",{"type":66,"tag":127,"props":736,"children":738},{"className":737},[],[739],{"type":71,"value":740},"redirect.callback",{"type":71,"value":742}," option (default to ",{"type":66,"tag":127,"props":744,"children":746},{"className":745},[],[747],{"type":71,"value":748},"/confirm",{"type":71,"value":750},"), ensure to set the ",{"type":66,"tag":127,"props":752,"children":754},{"className":753},[],[755],{"type":71,"value":756},"immediate",{"type":71,"value":758}," option in the watch.\r\nCheck out the doc: ",{"type":66,"tag":144,"props":760,"children":763},{"href":761,"rel":762},"http://supabase.nuxtjs.org/authentication#confirm-page-confirm",[148],[764],{"type":71,"value":761},{"type":71,"value":766},"\r\nCheck out the demo code: ",{"type":66,"tag":144,"props":768,"children":771},{"href":769,"rel":770},"https://github.com/nuxt-modules/supabase/blob/main/demo/pages/confirm.vue",[148],[772],{"type":71,"value":769},{"type":66,"tag":104,"props":774,"children":775},{"id":229},[776],{"type":71,"value":232},{"type":66,"tag":111,"props":778,"children":779},{},[780,805,829],{"type":66,"tag":115,"props":781,"children":782},{},[783,787,789,796,797,804],{"type":66,"tag":119,"props":784,"children":785},{},[786],{"type":71,"value":645},{"type":71,"value":788}," priority of redirect options made by defu (",{"type":66,"tag":144,"props":790,"children":793},{"href":791,"rel":792},"https://github.com/nuxt-community/supabase-module/issues/256",[148],[794],{"type":71,"value":795},"#256",{"type":71,"value":153},{"type":66,"tag":144,"props":798,"children":801},{"href":799,"rel":800},"https://github.com/nuxt-community/supabase-module/commit/c4e30bf50eb7816fee3a2e46b404df5ce9f7cf4d",[148],[802],{"type":71,"value":803},"c4e30bf",{"type":71,"value":254},{"type":66,"tag":115,"props":806,"children":807},{},[808,813,815,820,821,828],{"type":66,"tag":119,"props":809,"children":810},{},[811],{"type":71,"value":812},"plugin:",{"type":71,"value":814}," retrieve user for client only page (",{"type":66,"tag":144,"props":816,"children":818},{"href":715,"rel":817},[148],[819],{"type":71,"value":719},{"type":71,"value":153},{"type":66,"tag":144,"props":822,"children":825},{"href":823,"rel":824},"https://github.com/nuxt-community/supabase-module/commit/4a35428e26542bf22b3288db6e9a9309f1310705",[148],[826],{"type":71,"value":827},"4a35428",{"type":71,"value":254},{"type":66,"tag":115,"props":830,"children":831},{},[832,837,839,846,847,854],{"type":66,"tag":119,"props":833,"children":834},{},[835],{"type":71,"value":836},"useSupabaseUser:",{"type":71,"value":838}," add explicit user type (",{"type":66,"tag":144,"props":840,"children":843},{"href":841,"rel":842},"https://github.com/nuxt-community/supabase-module/issues/254",[148],[844],{"type":71,"value":845},"#254",{"type":71,"value":153},{"type":66,"tag":144,"props":848,"children":851},{"href":849,"rel":850},"https://github.com/nuxt-community/supabase-module/commit/60d8551ee83a9c64a962b9f76b881b17d7384736",[148],[852],{"type":71,"value":853},"60d8551",{"type":71,"value":254},{"type":66,"tag":67,"props":856,"children":857},{},[858,863,865],{"type":66,"tag":119,"props":859,"children":860},{},[861],{"type":71,"value":862},"Full Changelog",{"type":71,"value":864},": ",{"type":66,"tag":144,"props":866,"children":869},{"href":867,"rel":868},"https://github.com/nuxt-community/supabase-module/compare/v1.0.2...v1.1.0",[148],[870],{"type":71,"value":867},{"type":66,"tag":67,"props":872,"children":873},{},[874,875,885,886,896,897,905,906,916,917],{"type":71,"value":570},{"type":66,"tag":144,"props":876,"children":879},{"href":877,"rel":878},"https://github.com/52cs",[148],[880],{"type":66,"tag":119,"props":881,"children":882},{},[883],{"type":71,"value":884},"@52cs",{"type":71,"value":466},{"type":66,"tag":144,"props":887,"children":890},{"href":888,"rel":889},"https://github.com/Aietes",[148],[891],{"type":66,"tag":119,"props":892,"children":893},{},[894],{"type":71,"value":895},"@Aietes",{"type":71,"value":466},{"type":66,"tag":144,"props":898,"children":900},{"href":573,"rel":899},[148],[901],{"type":66,"tag":119,"props":902,"children":903},{},[904],{"type":71,"value":580},{"type":71,"value":466},{"type":66,"tag":144,"props":907,"children":910},{"href":908,"rel":909},"https://github.com/kiri10ten",[148],[911],{"type":66,"tag":119,"props":912,"children":913},{},[914],{"type":71,"value":915},"@kiri10ten",{"type":71,"value":466},{"type":66,"tag":144,"props":918,"children":921},{"href":919,"rel":920},"https://github.com/xMorthi",[148],[922],{"type":66,"tag":119,"props":923,"children":924},{},[925],{"type":71,"value":926},"@xMorthi",{"title":59,"searchDepth":78,"depth":78,"links":928},[929],{"id":99,"depth":78,"text":102,"children":930},[931],{"id":229,"depth":204,"text":232},"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":936,"total_count":521,"+1":212,"-1":212,"laugh":212,"hooray":204,"confused":212,"heart":212,"rocket":212,"eyes":206},"https://api.github.com/repos/nuxt-modules/supabase/releases/120162649/reactions",{"name":214,"url":215,"avatar":216},"github:v1.1.2.md",{"name":940,"tag_name":940,"date":941,"body":942,"v":206,"url":1025,"tarball":1026,"zipball":1027,"prerelease":60,"reactions":1028,"author":1030,"title":59,"description":59,"_type":80,"_id":1031},"v1.0.2","2023-08-04T15:56:13Z",{"type":63,"children":943,"toc":1022},[944,948,985,999],{"type":66,"tag":97,"props":945,"children":946},{"id":99},[947],{"type":71,"value":102},{"type":66,"tag":111,"props":949,"children":950},{},[951,968],{"type":66,"tag":115,"props":952,"children":953},{},[954,956,967],{"type":71,"value":955},"docs(auth): update (",{"type":66,"tag":144,"props":957,"children":960},{"href":958,"rel":959},"https://github.com/nuxt-modules/supabase/commit/df00ffe8ecc253fc23572b65465ad7928e185b13",[148],[961],{"type":66,"tag":127,"props":962,"children":964},{"className":963},[],[965],{"type":71,"value":966},"df00ffe",{"type":71,"value":254},{"type":66,"tag":115,"props":969,"children":970},{},[971,973,984],{"type":71,"value":972},"fix(client): correct provider_token assignment to cookie (",{"type":66,"tag":144,"props":974,"children":977},{"href":975,"rel":976},"https://github.com/nuxt-modules/supabase/commit/a76df3f67d6b08daf359f38130ce08aeab57317b",[148],[978],{"type":66,"tag":127,"props":979,"children":981},{"className":980},[],[982],{"type":71,"value":983},"a76df3f",{"type":71,"value":254},{"type":66,"tag":67,"props":986,"children":987},{},[988,992,993],{"type":66,"tag":119,"props":989,"children":990},{},[991],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":994,"children":997},{"href":995,"rel":996},"https://github.com/nuxt-community/supabase-module/compare/v1.0.1...v1.0.2",[148],[998],{"type":71,"value":995},{"type":66,"tag":67,"props":1000,"children":1001},{},[1002,1003,1013,1014],{"type":71,"value":570},{"type":66,"tag":144,"props":1004,"children":1007},{"href":1005,"rel":1006},"https://github.com/blqke",[148],[1008],{"type":66,"tag":119,"props":1009,"children":1010},{},[1011],{"type":71,"value":1012},"@blqke",{"type":71,"value":466},{"type":66,"tag":144,"props":1015,"children":1017},{"href":888,"rel":1016},[148],[1018],{"type":66,"tag":119,"props":1019,"children":1020},{},[1021],{"type":71,"value":895},{"title":59,"searchDepth":78,"depth":78,"links":1023},[1024],{"id":99,"depth":78,"text":102},"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":1029,"total_count":204,"+1":212,"-1":212,"laugh":212,"hooray":204,"confused":212,"heart":212,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/115135546/reactions",{"name":214,"url":215,"avatar":216},"github:v1.0.2.md",{"name":1033,"tag_name":1033,"date":1034,"body":1035,"v":206,"url":1325,"tarball":1326,"zipball":1327,"prerelease":60,"reactions":1328,"author":1334,"title":59,"description":1335,"_type":80,"_id":1336},"v1.0.1","2023-08-02T15:46:15Z",{"type":63,"children":1036,"toc":1322},[1037,1050,1055,1123,1128,1149,1153,1158,1288,1304,1307],{"type":66,"tag":67,"props":1038,"children":1039},{},[1040,1042,1048],{"type":71,"value":1041},"I am happy to announce the release of version ",{"type":66,"tag":127,"props":1043,"children":1045},{"className":1044},[],[1046],{"type":71,"value":1047},"1.0.0",{"type":71,"value":1049}," 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":66,"tag":97,"props":1051,"children":1052},{"id":99},[1053],{"type":71,"value":1054},"What's changed",{"type":66,"tag":111,"props":1056,"children":1057},{},[1058,1080,1085],{"type":66,"tag":115,"props":1059,"children":1060},{},[1061,1063,1070,1072,1079],{"type":71,"value":1062},"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":66,"tag":144,"props":1064,"children":1067},{"href":1065,"rel":1066},"https://supabase.nuxtjs.org/authentication",[148],[1068],{"type":71,"value":1069},"dedicated section",{"type":71,"value":1071}," has been added to the documentation. (",{"type":66,"tag":144,"props":1073,"children":1076},{"href":1074,"rel":1075},"https://github.com/nuxt-modules/supabase/issues/219",[148],[1077],{"type":71,"value":1078},"#219",{"type":71,"value":254},{"type":66,"tag":115,"props":1081,"children":1082},{},[1083],{"type":71,"value":1084},"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":66,"tag":115,"props":1086,"children":1087},{},[1088,1090,1097,1099,1106,1108,1115,1117],{"type":71,"value":1089},"A brand new documentation has been built entirely using ",{"type":66,"tag":144,"props":1091,"children":1094},{"href":1092,"rel":1093},"https://nuxt.studio",[148],[1095],{"type":71,"value":1096},"Nuxt Studio",{"type":71,"value":1098},". Feel free to create PRs to suggest fixes or add any necessary changes to further enhance the documentation. (",{"type":66,"tag":144,"props":1100,"children":1103},{"href":1101,"rel":1102},"https://github.com/nuxt-modules/supabase/issues/210",[148],[1104],{"type":71,"value":1105},"#210",{"type":71,"value":1107}," / ",{"type":66,"tag":144,"props":1109,"children":1112},{"href":1110,"rel":1111},"https://github.com/nuxt-modules/supabase/issues/221",[148],[1113],{"type":71,"value":1114},"#221",{"type":71,"value":1116},") => ",{"type":66,"tag":144,"props":1118,"children":1121},{"href":1119,"rel":1120},"https://supabase.nuxtjs.org",[148],[1122],{"type":71,"value":1119},{"type":66,"tag":67,"props":1124,"children":1125},{},[1126],{"type":71,"value":1127},"Here's documentation that can help you understand the PKCE authentication flow:",{"type":66,"tag":111,"props":1129,"children":1130},{},[1131,1140],{"type":66,"tag":115,"props":1132,"children":1133},{},[1134],{"type":66,"tag":144,"props":1135,"children":1138},{"href":1136,"rel":1137},"https://supabase.com/blog/supabase-auth-sso-pkce#server-side-and-mobile-auth",[148],[1139],{"type":71,"value":1136},{"type":66,"tag":115,"props":1141,"children":1142},{},[1143],{"type":66,"tag":144,"props":1144,"children":1147},{"href":1145,"rel":1146},"https://supabase.com/docs/guides/resources/glossary#pkce",[148],[1148],{"type":71,"value":1145},{"type":66,"tag":1150,"props":1151,"children":1152},"br",{},[],{"type":66,"tag":67,"props":1154,"children":1155},{},[1156],{"type":71,"value":1157},"⚠️ BREAKING CHANGES ⚠️",{"type":66,"tag":111,"props":1159,"children":1160},{},[1161,1179,1205,1224,1252],{"type":66,"tag":115,"props":1162,"children":1163},{},[1164,1170,1172,1177],{"type":66,"tag":127,"props":1165,"children":1167},{"className":1166},[],[1168],{"type":71,"value":1169},"useSupabaseAuthClient",{"type":71,"value":1171}," has been removed in favor of ",{"type":66,"tag":127,"props":1173,"children":1175},{"className":1174},[],[1176],{"type":71,"value":21},{"type":71,"value":1178}," in all cases",{"type":66,"tag":115,"props":1180,"children":1181},{},[1182,1187,1189,1195,1197,1203],{"type":66,"tag":127,"props":1183,"children":1185},{"className":1184},[],[1186],{"type":71,"value":34},{"type":71,"value":1188}," is now returning a promise (should be called with ",{"type":66,"tag":127,"props":1190,"children":1192},{"className":1191},[],[1193],{"type":71,"value":1194},"await",{"type":71,"value":1196}," in an ",{"type":66,"tag":127,"props":1198,"children":1200},{"className":1199},[],[1201],{"type":71,"value":1202},"async",{"type":71,"value":1204}," method)",{"type":66,"tag":115,"props":1206,"children":1207},{},[1208,1214,1216,1222],{"type":66,"tag":127,"props":1209,"children":1211},{"className":1210},[],[1212],{"type":71,"value":1213},"redirect",{"type":71,"value":1215}," option is enable by default, follow this ",{"type":66,"tag":144,"props":1217,"children":1219},{"href":1065,"rel":1218},[148],[1220],{"type":71,"value":1221},"guide",{"type":71,"value":1223}," to update your app",{"type":66,"tag":115,"props":1225,"children":1226},{},[1227,1233,1235,1241,1243,1250],{"type":66,"tag":127,"props":1228,"children":1230},{"className":1229},[],[1231],{"type":71,"value":1232},"client",{"type":71,"value":1234}," option becomes ",{"type":66,"tag":127,"props":1236,"children":1238},{"className":1237},[],[1239],{"type":71,"value":1240},"clientOptions",{"type":71,"value":1242}," with new ",{"type":66,"tag":144,"props":1244,"children":1247},{"href":1245,"rel":1246},"https://supabase.nuxtjs.org/get-started#clientoptions",[148],[1248],{"type":71,"value":1249},"default value",{"type":71,"value":1251}," (including the PKCE flow)",{"type":66,"tag":115,"props":1253,"children":1254},{},[1255,1261,1263,1269,1271,1277,1279,1286],{"type":66,"tag":127,"props":1256,"children":1258},{"className":1257},[],[1259],{"type":71,"value":1260},"cookies",{"type":71,"value":1262}," options is split in ",{"type":66,"tag":127,"props":1264,"children":1266},{"className":1265},[],[1267],{"type":71,"value":1268},"cookieName",{"type":71,"value":1270}," and ",{"type":66,"tag":127,"props":1272,"children":1274},{"className":1273},[],[1275],{"type":71,"value":1276},"cookieOptions",{"type":71,"value":1278},", ",{"type":66,"tag":144,"props":1280,"children":1283},{"href":1281,"rel":1282},"https://supabase.nuxtjs.org/get-started#cookieoptions",[148],[1284],{"type":71,"value":1285},"default values",{"type":71,"value":1287}," have not changed",{"type":66,"tag":67,"props":1289,"children":1290},{},[1291,1293],{"type":71,"value":1292},"Here si the commit done for updating the demo with the last version: ",{"type":66,"tag":144,"props":1294,"children":1297},{"href":1295,"rel":1296},"https://github.com/nuxt-modules/supabase/commit/10e05860862b68c49817f6420d50d082452f7a7f",[148],[1298],{"type":66,"tag":127,"props":1299,"children":1301},{"className":1300},[],[1302],{"type":71,"value":1303},"10e0586",{"type":66,"tag":1150,"props":1305,"children":1306},{},[],{"type":66,"tag":67,"props":1308,"children":1309},{},[1310,1312,1320],{"type":71,"value":1311},"A huge thanks to ",{"type":66,"tag":144,"props":1313,"children":1315},{"href":888,"rel":1314},[148],[1316],{"type":66,"tag":119,"props":1317,"children":1318},{},[1319],{"type":71,"value":895},{"type":71,"value":1321}," for initialising all those changes and help me built it 💚",{"title":59,"searchDepth":78,"depth":78,"links":1323},[1324],{"id":99,"depth":78,"text":1054},"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":1329,"total_count":1330,"+1":1331,"-1":212,"laugh":212,"hooray":1332,"confused":212,"heart":521,"rocket":1333,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/114843996/reactions",40,9,19,8,{"name":214,"url":215,"avatar":216},"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":1338,"tag_name":1338,"date":1339,"body":1340,"v":212,"url":1432,"tarball":1433,"zipball":1434,"prerelease":60,"reactions":1435,"author":1438,"title":59,"description":59,"_type":80,"_id":1439},"v0.3.8","2023-07-03T08:29:53Z",{"type":63,"children":1341,"toc":1429},[1342,1346,1403,1417],{"type":66,"tag":97,"props":1343,"children":1344},{"id":99},[1345],{"type":71,"value":102},{"type":66,"tag":111,"props":1347,"children":1348},{},[1349,1386],{"type":66,"tag":115,"props":1350,"children":1351},{},[1352,1354,1365,1367,1374,1376],{"type":71,"value":1353},"feat(session): save provider access/refresh tokens in cookies (",{"type":66,"tag":144,"props":1355,"children":1358},{"href":1356,"rel":1357},"https://github.com/nuxt-modules/supabase/commit/ea8c21f3d625984832cb27a3ae7605b16caaf94b",[148],[1359],{"type":66,"tag":127,"props":1360,"children":1362},{"className":1361},[],[1363],{"type":71,"value":1364},"ea8c21f",{"type":71,"value":1366},") in ",{"type":66,"tag":144,"props":1368,"children":1371},{"href":1369,"rel":1370},"https://github.com/nuxt-modules/supabase/issues/197",[148],[1372],{"type":71,"value":1373},"#197",{"type":71,"value":1375}," by ",{"type":66,"tag":144,"props":1377,"children":1380},{"href":1378,"rel":1379},"https://github.com/mitjans",[148],[1381],{"type":66,"tag":119,"props":1382,"children":1383},{},[1384],{"type":71,"value":1385},"@mitjans",{"type":66,"tag":115,"props":1387,"children":1388},{},[1389,1391,1402],{"type":71,"value":1390},"chore(deps): upgrade to latest (",{"type":66,"tag":144,"props":1392,"children":1395},{"href":1393,"rel":1394},"https://github.com/nuxt-modules/supabase/commit/a52abc871b6ab756c2b477f7c6b3c0f51279693c",[148],[1396],{"type":66,"tag":127,"props":1397,"children":1399},{"className":1398},[],[1400],{"type":71,"value":1401},"a52abc8",{"type":71,"value":254},{"type":66,"tag":67,"props":1404,"children":1405},{},[1406,1410,1411],{"type":66,"tag":119,"props":1407,"children":1408},{},[1409],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":1412,"children":1415},{"href":1413,"rel":1414},"https://github.com/nuxt-community/supabase-module/compare/v0.3.7...v0.3.8",[148],[1416],{"type":71,"value":1413},{"type":66,"tag":67,"props":1418,"children":1419},{},[1420,1421],{"type":71,"value":570},{"type":66,"tag":144,"props":1422,"children":1424},{"href":1378,"rel":1423},[148],[1425],{"type":66,"tag":119,"props":1426,"children":1427},{},[1428],{"type":71,"value":1385},{"title":59,"searchDepth":78,"depth":78,"links":1430},[1431],{"id":99,"depth":78,"text":102},"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":1436,"total_count":1437,"+1":212,"-1":212,"laugh":212,"hooray":1437,"confused":212,"heart":212,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/110829614/reactions",5,{"name":214,"url":215,"avatar":216},"github:v0.3.8.md",{"name":1441,"tag_name":1441,"date":1442,"body":1443,"v":212,"url":1513,"tarball":1514,"zipball":1515,"prerelease":60,"author":1516,"title":59,"description":59,"_type":80,"_id":1517},"v0.3.7","2023-06-12T07:51:13Z",{"type":63,"children":1444,"toc":1510},[1445,1449,1496],{"type":66,"tag":97,"props":1446,"children":1447},{"id":99},[1448],{"type":71,"value":102},{"type":66,"tag":111,"props":1450,"children":1451},{},[1452,1479],{"type":66,"tag":115,"props":1453,"children":1454},{},[1455,1457,1462,1463,1470,1472],{"type":71,"value":1456},"fix(client): fix persist session warning for ",{"type":66,"tag":127,"props":1458,"children":1460},{"className":1459},[],[1461],{"type":71,"value":37},{"type":71,"value":142},{"type":66,"tag":144,"props":1464,"children":1467},{"href":1465,"rel":1466},"https://github.com/nuxt-modules/supabase/issues/194",[148],[1468],{"type":71,"value":1469},"#194",{"type":71,"value":1471},") resolves ",{"type":66,"tag":144,"props":1473,"children":1476},{"href":1474,"rel":1475},"https://github.com/nuxt-modules/supabase/issues/193",[148],[1477],{"type":71,"value":1478},"#193",{"type":66,"tag":115,"props":1480,"children":1481},{},[1482,1484,1495],{"type":71,"value":1483},"docs(get-started): remove defineNuxtConfig (",{"type":66,"tag":144,"props":1485,"children":1488},{"href":1486,"rel":1487},"https://github.com/nuxt-modules/supabase/commit/0151901",[148],[1489],{"type":66,"tag":127,"props":1490,"children":1492},{"className":1491},[],[1493],{"type":71,"value":1494},"0151901",{"type":71,"value":254},{"type":66,"tag":67,"props":1497,"children":1498},{},[1499,1500],{"type":71,"value":570},{"type":66,"tag":144,"props":1501,"children":1504},{"href":1502,"rel":1503},"https://github.com/jawngee",[148],[1505],{"type":66,"tag":119,"props":1506,"children":1507},{},[1508],{"type":71,"value":1509},"@jawngee",{"title":59,"searchDepth":78,"depth":78,"links":1511},[1512],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.3.7.md",{"name":1519,"tag_name":1519,"date":1520,"body":1521,"v":212,"url":1577,"tarball":1578,"zipball":1579,"prerelease":60,"reactions":1580,"author":1582,"title":59,"description":59,"_type":80,"_id":1583},"v0.3.6","2023-06-02T14:33:38Z",{"type":63,"children":1522,"toc":1574},[1523,1527],{"type":66,"tag":97,"props":1524,"children":1525},{"id":99},[1526],{"type":71,"value":102},{"type":66,"tag":111,"props":1528,"children":1529},{},[1530,1535,1561],{"type":66,"tag":115,"props":1531,"children":1532},{},[1533],{"type":71,"value":1534},"chore(deps): upgrade to nuxt and supabase latest version",{"type":66,"tag":115,"props":1536,"children":1537},{},[1538,1540,1551,1553,1560],{"type":71,"value":1539},"fix(client): remove persist session warning on server side in ",{"type":66,"tag":144,"props":1541,"children":1544},{"href":1542,"rel":1543},"https://github.com/nuxt-modules/supabase/commit/227113f68fb8723f9687adfa12150f825940e0c9",[148],[1545],{"type":66,"tag":127,"props":1546,"children":1548},{"className":1547},[],[1549],{"type":71,"value":1550},"227113f",{"type":71,"value":1552}," (Resolves ",{"type":66,"tag":144,"props":1554,"children":1557},{"href":1555,"rel":1556},"https://github.com/nuxt-modules/supabase/issues/188",[148],[1558],{"type":71,"value":1559},"#188",{"type":71,"value":254},{"type":66,"tag":115,"props":1562,"children":1563},{},[1564,1566,1573],{"type":71,"value":1565},"fix(chore): resolve imports (Resolves ",{"type":66,"tag":144,"props":1567,"children":1570},{"href":1568,"rel":1569},"https://github.com/nuxt-modules/supabase/issues/190",[148],[1571],{"type":71,"value":1572},"#190",{"type":71,"value":254},{"title":59,"searchDepth":78,"depth":78,"links":1575},[1576],{"id":99,"depth":78,"text":102},"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":1581,"total_count":1437,"+1":206,"-1":212,"laugh":212,"hooray":521,"confused":212,"heart":212,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/105847469/reactions",{"name":214,"url":215,"avatar":216},"github:v0.3.6.md",{"name":1585,"tag_name":1585,"date":1586,"body":1587,"v":212,"url":1877,"tarball":1878,"zipball":1879,"prerelease":60,"reactions":1880,"author":1882,"title":59,"description":59,"_type":80,"_id":1883},"v0.3.5","2023-04-03T09:50:57Z",{"type":63,"children":1588,"toc":1874},[1589,1593,1823,1837],{"type":66,"tag":97,"props":1590,"children":1591},{"id":99},[1592],{"type":71,"value":102},{"type":66,"tag":111,"props":1594,"children":1595},{},[1596,1613,1630,1647,1664,1681,1698,1715,1732,1749,1782,1799],{"type":66,"tag":115,"props":1597,"children":1598},{},[1599,1601,1612],{"type":71,"value":1600},"chore(demo): upgrade on last version (",{"type":66,"tag":144,"props":1602,"children":1605},{"href":1603,"rel":1604},"https://github.com/nuxt-modules/supabase/commit/9bb9e2856823a0bb86c07ae7775462e02a1e430d",[148],[1606],{"type":66,"tag":127,"props":1607,"children":1609},{"className":1608},[],[1610],{"type":71,"value":1611},"9bb9e28",{"type":71,"value":254},{"type":66,"tag":115,"props":1614,"children":1615},{},[1616,1618,1629],{"type":71,"value":1617},"chore(demo): generate database types from supabase cli (",{"type":66,"tag":144,"props":1619,"children":1622},{"href":1620,"rel":1621},"https://github.com/nuxt-modules/supabase/commit/bca199292dfeb23d5e0581ab40a6994fed3d1157",[148],[1623],{"type":66,"tag":127,"props":1624,"children":1626},{"className":1625},[],[1627],{"type":71,"value":1628},"bca1992",{"type":71,"value":254},{"type":66,"tag":115,"props":1631,"children":1632},{},[1633,1635,1646],{"type":71,"value":1634},"docs(links): update nuxt & supabase links and fix typos (",{"type":66,"tag":144,"props":1636,"children":1639},{"href":1637,"rel":1638},"https://github.com/nuxt-modules/supabase/commit/5699dc6c22f9182e9593936fc1260fc785eea450",[148],[1640],{"type":66,"tag":127,"props":1641,"children":1643},{"className":1642},[],[1644],{"type":71,"value":1645},"5699dc6",{"type":71,"value":254},{"type":66,"tag":115,"props":1648,"children":1649},{},[1650,1652,1663],{"type":71,"value":1651},"chore(app): move to pnpm (",{"type":66,"tag":144,"props":1653,"children":1656},{"href":1654,"rel":1655},"https://github.com/nuxt-modules/supabase/commit/94f7e130747801584d2b0999bd2f5f904e575082",[148],[1657],{"type":66,"tag":127,"props":1658,"children":1660},{"className":1659},[],[1661],{"type":71,"value":1662},"94f7e13",{"type":71,"value":254},{"type":66,"tag":115,"props":1665,"children":1666},{},[1667,1669,1680],{"type":71,"value":1668},"chore(module): conditionally add redirect plugin (",{"type":66,"tag":144,"props":1670,"children":1673},{"href":1671,"rel":1672},"https://github.com/nuxt-modules/supabase/commit/0cad0a557934f669f2ab424ef072f6b07c098646",[148],[1674],{"type":66,"tag":127,"props":1675,"children":1677},{"className":1676},[],[1678],{"type":71,"value":1679},"0cad0a5",{"type":71,"value":254},{"type":66,"tag":115,"props":1682,"children":1683},{},[1684,1686,1697],{"type":71,"value":1685},"docs(get-started): fix typos (",{"type":66,"tag":144,"props":1687,"children":1690},{"href":1688,"rel":1689},"https://github.com/nuxt-modules/supabase/commit/ba437a8534f3dcda53f805cc34b5d6a943297354",[148],[1691],{"type":66,"tag":127,"props":1692,"children":1694},{"className":1693},[],[1695],{"type":71,"value":1696},"ba437a8",{"type":71,"value":254},{"type":66,"tag":115,"props":1699,"children":1700},{},[1701,1703,1714],{"type":71,"value":1702},"docs(composables): correct grammar errors (",{"type":66,"tag":144,"props":1704,"children":1707},{"href":1705,"rel":1706},"https://github.com/nuxt-modules/supabase/commit/034d7dfaf9f52a08da0ade4bf6d5ed31ec740734",[148],[1708],{"type":66,"tag":127,"props":1709,"children":1711},{"className":1710},[],[1712],{"type":71,"value":1713},"034d7df",{"type":71,"value":254},{"type":66,"tag":115,"props":1716,"children":1717},{},[1718,1720,1731],{"type":71,"value":1719},"feat(demo): add call from server route(",{"type":66,"tag":144,"props":1721,"children":1724},{"href":1722,"rel":1723},"https://github.com/nuxt-modules/supabase/commit/989a91eacdc471de90a2307c39cd03f23cca57ee",[148],[1725],{"type":66,"tag":127,"props":1726,"children":1728},{"className":1727},[],[1729],{"type":71,"value":1730},"989a91e",{"type":71,"value":254},{"type":66,"tag":115,"props":1733,"children":1734},{},[1735,1737,1748],{"type":71,"value":1736},"perf(useSupabaseAuthClient): avoid declaring unused variables (",{"type":66,"tag":144,"props":1738,"children":1741},{"href":1739,"rel":1740},"https://github.com/nuxt-modules/supabase/commit/8c070b9e571b3fe7870c08033ea561624a6ae575",[148],[1742],{"type":66,"tag":127,"props":1743,"children":1745},{"className":1744},[],[1746],{"type":71,"value":1747},"8c070b9",{"type":71,"value":254},{"type":66,"tag":115,"props":1750,"children":1751},{},[1752,1754,1765,1766,1773,1775],{"type":71,"value":1753},"fix(dev): optimize supabase deps (",{"type":66,"tag":144,"props":1755,"children":1758},{"href":1756,"rel":1757},"https://github.com/nuxt-modules/supabase/commit/d1da3f6b2f463e7196c69c3a580833438926a6e1",[148],[1759],{"type":66,"tag":127,"props":1760,"children":1762},{"className":1761},[],[1763],{"type":71,"value":1764},"d1da3f6",{"type":71,"value":1471},{"type":66,"tag":144,"props":1767,"children":1770},{"href":1768,"rel":1769},"https://github.com/nuxt-modules/supabase/issues/172",[148],[1771],{"type":71,"value":1772},"#172",{"type":71,"value":1774}," & ",{"type":66,"tag":144,"props":1776,"children":1779},{"href":1777,"rel":1778},"https://github.com/nuxt-modules/supabase/issues/151",[148],[1780],{"type":71,"value":1781},"#151",{"type":66,"tag":115,"props":1783,"children":1784},{},[1785,1787,1798],{"type":71,"value":1786},"chore(deps): transpile websocket lib prod only (",{"type":66,"tag":144,"props":1788,"children":1791},{"href":1789,"rel":1790},"https://github.com/nuxt-modules/supabase/commit/a1ee40c848c9da81aa41acc53dc3555b32bafd86",[148],[1792],{"type":66,"tag":127,"props":1793,"children":1795},{"className":1794},[],[1796],{"type":71,"value":1797},"a1ee40c",{"type":71,"value":254},{"type":66,"tag":115,"props":1800,"children":1801},{},[1802,1804,1815,1816,1821],{"type":71,"value":1803},"fix(deps): transpile gotrue only on client (",{"type":66,"tag":144,"props":1805,"children":1808},{"href":1806,"rel":1807},"https://github.com/nuxt-modules/supabase/commit/fcc6823e248395a513706cf67ab664f84daacb45",[148],[1809],{"type":66,"tag":127,"props":1810,"children":1812},{"className":1811},[],[1813],{"type":71,"value":1814},"fcc6823",{"type":71,"value":1471},{"type":66,"tag":144,"props":1817,"children":1819},{"href":1768,"rel":1818},[148],[1820],{"type":71,"value":1772},{"type":71,"value":1822}," on server side",{"type":66,"tag":67,"props":1824,"children":1825},{},[1826,1830,1831],{"type":66,"tag":119,"props":1827,"children":1828},{},[1829],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":1832,"children":1835},{"href":1833,"rel":1834},"https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.5",[148],[1836],{"type":71,"value":1833},{"type":66,"tag":67,"props":1838,"children":1839},{},[1840,1842,1849,1851,1858,1859,1866,1867],{"type":71,"value":1841},"💚 Thanks for the help from 💚\r\n@",{"type":66,"tag":144,"props":1843,"children":1846},{"href":1844,"rel":1845},"https://github.com/nuxt-modules/supabase/commits?author=kuizuo",[148],[1847],{"type":71,"value":1848},"kuizuo",{"type":71,"value":1850},"\r\n@",{"type":66,"tag":144,"props":1852,"children":1855},{"href":1853,"rel":1854},"https://github.com/nuxt-modules/supabase/commits?author=tnntwister",[148],[1856],{"type":71,"value":1857},"tnntwister",{"type":71,"value":1850},{"type":66,"tag":144,"props":1860,"children":1863},{"href":1861,"rel":1862},"https://github.com/nuxt-modules/supabase/commits?author=yannaufray",[148],[1864],{"type":71,"value":1865},"yannaufray",{"type":71,"value":1850},{"type":66,"tag":144,"props":1868,"children":1871},{"href":1869,"rel":1870},"https://github.com/nuxt-modules/supabase/commits?author=DamianGlowala",[148],[1872],{"type":71,"value":1873},"DamianGlowala",{"title":59,"searchDepth":78,"depth":78,"links":1875},[1876],{"id":99,"depth":78,"text":102},"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":1881,"total_count":206,"+1":212,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":212,"rocket":206,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/97822579/reactions",{"name":214,"url":215,"avatar":216},"github:v0.3.5.md",{"name":1885,"tag_name":1885,"date":1886,"body":1887,"v":212,"url":2150,"tarball":2151,"zipball":2152,"prerelease":2153,"reactions":2154,"author":2156,"title":59,"description":59,"_type":80,"_id":2157},"v0.3.3","2023-03-31T21:51:14Z",{"type":63,"children":1888,"toc":2147},[1889,1893,2133],{"type":66,"tag":97,"props":1890,"children":1891},{"id":99},[1892],{"type":71,"value":102},{"type":66,"tag":111,"props":1894,"children":1895},{},[1896,1919,1935,1952,1969,1992,2009,2034,2057,2080,2095,2118],{"type":66,"tag":115,"props":1897,"children":1898},{},[1899,1900,1907,1908,1918],{"type":71,"value":1736},{"type":66,"tag":144,"props":1901,"children":1904},{"href":1902,"rel":1903},"https://github.com/nuxt-modules/supabase/issues/166",[148],[1905],{"type":71,"value":1906},"#166",{"type":71,"value":153},{"type":66,"tag":144,"props":1909,"children":1912},{"href":1910,"rel":1911},"https://github.com/nuxt-modules/supabase/commit/8c070b9",[148],[1913],{"type":66,"tag":127,"props":1914,"children":1916},{"className":1915},[],[1917],{"type":71,"value":1747},{"type":71,"value":254},{"type":66,"tag":115,"props":1920,"children":1921},{},[1922,1924,1934],{"type":71,"value":1923},"feat(demo): add call from server route (",{"type":66,"tag":144,"props":1925,"children":1928},{"href":1926,"rel":1927},"https://github.com/nuxt-modules/supabase/commit/989a91e",[148],[1929],{"type":66,"tag":127,"props":1930,"children":1932},{"className":1931},[],[1933],{"type":71,"value":1730},{"type":71,"value":254},{"type":66,"tag":115,"props":1936,"children":1937},{},[1938,1940,1951],{"type":71,"value":1939},"chore(demo): upgrade deps (",{"type":66,"tag":144,"props":1941,"children":1944},{"href":1942,"rel":1943},"https://github.com/nuxt-modules/supabase/commit/9ebbc77",[148],[1945],{"type":66,"tag":127,"props":1946,"children":1948},{"className":1947},[],[1949],{"type":71,"value":1950},"9ebbc77",{"type":71,"value":254},{"type":66,"tag":115,"props":1953,"children":1954},{},[1955,1957,1968],{"type":71,"value":1956},"chore(deps): upgrade (",{"type":66,"tag":144,"props":1958,"children":1961},{"href":1959,"rel":1960},"https://github.com/nuxt-modules/supabase/commit/e274a5e",[148],[1962],{"type":66,"tag":127,"props":1963,"children":1965},{"className":1964},[],[1966],{"type":71,"value":1967},"e274a5e",{"type":71,"value":254},{"type":66,"tag":115,"props":1970,"children":1971},{},[1972,1973,1980,1981,1991],{"type":71,"value":1702},{"type":66,"tag":144,"props":1974,"children":1977},{"href":1975,"rel":1976},"https://github.com/nuxt-modules/supabase/issues/162",[148],[1978],{"type":71,"value":1979},"#162",{"type":71,"value":153},{"type":66,"tag":144,"props":1982,"children":1985},{"href":1983,"rel":1984},"https://github.com/nuxt-modules/supabase/commit/034d7df",[148],[1986],{"type":66,"tag":127,"props":1987,"children":1989},{"className":1988},[],[1990],{"type":71,"value":1713},{"type":71,"value":254},{"type":66,"tag":115,"props":1993,"children":1994},{},[1995,1997,2008],{"type":71,"value":1996},"docs(readme): add nuxt badge (",{"type":66,"tag":144,"props":1998,"children":2001},{"href":1999,"rel":2000},"https://github.com/nuxt-modules/supabase/commit/68271b8",[148],[2002],{"type":66,"tag":127,"props":2003,"children":2005},{"className":2004},[],[2006],{"type":71,"value":2007},"68271b8",{"type":71,"value":254},{"type":66,"tag":115,"props":2010,"children":2011},{},[2012,2014,2021,2022,2033],{"type":71,"value":2013},"docs(demo): fix typo (",{"type":66,"tag":144,"props":2015,"children":2018},{"href":2016,"rel":2017},"https://github.com/nuxt-modules/supabase/issues/125",[148],[2019],{"type":71,"value":2020},"#125",{"type":71,"value":153},{"type":66,"tag":144,"props":2023,"children":2026},{"href":2024,"rel":2025},"https://github.com/nuxt-modules/supabase/commit/bd33d12",[148],[2027],{"type":66,"tag":127,"props":2028,"children":2030},{"className":2029},[],[2031],{"type":71,"value":2032},"bd33d12",{"type":71,"value":254},{"type":66,"tag":115,"props":2035,"children":2036},{},[2037,2038,2045,2046,2056],{"type":71,"value":1685},{"type":66,"tag":144,"props":2039,"children":2042},{"href":2040,"rel":2041},"https://github.com/nuxt-modules/supabase/issues/154",[148],[2043],{"type":71,"value":2044},"#154",{"type":71,"value":153},{"type":66,"tag":144,"props":2047,"children":2050},{"href":2048,"rel":2049},"https://github.com/nuxt-modules/supabase/commit/ba437a8",[148],[2051],{"type":66,"tag":127,"props":2052,"children":2054},{"className":2053},[],[2055],{"type":71,"value":1696},{"type":71,"value":254},{"type":66,"tag":115,"props":2058,"children":2059},{},[2060,2061,2068,2069,2079],{"type":71,"value":1668},{"type":66,"tag":144,"props":2062,"children":2065},{"href":2063,"rel":2064},"https://github.com/nuxt-modules/supabase/issues/157",[148],[2066],{"type":71,"value":2067},"#157",{"type":71,"value":153},{"type":66,"tag":144,"props":2070,"children":2073},{"href":2071,"rel":2072},"https://github.com/nuxt-modules/supabase/commit/0cad0a5",[148],[2074],{"type":66,"tag":127,"props":2075,"children":2077},{"className":2076},[],[2078],{"type":71,"value":1679},{"type":71,"value":254},{"type":66,"tag":115,"props":2081,"children":2082},{},[2083,2084,2094],{"type":71,"value":1651},{"type":66,"tag":144,"props":2085,"children":2088},{"href":2086,"rel":2087},"https://github.com/nuxt-modules/supabase/commit/94f7e13",[148],[2089],{"type":66,"tag":127,"props":2090,"children":2092},{"className":2091},[],[2093],{"type":71,"value":1662},{"type":71,"value":254},{"type":66,"tag":115,"props":2096,"children":2097},{},[2098,2099,2106,2107,2117],{"type":71,"value":1634},{"type":66,"tag":144,"props":2100,"children":2103},{"href":2101,"rel":2102},"https://github.com/nuxt-modules/supabase/issues/126",[148],[2104],{"type":71,"value":2105},"#126",{"type":71,"value":153},{"type":66,"tag":144,"props":2108,"children":2111},{"href":2109,"rel":2110},"https://github.com/nuxt-modules/supabase/commit/5699dc6",[148],[2112],{"type":66,"tag":127,"props":2113,"children":2115},{"className":2114},[],[2116],{"type":71,"value":1645},{"type":71,"value":254},{"type":66,"tag":115,"props":2119,"children":2120},{},[2121,2122,2132],{"type":71,"value":1617},{"type":66,"tag":144,"props":2123,"children":2126},{"href":2124,"rel":2125},"https://github.com/nuxt-modules/supabase/commit/bca1992",[148],[2127],{"type":66,"tag":127,"props":2128,"children":2130},{"className":2129},[],[2131],{"type":71,"value":1628},{"type":71,"value":254},{"type":66,"tag":67,"props":2134,"children":2135},{},[2136,2140,2141],{"type":66,"tag":119,"props":2137,"children":2138},{},[2139],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2142,"children":2145},{"href":2143,"rel":2144},"https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.3",[148],[2146],{"type":71,"value":2143},{"title":59,"searchDepth":78,"depth":78,"links":2148},[2149],{"id":99,"depth":78,"text":102},"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":2155,"total_count":206,"+1":206,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":212,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/97697076/reactions",{"name":214,"url":215,"avatar":216},"github:v0.3.3.md",{"name":2159,"tag_name":2159,"date":2160,"body":2161,"v":212,"url":2226,"tarball":2227,"zipball":2228,"prerelease":60,"author":2229,"title":59,"description":59,"_type":80,"_id":2230},"v0.3.1","2023-02-07T20:18:04Z",{"type":63,"children":2162,"toc":2223},[2163,2167,2209],{"type":66,"tag":97,"props":2164,"children":2165},{"id":99},[2166],{"type":71,"value":102},{"type":66,"tag":111,"props":2168,"children":2169},{},[2170,2187,2204],{"type":66,"tag":115,"props":2171,"children":2172},{},[2173,2175,2186],{"type":71,"value":2174},"chore(app): upgrade deps and fix lint (",{"type":66,"tag":144,"props":2176,"children":2179},{"href":2177,"rel":2178},"https://github.com/nuxt-modules/supabase/commit/68baf68",[148],[2180],{"type":66,"tag":127,"props":2181,"children":2183},{"className":2182},[],[2184],{"type":71,"value":2185},"68baf68",{"type":71,"value":254},{"type":66,"tag":115,"props":2188,"children":2189},{},[2190,2192,2203],{"type":71,"value":2191},"fix(client): unset user before session on logout (",{"type":66,"tag":144,"props":2193,"children":2196},{"href":2194,"rel":2195},"https://github.com/nuxt-modules/supabase/commit/ab574ef",[148],[2197],{"type":66,"tag":127,"props":2198,"children":2200},{"className":2199},[],[2201],{"type":71,"value":2202},"ab574ef",{"type":71,"value":254},{"type":66,"tag":115,"props":2205,"children":2206},{},[2207],{"type":71,"value":2208},"chore(demo): update with latest and fix logout",{"type":66,"tag":67,"props":2210,"children":2211},{},[2212,2216,2217],{"type":66,"tag":119,"props":2213,"children":2214},{},[2215],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2218,"children":2221},{"href":2219,"rel":2220},"https://github.com/nuxt-community/supabase-module/compare/v0.3.0...v0.3.1",[148],[2222],{"type":71,"value":2219},{"title":59,"searchDepth":78,"depth":78,"links":2224},[2225],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.3.1.md",{"name":2232,"tag_name":2232,"date":2233,"body":2234,"v":212,"url":2356,"tarball":2357,"zipball":2358,"prerelease":60,"reactions":2359,"author":2361,"title":59,"description":1157,"_type":80,"_id":2362},"v0.3.0","2022-11-22T15:26:02Z",{"type":63,"children":2235,"toc":2353},[2236,2240,2244,2265,2299,2327,2339],{"type":66,"tag":67,"props":2237,"children":2238},{},[2239],{"type":71,"value":1157},{"type":66,"tag":97,"props":2241,"children":2242},{"id":99},[2243],{"type":71,"value":102},{"type":66,"tag":67,"props":2245,"children":2246},{},[2247,2249,2256,2258,2263],{"type":71,"value":2248},"In order to resolve ",{"type":66,"tag":144,"props":2250,"children":2253},{"href":2251,"rel":2252},"https://github.com/nuxt-modules/supabase/issues/114",[148],[2254],{"type":71,"value":2255},"#114",{"type":71,"value":2257},", I have made the choice to separate the ",{"type":66,"tag":127,"props":2259,"children":2261},{"className":2260},[],[2262],{"type":71,"value":21},{"type":71,"value":2264}," in two other composables:",{"type":66,"tag":111,"props":2266,"children":2267},{},[2268,2288],{"type":66,"tag":115,"props":2269,"children":2270},{},[2271,2273,2278,2280,2286],{"type":71,"value":2272},"The ",{"type":66,"tag":127,"props":2274,"children":2276},{"className":2275},[],[2277],{"type":71,"value":1169},{"type":71,"value":2279}," 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":66,"tag":127,"props":2281,"children":2283},{"className":2282},[],[2284],{"type":71,"value":2285},"onAuthStateChange",{"type":71,"value":2287}," events.",{"type":66,"tag":115,"props":2289,"children":2290},{},[2291,2292,2297],{"type":71,"value":2272},{"type":66,"tag":127,"props":2293,"children":2295},{"className":2294},[],[2296],{"type":71,"value":21},{"type":71,"value":2298}," is now only useful for data request.",{"type":66,"tag":67,"props":2300,"children":2301},{},[2302,2304,2309,2311,2316,2318,2325],{"type":71,"value":2303},"To avoid regression you just need to use ",{"type":66,"tag":127,"props":2305,"children":2307},{"className":2306},[],[2308],{"type":71,"value":1169},{"type":71,"value":2310}," instead of ",{"type":66,"tag":127,"props":2312,"children":2314},{"className":2313},[],[2315],{"type":71,"value":21},{"type":71,"value":2317}," everywhere you use ",{"type":66,"tag":144,"props":2319,"children":2322},{"href":2320,"rel":2321},"https://supabase.com/docs/reference/javascript/auth-signup",[148],[2323],{"type":71,"value":2324},"Supabase auth methods",{"type":71,"value":2326},".",{"type":66,"tag":67,"props":2328,"children":2329},{},[2330,2337],{"type":66,"tag":144,"props":2331,"children":2334},{"href":2332,"rel":2333},"https://supabase.nuxtjs.org/usage/composables/use-supabase-auth-client",[148],[2335],{"type":71,"value":2336},"Documentation",{"type":71,"value":2338}," has been updated.",{"type":66,"tag":67,"props":2340,"children":2341},{},[2342,2346,2347],{"type":66,"tag":119,"props":2343,"children":2344},{},[2345],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2348,"children":2351},{"href":2349,"rel":2350},"https://github.com/nuxt-community/supabase-module/compare/v0.2.6...v0.3.0",[148],[2352],{"type":71,"value":2349},{"title":59,"searchDepth":78,"depth":78,"links":2354},[2355],{"id":99,"depth":78,"text":102},"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":2360,"total_count":1333,"+1":78,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":204,"rocket":204,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/83886320/reactions",{"name":214,"url":215,"avatar":216},"github:v0.3.0.md",{"name":2364,"tag_name":2364,"date":2365,"body":2366,"v":212,"url":2403,"tarball":2404,"zipball":2405,"prerelease":60,"author":2406,"title":59,"description":59,"_type":80,"_id":2407},"v0.2.6","2022-11-22T15:16:16Z",{"type":63,"children":2367,"toc":2400},[2368,2372,2386],{"type":66,"tag":97,"props":2369,"children":2370},{"id":99},[2371],{"type":71,"value":102},{"type":66,"tag":111,"props":2373,"children":2374},{},[2375],{"type":66,"tag":115,"props":2376,"children":2377},{},[2378,2380],{"type":71,"value":2379},"chore: update to Nuxt 3 stable 🚀 ",{"type":66,"tag":144,"props":2381,"children":2384},{"href":2382,"rel":2383},"https://nuxt.com/v3",[148],[2385],{"type":71,"value":2382},{"type":66,"tag":67,"props":2387,"children":2388},{},[2389,2393,2394],{"type":66,"tag":119,"props":2390,"children":2391},{},[2392],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2395,"children":2398},{"href":2396,"rel":2397},"https://github.com/nuxt-community/supabase-module/compare/v0.2.5...v0.2.6",[148],[2399],{"type":71,"value":2396},{"title":59,"searchDepth":78,"depth":78,"links":2401},[2402],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.2.6.md",{"name":2409,"tag_name":2409,"date":2410,"body":2411,"v":212,"url":2463,"tarball":2464,"zipball":2465,"prerelease":60,"author":2466,"title":59,"description":59,"_type":80,"_id":2467},"v0.2.5","2022-11-22T15:14:51Z",{"type":63,"children":2412,"toc":2460},[2413,2417,2446],{"type":66,"tag":97,"props":2414,"children":2415},{"id":99},[2416],{"type":71,"value":102},{"type":66,"tag":111,"props":2418,"children":2419},{},[2420],{"type":66,"tag":115,"props":2421,"children":2422},{},[2423,2425,2436,2438,2445],{"type":71,"value":2424},"fix: use Router instead of navigateTo for login redirect in ",{"type":66,"tag":144,"props":2426,"children":2429},{"href":2427,"rel":2428},"https://github.com/nuxt-modules/supabase/commit/79fc0e43655d4dee5858acf06cf1979e3ead542b",[148],[2430],{"type":66,"tag":127,"props":2431,"children":2433},{"className":2432},[],[2434],{"type":71,"value":2435},"79fc0e4",{"type":71,"value":2437}," (resolves ",{"type":66,"tag":144,"props":2439,"children":2442},{"href":2440,"rel":2441},"https://github.com/nuxt-modules/supabase/issues/89",[148],[2443],{"type":71,"value":2444},"#89",{"type":71,"value":254},{"type":66,"tag":67,"props":2447,"children":2448},{},[2449,2453,2454],{"type":66,"tag":119,"props":2450,"children":2451},{},[2452],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2455,"children":2458},{"href":2456,"rel":2457},"https://github.com/nuxt-community/supabase-module/compare/v0.2.4...v0.2.5",[148],[2459],{"type":71,"value":2456},{"title":59,"searchDepth":78,"depth":78,"links":2461},[2462],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.2.5.md",{"name":2469,"tag_name":2469,"date":2470,"body":2471,"v":212,"url":2513,"tarball":2514,"zipball":2515,"prerelease":60,"reactions":2516,"author":2518,"title":59,"description":59,"_type":80,"_id":2519},"v0.2.4","2022-11-13T19:36:18Z",{"type":63,"children":2472,"toc":2510},[2473,2477,2496],{"type":66,"tag":97,"props":2474,"children":2475},{"id":99},[2476],{"type":71,"value":102},{"type":66,"tag":111,"props":2478,"children":2479},{},[2480],{"type":66,"tag":115,"props":2481,"children":2482},{},[2483,2485],{"type":71,"value":2484},"fix: handle TOKEN_REFRESHED session event in ",{"type":66,"tag":144,"props":2486,"children":2489},{"href":2487,"rel":2488},"https://github.com/nuxt-modules/supabase/commit/bf503029b48113b4b66545d0d2065c899209a06a",[148],[2490],{"type":66,"tag":127,"props":2491,"children":2493},{"className":2492},[],[2494],{"type":71,"value":2495},"bf50302",{"type":66,"tag":67,"props":2497,"children":2498},{},[2499,2503,2504],{"type":66,"tag":119,"props":2500,"children":2501},{},[2502],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2505,"children":2508},{"href":2506,"rel":2507},"https://github.com/nuxt-community/supabase-module/compare/v0.2.3...v0.2.4",[148],[2509],{"type":71,"value":2506},{"title":59,"searchDepth":78,"depth":78,"links":2511},[2512],{"id":99,"depth":78,"text":102},"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":2517,"total_count":78,"+1":212,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":78,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/82920199/reactions",{"name":214,"url":215,"avatar":216},"github:v0.2.4.md",{"name":2521,"tag_name":2521,"date":2522,"body":2523,"v":212,"url":2661,"tarball":2662,"zipball":2663,"prerelease":60,"reactions":2664,"author":2666,"title":59,"description":59,"_type":80,"_id":2667},"v0.2.3","2022-11-11T17:27:14Z",{"type":63,"children":2524,"toc":2657},[2525,2529,2609,2615,2643],{"type":66,"tag":97,"props":2526,"children":2527},{"id":99},[2528],{"type":71,"value":102},{"type":66,"tag":111,"props":2530,"children":2531},{},[2532,2560,2572,2585],{"type":66,"tag":115,"props":2533,"children":2534},{},[2535,2537,2548,2549],{"type":71,"value":2536},"feat: typed supabase client in ",{"type":66,"tag":144,"props":2538,"children":2541},{"href":2539,"rel":2540},"https://github.com/nuxt-modules/supabase/commit/b59ff1acfbbe2cd36aea1ade2d2b538404909260",[148],[2542],{"type":66,"tag":127,"props":2543,"children":2545},{"className":2544},[],[2546],{"type":71,"value":2547},"b59ff1a",{"type":71,"value":1270},{"type":66,"tag":144,"props":2550,"children":2553},{"href":2551,"rel":2552},"https://github.com/nuxt-modules/supabase/commit/fd751d7e50c63c48df9e03763458cc826409ff35",[148],[2554],{"type":66,"tag":127,"props":2555,"children":2557},{"className":2556},[],[2558],{"type":71,"value":2559},"fd751d7",{"type":66,"tag":115,"props":2561,"children":2562},{},[2563,2565],{"type":71,"value":2564},"chore: upgrade to nuxt ",{"type":66,"tag":144,"props":2566,"children":2569},{"href":2567,"rel":2568},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.13",[148],[2570],{"type":71,"value":2571},"rc13",{"type":66,"tag":115,"props":2573,"children":2574},{},[2575,2577,2584],{"type":71,"value":2576},"fix: do not apply token if not exists (",{"type":66,"tag":144,"props":2578,"children":2581},{"href":2579,"rel":2580},"https://github.com/nuxt-modules/supabase/issues/107",[148],[2582],{"type":71,"value":2583},"#107",{"type":71,"value":254},{"type":66,"tag":115,"props":2586,"children":2587},{},[2588,2590,2596,2598],{"type":71,"value":2589},"docs: add roadmap board from ",{"type":66,"tag":144,"props":2591,"children":2594},{"href":2592,"rel":2593},"https://volta.net",[148],[2595],{"type":71,"value":2592},{"type":71,"value":2597}," in ",{"type":66,"tag":144,"props":2599,"children":2602},{"href":2600,"rel":2601},"https://github.com/nuxt-modules/supabase/commit/f8e73b535924f133e479dbc2863bb37856ff4555",[148],[2603],{"type":66,"tag":127,"props":2604,"children":2606},{"className":2605},[],[2607],{"type":71,"value":2608},"f8e73b5",{"type":66,"tag":97,"props":2610,"children":2612},{"id":2611},"contributors",[2613],{"type":71,"value":2614},"Contributors",{"type":66,"tag":67,"props":2616,"children":2617},{},[2618,2620,2630,2631,2641],{"type":71,"value":2619},"Thanks to ",{"type":66,"tag":144,"props":2621,"children":2624},{"href":2622,"rel":2623},"https://github.com/manniL",[148],[2625],{"type":66,"tag":119,"props":2626,"children":2627},{},[2628],{"type":71,"value":2629},"@manniL",{"type":71,"value":1270},{"type":66,"tag":144,"props":2632,"children":2635},{"href":2633,"rel":2634},"https://github.com/levibe",[148],[2636],{"type":66,"tag":119,"props":2637,"children":2638},{},[2639],{"type":71,"value":2640},"@levibe",{"type":71,"value":2642}," 💚",{"type":66,"tag":67,"props":2644,"children":2645},{},[2646,2650,2651],{"type":66,"tag":119,"props":2647,"children":2648},{},[2649],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2652,"children":2655},{"href":2653,"rel":2654},"https://github.com/nuxt-community/supabase-module/compare/v0.2.0...v0.2.3",[148],[2656],{"type":71,"value":2653},{"title":59,"searchDepth":78,"depth":78,"links":2658},[2659,2660],{"id":99,"depth":78,"text":102},{"id":2611,"depth":78,"text":2614},"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":2665,"total_count":206,"+1":212,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":206,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/82825289/reactions",{"name":214,"url":215,"avatar":216},"github:v0.2.3.md",{"name":2669,"tag_name":2669,"date":2670,"body":2671,"v":212,"url":2762,"tarball":2763,"zipball":2764,"prerelease":60,"author":2765,"title":59,"description":59,"_type":80,"_id":2766},"v0.2.0","2022-10-17T14:18:31Z",{"type":63,"children":2672,"toc":2759},[2673,2677,2682,2695,2708,2713,2718,2745],{"type":66,"tag":97,"props":2674,"children":2675},{"id":99},[2676],{"type":71,"value":102},{"type":66,"tag":67,"props":2678,"children":2679},{},[2680],{"type":71,"value":2681},"⚠️ Breaking Changes",{"type":66,"tag":67,"props":2683,"children":2684},{},[2685,2687,2694],{"type":71,"value":2686},"Upgrade to supabase-js v2, check Supabase ",{"type":66,"tag":144,"props":2688,"children":2691},{"href":2689,"rel":2690},"https://supabase.com/docs/reference/javascript/release-notes",[148],[2692],{"type":71,"value":2693},"release notes",{"type":71,"value":2326},{"type":66,"tag":67,"props":2696,"children":2697},{},[2698,2700,2706],{"type":71,"value":2699},"Module ",{"type":66,"tag":144,"props":2701,"children":2703},{"href":1119,"rel":2702},[148],[2704],{"type":71,"value":2705},"documentation",{"type":71,"value":2707}," has been updated in favor of supabase v2 syntax.",{"type":66,"tag":67,"props":2709,"children":2710},{},[2711],{"type":71,"value":2712},"Please feel free to make PR if I missed something 🙏",{"type":66,"tag":67,"props":2714,"children":2715},{},[2716],{"type":71,"value":2717},"🚀 Features",{"type":66,"tag":111,"props":2719,"children":2720},{},[2721,2733],{"type":66,"tag":115,"props":2722,"children":2723},{},[2724,2726,2732],{"type":71,"value":2725},"options: redirect user after signout or when user is not authenticated (check ",{"type":66,"tag":144,"props":2727,"children":2730},{"href":2728,"rel":2729},"https://supabase.nuxtjs.org/get-started#redirect",[148],[2731],{"type":71,"value":2705},{"type":71,"value":254},{"type":66,"tag":115,"props":2734,"children":2735},{},[2736,2738],{"type":71,"value":2737},"session: set refresh token ",{"type":66,"tag":144,"props":2739,"children":2742},{"href":2740,"rel":2741},"https://github.com/nuxt-modules/supabase/issues/18",[148],[2743],{"type":71,"value":2744},"#18",{"type":66,"tag":67,"props":2746,"children":2747},{},[2748,2752,2753],{"type":66,"tag":119,"props":2749,"children":2750},{},[2751],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2754,"children":2757},{"href":2755,"rel":2756},"https://github.com/nuxt-community/supabase-module/compare/v0.1.28...v0.2.0",[148],[2758],{"type":71,"value":2755},{"title":59,"searchDepth":78,"depth":78,"links":2760},[2761],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.2.0.md",{"name":2768,"tag_name":2768,"date":2769,"body":2770,"v":212,"url":2825,"tarball":2826,"zipball":2827,"prerelease":60,"author":2828,"title":59,"description":59,"_type":80,"_id":2829},"v0.1.28","2022-10-07T10:05:52Z",{"type":63,"children":2771,"toc":2822},[2772,2776,2792,2806],{"type":66,"tag":97,"props":2773,"children":2774},{"id":99},[2775],{"type":71,"value":102},{"type":66,"tag":111,"props":2777,"children":2778},{},[2779],{"type":66,"tag":115,"props":2780,"children":2781},{},[2782,2784,2791],{"type":71,"value":2783},"fix: cloudflare workers deployment (",{"type":66,"tag":144,"props":2785,"children":2788},{"href":2786,"rel":2787},"https://github.com/nuxt-modules/supabase/issues/46",[148],[2789],{"type":71,"value":2790},"#46",{"type":71,"value":254},{"type":66,"tag":67,"props":2793,"children":2794},{},[2795,2799,2800],{"type":66,"tag":119,"props":2796,"children":2797},{},[2798],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2801,"children":2804},{"href":2802,"rel":2803},"https://github.com/nuxt-community/supabase-module/compare/v0.1.27...v0.1.28",[148],[2805],{"type":71,"value":2802},{"type":66,"tag":67,"props":2807,"children":2808},{},[2809,2810,2820],{"type":71,"value":2619},{"type":66,"tag":144,"props":2811,"children":2814},{"href":2812,"rel":2813},"https://github.com/kevinmarrec",[148],[2815],{"type":66,"tag":119,"props":2816,"children":2817},{},[2818],{"type":71,"value":2819},"@kevinmarrec",{"type":71,"value":2821}," for the fix 🔥",{"title":59,"searchDepth":78,"depth":78,"links":2823},[2824],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.1.28.md",{"name":2831,"tag_name":2831,"date":2832,"body":2833,"v":212,"url":2876,"tarball":2877,"zipball":2878,"prerelease":60,"author":2879,"title":59,"description":59,"_type":80,"_id":2880},"v0.1.27","2022-09-23T10:19:42Z",{"type":63,"children":2834,"toc":2873},[2835,2839,2854,2859],{"type":66,"tag":97,"props":2836,"children":2837},{"id":99},[2838],{"type":71,"value":102},{"type":66,"tag":111,"props":2840,"children":2841},{},[2842],{"type":66,"tag":115,"props":2843,"children":2844},{},[2845,2847],{"type":71,"value":2846},"chore: upgrade to Nuxt ",{"type":66,"tag":144,"props":2848,"children":2851},{"href":2849,"rel":2850},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.11",[148],[2852],{"type":71,"value":2853},"rc.11",{"type":66,"tag":67,"props":2855,"children":2856},{},[2857],{"type":71,"value":2858},"Stable is coming 🚀",{"type":66,"tag":67,"props":2860,"children":2861},{},[2862,2866,2867],{"type":66,"tag":119,"props":2863,"children":2864},{},[2865],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2868,"children":2871},{"href":2869,"rel":2870},"https://github.com/nuxt-community/supabase-module/compare/v0.1.26...v0.1.27",[148],[2872],{"type":71,"value":2869},{"title":59,"searchDepth":78,"depth":78,"links":2874},[2875],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.1.27.md",{"name":2669,"tag_name":2882,"date":2883,"body":2884,"v":212,"url":2922,"tarball":2923,"zipball":2924,"prerelease":2153,"author":2925,"title":59,"description":59,"_type":80,"_id":2766},"v0.2.0-16","2022-08-16T14:56:45Z",{"type":63,"children":2885,"toc":2919},[2886,2890,2894,2905],{"type":66,"tag":97,"props":2887,"children":2888},{"id":99},[2889],{"type":71,"value":102},{"type":66,"tag":67,"props":2891,"children":2892},{},[2893],{"type":71,"value":2681},{"type":66,"tag":67,"props":2895,"children":2896},{},[2897,2898,2904],{"type":71,"value":2686},{"type":66,"tag":144,"props":2899,"children":2902},{"href":2900,"rel":2901},"https://supabase.com/docs/reference/javascript/next/release-notes",[148],[2903],{"type":71,"value":2693},{"type":71,"value":2326},{"type":66,"tag":67,"props":2906,"children":2907},{},[2908,2912,2913],{"type":66,"tag":119,"props":2909,"children":2910},{},[2911],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2914,"children":2917},{"href":2915,"rel":2916},"https://github.com/nuxt-community/supabase-module/compare/v0.1.22...v0.2.0",[148],[2918],{"type":71,"value":2915},{"title":59,"searchDepth":78,"depth":78,"links":2920},[2921],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},{"name":2927,"tag_name":2927,"date":2928,"body":2929,"v":212,"url":2971,"tarball":2972,"zipball":2973,"prerelease":60,"reactions":2974,"author":2976,"title":59,"description":59,"_type":80,"_id":2977},"v0.1.26","2022-09-16T11:17:29Z",{"type":63,"children":2930,"toc":2968},[2931,2935,2949,2954],{"type":66,"tag":97,"props":2932,"children":2933},{"id":99},[2934],{"type":71,"value":102},{"type":66,"tag":111,"props":2936,"children":2937},{},[2938],{"type":66,"tag":115,"props":2939,"children":2940},{},[2941,2942],{"type":71,"value":2846},{"type":66,"tag":144,"props":2943,"children":2946},{"href":2944,"rel":2945},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.10",[148],[2947],{"type":71,"value":2948},"rc.10",{"type":66,"tag":67,"props":2950,"children":2951},{},[2952],{"type":71,"value":2953},"Stable in coming 🚀",{"type":66,"tag":67,"props":2955,"children":2956},{},[2957,2961,2962],{"type":66,"tag":119,"props":2958,"children":2959},{},[2960],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":2963,"children":2966},{"href":2964,"rel":2965},"https://github.com/nuxt-community/supabase-module/compare/v0.1.25...v0.1.26",[148],[2967],{"type":71,"value":2964},{"title":59,"searchDepth":78,"depth":78,"links":2969},[2970],{"id":99,"depth":78,"text":102},"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":2975,"total_count":206,"+1":206,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":212,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/77384555/reactions",{"name":214,"url":215,"avatar":216},"github:v0.1.26.md",{"name":2979,"tag_name":2979,"date":2980,"body":2981,"v":212,"url":3084,"tarball":3085,"zipball":3086,"prerelease":60,"reactions":3087,"author":3089,"title":59,"description":59,"_type":80,"_id":3090},"v0.1.25","2022-09-05T07:28:01Z",{"type":63,"children":2982,"toc":3081},[2983,2987,3067],{"type":66,"tag":97,"props":2984,"children":2985},{"id":99},[2986],{"type":71,"value":102},{"type":66,"tag":111,"props":2988,"children":2989},{},[2990,3026,3054],{"type":66,"tag":115,"props":2991,"children":2992},{},[2993,2995,3006,3007,3018,3020],{"type":71,"value":2994},"docs: new directory architecture + supabase module v2 coming soon in ",{"type":66,"tag":144,"props":2996,"children":2999},{"href":2997,"rel":2998},"https://github.com/nuxt-modules/supabase/commit/d48522a369bcced45dfb3d16793b33f0144ffa50",[148],[3000],{"type":66,"tag":127,"props":3001,"children":3003},{"className":3002},[],[3004],{"type":71,"value":3005},"d48522a",{"type":71,"value":1270},{"type":66,"tag":144,"props":3008,"children":3011},{"href":3009,"rel":3010},"https://github.com/nuxt-modules/supabase/commit/e69712b4862a5baa464c01ae32755473358b82d2",[148],[3012],{"type":66,"tag":127,"props":3013,"children":3015},{"className":3014},[],[3016],{"type":71,"value":3017},"e69712b",{"type":71,"value":3019},". Check out ",{"type":66,"tag":144,"props":3021,"children":3024},{"href":3022,"rel":3023},"https://supabase.nuxtjs.org/",[148],[3025],{"type":71,"value":3022},{"type":66,"tag":115,"props":3027,"children":3028},{},[3029,3031,3042,3043],{"type":71,"value":3030},"chore: upgrade to rc9 in ",{"type":66,"tag":144,"props":3032,"children":3035},{"href":3033,"rel":3034},"https://github.com/nuxt-modules/supabase/commit/3c5220bf9569d2e939a466aa4a2814e0dc38622c",[148],[3036],{"type":66,"tag":127,"props":3037,"children":3039},{"className":3038},[],[3040],{"type":71,"value":3041},"3c5220b",{"type":71,"value":1270},{"type":66,"tag":144,"props":3044,"children":3047},{"href":3045,"rel":3046},"https://github.com/nuxt-modules/supabase/commit/495e0b705622e9bda28072815c828beedea1082c",[148],[3048],{"type":66,"tag":127,"props":3049,"children":3051},{"className":3050},[],[3052],{"type":71,"value":3053},"495e0b7",{"type":66,"tag":115,"props":3055,"children":3056},{},[3057,3059,3066],{"type":71,"value":3058},"chore: fix nuxt compatibility (",{"type":66,"tag":144,"props":3060,"children":3063},{"href":3061,"rel":3062},"https://github.com/nuxt-modules/supabase/issues/70",[148],[3064],{"type":71,"value":3065},"#70",{"type":71,"value":254},{"type":66,"tag":67,"props":3068,"children":3069},{},[3070,3074,3075],{"type":66,"tag":119,"props":3071,"children":3072},{},[3073],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":3076,"children":3079},{"href":3077,"rel":3078},"https://github.com/nuxt-community/supabase-module/compare/v0.1.23...v0.1.25",[148],[3080],{"type":71,"value":3077},{"title":59,"searchDepth":78,"depth":78,"links":3082},[3083],{"id":99,"depth":78,"text":102},"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":3088,"total_count":1437,"+1":212,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":1437,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/76259131/reactions",{"name":214,"url":215,"avatar":216},"github:v0.1.25.md",{"name":3092,"tag_name":3092,"date":3093,"body":3094,"v":212,"url":3162,"tarball":3163,"zipball":3164,"prerelease":60,"author":3165,"title":59,"description":59,"_type":80,"_id":3166},"v0.1.23","2022-08-16T10:12:13Z",{"type":63,"children":3095,"toc":3159},[3096,3100,3145],{"type":66,"tag":97,"props":3097,"children":3098},{"id":99},[3099],{"type":71,"value":102},{"type":66,"tag":111,"props":3101,"children":3102},{},[3103],{"type":66,"tag":115,"props":3104,"children":3105},{},[3106,3108,3121,3123,3135,3137,3144],{"type":71,"value":3107},"fix: transpile supabase packages in ",{"type":66,"tag":144,"props":3109,"children":3112},{"href":3110,"rel":3111},"https://github.com/nuxt-community/supabase-module/commit/66020204e8aad98db94a83964f1bb988642c90f3",[148],[3113,3115],{"type":71,"value":3114},"nuxt-community/supabase-module@",{"type":66,"tag":127,"props":3116,"children":3118},{"className":3117},[],[3119],{"type":71,"value":3120},"6602020",{"type":71,"value":3122}," ",{"type":66,"tag":144,"props":3124,"children":3127},{"href":3125,"rel":3126},"https://github.com/nuxt-community/supabase-module/commit/237ddf2cf83079e39748b6252182ca1d2f62cc54",[148],[3128,3129],{"type":71,"value":3114},{"type":66,"tag":127,"props":3130,"children":3132},{"className":3131},[],[3133],{"type":71,"value":3134},"237ddf2",{"type":71,"value":3136}," and (",{"type":66,"tag":144,"props":3138,"children":3141},{"href":3139,"rel":3140},"https://github.com/nuxt-modules/supabase/issues/62",[148],[3142],{"type":71,"value":3143},"#62",{"type":71,"value":254},{"type":66,"tag":67,"props":3146,"children":3147},{},[3148,3152,3153],{"type":66,"tag":119,"props":3149,"children":3150},{},[3151],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":3154,"children":3157},{"href":3155,"rel":3156},"https://github.com/nuxt-community/supabase-module/compare/v0.1.20...v0.1.23",[148],[3158],{"type":71,"value":3155},{"title":59,"searchDepth":78,"depth":78,"links":3160},[3161],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.1.23.md",{"name":3168,"tag_name":3168,"date":3169,"body":3170,"v":212,"url":3240,"tarball":3241,"zipball":3242,"prerelease":60,"author":3243,"title":59,"description":59,"_type":80,"_id":3244},"v0.1.20","2022-08-16T09:12:14Z",{"type":63,"children":3171,"toc":3236},[3172,3176,3191,3205,3211],{"type":66,"tag":97,"props":3173,"children":3174},{"id":99},[3175],{"type":71,"value":102},{"type":66,"tag":111,"props":3177,"children":3178},{},[3179],{"type":66,"tag":115,"props":3180,"children":3181},{},[3182,3184],{"type":71,"value":3183},"chore: upgrade to ",{"type":66,"tag":144,"props":3185,"children":3188},{"href":3186,"rel":3187},"https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.8",[148],[3189],{"type":71,"value":3190},"nuxt rc.8",{"type":66,"tag":67,"props":3192,"children":3193},{},[3194,3198,3199],{"type":66,"tag":119,"props":3195,"children":3196},{},[3197],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":3200,"children":3203},{"href":3201,"rel":3202},"https://github.com/nuxt-community/supabase-module/compare/v0.1.19...v0.1.20",[148],[3204],{"type":71,"value":3201},{"type":66,"tag":97,"props":3206,"children":3208},{"id":3207},"new-contributors",[3209],{"type":71,"value":3210},"New Contributors",{"type":66,"tag":111,"props":3212,"children":3213},{},[3214],{"type":66,"tag":115,"props":3215,"children":3216},{},[3217,3227,3229],{"type":66,"tag":144,"props":3218,"children":3221},{"href":3219,"rel":3220},"https://github.com/josuemartinezz",[148],[3222],{"type":66,"tag":119,"props":3223,"children":3224},{},[3225],{"type":71,"value":3226},"@josuemartinezz",{"type":71,"value":3228}," made his first contribution in ",{"type":66,"tag":144,"props":3230,"children":3233},{"href":3231,"rel":3232},"https://github.com/nuxt-modules/supabase/issues/59",[148],[3234],{"type":71,"value":3235},"#59",{"title":59,"searchDepth":78,"depth":78,"links":3237},[3238,3239],{"id":99,"depth":78,"text":102},{"id":3207,"depth":78,"text":3210},"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":214,"url":215,"avatar":216},"github:v0.1.20.md",{"name":3246,"tag_name":3246,"date":3247,"body":3248,"v":212,"url":3302,"tarball":3303,"zipball":3304,"prerelease":60,"reactions":3305,"author":3307,"title":59,"description":59,"_type":80,"_id":3308},"v0.1.19","2022-07-18T08:18:42Z",{"type":63,"children":3249,"toc":3299},[3250,3254,3285],{"type":66,"tag":97,"props":3251,"children":3252},{"id":99},[3253],{"type":71,"value":102},{"type":66,"tag":111,"props":3255,"children":3256},{},[3257,3268],{"type":66,"tag":115,"props":3258,"children":3259},{},[3260,3261],{"type":71,"value":3183},{"type":66,"tag":144,"props":3262,"children":3265},{"href":3263,"rel":3264},"https://github.com/nuxt/framework/pull/5825",[148],[3266],{"type":71,"value":3267},"nuxt rc.5",{"type":66,"tag":115,"props":3269,"children":3270},{},[3271,3273],{"type":71,"value":3272},"doc: add supabase icon in ",{"type":66,"tag":144,"props":3274,"children":3277},{"href":3275,"rel":3276},"https://github.com/nuxt-community/supabase-module/commit/c0cce016eae809fd64acc9a503b4807750280b39",[148],[3278,3279],{"type":71,"value":3114},{"type":66,"tag":127,"props":3280,"children":3282},{"className":3281},[],[3283],{"type":71,"value":3284},"c0cce01",{"type":66,"tag":67,"props":3286,"children":3287},{},[3288,3292,3293],{"type":66,"tag":119,"props":3289,"children":3290},{},[3291],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":3294,"children":3297},{"href":3295,"rel":3296},"https://github.com/nuxt-community/supabase-module/compare/v0.1.18...v0.1.19",[148],[3298],{"type":71,"value":3295},{"title":59,"searchDepth":78,"depth":78,"links":3300},[3301],{"id":99,"depth":78,"text":102},"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":3306,"total_count":206,"+1":212,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":212,"rocket":206,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/72200550/reactions",{"name":214,"url":215,"avatar":216},"github:v0.1.19.md",{"name":3310,"tag_name":3310,"date":3311,"body":3312,"v":212,"url":3389,"tarball":3390,"zipball":3391,"prerelease":60,"author":3392,"title":59,"description":59,"_type":80,"_id":3393},"v0.1.18","2022-06-29T09:23:26Z",{"type":63,"children":3313,"toc":3386},[3314,3318,3372],{"type":66,"tag":97,"props":3315,"children":3316},{"id":99},[3317],{"type":71,"value":102},{"type":66,"tag":111,"props":3319,"children":3320},{},[3321,3347],{"type":66,"tag":115,"props":3322,"children":3323},{},[3324,3326,3338,3339,3346],{"type":71,"value":3325},"doc: update logo & social preview in ",{"type":66,"tag":144,"props":3327,"children":3330},{"href":3328,"rel":3329},"https://github.com/nuxt-community/supabase-module/commit/9b0b2fbee1f2fed50e903c2b368b817568d7ab1f",[148],[3331,3332],{"type":71,"value":3114},{"type":66,"tag":127,"props":3333,"children":3335},{"className":3334},[],[3336],{"type":71,"value":3337},"9b0b2fb",{"type":71,"value":142},{"type":66,"tag":144,"props":3340,"children":3343},{"href":3341,"rel":3342},"https://github.com/nuxt-modules/supabase/issues/53",[148],[3344],{"type":71,"value":3345},"#53",{"type":71,"value":254},{"type":66,"tag":115,"props":3348,"children":3349},{},[3350,3351,3363,3364,3371],{"type":71,"value":3107},{"type":66,"tag":144,"props":3352,"children":3355},{"href":3353,"rel":3354},"https://github.com/nuxt-community/supabase-module/commit/309c137f7ae23985f0ed9947fb85cb75cbfbfca2",[148],[3356,3357],{"type":71,"value":3114},{"type":66,"tag":127,"props":3358,"children":3360},{"className":3359},[],[3361],{"type":71,"value":3362},"309c137",{"type":71,"value":142},{"type":66,"tag":144,"props":3365,"children":3368},{"href":3366,"rel":3367},"https://github.com/nuxt-modules/supabase/issues/55",[148],[3369],{"type":71,"value":3370},"#55",{"type":71,"value":254},{"type":66,"tag":67,"props":3373,"children":3374},{},[3375,3379,3380],{"type":66,"tag":119,"props":3376,"children":3377},{},[3378],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":3381,"children":3384},{"href":3382,"rel":3383},"https://github.com/nuxt-community/supabase-module/compare/v0.1.17...v0.1.18",[148],[3385],{"type":71,"value":3382},{"title":59,"searchDepth":78,"depth":78,"links":3387},[3388],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.1.18.md",{"name":3395,"tag_name":3395,"date":3396,"body":3397,"v":212,"url":3489,"tarball":3490,"zipball":3491,"prerelease":60,"reactions":3492,"author":3494,"title":59,"description":59,"_type":80,"_id":3495},"v0.1.17","2022-06-17T07:01:12Z",{"type":63,"children":3398,"toc":3486},[3399,3403,3459,3472],{"type":66,"tag":97,"props":3400,"children":3401},{"id":99},[3402],{"type":71,"value":102},{"type":66,"tag":111,"props":3404,"children":3405},{},[3406,3417,3442],{"type":66,"tag":115,"props":3407,"children":3408},{},[3409,3410],{"type":71,"value":3183},{"type":66,"tag":144,"props":3411,"children":3414},{"href":3412,"rel":3413},"https://github.com/nuxt/framework/discussions/5445",[148],[3415],{"type":71,"value":3416},"nuxt rc.4",{"type":66,"tag":115,"props":3418,"children":3419},{},[3420,3422,3429,3430],{"type":71,"value":3421},"doc: update ",{"type":66,"tag":144,"props":3423,"children":3426},{"href":3424,"rel":3425},"https://docus.com/",[148],[3427],{"type":71,"value":3428},"docus theme",{"type":71,"value":2597},{"type":66,"tag":144,"props":3431,"children":3434},{"href":3432,"rel":3433},"https://github.com/nuxt-community/supabase-module/commit/64a5add3db5e0416a8a3b7f9708d27148797e958",[148],[3435,3436],{"type":71,"value":3114},{"type":66,"tag":127,"props":3437,"children":3439},{"className":3438},[],[3440],{"type":71,"value":3441},"64a5add",{"type":66,"tag":115,"props":3443,"children":3444},{},[3445,3447],{"type":71,"value":3446},"doc: add advanced usage with supabase realtime ",{"type":66,"tag":144,"props":3448,"children":3451},{"href":3449,"rel":3450},"https://github.com/nuxt-community/supabase-module/commit/8047e311e5526a4597b81a99dc8045114348172f",[148],[3452,3453],{"type":71,"value":3114},{"type":66,"tag":127,"props":3454,"children":3456},{"className":3455},[],[3457],{"type":71,"value":3458},"8047e31",{"type":66,"tag":67,"props":3460,"children":3461},{},[3462,3464,3470],{"type":71,"value":3463},"Checkout the ",{"type":66,"tag":144,"props":3465,"children":3468},{"href":3466,"rel":3467},"https://supabase.nuxtjs.org/advanced#realtime",[148],[3469],{"type":71,"value":2705},{"type":71,"value":3471}," for supabase realtime!",{"type":66,"tag":67,"props":3473,"children":3474},{},[3475,3479,3480],{"type":66,"tag":119,"props":3476,"children":3477},{},[3478],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":3481,"children":3484},{"href":3482,"rel":3483},"https://github.com/nuxt-community/supabase-module/compare/v0.1.16...v0.1.17",[148],[3485],{"type":71,"value":3482},{"title":59,"searchDepth":78,"depth":78,"links":3487},[3488],{"id":99,"depth":78,"text":102},"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":3493,"total_count":206,"+1":212,"-1":212,"laugh":212,"hooray":212,"confused":212,"heart":206,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/69689480/reactions",{"name":214,"url":215,"avatar":216},"github:v0.1.17.md",{"name":3497,"tag_name":3497,"date":3498,"body":3499,"v":212,"url":3597,"tarball":3598,"zipball":3599,"prerelease":60,"author":3600,"title":59,"description":59,"_type":80,"_id":3601},"v0.1.16","2022-06-01T10:51:45Z",{"type":63,"children":3500,"toc":3594},[3501,3505,3568,3580],{"type":66,"tag":97,"props":3502,"children":3503},{"id":99},[3504],{"type":71,"value":102},{"type":66,"tag":111,"props":3506,"children":3507},{},[3508,3542],{"type":66,"tag":115,"props":3509,"children":3510},{},[3511,3513,3520,3521,3533,3534,3541],{"type":71,"value":3512},"doc: use docus theme (public release coming soon) powered by ",{"type":66,"tag":144,"props":3514,"children":3517},{"href":3515,"rel":3516},"https://content.nuxtjs.org/",[148],[3518],{"type":71,"value":3519},"nuxt content v2",{"type":71,"value":2597},{"type":66,"tag":144,"props":3522,"children":3525},{"href":3523,"rel":3524},"https://github.com/nuxt-community/supabase-module/commit/c24a16ff0bc94221adc021231a2206b6db8f293c",[148],[3526,3527],{"type":71,"value":3114},{"type":66,"tag":127,"props":3528,"children":3530},{"className":3529},[],[3531],{"type":71,"value":3532},"c24a16f",{"type":71,"value":142},{"type":66,"tag":144,"props":3535,"children":3538},{"href":3536,"rel":3537},"https://github.com/nuxt-modules/supabase/issues/41",[148],[3539],{"type":71,"value":3540},"#41",{"type":71,"value":254},{"type":66,"tag":115,"props":3543,"children":3544},{},[3545,3547,3559,3560,3567],{"type":71,"value":3546},"feat: service role client to bypass RLS in ",{"type":66,"tag":144,"props":3548,"children":3551},{"href":3549,"rel":3550},"https://github.com/nuxt-community/supabase-module/commit/ba70a976be97acb3c438d59e45b789ee917bee6b",[148],[3552,3553],{"type":71,"value":3114},{"type":66,"tag":127,"props":3554,"children":3556},{"className":3555},[],[3557],{"type":71,"value":3558},"ba70a97",{"type":71,"value":142},{"type":66,"tag":144,"props":3561,"children":3564},{"href":3562,"rel":3563},"https://github.com/nuxt-modules/supabase/issues/43",[148],[3565],{"type":71,"value":3566},"#43",{"type":71,"value":254},{"type":66,"tag":67,"props":3569,"children":3570},{},[3571,3573,3578],{"type":71,"value":3572},"Checkout the new ",{"type":66,"tag":144,"props":3574,"children":3576},{"href":1119,"rel":3575},[148],[3577],{"type":71,"value":2705},{"type":71,"value":3579}," !",{"type":66,"tag":67,"props":3581,"children":3582},{},[3583,3587,3588],{"type":66,"tag":119,"props":3584,"children":3585},{},[3586],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":3589,"children":3592},{"href":3590,"rel":3591},"https://github.com/nuxt-community/supabase-module/compare/v0.1.14...v0.1.16",[148],[3593],{"type":71,"value":3590},{"title":59,"searchDepth":78,"depth":78,"links":3595},[3596],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.1.16.md",{"name":3603,"tag_name":3603,"date":3604,"body":3605,"v":212,"url":3713,"tarball":3714,"zipball":3715,"prerelease":60,"author":3716,"title":59,"description":59,"_type":80,"_id":3717},"v0.1.14","2022-05-13T16:48:40Z",{"type":63,"children":3606,"toc":3710},[3607,3611,3674,3696],{"type":66,"tag":97,"props":3608,"children":3609},{"id":99},[3610],{"type":71,"value":102},{"type":66,"tag":111,"props":3612,"children":3613},{},[3614,3631,3648],{"type":66,"tag":115,"props":3615,"children":3616},{},[3617,3619],{"type":71,"value":3618},"feat: add playground folder in ",{"type":66,"tag":144,"props":3620,"children":3623},{"href":3621,"rel":3622},"https://github.com/nuxt-community/supabase-module/commit/339cf31cf48d4059ba0e4470d6e5e2aa9ef184c7",[148],[3624,3625],{"type":71,"value":3114},{"type":66,"tag":127,"props":3626,"children":3628},{"className":3627},[],[3629],{"type":71,"value":3630},"339cf31",{"type":66,"tag":115,"props":3632,"children":3633},{},[3634,3636],{"type":71,"value":3635},"fix: client options in ",{"type":66,"tag":144,"props":3637,"children":3640},{"href":3638,"rel":3639},"https://github.com/nuxt-community/supabase-module/commit/4c5595c11caf7a55621d297f6a0183a756175473",[148],[3641,3642],{"type":71,"value":3114},{"type":66,"tag":127,"props":3643,"children":3645},{"className":3644},[],[3646],{"type":71,"value":3647},"4c5595c",{"type":66,"tag":115,"props":3649,"children":3650},{},[3651,3653,3665,3666,3673],{"type":71,"value":3652},"feat: add server routes services in ",{"type":66,"tag":144,"props":3654,"children":3657},{"href":3655,"rel":3656},"https://github.com/nuxt-community/supabase-module/commit/696d3e8d19b8db79c85e86b79a3ba4dd31bb2343",[148],[3658,3659],{"type":71,"value":3114},{"type":66,"tag":127,"props":3660,"children":3662},{"className":3661},[],[3663],{"type":71,"value":3664},"696d3e8",{"type":71,"value":142},{"type":66,"tag":144,"props":3667,"children":3670},{"href":3668,"rel":3669},"https://github.com/nuxt-modules/supabase/issues/36",[148],[3671],{"type":71,"value":3672},"#36",{"type":71,"value":254},{"type":66,"tag":67,"props":3675,"children":3676},{},[3677,3679,3686,3688,3694],{"type":71,"value":3678},"You can check the ",{"type":66,"tag":144,"props":3680,"children":3683},{"href":3681,"rel":3682},"https://supabase.nuxtjs.org/usage#server-routes-services",[148],[3684],{"type":71,"value":3685},"documentation updated",{"type":71,"value":3687}," for the use of ",{"type":66,"tag":127,"props":3689,"children":3691},{"className":3690},[],[3692],{"type":71,"value":3693},"services",{"type":71,"value":3695}," in server routes.",{"type":66,"tag":67,"props":3697,"children":3698},{},[3699,3703,3704],{"type":66,"tag":119,"props":3700,"children":3701},{},[3702],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":3705,"children":3708},{"href":3706,"rel":3707},"https://github.com/nuxt-community/supabase-module/compare/v0.1.11...v0.1.14",[148],[3709],{"type":71,"value":3706},{"title":59,"searchDepth":78,"depth":78,"links":3711},[3712],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.1.14.md",{"name":3719,"tag_name":3719,"date":3720,"body":3721,"v":212,"url":3747,"tarball":3748,"zipball":3749,"prerelease":60,"author":3750,"title":59,"description":59,"_type":80,"_id":3751},"v0.1.11","2022-05-06T08:51:02Z",{"type":63,"children":3722,"toc":3745},[3723,3731],{"type":66,"tag":111,"props":3724,"children":3725},{},[3726],{"type":66,"tag":115,"props":3727,"children":3728},{},[3729],{"type":71,"value":3730},"chore: upgrade deps",{"type":66,"tag":67,"props":3732,"children":3733},{},[3734,3738,3739],{"type":66,"tag":119,"props":3735,"children":3736},{},[3737],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":3740,"children":3743},{"href":3741,"rel":3742},"https://github.com/nuxt-community/supabase-module/compare/v0.1.9...v0.1.11",[148],[3744],{"type":71,"value":3741},{"title":59,"searchDepth":78,"depth":78,"links":3746},[],"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":214,"url":215,"avatar":216},"github:v0.1.11.md",{"name":3753,"tag_name":3753,"date":3754,"body":3755,"v":212,"url":3808,"tarball":3809,"zipball":3810,"prerelease":60,"author":3811,"title":59,"description":59,"_type":80,"_id":3815},"v0.1.9","2022-04-20T11:07:23Z",{"type":63,"children":3756,"toc":3806},[3757,3792],{"type":66,"tag":111,"props":3758,"children":3759},{},[3760],{"type":66,"tag":115,"props":3761,"children":3762},{},[3763,3765,3771,3772,3778,3779,3791],{"type":71,"value":3764},"fix: use ",{"type":66,"tag":127,"props":3766,"children":3768},{"className":3767},[],[3769],{"type":71,"value":3770},"#imports",{"type":71,"value":2310},{"type":66,"tag":127,"props":3773,"children":3775},{"className":3774},[],[3776],{"type":71,"value":3777},"#nitro",{"type":71,"value":142},{"type":66,"tag":144,"props":3780,"children":3783},{"href":3781,"rel":3782},"https://github.com/nuxt-community/supabase-module/commit/42af598b7d9f3adf2c577c20e9cfb68bbb17d52b",[148],[3784,3785],{"type":71,"value":3114},{"type":66,"tag":127,"props":3786,"children":3788},{"className":3787},[],[3789],{"type":71,"value":3790},"42af598",{"type":71,"value":254},{"type":66,"tag":67,"props":3793,"children":3794},{},[3795,3799,3800],{"type":66,"tag":119,"props":3796,"children":3797},{},[3798],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":3801,"children":3804},{"href":3802,"rel":3803},"https://github.com/nuxt-community/supabase-module/compare/v0.1.8...v0.1.9",[148],[3805],{"type":71,"value":3802},{"title":59,"searchDepth":78,"depth":78,"links":3807},[],"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":3812,"url":3813,"avatar":3814},"Atinux","https://github.com/Atinux","https://avatars.githubusercontent.com/u/904724?v=4","github:v0.1.9.md",{"name":3817,"tag_name":3817,"date":3818,"body":3819,"v":212,"url":3875,"tarball":3876,"zipball":3877,"prerelease":60,"author":3878,"title":59,"description":59,"_type":80,"_id":3879},"v0.1.8","2022-04-13T12:26:33Z",{"type":63,"children":3820,"toc":3872},[3821,3825],{"type":66,"tag":97,"props":3822,"children":3823},{"id":99},[3824],{"type":71,"value":102},{"type":66,"tag":111,"props":3826,"children":3827},{},[3828,3845],{"type":66,"tag":115,"props":3829,"children":3830},{},[3831,3833],{"type":71,"value":3832},"fix: update runtime config fetch and override in ",{"type":66,"tag":144,"props":3834,"children":3837},{"href":3835,"rel":3836},"https://github.com/nuxt-community/supabase-module/commit/260ebc7be39dfa65902ad4fe6a49639c99a69da8",[148],[3838,3839],{"type":71,"value":3114},{"type":66,"tag":127,"props":3840,"children":3842},{"className":3841},[],[3843],{"type":71,"value":3844},"260ebc7",{"type":66,"tag":115,"props":3846,"children":3847},{},[3848,3850,3862,3864,3871],{"type":71,"value":3849},"feat: handle session with defineEventHandler in ",{"type":66,"tag":144,"props":3851,"children":3854},{"href":3852,"rel":3853},"https://github.com/nuxt-community/supabase-module/commit/e646b1ce03773bf44932824726f280ad15455ec2",[148],[3855,3856],{"type":71,"value":3114},{"type":66,"tag":127,"props":3857,"children":3859},{"className":3858},[],[3860],{"type":71,"value":3861},"e646b1c",{"type":71,"value":3863}," (Check ",{"type":66,"tag":144,"props":3865,"children":3868},{"href":3866,"rel":3867},"https://v3.nuxtjs.org/guide/features/server-routes",[148],[3869],{"type":71,"value":3870},"Nuxt doc",{"type":71,"value":254},{"title":59,"searchDepth":78,"depth":78,"links":3873},[3874],{"id":99,"depth":78,"text":102},"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":214,"url":215,"avatar":216},"github:v0.1.8.md",{"name":3881,"tag_name":3881,"date":3882,"body":3883,"v":212,"url":3961,"tarball":3962,"zipball":3963,"prerelease":60,"reactions":3964,"author":3966,"title":59,"description":59,"_type":80,"_id":3967},"v0.1.7","2022-04-07T21:31:24Z",{"type":63,"children":3884,"toc":3957},[3885,3889,3932,3936],{"type":66,"tag":97,"props":3886,"children":3887},{"id":99},[3888],{"type":71,"value":102},{"type":66,"tag":111,"props":3890,"children":3891},{},[3892,3909],{"type":66,"tag":115,"props":3893,"children":3894},{},[3895,3897],{"type":71,"value":3896},"fix: assert method and use correct key for server middleware in ",{"type":66,"tag":144,"props":3898,"children":3901},{"href":3899,"rel":3900},"https://github.com/nuxt-community/supabase-module/commit/8a4d63101e6d2bc24563f7944988909ec7dcc6e5",[148],[3902,3903],{"type":71,"value":3114},{"type":66,"tag":127,"props":3904,"children":3906},{"className":3905},[],[3907],{"type":71,"value":3908},"8a4d631",{"type":66,"tag":115,"props":3910,"children":3911},{},[3912,3914,3924,3925],{"type":71,"value":3913},"fix: replace #config with #nitro by ",{"type":66,"tag":144,"props":3915,"children":3918},{"href":3916,"rel":3917},"https://github.com/psto",[148],[3919],{"type":66,"tag":119,"props":3920,"children":3921},{},[3922],{"type":71,"value":3923},"@psto",{"type":71,"value":2597},{"type":66,"tag":144,"props":3926,"children":3929},{"href":3927,"rel":3928},"https://github.com/nuxt-community/supabase-module/pull/23",[148],[3930],{"type":71,"value":3931},"nuxt-community/supabase-module#23",{"type":66,"tag":97,"props":3933,"children":3934},{"id":3207},[3935],{"type":71,"value":3210},{"type":66,"tag":111,"props":3937,"children":3938},{},[3939],{"type":66,"tag":115,"props":3940,"children":3941},{},[3942,3950,3952],{"type":66,"tag":144,"props":3943,"children":3945},{"href":3916,"rel":3944},[148],[3946],{"type":66,"tag":119,"props":3947,"children":3948},{},[3949],{"type":71,"value":3923},{"type":71,"value":3951}," made their first contribution in ",{"type":66,"tag":144,"props":3953,"children":3955},{"href":3927,"rel":3954},[148],[3956],{"type":71,"value":3931},{"title":59,"searchDepth":78,"depth":78,"links":3958},[3959,3960],{"id":99,"depth":78,"text":102},{"id":3207,"depth":78,"text":3210},"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":3965,"total_count":204,"+1":212,"-1":212,"laugh":212,"hooray":204,"confused":212,"heart":212,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/63922233/reactions",{"name":3812,"url":3813,"avatar":3814},"github:v0.1.7.md",{"name":3969,"tag_name":3969,"date":3970,"body":3971,"v":212,"url":4018,"tarball":4019,"zipball":4020,"prerelease":60,"reactions":4021,"author":4024,"title":59,"description":59,"_type":80,"_id":4025},"v0.1.5","2022-04-04T10:15:21Z",{"type":63,"children":3972,"toc":4015},[3973,3977,4001],{"type":66,"tag":104,"props":3974,"children":3975},{"id":229},[3976],{"type":71,"value":232},{"type":66,"tag":111,"props":3978,"children":3979},{},[3980],{"type":66,"tag":115,"props":3981,"children":3982},{},[3983,3985,3992,3994],{"type":71,"value":3984},"remove lodash.clonedeep (",{"type":66,"tag":144,"props":3986,"children":3989},{"href":3987,"rel":3988},"https://github.com/nuxt-community/supabase-module/commit/b5c5c60358ab192b98c8a63185f58a2eb0ab706a",[148],[3990],{"type":71,"value":3991},"b5c5c60",{"type":71,"value":3993},"), resolved ",{"type":66,"tag":144,"props":3995,"children":3998},{"href":3996,"rel":3997},"https://github.com/nuxt-modules/supabase/issues/21",[148],[3999],{"type":71,"value":4000},"#21",{"type":66,"tag":67,"props":4002,"children":4003},{},[4004,4008,4009],{"type":66,"tag":119,"props":4005,"children":4006},{},[4007],{"type":71,"value":862},{"type":71,"value":864},{"type":66,"tag":144,"props":4010,"children":4013},{"href":4011,"rel":4012},"https://github.com/nuxt-community/supabase-module/compare/v0.1.4...v0.1.5",[148],[4014],{"type":71,"value":4011},{"title":59,"searchDepth":78,"depth":78,"links":4016},[4017],{"id":229,"depth":204,"text":232},"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":4022,"total_count":4023,"+1":212,"-1":212,"laugh":212,"hooray":521,"confused":212,"heart":78,"rocket":212,"eyes":212},"https://api.github.com/repos/nuxt-modules/supabase/releases/63507078/reactions",6,{"name":3812,"url":3813,"avatar":3814},"github:v0.1.5.md",1711702881801] \ No newline at end of file diff --git a/changelog/index.html b/changelog/index.html index 536a173a..cdd64b70 100644 --- a/changelog/index.html +++ b/changelog/index.html @@ -62,37 +62,66 @@ - + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + - - + + - -
- - \ No newline at end of file + +
mobile favicon

Changelog

Discover the latest updates of the Supabase Module

Discover the lastest updates.

v1.1.6 January 26, 2024

What's Changed

Bug Fixes

  • deps: set resolution (db8c102)
  • playground: watch on confirm page (0caf5c1)

Features

  • app: added redirect path cookie for use after signin (#327) (1b78a05)

💚 Thanks for the help from

@Matthewenderle

Full changelog

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 +@relisora

Full changelog

v1.1.4 November 17, 2023

What's Changed

Bug Fixes

  • client: prevent useCookie usage outside of effect scope (#309) (bb55bed)

💚 Thanks for the help from 💚 +@AlbertBrand

v1.1.3 October 6, 2023

What's Changed

💚 Thanks for the help from 💚 +@stafyniaksacha +@jonesisg1

v1.1.2 September 6, 2023

What's Changed

⚠️ BREAKING CHANGE ⚠️ +Breaking change is related to #244 and was first adressed in the v1.1.0 but patch has been necessary to fix the version.

On the confirm page, configured in redirect.callback option (default to /confirm), ensure to set the immediate option in the watch. +Check out the doc: http://supabase.nuxtjs.org/authentication#confirm-page-confirm +Check out the demo code: https://github.com/nuxt-modules/supabase/blob/main/demo/pages/confirm.vue

Bug Fixes

  • module: priority of redirect options made by defu (#256) (c4e30bf)
  • plugin: retrieve user for client only page (#244) (4a35428)
  • useSupabaseUser: add explicit user type (#254) (60d8551)

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v1.0.2...v1.1.0

💚 Thanks for the help from 💚 +@52cs +@Aietes +@AlbertBrand +@kiri10ten +@xMorthi

v1.0.2 August 4, 2023

What's Changed

  • docs(auth): update (df00ffe)
  • fix(client): correct provider_token assignment to cookie (a76df3f)

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v1.0.1...v1.0.2

💚 Thanks for the help from 💚 +@blqke +@Aietes

v1.0.1 August 2, 2023

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.

What's changed

  • 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 dedicated section has been added to the documentation. (#219)
  • 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.
  • A brand new documentation has been built entirely using Nuxt Studio. Feel free to create PRs to suggest fixes or add any necessary changes to further enhance the documentation. (#210 / #221) => https://supabase.nuxtjs.org

Here's documentation that can help you understand the PKCE authentication flow:


⚠️ BREAKING CHANGES ⚠️

  • useSupabaseAuthClient has been removed in favor of useSupabaseClient in all cases
  • serverSupabaseClient is now returning a promise (should be called with await in an async method)
  • redirect option is enable by default, follow this guide to update your app
  • client option becomes clientOptions with new default value (including the PKCE flow)
  • cookies options is split in cookieName and cookieOptions, default values have not changed

Here si the commit done for updating the demo with the last version: 10e0586


A huge thanks to @Aietes for initialising all those changes and help me built it 💚

v0.3.8 July 3, 2023

What's Changed

  • feat(session): save provider access/refresh tokens in cookies (ea8c21f) in #197 by @mitjans
  • chore(deps): upgrade to latest (a52abc8)

Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.3.7...v0.3.8

💚 Thanks for the help from 💚 +@mitjans

v0.3.7 June 12, 2023

What's Changed

  • fix(client): fix persist session warning for serverSupabaseServiceRole (#194) resolves #193
  • docs(get-started): remove defineNuxtConfig (0151901)

💚 Thanks for the help from 💚 +@jawngee

v0.3.6 June 2, 2023

What's Changed

  • chore(deps): upgrade to nuxt and supabase latest version
  • fix(client): remove persist session warning on server side in 227113f (Resolves #188)
  • fix(chore): resolve imports (Resolves #190)

v0.3.5 April 3, 2023

What's Changed

  • chore(demo): upgrade on last version (9bb9e28)
  • chore(demo): generate database types from supabase cli (bca1992)
  • docs(links): update nuxt & supabase links and fix typos (5699dc6)
  • chore(app): move to pnpm (94f7e13)
  • chore(module): conditionally add redirect plugin (0cad0a5)
  • docs(get-started): fix typos (ba437a8)
  • docs(composables): correct grammar errors (034d7df)
  • feat(demo): add call from server route(989a91e)
  • perf(useSupabaseAuthClient): avoid declaring unused variables (8c070b9)
  • fix(dev): optimize supabase deps (d1da3f6) resolves #172 & #151
  • chore(deps): transpile websocket lib prod only (a1ee40c)
  • fix(deps): transpile gotrue only on client (fcc6823) resolves #172 on server side

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

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

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

Made with Nuxt Studio
+ + \ No newline at end of file diff --git a/usage/composables/usesupabasesession/__og_image__/og.png b/usage/composables/usesupabasesession/__og_image__/og.png new file mode 100644 index 0000000000000000000000000000000000000000..7c9817ec30cc1c8e58b7c46575fd6b3c9ad5032a GIT binary patch literal 46861 zcmeFYcQo7o`#;>OR=r!av_;iut*X63q^NFUv`t%kRHzcMf>f=dUp%uv-zP=p|e z6|IuD6*WVw)<}w?#7d0Z@%emy-}^rI`1d~dxzFbu&WTsNp0De=Ue|hDBleEvErGwz z{&nEM0Rhw7*Y6!Tz*~Oc08jAIBit)iS3(^Q9H<^Jy>4>bLXP7v>c zVWNtc3E}OWziew=(DloC*e-0d$$LIif z;}2RyJ>bvCn=>hj%kYy!o^D=Xmn|D*mQ$8X9#e=z6Ftu;tcW)K_u+p=LQ6+Dbl*}! zE@!eoccq`>A#a*2$Nf=7@vHpjQ`Ub!ss2|6a{rY9*DC(22mh79zIXhu9{j&5gL?(J zJFy<65mV&N63d8Q{%+F4;>evZvc=Ln{d{d3VsfgJ0@ihM882H5jOj?+c8(Z{2NFRK3Ym^k}w_e6!KV_OF%MplaWeGypuOYyYYZ&k9hfcM;JQRbx$2*>}!{6nM;G#%MIjZ*|%DY;ndMAjw<<+ z@Xoucb0xVrOyA|D-G2KwN zML*`!bRpWi={REPO1;p*tuEl04}dfGj^BYlnJEc@J>wxl`(TC zRSy1!U&Zs-(TXzGu=_%>9Vlv)IJp5z$8pjEpL4%K`m3e_ma*ZvHoI)k0-dt?oqA{l zmgQ_pJI+1x$jWTGXaj4#JGJB(I&$%HlLNDZ6V}c4stC;2j*?##EWw0wa%)P}o^}$u zNx|=7MS>pRN(e}o-Ni}6DucN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ayJ|CmZKwg_E`aOCok96Su6Ab6;H(m#}JaTN+X z;zN+8x7fCpn6`wc&Er=VL<1G``4I6S54ifXm|WcY?e(zt0bV&lZHzIKA4W2YXz>;| z5ok#>-^yc}6`h=0({K_(zbaIrnlSdm3XO#_$gnvJ=r~S1N{WMewFHI}@Dtd)yn-=Q z?E9xi$pFmZteAe;lFpF}YFw3z0|p#>>))gQ*8#$gQv}f`#Be}3L14h#DHM{>@^&cX zBQa8-)6x|l`}M@jMj78SLuARJvW=I8+Vih886Q@C*`jv#TV5xxQf0z1h|It7xrbYS zy{r4GGRueZ;~o9*fUGNFr9AEInUPo?;T&-(AOh9O3eJ4zcwb63wWku8^ls?ghj$77 zE`PBt?*6>Sy_KnM&3j&by{Q#YKeO9*T0ev3KCZ?b6NNcN1$KcJL7mkq%&&|uP1?5% z@m!nY_v*{&pq#OhKzSVO;H1BA?H_m{b6-e$14QGZe#)(LCbwh*#&eayF7b>xG@+ta zuf-^qtN!u6vcc-_H#W(=P%rh&wIxo7h=gZtdP(eSo7^$Xmj@fU2o3Tj2nOwyHdz|8 z)p?)m7$X|ad$lWj%#HM&8$V+nNDGHckDQWBTP$xqayLWDnR;Yu@t4=X^<5(LQ&()z z((9=A>nhs{CY|dbcp^e0?kTt;cv}&iSK#t($FzrcxC3C4Vmp^UwtzkW{8IFeM&tkZ zSI`BUFc4k))sz3\nconst session = useSupabaseSession()\n\u003C/script>\n","vue",[92],{"type":67,"tag":93,"props":94,"children":95},"code",{"__ignoreMap":61},[96,125,156],{"type":67,"tag":97,"props":98,"children":101},"span",{"class":99,"line":100},"line",1,[102,108,114,120],{"type":67,"tag":97,"props":103,"children":105},{"style":104},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[106],{"type":72,"value":107},"\u003C",{"type":67,"tag":97,"props":109,"children":111},{"style":110},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[112],{"type":72,"value":113},"script",{"type":67,"tag":97,"props":115,"children":117},{"style":116},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[118],{"type":72,"value":119}," setup",{"type":67,"tag":97,"props":121,"children":122},{"style":104},[123],{"type":72,"value":124},">\n",{"type":67,"tag":97,"props":126,"children":128},{"class":99,"line":127},2,[129,134,140,145,151],{"type":67,"tag":97,"props":130,"children":131},{"style":116},[132],{"type":72,"value":133},"const",{"type":67,"tag":97,"props":135,"children":137},{"style":136},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[138],{"type":72,"value":139}," session ",{"type":67,"tag":97,"props":141,"children":142},{"style":104},[143],{"type":72,"value":144},"=",{"type":67,"tag":97,"props":146,"children":148},{"style":147},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[149],{"type":72,"value":150}," useSupabaseSession",{"type":67,"tag":97,"props":152,"children":153},{"style":136},[154],{"type":72,"value":155},"()\n",{"type":67,"tag":97,"props":157,"children":159},{"class":99,"line":158},3,[160,165,169],{"type":67,"tag":97,"props":161,"children":162},{"style":104},[163],{"type":72,"value":164},"\u003C/",{"type":67,"tag":97,"props":166,"children":167},{"style":110},[168],{"type":72,"value":113},{"type":67,"tag":97,"props":170,"children":171},{"style":104},[172],{"type":72,"value":124},{"type":67,"tag":174,"props":175,"children":177},"callout",{"icon":176},"i-heroicons-light-bulb",[178],{"type":67,"tag":68,"props":179,"children":180},{},[181,183,187],{"type":72,"value":182},"If you just need the User's information you can use ",{"type":67,"tag":75,"props":184,"children":185},{"href":28},[186],{"type":72,"value":27},{"type":72,"value":188}," which returns just the User information of the session.",{"type":67,"tag":190,"props":191,"children":193},"h2",{"id":192},"auth-middleware",[194],{"type":72,"value":195},"Auth middleware",{"type":67,"tag":174,"props":197,"children":198},{"icon":176},[199],{"type":67,"tag":68,"props":200,"children":201},{},[202,204,210,212,217,219,224],{"type":72,"value":203},"By default, the module is implementing a redirect middleware. All pages of your application are automatically redirected to the ",{"type":67,"tag":75,"props":205,"children":207},{"href":206},"/get-started#redirectoptions",[208],{"type":72,"value":209},"login",{"type":72,"value":211}," page. However, you can allow redirection to \"public\" pages by setting the ",{"type":67,"tag":75,"props":213,"children":214},{"href":206},[215],{"type":72,"value":216},"exclude",{"type":72,"value":218}," redirect option. Alternatively, you can enable the redirect only for certain routes using the ",{"type":67,"tag":75,"props":220,"children":221},{"href":206},[222],{"type":72,"value":223},"include",{"type":72,"value":225}," redirect option.",{"type":67,"tag":68,"props":227,"children":228},{},[229,231,237],{"type":72,"value":230},"If the ",{"type":67,"tag":75,"props":232,"children":234},{"href":233},"/get-started#redirect",[235],{"type":72,"value":236},"redirect",{"type":72,"value":238}," option is disabled, you can protect your authenticated routes by creating a custom middleware in your project, here is an example:",{"type":67,"tag":86,"props":240,"children":245},{"className":241,"code":242,"filename":243,"language":244,"meta":61,"style":61},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtRouteMiddleware((to, _from) => {\n const session = useSupabaseSession()\n\n if (!session.value) {\n return navigateTo('/login')\n }\n})\n","middleware/auth.ts","ts",[246],{"type":67,"tag":93,"props":247,"children":248},{"__ignoreMap":61},[249,308,334,343,387,425,434],{"type":67,"tag":97,"props":250,"children":251},{"class":99,"line":100},[252,258,263,268,273,277,283,288,293,298,303],{"type":67,"tag":97,"props":253,"children":255},{"style":254},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[256],{"type":72,"value":257},"export",{"type":67,"tag":97,"props":259,"children":260},{"style":254},[261],{"type":72,"value":262}," default",{"type":67,"tag":97,"props":264,"children":265},{"style":147},[266],{"type":72,"value":267}," defineNuxtRouteMiddleware",{"type":67,"tag":97,"props":269,"children":270},{"style":136},[271],{"type":72,"value":272},"(",{"type":67,"tag":97,"props":274,"children":275},{"style":104},[276],{"type":72,"value":272},{"type":67,"tag":97,"props":278,"children":280},{"style":279},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[281],{"type":72,"value":282},"to",{"type":67,"tag":97,"props":284,"children":285},{"style":104},[286],{"type":72,"value":287},",",{"type":67,"tag":97,"props":289,"children":290},{"style":279},[291],{"type":72,"value":292}," _from",{"type":67,"tag":97,"props":294,"children":295},{"style":104},[296],{"type":72,"value":297},")",{"type":67,"tag":97,"props":299,"children":300},{"style":116},[301],{"type":72,"value":302}," =>",{"type":67,"tag":97,"props":304,"children":305},{"style":104},[306],{"type":72,"value":307}," {\n",{"type":67,"tag":97,"props":309,"children":310},{"class":99,"line":127},[311,316,321,326,330],{"type":67,"tag":97,"props":312,"children":313},{"style":116},[314],{"type":72,"value":315}," const",{"type":67,"tag":97,"props":317,"children":318},{"style":136},[319],{"type":72,"value":320}," session",{"type":67,"tag":97,"props":322,"children":323},{"style":104},[324],{"type":72,"value":325}," =",{"type":67,"tag":97,"props":327,"children":328},{"style":147},[329],{"type":72,"value":150},{"type":67,"tag":97,"props":331,"children":332},{"style":110},[333],{"type":72,"value":155},{"type":67,"tag":97,"props":335,"children":336},{"class":99,"line":158},[337],{"type":67,"tag":97,"props":338,"children":340},{"emptyLinePlaceholder":339},true,[341],{"type":72,"value":342},"\n",{"type":67,"tag":97,"props":344,"children":346},{"class":99,"line":345},4,[347,352,357,362,367,372,377,382],{"type":67,"tag":97,"props":348,"children":349},{"style":254},[350],{"type":72,"value":351}," if",{"type":67,"tag":97,"props":353,"children":354},{"style":110},[355],{"type":72,"value":356}," (",{"type":67,"tag":97,"props":358,"children":359},{"style":104},[360],{"type":72,"value":361},"!",{"type":67,"tag":97,"props":363,"children":364},{"style":136},[365],{"type":72,"value":366},"session",{"type":67,"tag":97,"props":368,"children":369},{"style":104},[370],{"type":72,"value":371},".",{"type":67,"tag":97,"props":373,"children":374},{"style":136},[375],{"type":72,"value":376},"value",{"type":67,"tag":97,"props":378,"children":379},{"style":110},[380],{"type":72,"value":381},") ",{"type":67,"tag":97,"props":383,"children":384},{"style":104},[385],{"type":72,"value":386},"{\n",{"type":67,"tag":97,"props":388,"children":390},{"class":99,"line":389},5,[391,396,401,405,410,416,420],{"type":67,"tag":97,"props":392,"children":393},{"style":254},[394],{"type":72,"value":395}," return",{"type":67,"tag":97,"props":397,"children":398},{"style":147},[399],{"type":72,"value":400}," navigateTo",{"type":67,"tag":97,"props":402,"children":403},{"style":110},[404],{"type":72,"value":272},{"type":67,"tag":97,"props":406,"children":407},{"style":104},[408],{"type":72,"value":409},"'",{"type":67,"tag":97,"props":411,"children":413},{"style":412},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[414],{"type":72,"value":415},"/login",{"type":67,"tag":97,"props":417,"children":418},{"style":104},[419],{"type":72,"value":409},{"type":67,"tag":97,"props":421,"children":422},{"style":110},[423],{"type":72,"value":424},")\n",{"type":67,"tag":97,"props":426,"children":428},{"class":99,"line":427},6,[429],{"type":67,"tag":97,"props":430,"children":431},{"style":104},[432],{"type":72,"value":433}," }\n",{"type":67,"tag":97,"props":435,"children":437},{"class":99,"line":436},7,[438,443],{"type":67,"tag":97,"props":439,"children":440},{"style":104},[441],{"type":72,"value":442},"}",{"type":67,"tag":97,"props":444,"children":445},{"style":136},[446],{"type":72,"value":424},{"type":67,"tag":68,"props":448,"children":449},{},[450],{"type":72,"value":451},"Then you can reference your middleware in your page with:",{"type":67,"tag":86,"props":453,"children":456},{"className":241,"code":454,"filename":455,"language":244,"meta":61,"style":61},"definePageMeta({\n middleware: 'auth'\n})\n","pages/dashboard.vue",[457],{"type":67,"tag":93,"props":458,"children":459},{"__ignoreMap":61},[460,476,504],{"type":67,"tag":97,"props":461,"children":462},{"class":99,"line":100},[463,468,472],{"type":67,"tag":97,"props":464,"children":465},{"style":147},[466],{"type":72,"value":467},"definePageMeta",{"type":67,"tag":97,"props":469,"children":470},{"style":136},[471],{"type":72,"value":272},{"type":67,"tag":97,"props":473,"children":474},{"style":104},[475],{"type":72,"value":386},{"type":67,"tag":97,"props":477,"children":478},{"class":99,"line":127},[479,484,489,494,499],{"type":67,"tag":97,"props":480,"children":481},{"style":110},[482],{"type":72,"value":483}," middleware",{"type":67,"tag":97,"props":485,"children":486},{"style":104},[487],{"type":72,"value":488},":",{"type":67,"tag":97,"props":490,"children":491},{"style":104},[492],{"type":72,"value":493}," '",{"type":67,"tag":97,"props":495,"children":496},{"style":412},[497],{"type":72,"value":498},"auth",{"type":67,"tag":97,"props":500,"children":501},{"style":104},[502],{"type":72,"value":503},"'\n",{"type":67,"tag":97,"props":505,"children":506},{"class":99,"line":158},[507,511],{"type":67,"tag":97,"props":508,"children":509},{"style":104},[510],{"type":72,"value":442},{"type":67,"tag":97,"props":512,"children":513},{"style":136},[514],{"type":72,"value":424},{"type":67,"tag":68,"props":516,"children":517},{},[518,520,527,529,535],{"type":72,"value":519},"Learn more about ",{"type":67,"tag":75,"props":521,"children":524},{"href":522,"rel":523},"https://nuxt.com/docs/guide/directory-structure/middleware",[79],[525],{"type":72,"value":526},"Nuxt middleware",{"type":72,"value":528}," and ",{"type":67,"tag":75,"props":530,"children":533},{"href":531,"rel":532},"https://nuxt.com/docs/guide/directory-structure/pages#page-metadata",[79],[534],{"type":72,"value":467},{"type":72,"value":371},{"type":67,"tag":537,"props":538,"children":539},"style",{},[540],{"type":72,"value":541},"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 .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);}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":61,"searchDepth":127,"depth":127,"links":543},[544],{"id":192,"depth":127,"text":195},"markdown","content:4.usage:composables:useSupabaseSession.md","content","4.usage/composables/useSupabaseSession.md","md",[551,553],{"_path":22,"title":21,"description":552},"Make requests to the Supabase API with the useSupabaseClient composable",{"_path":28,"title":27,"description":554},"Auto import and use your Supabase user with the useSupabaseUser composable",1711702881788] \ No newline at end of file diff --git a/usage/composables/usesupabasesession/index.html b/usage/composables/usesupabasesession/index.html new file mode 100644 index 00000000..f07db6e8 --- /dev/null +++ b/usage/composables/usesupabasesession/index.html @@ -0,0 +1,122 @@ + + + + +useSupabaseSession - Nuxt x Supabase - Docs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
mobile favicon
Composables

useSupabaseSession

Auto import and use your Supabase user's session with the useSupabaseSession composable

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

<script setup>
+const session = useSupabaseSession()
+</script>
+
If you just need the User's information you can use useSupabaseUser which returns just the User information of the session.

Auth middleware

By default, the module is implementing a redirect middleware. All pages of your application are automatically redirected to the login page. However, you can allow redirection to "public" pages by setting the exclude redirect option. Alternatively, you can enable the redirect only for certain routes using the include redirect option.

If the redirect option is disabled, you can protect your authenticated routes by creating a custom middleware in your project, here is an example:

middleware/auth.ts
export default defineNuxtRouteMiddleware((to, _from) => {
+  const session = useSupabaseSession()
+
+  if (!session.value) {
+    return navigateTo('/login')
+  }
+})
+

Then you can reference your middleware in your page with:

pages/dashboard.vue
definePageMeta({
+  middleware: 'auth'
+})
+

Learn more about Nuxt middleware and definePageMeta.


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

Auth middleware

By default, the module is implementing a redirect middleware. All pages of your application are automatically redirected to the login page. However, you can allow redirection to "public" pages by setting the exclude redirect option. Alternatively, you can enable the redirect only for certain routes using the include redirect option.

If the redirect option is disabled, you can protect your authenticated routes by creating a custom middleware in your project, here is an example:

middleware/auth.ts
export default defineNuxtRouteMiddleware((to, _from) => {
@@ -117,6 +117,6 @@
 

Then you can reference your middleware in your page with:

pages/dashboard.vue
definePageMeta({
   middleware: 'auth'
 })
-

Learn more about Nuxt middleware and definePageMeta.


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

Learn more about Nuxt middleware and definePageMeta.


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

Then call your API route from any vue file:

pages/index.vue
const fetchSensitiveData = async () => {
   const { sensitiveData } = await useFetch('/api/bypass-rls')
 }
-

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

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

serverSupabaseSession

Get your Supabase user's session 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 useSupabaseSession composable but is used in server routes.

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

server/api/session.ts
import { serverSupabaseSession } from '#supabase/server'
+
+export default defineEventHandler(async (event) => {
+  return await serverSupabaseSession(event)
+})
+

Then call your api route from any vue file:

pages/index.vue
const session = ref(null)
+
+const fetchSession = async () => {
+   session.value = await $fetch('/api/session')
+}
+

Be careful, if you want to call this route on SSR, please read this section, you must send your browser cookies including your supabase token.

pages/index.vue
const session = ref(null)
+
+const { data } = await useFetch('/api/session', {
+  headers: useRequestHeaders(['cookie'])
+})
+
+session.value = data
+

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

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

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