[{"data":1,"prerenderedAt":2957},["ShallowReactive",2],{"navigation_docs":3,"-modules-features-cookie-consent":587,"-modules-features-cookie-consent-surround":2952},[4,50,155,441,504],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":49},"Get Started","i-lucide-rocket","\u002Fget-started","1.get-started",[10,15,20,25,30,35,40,45],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fget-started\u002Fintroduction","1.get-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fget-started\u002Finstallation","1.get-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Project structure","\u002Fget-started\u002Fproject-structure","1.get-started\u002F3.project-structure","i-lucide-folder-tree",{"title":26,"path":27,"stem":28,"icon":29},"Configuration","\u002Fget-started\u002Fconfiguration","1.get-started\u002F4.configuration","i-lucide-settings",{"title":31,"path":32,"stem":33,"icon":34},"Authentication","\u002Fget-started\u002Fauthentication","1.get-started\u002F5.authentication","i-lucide-lock",{"title":36,"path":37,"stem":38,"icon":39},"Adding modules","\u002Fget-started\u002Fadding-modules","1.get-started\u002F6.adding-modules","i-lucide-puzzle",{"title":41,"path":42,"stem":43,"icon":44},"Database","\u002Fget-started\u002Fdatabase","1.get-started\u002F7.database","i-lucide-database",{"title":46,"path":47,"stem":48,"icon":6},"Deployment","\u002Fget-started\u002Fdeployment","1.get-started\u002F8.deployment",false,{"title":51,"icon":52,"path":53,"stem":54,"children":55,"page":49},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[56,90,115,125],{"title":57,"icon":49,"path":58,"stem":59,"children":60,"page":49},"Concepts","\u002Fguide\u002Fconcepts","2.guide\u002F1.concepts",[61,66,71,76,80,85],{"title":62,"path":63,"stem":64,"icon":65},"Architecture","\u002Fguide\u002Fconcepts\u002Farchitecture","2.guide\u002F1.concepts\u002F1.architecture","i-lucide-blocks",{"title":67,"path":68,"stem":69,"icon":70},"Access control","\u002Fguide\u002Fconcepts\u002Fauth-and-scopes","2.guide\u002F1.concepts\u002F2.auth-and-scopes","i-lucide-shield-check",{"title":72,"path":73,"stem":74,"icon":75},"Extension points","\u002Fguide\u002Fconcepts\u002Fextension-points","2.guide\u002F1.concepts\u002F3.extension-points","i-lucide-plug",{"title":77,"path":78,"stem":79,"icon":44},"Database extensions","\u002Fguide\u002Fconcepts\u002Fdatabase-extensions","2.guide\u002F1.concepts\u002F4.database-extensions",{"title":81,"path":82,"stem":83,"icon":84},"Identity","\u002Fguide\u002Fconcepts\u002Fidentity","2.guide\u002F1.concepts\u002F5.identity","i-lucide-fingerprint",{"title":86,"path":87,"stem":88,"icon":89},"Glossary","\u002Fguide\u002Fconcepts\u002Fglossary","2.guide\u002F1.concepts\u002F6.glossary","i-lucide-book-a",{"title":91,"icon":49,"path":92,"stem":93,"children":94,"page":49},"UX patterns","\u002Fguide\u002Fux-patterns","2.guide\u002F2.ux-patterns",[95,100,105,110],{"title":96,"path":97,"stem":98,"icon":99},"Layouts and navigation","\u002Fguide\u002Fux-patterns\u002Flayouts-and-navigation","2.guide\u002F2.ux-patterns\u002F1.layouts-and-navigation","i-lucide-layout-template",{"title":101,"path":102,"stem":103,"icon":104},"Pages","\u002Fguide\u002Fux-patterns\u002Fpages","2.guide\u002F2.ux-patterns\u002F2.pages","i-lucide-table",{"title":106,"path":107,"stem":108,"icon":109},"Forms and actions","\u002Fguide\u002Fux-patterns\u002Fforms-and-actions","2.guide\u002F2.ux-patterns\u002F3.forms-and-actions","i-lucide-square-pen",{"title":111,"path":112,"stem":113,"icon":114},"Text and formatting","\u002Fguide\u002Fux-patterns\u002Ftext-and-formatting","2.guide\u002F2.ux-patterns\u002F4.text-and-formatting","i-lucide-type",{"title":116,"icon":49,"path":117,"stem":118,"children":119,"page":49},"Best practices","\u002Fguide\u002Fbest-practices","2.guide\u002F3.best-practices",[120],{"title":121,"path":122,"stem":123,"icon":124},"HTTP routes","\u002Fguide\u002Fbest-practices\u002Fhttp-routes","2.guide\u002F3.best-practices\u002F1.http-routes","i-lucide-route",{"title":126,"icon":49,"path":127,"stem":128,"children":129,"page":49},"Going further","\u002Fguide\u002Fgoing-further","2.guide\u002F4.going-further",[130,135,140,145,150],{"title":131,"path":132,"stem":133,"icon":134},"Use your own OAuth server","\u002Fguide\u002Fgoing-further\u002Fown-oauth-server","2.guide\u002F4.going-further\u002F1.own-oauth-server","i-lucide-key-round",{"title":136,"path":137,"stem":138,"icon":139},"Create an OAuth application","\u002Fguide\u002Fgoing-further\u002Foauth-application","2.guide\u002F4.going-further\u002F2.oauth-application","i-lucide-app-window",{"title":141,"path":142,"stem":143,"icon":144},"Signing keys","\u002Fguide\u002Fgoing-further\u002Fsigning-keys","2.guide\u002F4.going-further\u002F3.signing-keys","i-lucide-key-square",{"title":146,"path":147,"stem":148,"icon":149},"Stripe setup","\u002Fguide\u002Fgoing-further\u002Fstripe-setup","2.guide\u002F4.going-further\u002F4.stripe-setup","i-lucide-credit-card",{"title":151,"path":152,"stem":153,"icon":154},"Migrate to the permission model","\u002Fguide\u002Fgoing-further\u002Fmigrate-access-control","2.guide\u002F4.going-further\u002F5.migrate-access-control","i-lucide-arrow-right-left",{"title":156,"icon":157,"path":158,"stem":159,"children":160},"Modules","i-lucide-boxes","\u002Fmodules","3.modules",[161,163,244,273,320,375],{"title":156,"path":158,"stem":162},"3.modules\u002Findex",{"title":81,"icon":49,"path":164,"stem":165,"children":166,"page":49},"\u002Fmodules\u002Fidentity","3.modules\u002F1.identity",[167,190,194,198,220,224,240],{"title":168,"path":169,"stem":170,"children":171},"Auth","\u002Fmodules\u002Fidentity\u002Fauth","3.modules\u002F1.identity\u002F1.auth\u002Findex",[172,174,178,182,186],{"title":173,"path":169,"stem":170},"Overview",{"title":175,"path":176,"stem":177},"Server API","\u002Fmodules\u002Fidentity\u002Fauth\u002Fserver","3.modules\u002F1.identity\u002F1.auth\u002F2.server",{"title":179,"path":180,"stem":181},"Reference","\u002Fmodules\u002Fidentity\u002Fauth\u002Freference","3.modules\u002F1.identity\u002F1.auth\u002F3.reference",{"title":183,"path":184,"stem":185},"Client mode","\u002Fmodules\u002Fidentity\u002Fauth\u002Fclient-mode","3.modules\u002F1.identity\u002F1.auth\u002F4.client-mode",{"title":187,"path":188,"stem":189},"OAuth providers","\u002Fmodules\u002Fidentity\u002Fauth\u002Foauth-providers","3.modules\u002F1.identity\u002F1.auth\u002F5.oauth-providers",{"title":191,"path":192,"stem":193},"Users","\u002Fmodules\u002Fidentity\u002Fusers","3.modules\u002F1.identity\u002F2.users",{"title":195,"path":196,"stem":197},"Account","\u002Fmodules\u002Fidentity\u002Faccount","3.modules\u002F1.identity\u002F3.account",{"title":199,"path":200,"stem":201,"children":202},"Authorization","\u002Fmodules\u002Fidentity\u002Fauthorization","3.modules\u002F1.identity\u002F4.authorization\u002Findex",[203,204,208,212,216],{"title":173,"path":200,"stem":201},{"title":205,"path":206,"stem":207},"Roles and requirements","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Froles-and-requirements","3.modules\u002F1.identity\u002F4.authorization\u002F2.roles-and-requirements",{"title":209,"path":210,"stem":211},"Policies","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fpolicies","3.modules\u002F1.identity\u002F4.authorization\u002F3.policies",{"title":213,"path":214,"stem":215},"Client","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fclient","3.modules\u002F1.identity\u002F4.authorization\u002F4.client",{"title":217,"path":218,"stem":219},"Admin","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fadmin","3.modules\u002F1.identity\u002F4.authorization\u002F5.admin",{"title":221,"path":222,"stem":223},"Preferences","\u002Fmodules\u002Fidentity\u002Fpreferences","3.modules\u002F1.identity\u002F5.preferences",{"title":225,"path":226,"stem":227,"children":228},"OAuth Server","\u002Fmodules\u002Fidentity\u002Foauth-server","3.modules\u002F1.identity\u002F6.oauth-server\u002Findex",[229,230,233,237],{"title":173,"path":226,"stem":227},{"title":175,"path":231,"stem":232},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fserver","3.modules\u002F1.identity\u002F6.oauth-server\u002F2.server",{"title":234,"path":235,"stem":236},"Hooks","\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fhooks","3.modules\u002F1.identity\u002F6.oauth-server\u002F3.hooks",{"title":179,"path":238,"stem":239},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Froutes-and-clients","3.modules\u002F1.identity\u002F6.oauth-server\u002F4.routes-and-clients",{"title":241,"path":242,"stem":243},"OAuth Resource","\u002Fmodules\u002Fidentity\u002Foauth-resource","3.modules\u002F1.identity\u002F8.oauth-resource",{"title":245,"icon":49,"path":246,"stem":247,"children":248,"page":49},"Commerce","\u002Fmodules\u002Fcommerce","3.modules\u002F2.commerce",[249,253,257],{"title":250,"path":251,"stem":252},"Stripe","\u002Fmodules\u002Fcommerce\u002Fstripe","3.modules\u002F2.commerce\u002F1.stripe",{"title":254,"path":255,"stem":256},"Payments","\u002Fmodules\u002Fcommerce\u002Fpayments","3.modules\u002F2.commerce\u002F2.payments",{"title":258,"path":259,"stem":260,"children":261},"Subscriptions","\u002Fmodules\u002Fcommerce\u002Fsubscriptions","3.modules\u002F2.commerce\u002F3.subscriptions\u002Findex",[262,263,266,270],{"title":173,"path":259,"stem":260},{"title":175,"path":264,"stem":265},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fserver","3.modules\u002F2.commerce\u002F3.subscriptions\u002F2.server",{"title":267,"path":268,"stem":269},"App","\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fapp","3.modules\u002F2.commerce\u002F3.subscriptions\u002F3.app",{"title":179,"path":271,"stem":272},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Freference","3.modules\u002F2.commerce\u002F3.subscriptions\u002F4.reference",{"title":274,"icon":49,"path":275,"stem":276,"children":277,"page":49},"Features","\u002Fmodules\u002Ffeatures","3.modules\u002F3.features",[278,293,312,316],{"title":279,"path":280,"stem":281,"children":282},"Events","\u002Fmodules\u002Ffeatures\u002Fevents","3.modules\u002F3.features\u002F1.events\u002Findex",[283,284,287,290],{"title":173,"path":280,"stem":281},{"title":175,"path":285,"stem":286},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fserver","3.modules\u002F3.features\u002F1.events\u002F2.server",{"title":267,"path":288,"stem":289},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fapp","3.modules\u002F3.features\u002F1.events\u002F3.app",{"title":179,"path":291,"stem":292},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Freference","3.modules\u002F3.features\u002F1.events\u002F4.reference",{"title":294,"path":295,"stem":296,"children":297},"Forms","\u002Fmodules\u002Ffeatures\u002Fforms","3.modules\u002F3.features\u002F2.forms\u002Findex",[298,299,303,306,309],{"title":173,"path":295,"stem":296},{"title":300,"path":301,"stem":302},"Definition","\u002Fmodules\u002Ffeatures\u002Fforms\u002Fdefinition","3.modules\u002F3.features\u002F2.forms\u002F2.definition",{"title":175,"path":304,"stem":305},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fserver","3.modules\u002F3.features\u002F2.forms\u002F3.server",{"title":267,"path":307,"stem":308},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fapp","3.modules\u002F3.features\u002F2.forms\u002F4.app",{"title":179,"path":310,"stem":311},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Freference","3.modules\u002F3.features\u002F2.forms\u002F5.reference",{"title":313,"path":314,"stem":315},"Cookie Consent","\u002Fmodules\u002Ffeatures\u002Fcookie-consent","3.modules\u002F3.features\u002F3.cookie-consent",{"title":317,"path":318,"stem":319},"MCP","\u002Fmodules\u002Ffeatures\u002Fmcp","3.modules\u002F3.features\u002F4.mcp",{"title":321,"icon":49,"path":322,"stem":323,"children":324,"page":49},"Interface","\u002Fmodules\u002Finterface","3.modules\u002F4.interface",[325,350,353,357,361],{"title":326,"path":327,"stem":328,"children":329},"UI","\u002Fmodules\u002Finterface\u002Fui","3.modules\u002F4.interface\u002F1.ui\u002Findex",[330,331,335,339,343,347],{"title":173,"path":327,"stem":328},{"title":332,"path":333,"stem":334},"Page components","\u002Fmodules\u002Finterface\u002Fui\u002Fpage-components","3.modules\u002F4.interface\u002F1.ui\u002F2.page-components",{"title":336,"path":337,"stem":338},"App shell","\u002Fmodules\u002Finterface\u002Fui\u002Fapp-shell","3.modules\u002F4.interface\u002F1.ui\u002F3.app-shell",{"title":340,"path":341,"stem":342},"Form inputs","\u002Fmodules\u002Finterface\u002Fui\u002Fform-inputs","3.modules\u002F4.interface\u002F1.ui\u002F4.form-inputs",{"title":344,"path":345,"stem":346},"Composables and helpers","\u002Fmodules\u002Finterface\u002Fui\u002Fcomposables","3.modules\u002F4.interface\u002F1.ui\u002F5.composables",{"title":179,"path":348,"stem":349},"\u002Fmodules\u002Finterface\u002Fui\u002Freference","3.modules\u002F4.interface\u002F1.ui\u002F6.reference",{"title":217,"path":351,"stem":352},"\u002Fmodules\u002Finterface\u002Fadmin","3.modules\u002F4.interface\u002F2.admin",{"title":354,"path":355,"stem":356},"Menu","\u002Fmodules\u002Finterface\u002Fmenu","3.modules\u002F4.interface\u002F3.menu",{"title":358,"path":359,"stem":360},"Widget","\u002Fmodules\u002Finterface\u002Fwidget","3.modules\u002F4.interface\u002F4.widget",{"title":362,"path":363,"stem":364,"children":365},"Mobile","\u002Fmodules\u002Finterface\u002Fmobile","3.modules\u002F4.interface\u002F5.mobile\u002Findex",[366,367,371],{"title":173,"path":363,"stem":364},{"title":368,"path":369,"stem":370},"CLI and devices","\u002Fmodules\u002Finterface\u002Fmobile\u002Fcli-and-devices","3.modules\u002F4.interface\u002F5.mobile\u002F2.cli-and-devices",{"title":372,"path":373,"stem":374},"Splash screen","\u002Fmodules\u002Finterface\u002Fmobile\u002Fsplash-screen","3.modules\u002F4.interface\u002F5.mobile\u002F3.splash-screen",{"title":376,"icon":49,"path":377,"stem":378,"children":379,"page":49},"Platform","\u002Fmodules\u002Fplatform","3.modules\u002F5.platform",[380,402,406,423],{"title":381,"path":382,"stem":383,"children":384},"Module Kit","\u002Fmodules\u002Fplatform\u002Fmodule-kit","3.modules\u002F5.platform\u002F1.module-kit\u002Findex",[385,386,390,394,398],{"title":173,"path":382,"stem":383},{"title":387,"path":388,"stem":389},"Server toolkit","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fserver-toolkit","3.modules\u002F5.platform\u002F1.module-kit\u002F2.server-toolkit",{"title":391,"path":392,"stem":393},"Registries and menus","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fregistries-and-menus","3.modules\u002F5.platform\u002F1.module-kit\u002F3.registries-and-menus",{"title":395,"path":396,"stem":397},"Translations","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fi18n","3.modules\u002F5.platform\u002F1.module-kit\u002F4.i18n",{"title":399,"path":400,"stem":401},"Database helpers","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fdatabase","3.modules\u002F5.platform\u002F1.module-kit\u002F5.database",{"title":403,"path":404,"stem":405},"Notify","\u002Fmodules\u002Fplatform\u002Fnotify","3.modules\u002F5.platform\u002F2.notify",{"title":407,"path":408,"stem":409,"children":410},"Email Templates","\u002Fmodules\u002Fplatform\u002Femail-templates","3.modules\u002F5.platform\u002F3.email-templates\u002Findex",[411,412,416,419],{"title":173,"path":408,"stem":409},{"title":413,"path":414,"stem":415},"Email components","\u002Fmodules\u002Fplatform\u002Femail-templates\u002Fcomponents","3.modules\u002F5.platform\u002F3.email-templates\u002F2.components",{"title":175,"path":417,"stem":418},"\u002Fmodules\u002Fplatform\u002Femail-templates\u002Fserver","3.modules\u002F5.platform\u002F3.email-templates\u002F3.server",{"title":420,"path":421,"stem":422},"Module emails","\u002Fmodules\u002Fplatform\u002Femail-templates\u002Fmodule-emails","3.modules\u002F5.platform\u002F3.email-templates\u002F4.module-emails",{"title":424,"path":425,"stem":426,"children":427},"Base Layer","\u002Fmodules\u002Fplatform\u002Fbase-layer","3.modules\u002F5.platform\u002F4.base-layer\u002Findex",[428,429,433,437],{"title":173,"path":425,"stem":426},{"title":430,"path":431,"stem":432},"Content collections","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcontent-collections","3.modules\u002F5.platform\u002F4.base-layer\u002F2.content-collections",{"title":434,"path":435,"stem":436},"Layouts and routing","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Flayouts-and-routing","3.modules\u002F5.platform\u002F4.base-layer\u002F3.layouts-and-routing",{"title":438,"path":439,"stem":440},"Composables and utils","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcomposables-and-utils","3.modules\u002F5.platform\u002F4.base-layer\u002F4.composables-and-utils",{"title":442,"icon":443,"path":444,"stem":445,"children":446,"page":49},"Examples","i-lucide-code-xml","\u002Fexamples","4.examples",[447,466,476],{"title":448,"icon":49,"path":449,"stem":450,"children":451,"page":49},"Starters","\u002Fexamples\u002Fstarters","4.examples\u002F1.starters",[452,456,461],{"title":453,"path":454,"stem":455,"icon":6},"Workspace starter","\u002Fexamples\u002Fstarters\u002Fworkspace","4.examples\u002F1.starters\u002F1.workspace",{"title":457,"path":458,"stem":459,"icon":460},"Mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile","4.examples\u002F1.starters\u002F2.mobile","i-lucide-smartphone",{"title":462,"path":463,"stem":464,"icon":465},"Standalone mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile-standalone","4.examples\u002F1.starters\u002F3.mobile-standalone","i-lucide-tablet-smartphone",{"title":467,"icon":49,"path":468,"stem":469,"children":470,"page":49},"Apps","\u002Fexamples\u002Fapps","4.examples\u002F2.apps",[471],{"title":472,"path":473,"stem":474,"icon":475},"Frigear website app","\u002Fexamples\u002Fapps\u002Ffrigear-nu-website","4.examples\u002F2.apps\u002F1.frigear-nu-website","i-lucide-layout-dashboard",{"title":477,"icon":49,"path":478,"stem":479,"children":480,"page":49},"Tasks","\u002Fexamples\u002Ftasks","4.examples\u002F3.tasks",[481,485,489,494,499],{"title":482,"path":483,"stem":484,"icon":70},"Protect a route","\u002Fexamples\u002Ftasks\u002Fprotect-a-route","4.examples\u002F3.tasks\u002F1.protect-a-route",{"title":486,"path":487,"stem":488,"icon":475},"Add an admin page","\u002Fexamples\u002Ftasks\u002Fadd-an-admin-page","4.examples\u002F3.tasks\u002F2.add-an-admin-page",{"title":490,"path":491,"stem":492,"icon":493},"Sell event tickets","\u002Fexamples\u002Ftasks\u002Fsell-event-tickets","4.examples\u002F3.tasks\u002F3.sell-event-tickets","i-lucide-ticket",{"title":495,"path":496,"stem":497,"icon":498},"Build a form","\u002Fexamples\u002Ftasks\u002Fbuild-a-form","4.examples\u002F3.tasks\u002F4.build-a-form","i-lucide-clipboard-list",{"title":500,"path":501,"stem":502,"icon":503},"Send an email","\u002Fexamples\u002Ftasks\u002Fsend-an-email","4.examples\u002F3.tasks\u002F5.send-an-email","i-lucide-mail",{"title":505,"icon":506,"path":507,"stem":508,"children":509,"page":49},"Contribute","i-lucide-git-pull-request","\u002Fcontribute","5.contribute",[510,513,518,544,549,552,556,571],{"title":173,"path":511,"stem":512,"icon":506},"\u002Fcontribute\u002Foverview","5.contribute\u002F1.overview",{"title":514,"path":515,"stem":516,"icon":517},"Local development","\u002Fcontribute\u002Flocal-development","5.contribute\u002F2.local-development","i-lucide-terminal",{"title":519,"icon":49,"path":520,"stem":521,"children":522,"page":49},"Writing a module","\u002Fcontribute\u002Fwriting-a-module","5.contribute\u002F3.writing-a-module",[523,527,532,536,541],{"title":524,"path":525,"stem":526,"icon":39},"Scaffold a module","\u002Fcontribute\u002Fwriting-a-module\u002Fscaffold","5.contribute\u002F3.writing-a-module\u002F1.scaffold",{"title":528,"path":529,"stem":530,"icon":531},"Setup checklist","\u002Fcontribute\u002Fwriting-a-module\u002Fsetup-checklist","5.contribute\u002F3.writing-a-module\u002F2.setup-checklist","i-lucide-list-checks",{"title":533,"path":534,"stem":535,"icon":44},"Database tables","\u002Fcontribute\u002Fwriting-a-module\u002Fdatabase-tables","5.contribute\u002F3.writing-a-module\u002F3.database-tables",{"title":537,"path":538,"stem":539,"icon":540},"Testing","\u002Fcontribute\u002Fwriting-a-module\u002Ftesting","5.contribute\u002F3.writing-a-module\u002F4.testing","i-lucide-flask-conical",{"title":67,"path":542,"stem":543,"icon":70},"\u002Fcontribute\u002Fwriting-a-module\u002Faccess-control","5.contribute\u002F3.writing-a-module\u002F5.access-control",{"title":545,"path":546,"stem":547,"icon":548},"Publishing","\u002Fcontribute\u002Fpublishing","5.contribute\u002F4.publishing","i-lucide-package-check",{"title":448,"path":550,"stem":551,"icon":6},"\u002Fcontribute\u002Fstarters","5.contribute\u002F5.starters",{"title":553,"path":554,"stem":555,"icon":52},"Documentation","\u002Fcontribute\u002Fdocumentation","5.contribute\u002F6.documentation",{"title":557,"icon":49,"path":558,"stem":559,"children":560,"page":49},"Tooling","\u002Fcontribute\u002Ftooling","5.contribute\u002F7.tooling",[561,566],{"title":562,"path":563,"stem":564,"icon":565},"CLI","\u002Fcontribute\u002Ftooling\u002Fcli","5.contribute\u002F7.tooling\u002F1.cli","i-lucide-square-terminal",{"title":567,"path":568,"stem":569,"icon":570},"ESLint config","\u002Fcontribute\u002Ftooling\u002Feslint-config","5.contribute\u002F7.tooling\u002F2.eslint-config","i-lucide-spell-check",{"title":572,"icon":49,"path":573,"stem":574,"children":575},"Decisions","\u002Fcontribute\u002Fdecisions","5.contribute\u002F8.decisions\u002Findex",[576,578,583],{"title":572,"path":573,"stem":574,"icon":577},"i-lucide-scale",{"title":579,"path":580,"stem":581,"icon":582},"Session lifetimes per OAuth client","\u002Fcontribute\u002Fdecisions\u002Foauth-token-lifetimes","5.contribute\u002F8.decisions\u002F1.oauth-token-lifetimes","i-lucide-timer",{"title":584,"path":585,"stem":586,"icon":70},"One permission model","\u002Fcontribute\u002Fdecisions\u002Fpermission-model","5.contribute\u002F8.decisions\u002F2.permission-model",{"id":588,"title":313,"body":589,"description":2946,"extension":2947,"links":2948,"meta":2949,"navigation":1576,"path":314,"seo":2950,"stem":315,"__hash__":2951},"docs\u002F3.modules\u002F3.features\u002F3.cookie-consent.md",{"type":590,"value":591,"toc":2924},"minimark",[592,600,612,617,666,670,695,699,955,976,980,987,1219,1233,1250,1261,1268,1278,1509,1742,1746,1749,1784,1787,1790,1854,1858,2080,2083,2086,2140,2155,2159,2174,2340,2344,2352,2478,2481,2488,2609,2613,2627,2692,2699,2717,2720,2735,2779,2782,2806,2896,2900,2920],[593,594,595,596,599],"p",{},"Cookie Consent shows a banner that asks visitors which kinds of cookies they accept, and lets them change their mind\nlater. Your code loads analytics or marketing scripts only after the visitor agrees. For signed-in users, the choice is\nalso stored on their account as proof of consent. Use it when your app sets cookies that are not strictly necessary.\nFor other per-user settings, such as colour mode, use ",[597,598,221],"a",{"href":222}," instead.",[593,601,602,603,607,608,611],{},"The package is ",[604,605,606],"code",{},"@frigear-nu\u002Fcookie-consent",". It follows the General Data Protection Regulation (GDPR): each category\nexcept ",[604,609,610],{},"necessary"," stays off until granted, and rejecting is as easy as accepting.",[613,614,616],"h2",{"id":615},"what-you-get","What you get",[618,619,620,628,645,651,660],"ul",{},[621,622,623,627],"li",{},[624,625,626],"strong",{},"Components"," (on by default): the banner with a preferences dialog, and a \"Manage cookies\" button for your footer.\nReplace any of them with your own.",[621,629,630,632,633,636,637,640,641,644],{},[624,631,344],{}," (on by default): ",[604,634,635],{},"useCookieConsent()"," and ",[604,638,639],{},"onCookieConsent()"," in the app, and\n",[604,642,643],{},"hasCookieConsent()"," on the server.",[621,646,647,650],{},[624,648,649],{},"Categories from other modules"," (on by default): a module that sets cookies adds its own category or cookies, and\nthey appear in the dialog.",[621,652,653,656,657,659],{},[624,654,655],{},"Proof of consent"," (on by default with ",[597,658,191],{"href":192},"): the time, version and granted categories\nare stored on the user, through two server routes.",[621,661,662,665],{},[624,663,664],{},"Pages and emails."," None.",[667,668],"module-runtime",{":client":669,":server":669},"true",[671,672,673,676,677,680,681,684,685,680,688,690,691,694],"note",{},[624,674,675],{},"Installed for you:"," Module Kit.\n",[624,678,679],{},"You add:"," ",[604,682,683],{},"@nuxt\u002Fui",", which the components need.\n",[624,686,687],{},"Optional:",[597,689,191],{"href":192}," with ",[604,692,693],{},"@nuxthub\u002Fcore",", to store the choice on the user. Without Users the\nchoice lives only in the cookie.",[613,696,698],{"id":697},"quick-setup","Quick setup",[700,701,702,707,732,736,865,869,880,918,922,937,943],"steps",{},[703,704,706],"h3",{"id":705},"install-cookie-consent","Install Cookie Consent",[708,709,714],"pre",{"className":710,"code":711,"language":712,"meta":713,"style":713},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add @frigear-nu\u002Fcookie-consent\n","bash","",[604,715,716],{"__ignoreMap":713},[717,718,721,725,729],"span",{"class":719,"line":720},"line",1,[717,722,724],{"class":723},"sBMFI","pnpm",[717,726,728],{"class":727},"sfazB"," add",[717,730,731],{"class":727}," @frigear-nu\u002Fcookie-consent\n",[703,733,735],{"id":734},"add-it-to-nuxtconfigts","Add it to nuxt.config.ts",[708,737,742],{"className":738,"code":739,"filename":740,"language":741,"meta":713,"style":713},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  modules: ['@nuxt\u002Fui', '@frigear-nu\u002Fcookie-consent'],\n  cookieConsent: {\n    version: '1', \u002F\u002F bump to ask everyone again\n    policyUrl: '\u002Flegal\u002Fgdpr',\n  },\n})\n","nuxt.config.ts","ts",[604,743,744,765,801,812,833,850,856],{"__ignoreMap":713},[717,745,746,750,753,757,761],{"class":719,"line":720},[717,747,749],{"class":748},"s7zQu","export",[717,751,752],{"class":748}," default",[717,754,756],{"class":755},"s2Zo4"," defineNuxtConfig",[717,758,760],{"class":759},"sTEyZ","(",[717,762,764],{"class":763},"sMK4o","{\n",[717,766,768,772,775,778,781,783,785,788,791,793,795,798],{"class":719,"line":767},2,[717,769,771],{"class":770},"swJcz","  modules",[717,773,774],{"class":763},":",[717,776,777],{"class":759}," [",[717,779,780],{"class":763},"'",[717,782,683],{"class":727},[717,784,780],{"class":763},[717,786,787],{"class":763},",",[717,789,790],{"class":763}," '",[717,792,606],{"class":727},[717,794,780],{"class":763},[717,796,797],{"class":759},"]",[717,799,800],{"class":763},",\n",[717,802,804,807,809],{"class":719,"line":803},3,[717,805,806],{"class":770},"  cookieConsent",[717,808,774],{"class":763},[717,810,811],{"class":763}," {\n",[717,813,815,818,820,822,825,827,829],{"class":719,"line":814},4,[717,816,817],{"class":770},"    version",[717,819,774],{"class":763},[717,821,790],{"class":763},[717,823,824],{"class":727},"1",[717,826,780],{"class":763},[717,828,787],{"class":763},[717,830,832],{"class":831},"sHwdD"," \u002F\u002F bump to ask everyone again\n",[717,834,836,839,841,843,846,848],{"class":719,"line":835},5,[717,837,838],{"class":770},"    policyUrl",[717,840,774],{"class":763},[717,842,790],{"class":763},[717,844,845],{"class":727},"\u002Flegal\u002Fgdpr",[717,847,780],{"class":763},[717,849,800],{"class":763},[717,851,853],{"class":719,"line":852},6,[717,854,855],{"class":763},"  },\n",[717,857,859,862],{"class":719,"line":858},7,[717,860,861],{"class":763},"}",[717,863,864],{"class":759},")\n",[703,866,868],{"id":867},"render-the-banner","Render the banner",[593,870,871,872,875,876,879],{},"Put the banner inside ",[604,873,874],{},"\u003CUApp>",". Put ",[604,877,878],{},"\u003CCookieConsentManage \u002F>"," in your footer, so visitors can change their mind.",[708,881,886],{"className":882,"code":883,"filename":884,"language":885,"meta":713,"style":713},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CUApp>\n  \u003CNuxtPage \u002F>\n  \u003CCookieConsentBanner \u002F>\n\u003C\u002FUApp>\n","app.vue","vue",[604,887,888,899,904,909],{"__ignoreMap":713},[717,889,890,893,896],{"class":719,"line":720},[717,891,892],{"class":763},"\u003C",[717,894,895],{"class":770},"UApp",[717,897,898],{"class":763},">\n",[717,900,901],{"class":719,"line":767},[717,902,903],{"class":759},"  \u003CNuxtPage \u002F>\n",[717,905,906],{"class":719,"line":803},[717,907,908],{"class":759},"  \u003CCookieConsentBanner \u002F>\n",[717,910,911,914,916],{"class":719,"line":814},[717,912,913],{"class":763},"\u003C\u002F",[717,915,895],{"class":770},[717,917,898],{"class":763},[703,919,921],{"id":920},"generate-the-migration","Generate the migration",[923,924,925,926,928,929,932,933,936],"warning",{},"With ",[597,927,191],{"href":192}," installed, every write to the ",[604,930,931],{},"users"," table fails until you add this\n",[597,934,935],{"href":87},"migration",". Without Users, skip this step.",[593,938,939,940,942],{},"The module adds three columns to ",[604,941,931],{},". Generate the migration and commit it:",[708,944,946],{"className":710,"code":945,"language":712,"meta":713,"style":713},"pnpm db:generate\n",[604,947,948],{"__ignoreMap":713},[717,949,950,952],{"class":719,"line":720},[717,951,724],{"class":723},[717,953,954],{"class":727}," db:generate\n",[956,957,960,963,964,967,968,971,972,975],"callout",{"color":958,"icon":959},"success","i-lucide-check",[624,961,962],{},"What you should see:"," on the first visit, the banner. After ",[624,965,966],{},"Accept"," or ",[624,969,970],{},"Reject",", it collapses, and the\n",[604,973,974],{},"cookie-consent"," cookie holds the choice.",[613,977,979],{"id":978},"options","Options",[593,981,982,983,986],{},"Options go under the ",[604,984,985],{},"cookieConsent"," key.",[988,989,990,1009],"table",{},[991,992,993],"thead",{},[994,995,996,1000,1003,1006],"tr",{},[997,998,999],"th",{},"Option",[997,1001,1002],{},"Type",[997,1004,1005],{},"Default",[997,1007,1008],{},"Purpose",[1010,1011,1012,1033,1054,1073,1099,1119,1141,1159,1176,1196],"tbody",{},[994,1013,1014,1020,1025,1030],{},[1015,1016,1017],"td",{},[604,1018,1019],{},"cookieName",[1015,1021,1022],{},[604,1023,1024],{},"string",[1015,1026,1027],{},[604,1028,1029],{},"'cookie-consent'",[1015,1031,1032],{},"The name of the consent cookie.",[994,1034,1035,1040,1045,1051],{},[1015,1036,1037],{},[604,1038,1039],{},"maxAge",[1015,1041,1042],{},[604,1043,1044],{},"number",[1015,1046,1047,1050],{},[604,1048,1049],{},"15552000"," (180 days)",[1015,1052,1053],{},"The cookie's lifetime in seconds.",[994,1055,1056,1061,1065,1070],{},[1015,1057,1058],{},[604,1059,1060],{},"version",[1015,1062,1063],{},[604,1064,1024],{},[1015,1066,1067],{},[604,1068,1069],{},"'1'",[1015,1071,1072],{},"Your version of the consent. Changing it asks every visitor again.",[994,1074,1075,1080,1085,1096],{},[1015,1076,1077],{},[604,1078,1079],{},"categories",[1015,1081,1082],{},[604,1083,1084],{},"ConsentCategory[]",[1015,1086,1087,1089,1090,1089,1093],{},[604,1088,610],{},", ",[604,1091,1092],{},"analytics",[604,1094,1095],{},"marketing",[1015,1097,1098],{},"The categories to show.",[994,1100,1101,1106,1111,1116],{},[1015,1102,1103],{},[604,1104,1105],{},"excludeRoutes",[1015,1107,1108],{},[604,1109,1110],{},"string[]",[1015,1112,1113],{},[604,1114,1115],{},"['\u002Fauthorize']",[1015,1117,1118],{},"Exact routes where the banner is hidden.",[994,1120,1121,1126,1131,1135],{},[1015,1122,1123],{},[604,1124,1125],{},"collapseOnScroll",[1015,1127,1128],{},[604,1129,1130],{},"boolean | number",[1015,1132,1133],{},[604,1134,669],{},[1015,1136,1137,1138,1140],{},"Collapses the banner into a round button after this many pixels of scrolling (",[604,1139,669],{}," is 80).",[994,1142,1143,1148,1153,1156],{},[1015,1144,1145],{},[604,1146,1147],{},"policyUrl",[1015,1149,1150],{},[604,1151,1152],{},"Translated",[1015,1154,1155],{},"none",[1015,1157,1158],{},"The link to your cookie or privacy policy.",[994,1160,1161,1166,1170,1173],{},[1015,1162,1163],{},[604,1164,1165],{},"policyLabel",[1015,1167,1168],{},[604,1169,1152],{},[1015,1171,1172],{},"\"Read more\"",[1015,1174,1175],{},"The text of the policy link.",[994,1177,1178,1183,1188,1193],{},[1015,1179,1180],{},[604,1181,1182],{},"persistToUser",[1015,1184,1185],{},[604,1186,1187],{},"boolean",[1015,1189,1190,1192],{},[604,1191,669],{}," with Users",[1015,1194,1195],{},"Stores the choice on the signed-in user. Always off without Users.",[994,1197,1198,1203,1207,1212],{},[1015,1199,1200],{},[604,1201,1202],{},"icon",[1015,1204,1205],{},[604,1206,1024],{},[1015,1208,1209],{},[604,1210,1211],{},"'lucide:cookie'",[1015,1213,1214,1215,1218],{},"The Iconify name (",[604,1216,1217],{},"collection:name",") of the badge and the collapsed button.",[593,1220,1221,1225,1226,636,1229,1232],{},[624,1222,1223],{},[604,1224,1060],{}," is combined with a hash of the categories and their cookies. So adding a category or a cookie, from any\nmodule, asks everyone again. Old ",[604,1227,1228],{},"accepted",[604,1230,1231],{},"rejected"," cookie values are migrated.",[593,1234,1235,1239,1240,1242,1243,1249],{},[624,1236,1237],{},[604,1238,1079],{}," replaces the default list, in which ",[604,1241,610],{}," is required: always on and not switchable. Other\nmodules add categories with ",[597,1244,1246],{"href":1245},"#add-a-category-from-a-module",[604,1247,1248],{},"extendCookieConsent",". Each category can list its cookies,\nwhich the preferences dialog shows.",[593,1251,1252,1256,1257,1260],{},[624,1253,1254],{},[604,1255,1165],{}," wins over the ",[604,1258,1259],{},"cookieConsent.policy"," translation.",[593,1262,1263,1267],{},[624,1264,1265],{},[604,1266,1202],{}," is added to Nuxt Icon's client bundle for you. An icon from a custom collection needs that collection\nconfigured in Nuxt Icon.",[593,1269,1270,1271,1273,1274,1277],{},"A ",[604,1272,1152],{}," value is a string or a map of locale code to value. A locale without an entry falls back to its base\nlanguage, then ",[604,1275,1276],{},"en",", then the first entry.",[708,1279,1281],{"className":738,"code":1280,"language":741,"meta":713,"style":713},"\u002F\u002F nuxt.config.ts\ncookieConsent: {\n  policyUrl: { en: '\u002Flegal\u002Fgdpr', da: '\u002Fda\u002Fjuridisk\u002Fgdpr' },\n  categories: [\n    { key: 'necessary', required: true, label: { en: 'Necessary', da: 'Nødvendige' } },\n    { key: 'analytics', label: 'Analytics', cookies: [{ name: '_ga', provider: 'Google', duration: '2 years' }] },\n  ],\n}\n",[604,1282,1283,1288,1296,1334,1344,1409,1496,1503],{"__ignoreMap":713},[717,1284,1285],{"class":719,"line":720},[717,1286,1287],{"class":831},"\u002F\u002F nuxt.config.ts\n",[717,1289,1290,1292,1294],{"class":719,"line":767},[717,1291,985],{"class":723},[717,1293,774],{"class":763},[717,1295,811],{"class":763},[717,1297,1298,1301,1303,1306,1309,1311,1313,1315,1317,1319,1322,1324,1326,1329,1331],{"class":719,"line":803},[717,1299,1300],{"class":723},"  policyUrl",[717,1302,774],{"class":763},[717,1304,1305],{"class":763}," {",[717,1307,1308],{"class":723}," en",[717,1310,774],{"class":763},[717,1312,790],{"class":763},[717,1314,845],{"class":727},[717,1316,780],{"class":763},[717,1318,787],{"class":763},[717,1320,1321],{"class":723}," da",[717,1323,774],{"class":763},[717,1325,790],{"class":763},[717,1327,1328],{"class":727},"\u002Fda\u002Fjuridisk\u002Fgdpr",[717,1330,780],{"class":763},[717,1332,1333],{"class":763}," },\n",[717,1335,1336,1339,1341],{"class":719,"line":814},[717,1337,1338],{"class":723},"  categories",[717,1340,774],{"class":763},[717,1342,1343],{"class":770}," [\n",[717,1345,1346,1349,1352,1354,1356,1358,1360,1362,1365,1367,1371,1373,1376,1378,1380,1382,1384,1386,1389,1391,1393,1395,1397,1399,1402,1404,1407],{"class":719,"line":835},[717,1347,1348],{"class":763},"    {",[717,1350,1351],{"class":770}," key",[717,1353,774],{"class":763},[717,1355,790],{"class":763},[717,1357,610],{"class":727},[717,1359,780],{"class":763},[717,1361,787],{"class":763},[717,1363,1364],{"class":770}," required",[717,1366,774],{"class":763},[717,1368,1370],{"class":1369},"sfNiH"," true",[717,1372,787],{"class":763},[717,1374,1375],{"class":770}," label",[717,1377,774],{"class":763},[717,1379,1305],{"class":763},[717,1381,1308],{"class":770},[717,1383,774],{"class":763},[717,1385,790],{"class":763},[717,1387,1388],{"class":727},"Necessary",[717,1390,780],{"class":763},[717,1392,787],{"class":763},[717,1394,1321],{"class":770},[717,1396,774],{"class":763},[717,1398,790],{"class":763},[717,1400,1401],{"class":727},"Nødvendige",[717,1403,780],{"class":763},[717,1405,1406],{"class":763}," }",[717,1408,1333],{"class":763},[717,1410,1411,1413,1415,1417,1419,1421,1423,1425,1427,1429,1431,1434,1436,1438,1441,1443,1445,1448,1451,1453,1455,1458,1460,1462,1465,1467,1469,1472,1474,1476,1479,1481,1483,1486,1488,1490,1493],{"class":719,"line":852},[717,1412,1348],{"class":763},[717,1414,1351],{"class":770},[717,1416,774],{"class":763},[717,1418,790],{"class":763},[717,1420,1092],{"class":727},[717,1422,780],{"class":763},[717,1424,787],{"class":763},[717,1426,1375],{"class":770},[717,1428,774],{"class":763},[717,1430,790],{"class":763},[717,1432,1433],{"class":727},"Analytics",[717,1435,780],{"class":763},[717,1437,787],{"class":763},[717,1439,1440],{"class":770}," cookies",[717,1442,774],{"class":763},[717,1444,777],{"class":770},[717,1446,1447],{"class":763},"{",[717,1449,1450],{"class":770}," name",[717,1452,774],{"class":763},[717,1454,790],{"class":763},[717,1456,1457],{"class":727},"_ga",[717,1459,780],{"class":763},[717,1461,787],{"class":763},[717,1463,1464],{"class":770}," provider",[717,1466,774],{"class":763},[717,1468,790],{"class":763},[717,1470,1471],{"class":727},"Google",[717,1473,780],{"class":763},[717,1475,787],{"class":763},[717,1477,1478],{"class":770}," duration",[717,1480,774],{"class":763},[717,1482,790],{"class":763},[717,1484,1485],{"class":727},"2 years",[717,1487,780],{"class":763},[717,1489,1406],{"class":763},[717,1491,1492],{"class":770},"] ",[717,1494,1495],{"class":763},"},\n",[717,1497,1498,1501],{"class":719,"line":858},[717,1499,1500],{"class":770},"  ]",[717,1502,800],{"class":763},[717,1504,1506],{"class":719,"line":1505},8,[717,1507,1508],{"class":763},"}\n",[708,1510,1512],{"className":738,"code":1511,"language":741,"meta":713,"style":713},"interface ConsentCookie {\n  name: string\n  provider?: string\n  purpose?: Translated\n  duration?: string \u002F\u002F human readable, e.g. '1 year' or 'Session'\n}\n\ninterface ConsentCategory {\n  key: string\n  required?: boolean \u002F\u002F always on and not switchable\n  defaultEnabled?: boolean \u002F\u002F pre-selected in the preferences dialog; never applied without the visitor saving. Default false\n  label?: Translated \u002F\u002F default: i18n key cookieConsent.categories.\u003Ckey>.label\n  description?: Translated \u002F\u002F default: i18n key cookieConsent.categories.\u003Ckey>.description\n  cookies?: ConsentCookie[]\n}\n\n\u002F** What is stored in the consent cookie and, for signed-in users, in the database. *\u002F\ninterface ConsentState {\n  v: string \u002F\u002F consent version the choice was made against\n  ts: number \u002F\u002F epoch ms\n  categories: Record\u003Cstring, boolean>\n}\n",[604,1513,1514,1525,1535,1545,1555,1568,1572,1578,1587,1597,1611,1624,1638,1651,1664,1669,1674,1680,1690,1703,1717,1737],{"__ignoreMap":713},[717,1515,1516,1520,1523],{"class":719,"line":720},[717,1517,1519],{"class":1518},"spNyl","interface",[717,1521,1522],{"class":723}," ConsentCookie",[717,1524,811],{"class":763},[717,1526,1527,1530,1532],{"class":719,"line":767},[717,1528,1529],{"class":770},"  name",[717,1531,774],{"class":763},[717,1533,1534],{"class":723}," string\n",[717,1536,1537,1540,1543],{"class":719,"line":803},[717,1538,1539],{"class":770},"  provider",[717,1541,1542],{"class":763},"?:",[717,1544,1534],{"class":723},[717,1546,1547,1550,1552],{"class":719,"line":814},[717,1548,1549],{"class":770},"  purpose",[717,1551,1542],{"class":763},[717,1553,1554],{"class":723}," Translated\n",[717,1556,1557,1560,1562,1565],{"class":719,"line":835},[717,1558,1559],{"class":770},"  duration",[717,1561,1542],{"class":763},[717,1563,1564],{"class":723}," string",[717,1566,1567],{"class":831}," \u002F\u002F human readable, e.g. '1 year' or 'Session'\n",[717,1569,1570],{"class":719,"line":852},[717,1571,1508],{"class":763},[717,1573,1574],{"class":719,"line":858},[717,1575,1577],{"emptyLinePlaceholder":1576},true,"\n",[717,1579,1580,1582,1585],{"class":719,"line":1505},[717,1581,1519],{"class":1518},[717,1583,1584],{"class":723}," ConsentCategory",[717,1586,811],{"class":763},[717,1588,1590,1593,1595],{"class":719,"line":1589},9,[717,1591,1592],{"class":770},"  key",[717,1594,774],{"class":763},[717,1596,1534],{"class":723},[717,1598,1600,1603,1605,1608],{"class":719,"line":1599},10,[717,1601,1602],{"class":770},"  required",[717,1604,1542],{"class":763},[717,1606,1607],{"class":723}," boolean",[717,1609,1610],{"class":831}," \u002F\u002F always on and not switchable\n",[717,1612,1614,1617,1619,1621],{"class":719,"line":1613},11,[717,1615,1616],{"class":770},"  defaultEnabled",[717,1618,1542],{"class":763},[717,1620,1607],{"class":723},[717,1622,1623],{"class":831}," \u002F\u002F pre-selected in the preferences dialog; never applied without the visitor saving. Default false\n",[717,1625,1627,1630,1632,1635],{"class":719,"line":1626},12,[717,1628,1629],{"class":770},"  label",[717,1631,1542],{"class":763},[717,1633,1634],{"class":723}," Translated",[717,1636,1637],{"class":831}," \u002F\u002F default: i18n key cookieConsent.categories.\u003Ckey>.label\n",[717,1639,1641,1644,1646,1648],{"class":719,"line":1640},13,[717,1642,1643],{"class":770},"  description",[717,1645,1542],{"class":763},[717,1647,1634],{"class":723},[717,1649,1650],{"class":831}," \u002F\u002F default: i18n key cookieConsent.categories.\u003Ckey>.description\n",[717,1652,1654,1657,1659,1661],{"class":719,"line":1653},14,[717,1655,1656],{"class":770},"  cookies",[717,1658,1542],{"class":763},[717,1660,1522],{"class":723},[717,1662,1663],{"class":759},"[]\n",[717,1665,1667],{"class":719,"line":1666},15,[717,1668,1508],{"class":763},[717,1670,1672],{"class":719,"line":1671},16,[717,1673,1577],{"emptyLinePlaceholder":1576},[717,1675,1677],{"class":719,"line":1676},17,[717,1678,1679],{"class":831},"\u002F** What is stored in the consent cookie and, for signed-in users, in the database. *\u002F\n",[717,1681,1683,1685,1688],{"class":719,"line":1682},18,[717,1684,1519],{"class":1518},[717,1686,1687],{"class":723}," ConsentState",[717,1689,811],{"class":763},[717,1691,1693,1696,1698,1700],{"class":719,"line":1692},19,[717,1694,1695],{"class":770},"  v",[717,1697,774],{"class":763},[717,1699,1564],{"class":723},[717,1701,1702],{"class":831}," \u002F\u002F consent version the choice was made against\n",[717,1704,1706,1709,1711,1714],{"class":719,"line":1705},20,[717,1707,1708],{"class":770},"  ts",[717,1710,774],{"class":763},[717,1712,1713],{"class":723}," number",[717,1715,1716],{"class":831}," \u002F\u002F epoch ms\n",[717,1718,1720,1722,1724,1727,1729,1731,1733,1735],{"class":719,"line":1719},21,[717,1721,1338],{"class":770},[717,1723,774],{"class":763},[717,1725,1726],{"class":723}," Record",[717,1728,892],{"class":763},[717,1730,1024],{"class":723},[717,1732,787],{"class":763},[717,1734,1607],{"class":723},[717,1736,898],{"class":763},[717,1738,1740],{"class":719,"line":1739},22,[717,1741,1508],{"class":763},[613,1743,1745],{"id":1744},"server","Server",[593,1747,1748],{},"Check consent in server code before you track anything. Both helpers are auto-imported.",[708,1750,1752],{"className":738,"code":1751,"language":741,"meta":713,"style":713},"getCookieConsent(event: H3Event): ConsentState | null \u002F\u002F null = undecided or outdated\nhasCookieConsent(event: H3Event, category: string): boolean\n",[604,1753,1754,1771],{"__ignoreMap":713},[717,1755,1756,1759,1762,1765,1768],{"class":719,"line":720},[717,1757,1758],{"class":755},"getCookieConsent",[717,1760,1761],{"class":759},"(event: H3Event): ConsentState ",[717,1763,1764],{"class":763},"|",[717,1766,1767],{"class":763}," null",[717,1769,1770],{"class":831}," \u002F\u002F null = undecided or outdated\n",[717,1772,1773,1776,1779,1781],{"class":719,"line":767},[717,1774,1775],{"class":755},"hasCookieConsent",[717,1777,1778],{"class":759},"(event: H3Event",[717,1780,787],{"class":763},[717,1782,1783],{"class":759}," category: string): boolean\n",[613,1785,267],{"id":1786},"app",[593,1788,1789],{},"Start a script once its category is granted. This example also stops tracking when the visitor withdraws:",[708,1791,1793],{"className":738,"code":1792,"language":741,"meta":713,"style":713},"onCookieConsent('analytics', () => {\n  const stop = startTracking()\n  return () => stop()\n})\n",[604,1794,1795,1818,1835,1848],{"__ignoreMap":713},[717,1796,1797,1800,1802,1804,1806,1808,1810,1813,1816],{"class":719,"line":720},[717,1798,1799],{"class":755},"onCookieConsent",[717,1801,760],{"class":759},[717,1803,780],{"class":763},[717,1805,1092],{"class":727},[717,1807,780],{"class":763},[717,1809,787],{"class":763},[717,1811,1812],{"class":763}," ()",[717,1814,1815],{"class":1518}," =>",[717,1817,811],{"class":763},[717,1819,1820,1823,1826,1829,1832],{"class":719,"line":767},[717,1821,1822],{"class":1518},"  const",[717,1824,1825],{"class":759}," stop",[717,1827,1828],{"class":763}," =",[717,1830,1831],{"class":755}," startTracking",[717,1833,1834],{"class":770},"()\n",[717,1836,1837,1840,1842,1844,1846],{"class":719,"line":803},[717,1838,1839],{"class":748},"  return",[717,1841,1812],{"class":763},[717,1843,1815],{"class":1518},[717,1845,1825],{"class":755},[717,1847,1834],{"class":770},[717,1849,1850,1852],{"class":719,"line":814},[717,1851,861],{"class":763},[717,1853,864],{"class":759},[703,1855,1857],{"id":1856},"composables","Composables",[708,1859,1861],{"className":738,"code":1860,"language":741,"meta":713,"style":713},"const {\n  config, categories, consent, hasResponded, isAllowed,\n  acceptAll, rejectAll, save, reset,\n  isPreferencesOpen, openPreferences, hydrateFromUser,\n} = useCookieConsent()\n\nisAllowed(key: string): boolean\nsave(choices: Record\u003Cstring, boolean>): Promise\u003CConsentState> \u002F\u002F required categories are always granted\nreset(): Promise\u003Cvoid> \u002F\u002F withdraws consent: only required categories remain and the banner shows again\n\n\u002F\u002F Runs now if already granted, or as soon as it is; the returned function runs on withdrawal.\nonCookieConsent(category: string, callback: () => (() => void) | undefined): () => void \u002F\u002F returns a stop function\n\nuseConsentT() \u002F\u002F translated texts of the module\n",[604,1862,1863,1870,1897,1919,1936,1947,1951,1959,1994,2010,2014,2019,2065,2069],{"__ignoreMap":713},[717,1864,1865,1868],{"class":719,"line":720},[717,1866,1867],{"class":1518},"const",[717,1869,811],{"class":763},[717,1871,1872,1875,1877,1880,1882,1885,1887,1890,1892,1895],{"class":719,"line":767},[717,1873,1874],{"class":759},"  config",[717,1876,787],{"class":763},[717,1878,1879],{"class":759}," categories",[717,1881,787],{"class":763},[717,1883,1884],{"class":759}," consent",[717,1886,787],{"class":763},[717,1888,1889],{"class":759}," hasResponded",[717,1891,787],{"class":763},[717,1893,1894],{"class":759}," isAllowed",[717,1896,800],{"class":763},[717,1898,1899,1902,1904,1907,1909,1912,1914,1917],{"class":719,"line":803},[717,1900,1901],{"class":759},"  acceptAll",[717,1903,787],{"class":763},[717,1905,1906],{"class":759}," rejectAll",[717,1908,787],{"class":763},[717,1910,1911],{"class":759}," save",[717,1913,787],{"class":763},[717,1915,1916],{"class":759}," reset",[717,1918,800],{"class":763},[717,1920,1921,1924,1926,1929,1931,1934],{"class":719,"line":814},[717,1922,1923],{"class":759},"  isPreferencesOpen",[717,1925,787],{"class":763},[717,1927,1928],{"class":759}," openPreferences",[717,1930,787],{"class":763},[717,1932,1933],{"class":759}," hydrateFromUser",[717,1935,800],{"class":763},[717,1937,1938,1940,1942,1945],{"class":719,"line":835},[717,1939,861],{"class":763},[717,1941,1828],{"class":763},[717,1943,1944],{"class":755}," useCookieConsent",[717,1946,1834],{"class":759},[717,1948,1949],{"class":719,"line":852},[717,1950,1577],{"emptyLinePlaceholder":1576},[717,1952,1953,1956],{"class":719,"line":858},[717,1954,1955],{"class":755},"isAllowed",[717,1957,1958],{"class":759},"(key: string): boolean\n",[717,1960,1961,1964,1967,1969,1971,1973,1975,1978,1981,1984,1986,1989,1991],{"class":719,"line":1505},[717,1962,1963],{"class":755},"save",[717,1965,1966],{"class":759},"(choices: Record",[717,1968,892],{"class":763},[717,1970,1024],{"class":759},[717,1972,787],{"class":763},[717,1974,1607],{"class":759},[717,1976,1977],{"class":763},">",[717,1979,1980],{"class":759},"): ",[717,1982,1983],{"class":723},"Promise",[717,1985,892],{"class":763},[717,1987,1988],{"class":759},"ConsentState",[717,1990,1977],{"class":763},[717,1992,1993],{"class":831}," \u002F\u002F required categories are always granted\n",[717,1995,1996,1999,2002,2004,2007],{"class":719,"line":1589},[717,1997,1998],{"class":755},"reset",[717,2000,2001],{"class":759},"(): ",[717,2003,1983],{"class":723},[717,2005,2006],{"class":763},"\u003Cvoid>",[717,2008,2009],{"class":831}," \u002F\u002F withdraws consent: only required categories remain and the banner shows again\n",[717,2011,2012],{"class":719,"line":1599},[717,2013,1577],{"emptyLinePlaceholder":1576},[717,2015,2016],{"class":719,"line":1613},[717,2017,2018],{"class":831},"\u002F\u002F Runs now if already granted, or as soon as it is; the returned function runs on withdrawal.\n",[717,2020,2021,2023,2026,2028,2031,2034,2036,2039,2041,2043,2046,2049,2051,2054,2056,2058,2060,2062],{"class":719,"line":1626},[717,2022,1799],{"class":755},[717,2024,2025],{"class":759},"(category: string",[717,2027,787],{"class":763},[717,2029,2030],{"class":759}," callback: ",[717,2032,2033],{"class":763},"()",[717,2035,1815],{"class":1518},[717,2037,2038],{"class":759}," (",[717,2040,2033],{"class":763},[717,2042,1815],{"class":1518},[717,2044,2045],{"class":763}," void",[717,2047,2048],{"class":759},") ",[717,2050,1764],{"class":763},[717,2052,2053],{"class":763}," undefined",[717,2055,1980],{"class":759},[717,2057,2033],{"class":763},[717,2059,1815],{"class":1518},[717,2061,2045],{"class":763},[717,2063,2064],{"class":831}," \u002F\u002F returns a stop function\n",[717,2066,2067],{"class":719,"line":1640},[717,2068,1577],{"emptyLinePlaceholder":1576},[717,2070,2071,2074,2077],{"class":719,"line":1653},[717,2072,2073],{"class":755},"useConsentT",[717,2075,2076],{"class":759},"() ",[717,2078,2079],{"class":831},"\u002F\u002F translated texts of the module\n",[703,2081,626],{"id":2082},"components",[593,2084,2085],{},"A component with the same name in your app, or in a layer it extends, replaces the default everywhere. No option is\nneeded.",[988,2087,2088,2098],{},[991,2089,2090],{},[994,2091,2092,2095],{},[997,2093,2094],{},"Component",[997,2096,2097],{},"What it renders",[1010,2099,2100,2110,2120,2130],{},[994,2101,2102,2107],{},[1015,2103,2104],{},[604,2105,2106],{},"CookieConsentBanner",[1015,2108,2109],{},"The whole banner, with the collapsed round button.",[994,2111,2112,2117],{},[1015,2113,2114],{},[604,2115,2116],{},"CookieConsentBannerActions",[1015,2118,2119],{},"The banner's button row: preferences, reject and accept.",[994,2121,2122,2127],{},[1015,2123,2124],{},[604,2125,2126],{},"CookieConsentPreferences",[1015,2128,2129],{},"The preferences dialog.",[994,2131,2132,2137],{},[1015,2133,2134],{},[604,2135,2136],{},"CookieConsentManage",[1015,2138,2139],{},"The \"Manage cookies\" button.",[593,2141,2142,2143,2146,2147,2150,2151,2154],{},"The banner renders the button row and the dialog itself, so replacing one part keeps the others. A replacement banner\ncalls ",[604,2144,2145],{},"hydrateFromUser()"," and the ",[604,2148,2149],{},"cookie-consent:ready"," hook on mount, as the default does. Start from a copy in\n",[604,2152,2153],{},"packages\u002Fcookie-consent\u002Fsrc\u002Fruntime\u002Fapp\u002Fcomponents",".",[703,2156,2158],{"id":2157},"add-a-category-from-a-module","Add a category from a module",[593,2160,2161,2162,2165,2166,2169,2170,2173],{},"A module that sets cookies adds them from ",[604,2163,2164],{},"setup()",". Lists are merged by ",[604,2167,2168],{},"key"," after every module has set up. The\nfirst label wins, cookies are concatenated, and ",[604,2171,2172],{},"required"," stays on once set.",[708,2175,2177],{"className":738,"code":2176,"language":741,"meta":713,"style":713},"import { extendCookieConsent, defineConsentCategory } from '@frigear-nu\u002Fcookie-consent\u002Futils'\n\nextendCookieConsent(nuxt, {\n  categories: [\n    defineConsentCategory({ key: 'necessary', required: true, cookies: [{ name: 'stripe_mid', provider: 'Stripe', duration: '1 year', purpose: 'Fraud prevention' }] }),\n  ],\n})\n",[604,2178,2179,2207,2211,2222,2230,2328,2334],{"__ignoreMap":713},[717,2180,2181,2184,2186,2189,2191,2194,2196,2199,2201,2204],{"class":719,"line":720},[717,2182,2183],{"class":748},"import",[717,2185,1305],{"class":763},[717,2187,2188],{"class":759}," extendCookieConsent",[717,2190,787],{"class":763},[717,2192,2193],{"class":759}," defineConsentCategory",[717,2195,1406],{"class":763},[717,2197,2198],{"class":748}," from",[717,2200,790],{"class":763},[717,2202,2203],{"class":727},"@frigear-nu\u002Fcookie-consent\u002Futils",[717,2205,2206],{"class":763},"'\n",[717,2208,2209],{"class":719,"line":767},[717,2210,1577],{"emptyLinePlaceholder":1576},[717,2212,2213,2215,2218,2220],{"class":719,"line":803},[717,2214,1248],{"class":755},[717,2216,2217],{"class":759},"(nuxt",[717,2219,787],{"class":763},[717,2221,811],{"class":763},[717,2223,2224,2226,2228],{"class":719,"line":814},[717,2225,1338],{"class":770},[717,2227,774],{"class":763},[717,2229,1343],{"class":759},[717,2231,2232,2235,2237,2239,2241,2243,2245,2247,2249,2251,2253,2255,2257,2259,2261,2263,2265,2267,2269,2271,2273,2276,2278,2280,2282,2284,2286,2288,2290,2292,2294,2296,2298,2301,2303,2305,2308,2310,2312,2315,2317,2319,2321,2323,2326],{"class":719,"line":835},[717,2233,2234],{"class":755},"    defineConsentCategory",[717,2236,760],{"class":759},[717,2238,1447],{"class":763},[717,2240,1351],{"class":770},[717,2242,774],{"class":763},[717,2244,790],{"class":763},[717,2246,610],{"class":727},[717,2248,780],{"class":763},[717,2250,787],{"class":763},[717,2252,1364],{"class":770},[717,2254,774],{"class":763},[717,2256,1370],{"class":1369},[717,2258,787],{"class":763},[717,2260,1440],{"class":770},[717,2262,774],{"class":763},[717,2264,777],{"class":759},[717,2266,1447],{"class":763},[717,2268,1450],{"class":770},[717,2270,774],{"class":763},[717,2272,790],{"class":763},[717,2274,2275],{"class":727},"stripe_mid",[717,2277,780],{"class":763},[717,2279,787],{"class":763},[717,2281,1464],{"class":770},[717,2283,774],{"class":763},[717,2285,790],{"class":763},[717,2287,250],{"class":727},[717,2289,780],{"class":763},[717,2291,787],{"class":763},[717,2293,1478],{"class":770},[717,2295,774],{"class":763},[717,2297,790],{"class":763},[717,2299,2300],{"class":727},"1 year",[717,2302,780],{"class":763},[717,2304,787],{"class":763},[717,2306,2307],{"class":770}," purpose",[717,2309,774],{"class":763},[717,2311,790],{"class":763},[717,2313,2314],{"class":727},"Fraud prevention",[717,2316,780],{"class":763},[717,2318,1406],{"class":763},[717,2320,1492],{"class":759},[717,2322,861],{"class":763},[717,2324,2325],{"class":759},")",[717,2327,800],{"class":763},[717,2329,2330,2332],{"class":719,"line":852},[717,2331,1500],{"class":759},[717,2333,800],{"class":763},[717,2335,2336,2338],{"class":719,"line":858},[717,2337,861],{"class":763},[717,2339,864],{"class":759},[703,2341,2343],{"id":2342},"utils","Utils",[593,2345,2346,2348,2349,2351],{},[604,2347,2203],{}," is safe in a module's ",[604,2350,2164],{},", server code and tests. It also exports the types.",[988,2353,2354,2363],{},[991,2355,2356],{},[994,2357,2358,2361],{},[997,2359,2360],{},"Export",[997,2362,1008],{},[1010,2364,2365,2379,2389,2404,2414,2424,2437,2451,2465],{},[994,2366,2367,2372],{},[1015,2368,2369],{},[604,2370,2371],{},"extendCookieConsent(nuxt, { categories })",[1015,2373,2374,2375,2378],{},"Adds categories, and calls the ",[604,2376,2377],{},"cookie-consent:extend"," hook.",[994,2380,2381,2386],{},[1015,2382,2383],{},[604,2384,2385],{},"defineConsentCategory(category)",[1015,2387,2388],{},"Types a category.",[994,2390,2391,2396],{},[1015,2392,2393],{},[604,2394,2395],{},"DEFAULT_CATEGORIES",[1015,2397,2398,1089,2400,636,2402,2154],{},[604,2399,610],{},[604,2401,1092],{},[604,2403,1095],{},[994,2405,2406,2411],{},[1015,2407,2408],{},[604,2409,2410],{},"mergeCategories(...lists)",[1015,2412,2413],{},"Merges category lists by key.",[994,2415,2416,2421],{},[1015,2417,2418],{},[604,2419,2420],{},"computeVersion(manual, categories)",[1015,2422,2423],{},"The final consent version: your version plus the category hash.",[994,2425,2426,2431],{},[1015,2427,2428],{},[604,2429,2430],{},"buildConsent(categories, version, choices, now?)",[1015,2432,2433,2434,2436],{},"Builds a ",[604,2435,1988],{},". Grants required categories and drops unknown keys.",[994,2438,2439,2444],{},[1015,2440,2441],{},[604,2442,2443],{},"normalizeConsent(raw, categories, version, now?)",[1015,2445,2446,2447,2450],{},"A valid state from a cookie value, or ",[604,2448,2449],{},"null"," when the visitor must be asked again.",[994,2452,2453,2462],{},[1015,2454,2455,2458,2459],{},[604,2456,2457],{},"acceptAllChoices"," \u002F ",[604,2460,2461],{},"rejectAllChoices",[1015,2463,2464],{},"The choices for accept all and reject all.",[994,2466,2467,2472],{},[1015,2468,2469],{},[604,2470,2471],{},"localize(value, locale, fallback?)",[1015,2473,2474,2475,2477],{},"Resolves a ",[604,2476,1152],{}," value.",[613,2479,234],{"id":2480},"hooks",[593,2482,2483,2484,2487],{},"Cookie Consent calls these build-time, app and ",[597,2485,2486],{"href":87},"Nitro"," hooks.",[988,2489,2490,2506],{},[991,2491,2492],{},[994,2493,2494,2497,2500,2503],{},[997,2495,2496],{},"Hook",[997,2498,2499],{},"Where",[997,2501,2502],{},"When",[997,2504,2505],{},"Payload",[1010,2507,2508,2527,2543,2573,2592],{},[994,2509,2510,2514,2517,2522],{},[1015,2511,2512],{},[604,2513,2377],{},[1015,2515,2516],{},"Nuxt (build)",[1015,2518,2519,2521],{},[604,2520,1248],{}," adds categories.",[1015,2523,2524],{},[604,2525,2526],{},"(categories: ConsentCategory[])",[994,2528,2529,2534,2536,2539],{},[1015,2530,2531],{},[604,2532,2533],{},"cookie-consent:resolved",[1015,2535,2516],{},[1015,2537,2538],{},"Once, after every module has set up. Change the list here.",[1015,2540,2541],{},[604,2542,2526],{},[994,2544,2545,2550,2553,2556],{},[1015,2546,2547],{},[604,2548,2549],{},"cookie-consent:change",[1015,2551,2552],{},"Nuxt app (client)",[1015,2554,2555],{},"Every save, accept, reject or withdrawal, and when a stored choice is loaded from the user.",[1015,2557,2558,2561,2562,2565,2566,2569,2570,2572],{},[604,2559,2560],{},"(state, previous)",", both ",[604,2563,2564],{},"ConsentState | null",". ",[604,2567,2568],{},"state"," is ",[604,2571,2449],{}," on withdrawal.",[994,2574,2575,2579,2581,2584],{},[1015,2576,2577],{},[604,2578,2149],{},[1015,2580,2552],{},[1015,2582,2583],{},"The banner is mounted.",[1015,2585,2586,1089,2589,2591],{},[604,2587,2588],{},"(state: ConsentState | null)",[604,2590,2449],{}," while undecided.",[994,2593,2594,2599,2601,2604],{},[1015,2595,2596],{},[604,2597,2598],{},"cookie-consent:saved",[1015,2600,2486],{},[1015,2602,2603],{},"A signed-in user's choice was stored.",[1015,2605,2606],{},[604,2607,2608],{},"({ userId: number | string, state: ConsentState, acceptedAt: number })",[613,2610,2612],{"id":2611},"routes","Routes",[593,2614,2615,2616,2618,2619,2622,2623,2626],{},"Routes the module registers, and who may call them. They exist only with ",[604,2617,1182],{},", so only with Users. The path\nis ",[604,2620,2621],{},"cookieConsentApi.root"," from ",[604,2624,2625],{},"@frigear-nu\u002Fcookie-consent\u002Fapi",". Both routes are session only.",[988,2628,2629,2643],{},[991,2630,2631],{},[994,2632,2633,2636,2639,2641],{},[997,2634,2635],{},"Method",[997,2637,2638],{},"Path",[997,2640,168],{},[997,2642,1008],{},[1010,2644,2645,2666],{},[994,2646,2647,2652,2657,2660],{},[1015,2648,2649],{},[604,2650,2651],{},"GET",[1015,2653,2654],{},[604,2655,2656],{},"\u002Fapi\u002Fcookie-consent",[1015,2658,2659],{},"session only",[1015,2661,2662,2663,2154],{},"The signed-in user's stored choice: ",[604,2664,2665],{},"{ consent: ConsentState | null }",[994,2667,2668,2673,2677,2679],{},[1015,2669,2670],{},[604,2671,2672],{},"POST",[1015,2674,2675],{},[604,2676,2656],{},[1015,2678,2659],{},[1015,2680,2681,2682,2685,2686,690,2689,2154],{},"Stores ",[604,2683,2684],{},"{ categories, version }",". Answers ",[604,2687,2688],{},"200",[604,2690,2691],{},"{ consent }",[593,2693,2694,2698],{},[624,2695,2696],{},[604,2697,2651],{}," gives a returning user on a new device their choice back, unless the version changed.",[593,2700,2701,2705,2706,2708,2709,2712,2713,2716],{},[624,2702,2703],{},[604,2704,2672],{}," sets the timestamp on the server and always grants required categories. It then calls\n",[604,2707,2598],{},". It answers ",[604,2710,2711],{},"409 outdated_version"," for an old version and ",[604,2714,2715],{},"400 unknown_categories"," for unknown\ncategories.",[613,2718,41],{"id":2719},"database",[593,2721,2722,2723,2725,2726,2728,2729,2732,2733,2154],{},"Columns the module adds to ",[604,2724,931],{},", only with ",[604,2727,1182],{},". Generate and commit a\n",[597,2730,935],{"href":2731},"\u002Fget-started\u002Fdatabase#migrations"," after installing. See\n",[597,2734,77],{"href":78},[988,2736,2737,2747],{},[991,2738,2739],{},[994,2740,2741,2744],{},[997,2742,2743],{},"Column",[997,2745,2746],{},"Holds",[1010,2748,2749,2759,2769],{},[994,2750,2751,2756],{},[1015,2752,2753],{},[604,2754,2755],{},"cookie_consent_accepted_at",[1015,2757,2758],{},"The time of the latest choice, in epoch milliseconds.",[994,2760,2761,2766],{},[1015,2762,2763],{},[604,2764,2765],{},"cookie_consent_version",[1015,2767,2768],{},"The consent version the choice was made against.",[994,2770,2771,2776],{},[1015,2772,2773],{},[604,2774,2775],{},"cookie_consent_categories",[1015,2777,2778],{},"JSON of what was granted.",[613,2780,395],{"id":2781},"translations",[593,2783,2784,2785,2788,2789,636,2792,2794,2795,2797,2798,2801,2802,2154],{},"Override any string in your app's ",[604,2786,2787],{},"i18n\u002Flocales\u002F\u003Ccode>.json",". The module registers ",[604,2790,2791],{},"da",[604,2793,1276],{}," under\n",[604,2796,985],{},". Without ",[604,2799,2800],{},"@nuxtjs\u002Fi18n"," the components use English. See\n",[597,2803,2805],{"href":2804},"\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fi18n#overriding-module-strings-in-your-app","overriding module strings",[988,2807,2808,2818],{},[991,2809,2810],{},[994,2811,2812,2815],{},[997,2813,2814],{},"Key",[997,2816,2817],{},"Used for",[1010,2819,2820,2847,2864,2876],{},[994,2821,2822,2844],{},[1015,2823,2824,1089,2827,1089,2830,1089,2833,1089,2836,1089,2839,1089,2842],{},[604,2825,2826],{},"cookieConsent.description",[604,2828,2829],{},"accept",[604,2831,2832],{},"reject",[604,2834,2835],{},"preferences",[604,2837,2838],{},"expand",[604,2840,2841],{},"manage",[604,2843,1963],{},[1015,2845,2846],{},"The banner and its buttons.",[994,2848,2849,2862],{},[1015,2850,2851,1089,2854,1089,2857,1089,2859],{},[604,2852,2853],{},"cookieConsent.preferencesTitle",[604,2855,2856],{},"preferencesDescription",[604,2858,2172],{},[604,2860,2861],{},"cookies",[1015,2863,2129],{},[994,2865,2866,2870],{},[1015,2867,2868],{},[604,2869,1259],{},[1015,2871,2872,2873,2875],{},"The policy link, when ",[604,2874,1165],{}," is not set.",[994,2877,2878,2886],{},[1015,2879,2880,636,2883],{},[604,2881,2882],{},"cookieConsent.categories.\u003Ckey>.label",[604,2884,2885],{},".description",[1015,2887,2888,2889,636,2892,2895],{},"Category texts. Custom categories use the same keys, or ",[604,2890,2891],{},"label",[604,2893,2894],{},"description"," in the config.",[613,2897,2899],{"id":2898},"next-steps","Next steps",[618,2901,2902,2907,2915],{},[621,2903,2904,2906],{},[597,2905,191],{"href":192}," – install it to keep proof of consent on each user.",[621,2908,2909,2911,2912,2914],{},[597,2910,77],{"href":78}," – how the consent columns join the ",[604,2913,931],{}," table.",[621,2916,2917,2919],{},[597,2918,72],{"href":73}," – how modules add categories without importing each other.",[2921,2922,2923],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":713,"searchDepth":767,"depth":767,"links":2925},[2926,2927,2933,2934,2935,2941,2942,2943,2944,2945],{"id":615,"depth":767,"text":616},{"id":697,"depth":767,"text":698,"children":2928},[2929,2930,2931,2932],{"id":705,"depth":803,"text":706},{"id":734,"depth":803,"text":735},{"id":867,"depth":803,"text":868},{"id":920,"depth":803,"text":921},{"id":978,"depth":767,"text":979},{"id":1744,"depth":767,"text":1745},{"id":1786,"depth":767,"text":267,"children":2936},[2937,2938,2939,2940],{"id":1856,"depth":803,"text":1857},{"id":2082,"depth":803,"text":626},{"id":2157,"depth":803,"text":2158},{"id":2342,"depth":803,"text":2343},{"id":2480,"depth":767,"text":234},{"id":2611,"depth":767,"text":2612},{"id":2719,"depth":767,"text":41},{"id":2781,"depth":767,"text":395},{"id":2898,"depth":767,"text":2899},"Ask visitors before your app sets non-essential cookies, load scripts only after they agree, and keep proof.","md",null,{},{"title":313,"description":2946},"tNNBzubRyG8LwYJxUTlmoGkjBxgRFNKNgtWuDsjycP8",[2953,2955],{"title":179,"path":310,"stem":311,"description":2954,"children":-1},"Look up the hooks, HTTP routes, database tables and translation keys of Forms.",{"title":317,"path":318,"stem":319,"description":2956,"children":-1},"Let AI agents use your app on a user's behalf, seeing only the tools and data that user's token allows.",1794503148492]