[{"data":1,"prerenderedAt":2451},["ShallowReactive",2],{"navigation_docs":3,"-modules-cookie-consent":153,"-modules-cookie-consent-surround":2446},[4,35,50,59,144],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting started",false,"\u002Fgetting-started","1.getting-started",[10,15,20,25,30],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F2.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Local Development","\u002Fgetting-started\u002Flocal-development","1.getting-started\u002F3.local-development","i-lucide-terminal",{"title":21,"path":22,"stem":23,"icon":24},"Publishing Packages","\u002Fgetting-started\u002Fpublishing","1.getting-started\u002F4.publishing","i-lucide-package-check",{"title":26,"path":27,"stem":28,"icon":29},"Writing a Module","\u002Fgetting-started\u002Fwriting-a-module","1.getting-started\u002F5.writing-a-module","i-lucide-puzzle",{"title":31,"path":32,"stem":33,"icon":34},"UX Patterns","\u002Fgetting-started\u002Fux-patterns","1.getting-started\u002F6.ux-patterns","i-lucide-layout-template",{"title":36,"path":37,"stem":38,"children":39},"Applications","\u002Fapplications","2.applications",[40,45],{"title":41,"path":42,"stem":43,"icon":44},"Website","\u002Fapplications\u002Fwebsite","2.applications\u002F1.website","i-lucide-layout-dashboard",{"title":46,"path":47,"stem":48,"icon":49},"Docs","\u002Fapplications\u002Fdocs","2.applications\u002F2.docs","i-lucide-book-open",{"title":51,"path":52,"stem":53,"children":54},"Layers","\u002Flayers","3.layers",[55],{"title":56,"path":57,"stem":58},"Base Layer","\u002Flayers\u002Fbase","3.layers\u002F1.base",{"title":60,"path":61,"stem":62,"children":63},"Modules","\u002Fmodules","4.modules",[64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140],{"title":65,"path":66,"stem":67},"Account","\u002Fmodules\u002Faccount","4.modules\u002F01.account",{"title":69,"path":70,"stem":71},"Admin","\u002Fmodules\u002Fadmin","4.modules\u002F02.admin",{"title":73,"path":74,"stem":75},"Auth","\u002Fmodules\u002Fauth","4.modules\u002F03.auth",{"title":77,"path":78,"stem":79},"Authorization","\u002Fmodules\u002Fauthorization","4.modules\u002F04.authorization",{"title":81,"path":82,"stem":83},"Cookie Consent","\u002Fmodules\u002Fcookie-consent","4.modules\u002F05.cookie-consent",{"title":85,"path":86,"stem":87},"Events","\u002Fmodules\u002Fevents","4.modules\u002F06.events",{"title":89,"path":90,"stem":91},"Forms","\u002Fmodules\u002Fforms","4.modules\u002F07.forms",{"title":93,"path":94,"stem":95},"MCP","\u002Fmodules\u002Fmcp","4.modules\u002F08.mcp",{"title":97,"path":98,"stem":99},"Menu","\u002Fmodules\u002Fmenu","4.modules\u002F09.menu",{"title":101,"path":102,"stem":103},"Module Kit","\u002Fmodules\u002Fmodule-kit","4.modules\u002F10.module-kit",{"title":105,"path":106,"stem":107},"Notify","\u002Fmodules\u002Fnotify","4.modules\u002F11.notify",{"title":109,"path":110,"stem":111},"OAuth Server","\u002Fmodules\u002Foauth-server","4.modules\u002F12.oauth-server",{"title":113,"path":114,"stem":115},"Payments","\u002Fmodules\u002Fpayments","4.modules\u002F13.payments",{"title":117,"path":118,"stem":119},"Preferences","\u002Fmodules\u002Fpreferences","4.modules\u002F14.preferences",{"title":121,"path":122,"stem":123},"Stripe","\u002Fmodules\u002Fstripe","4.modules\u002F15.stripe",{"title":125,"path":126,"stem":127},"Subscriptions","\u002Fmodules\u002Fsubscriptions","4.modules\u002F16.subscriptions",{"title":129,"path":130,"stem":131},"UI","\u002Fmodules\u002Fui","4.modules\u002F17.ui",{"title":133,"path":134,"stem":135},"Users","\u002Fmodules\u002Fusers","4.modules\u002F18.users",{"title":137,"path":138,"stem":139},"Widget","\u002Fmodules\u002Fwidget","4.modules\u002F19.widget",{"title":141,"path":142,"stem":143},"Email Templates","\u002Fmodules\u002Femail-templates","4.modules\u002F20.email-templates",{"title":145,"path":146,"stem":147,"children":148},"Packages","\u002Fpackages","5.packages",[149],{"title":150,"path":151,"stem":152},"CLI","\u002Fpackages\u002Fcli","5.packages\u002F4.cli",{"id":154,"title":81,"body":155,"description":2440,"extension":2441,"links":2442,"meta":2443,"navigation":1066,"path":82,"seo":2444,"stem":83,"__hash__":2445},"docs\u002F4.modules\u002F05.cookie-consent.md",{"type":156,"value":157,"toc":2422},"minimark",[158,167,207,212,259,263,398,421,428,432,439,685,698,977,992,997,1232,1236,1287,1294,1298,1302,1528,1588,1592,1599,1652,1678,1682,1697,1864,1868,1876,2002,2016,2020,2139,2143,2151,2221,2225,2234,2278,2292,2296,2327,2418],[159,160,161,162,166],"p",{},"A cookie consent banner with ",[163,164,165],"strong",{},"categories",", a preferences dialog, helpers for gating scripts on consent, and consent\nthat is stored on the signed-in user as proof.",[168,169,170,173,174,181,182,187,188,191,192,173,195,200,201,206],"note",{},[163,171,172],{},"Requires"," ",[175,176,177],"a",{"href":102},[178,179,180],"code",{},"@frigear-nu\u002Fmodule-kit"," and ",[175,183,184],{"href":130},[178,185,186],{},"@frigear-nu\u002Fui"," (a hard dependency of the package;\nthe components also need ",[178,189,190],{},"@nuxt\u002Fui"," in the host).\n",[163,193,194],{},"Optional",[175,196,197],{"href":134},[178,198,199],{},"@frigear-nu\u002Fusers"," (with NuxtHub) to store the consent on the user, and\n",[175,202,203],{"href":74},[178,204,205],{},"@frigear-nu\u002Fauth",", declared only so it is set up first. Without users, consent lives only in the cookie.",[208,209,211],"h2",{"id":210},"design","Design",[213,214,215,225,231,249],"ul",{},[216,217,218,173,221,224],"li",{},[163,219,220],{},"Opt-in per category.",[178,222,223],{},"necessary"," is always on; every other category is off until the visitor grants it. Rejecting\nis exactly as easy as accepting.",[216,226,227,230],{},[163,228,229],{},"Specific and informed."," Each category can list its cookies (name, provider, purpose, duration); they are shown in\nthe preferences dialog.",[216,232,233,236,237,240,241,244,245,248],{},[163,234,235],{},"Versioned."," The consent version is your ",[178,238,239],{},"version"," option plus a hash of the category\u002Fcookie set. Adding a category\nor cookie (including from another module) asks everyone again. The old ",[178,242,243],{},"accepted","\u002F",[178,246,247],{},"rejected"," cookie values are\nmigrated.",[216,250,251,254,255,258],{},[163,252,253],{},"Provable."," For signed-in users the timestamp, version and granted categories are stored on the ",[178,256,257],{},"users"," row.",[208,260,262],{"id":261},"quick-setup","Quick setup",[264,265,270],"pre",{"className":266,"code":267,"language":268,"meta":269,"style":269},"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","ts","",[178,271,272,296,334,345,366,383,389],{"__ignoreMap":269},[273,274,277,281,284,288,292],"span",{"class":275,"line":276},"line",1,[273,278,280],{"class":279},"s7zQu","export",[273,282,283],{"class":279}," default",[273,285,287],{"class":286},"s2Zo4"," defineNuxtConfig",[273,289,291],{"class":290},"sTEyZ","(",[273,293,295],{"class":294},"sMK4o","{\n",[273,297,299,303,306,309,312,315,317,320,323,326,328,331],{"class":275,"line":298},2,[273,300,302],{"class":301},"swJcz","  modules",[273,304,305],{"class":294},":",[273,307,308],{"class":290}," [",[273,310,311],{"class":294},"'",[273,313,190],{"class":314},"sfazB",[273,316,311],{"class":294},[273,318,319],{"class":294},",",[273,321,322],{"class":294}," '",[273,324,325],{"class":314},"@frigear-nu\u002Fcookie-consent",[273,327,311],{"class":294},[273,329,330],{"class":290},"]",[273,332,333],{"class":294},",\n",[273,335,337,340,342],{"class":275,"line":336},3,[273,338,339],{"class":301},"  cookieConsent",[273,341,305],{"class":294},[273,343,344],{"class":294}," {\n",[273,346,348,351,353,355,358,360,362],{"class":275,"line":347},4,[273,349,350],{"class":301},"    version",[273,352,305],{"class":294},[273,354,322],{"class":294},[273,356,357],{"class":314},"1",[273,359,311],{"class":294},[273,361,319],{"class":294},[273,363,365],{"class":364},"sHwdD"," \u002F\u002F bump to ask everyone again\n",[273,367,369,372,374,376,379,381],{"class":275,"line":368},5,[273,370,371],{"class":301},"    policyUrl",[273,373,305],{"class":294},[273,375,322],{"class":294},[273,377,378],{"class":314},"\u002Flegal\u002Fgdpr",[273,380,311],{"class":294},[273,382,333],{"class":294},[273,384,386],{"class":275,"line":385},6,[273,387,388],{"class":294},"  },\n",[273,390,392,395],{"class":275,"line":391},7,[273,393,394],{"class":294},"}",[273,396,397],{"class":290},")\n",[264,399,403],{"className":400,"code":401,"language":402,"meta":269,"style":269},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003C!-- app.vue, inside \u003CUApp> -->\n\u003CCookieConsentBanner \u002F>\n","vue",[178,404,405,410],{"__ignoreMap":269},[273,406,407],{"class":275,"line":276},[273,408,409],{"class":364},"\u003C!-- app.vue, inside \u003CUApp> -->\n",[273,411,412,415,418],{"class":275,"line":298},[273,413,414],{"class":294},"\u003C",[273,416,417],{"class":301},"CookieConsentBanner",[273,419,420],{"class":294}," \u002F>\n",[159,422,423,424,427],{},"Put ",[178,425,426],{},"\u003CCookieConsentManage \u002F>"," (a \"Manage cookies\" button) in the footer so visitors can change their mind. It opens the\npreferences dialog rendered by the banner.",[208,429,431],{"id":430},"options","Options",[159,433,434,435,438],{},"All options live under ",[178,436,437],{},"cookieConsent",".",[440,441,442,461],"table",{},[443,444,445],"thead",{},[446,447,448,452,455,458],"tr",{},[449,450,451],"th",{},"Option",[449,453,454],{},"Type",[449,456,457],{},"Default",[449,459,460],{},"Purpose",[462,463,464,485,506,524,553,573,600,618,639,662],"tbody",{},[446,465,466,472,477,482],{},[467,468,469],"td",{},[178,470,471],{},"cookieName",[467,473,474],{},[178,475,476],{},"string",[467,478,479],{},[178,480,481],{},"'cookie-consent'",[467,483,484],{},"Name of the consent cookie.",[446,486,487,492,497,503],{},[467,488,489],{},[178,490,491],{},"maxAge",[467,493,494],{},[178,495,496],{},"number",[467,498,499,502],{},[178,500,501],{},"15552000"," (180 days)",[467,504,505],{},"Cookie lifetime in seconds.",[446,507,508,512,516,521],{},[467,509,510],{},[178,511,239],{},[467,513,514],{},[178,515,476],{},[467,517,518],{},[178,519,520],{},"'1'",[467,522,523],{},"Manual version; changing it asks every visitor again. The category set is hashed into the final version.",[446,525,526,530,535,547],{},[467,527,528],{},[178,529,165],{},[467,531,532],{},[178,533,534],{},"ConsentCategory[]",[467,536,537,539,540,543,544],{},[178,538,223],{}," (required), ",[178,541,542],{},"analytics",", ",[178,545,546],{},"marketing",[467,548,549,550,438],{},"Categories to show. Other modules add more with ",[178,551,552],{},"extendCookieConsent",[446,554,555,560,565,570],{},[467,556,557],{},[178,558,559],{},"excludeRoutes",[467,561,562],{},[178,563,564],{},"string[]",[467,566,567],{},[178,568,569],{},"['\u002Fauthorize']",[467,571,572],{},"Exact routes where the banner is hidden.",[446,574,575,580,585,590],{},[467,576,577],{},[178,578,579],{},"collapseOnScroll",[467,581,582],{},[178,583,584],{},"boolean | number",[467,586,587],{},[178,588,589],{},"true",[467,591,592,593,595,596,599],{},"Collapse the banner into a round button after this many px scrolled (",[178,594,589],{}," = 80, ",[178,597,598],{},"false"," = never).",[446,601,602,607,612,615],{},[467,603,604],{},[178,605,606],{},"policyUrl",[467,608,609],{},[178,610,611],{},"Translated",[467,613,614],{},"none",[467,616,617],{},"Link to the cookie\u002Fprivacy policy shown in the banner.",[446,619,620,625,629,636],{},[467,621,622],{},[178,623,624],{},"policyLabel",[467,626,627],{},[178,628,611],{},[467,630,631,632,635],{},"i18n key ",[178,633,634],{},"cookieConsent.policy"," (\"Read more\")",[467,637,638],{},"Text of the policy link; wins over the translation.",[446,640,641,646,651,659],{},[467,642,643],{},[178,644,645],{},"persistToUser",[467,647,648],{},[178,649,650],{},"boolean",[467,652,653,655,656,658],{},[178,654,589],{}," when ",[178,657,199],{}," is installed",[467,660,661],{},"Store the consent on the signed-in user. Forced off without users.",[446,663,664,669,673,678],{},[467,665,666],{},[178,667,668],{},"icon",[467,670,671],{},[178,672,476],{},[467,674,675],{},[178,676,677],{},"'lucide:cookie'",[467,679,680,681,684],{},"Iconify name (",[178,682,683],{},"collection:name",") of the badge and collapsed button icon.",[159,686,687,689,690,693,694,697],{},[178,688,611],{}," is a string or a map of locale code to value (",[178,691,692],{},"{ da, en }","). A locale without an entry falls back to its\nbase language, then ",[178,695,696],{},"en",", then the first entry.",[264,699,701],{"className":266,"code":700,"language":268,"meta":269,"style":269},"export default defineNuxtConfig({\n  cookieConsent: {\n    policyUrl: { en: '\u002Flegal\u002Fgdpr', da: '\u002Fda\u002Fjuridisk\u002Fgdpr' },\n    policyLabel: { en: 'Read our cookie policy', da: 'Læs vores cookiepolitik' },\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})\n",[178,702,703,715,723,760,795,805,870,957,965,970],{"__ignoreMap":269},[273,704,705,707,709,711,713],{"class":275,"line":276},[273,706,280],{"class":279},[273,708,283],{"class":279},[273,710,287],{"class":286},[273,712,291],{"class":290},[273,714,295],{"class":294},[273,716,717,719,721],{"class":275,"line":298},[273,718,339],{"class":301},[273,720,305],{"class":294},[273,722,344],{"class":294},[273,724,725,727,729,732,735,737,739,741,743,745,748,750,752,755,757],{"class":275,"line":336},[273,726,371],{"class":301},[273,728,305],{"class":294},[273,730,731],{"class":294}," {",[273,733,734],{"class":301}," en",[273,736,305],{"class":294},[273,738,322],{"class":294},[273,740,378],{"class":314},[273,742,311],{"class":294},[273,744,319],{"class":294},[273,746,747],{"class":301}," da",[273,749,305],{"class":294},[273,751,322],{"class":294},[273,753,754],{"class":314},"\u002Fda\u002Fjuridisk\u002Fgdpr",[273,756,311],{"class":294},[273,758,759],{"class":294}," },\n",[273,761,762,765,767,769,771,773,775,778,780,782,784,786,788,791,793],{"class":275,"line":347},[273,763,764],{"class":301},"    policyLabel",[273,766,305],{"class":294},[273,768,731],{"class":294},[273,770,734],{"class":301},[273,772,305],{"class":294},[273,774,322],{"class":294},[273,776,777],{"class":314},"Read our cookie policy",[273,779,311],{"class":294},[273,781,319],{"class":294},[273,783,747],{"class":301},[273,785,305],{"class":294},[273,787,322],{"class":294},[273,789,790],{"class":314},"Læs vores cookiepolitik",[273,792,311],{"class":294},[273,794,759],{"class":294},[273,796,797,800,802],{"class":275,"line":368},[273,798,799],{"class":301},"    categories",[273,801,305],{"class":294},[273,803,804],{"class":290}," [\n",[273,806,807,810,813,815,817,819,821,823,826,828,832,834,837,839,841,843,845,847,850,852,854,856,858,860,863,865,868],{"class":275,"line":385},[273,808,809],{"class":294},"      {",[273,811,812],{"class":301}," key",[273,814,305],{"class":294},[273,816,322],{"class":294},[273,818,223],{"class":314},[273,820,311],{"class":294},[273,822,319],{"class":294},[273,824,825],{"class":301}," required",[273,827,305],{"class":294},[273,829,831],{"class":830},"sfNiH"," true",[273,833,319],{"class":294},[273,835,836],{"class":301}," label",[273,838,305],{"class":294},[273,840,731],{"class":294},[273,842,734],{"class":301},[273,844,305],{"class":294},[273,846,322],{"class":294},[273,848,849],{"class":314},"Necessary",[273,851,311],{"class":294},[273,853,319],{"class":294},[273,855,747],{"class":301},[273,857,305],{"class":294},[273,859,322],{"class":294},[273,861,862],{"class":314},"Nødvendige",[273,864,311],{"class":294},[273,866,867],{"class":294}," }",[273,869,759],{"class":294},[273,871,872,874,876,878,880,882,884,886,888,890,892,895,897,899,902,904,906,909,912,914,916,919,921,923,926,928,930,933,935,937,940,942,944,947,949,951,954],{"class":275,"line":391},[273,873,809],{"class":294},[273,875,812],{"class":301},[273,877,305],{"class":294},[273,879,322],{"class":294},[273,881,542],{"class":314},[273,883,311],{"class":294},[273,885,319],{"class":294},[273,887,836],{"class":301},[273,889,305],{"class":294},[273,891,322],{"class":294},[273,893,894],{"class":314},"Analytics",[273,896,311],{"class":294},[273,898,319],{"class":294},[273,900,901],{"class":301}," cookies",[273,903,305],{"class":294},[273,905,308],{"class":290},[273,907,908],{"class":294},"{",[273,910,911],{"class":301}," name",[273,913,305],{"class":294},[273,915,322],{"class":294},[273,917,918],{"class":314},"_ga",[273,920,311],{"class":294},[273,922,319],{"class":294},[273,924,925],{"class":301}," provider",[273,927,305],{"class":294},[273,929,322],{"class":294},[273,931,932],{"class":314},"Google",[273,934,311],{"class":294},[273,936,319],{"class":294},[273,938,939],{"class":301}," duration",[273,941,305],{"class":294},[273,943,322],{"class":294},[273,945,946],{"class":314},"2 years",[273,948,311],{"class":294},[273,950,867],{"class":294},[273,952,953],{"class":290},"] ",[273,955,956],{"class":294},"},\n",[273,958,960,963],{"class":275,"line":959},8,[273,961,962],{"class":290},"    ]",[273,964,333],{"class":294},[273,966,968],{"class":275,"line":967},9,[273,969,388],{"class":294},[273,971,973,975],{"class":275,"line":972},10,[273,974,394],{"class":294},[273,976,397],{"class":290},[159,978,979,980,983,984,987,988,991],{},"The icon is added to Nuxt Icon's client bundle by the module (through the ",[178,981,982],{},"icon:clientBundleIcons"," hook), because Nuxt\nIcon does not scan ",[178,985,986],{},"node_modules","; no ",[178,989,990],{},"icon.clientBundle.icons"," entry is needed. Icons from custom collections work as\nlong as the collection is configured in Nuxt Icon.",[993,994,996],"h3",{"id":995},"types","Types",[264,998,1000],{"className":266,"code":999,"language":268,"meta":269,"style":269},"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",[178,1001,1002,1014,1024,1034,1044,1057,1062,1068,1077,1086,1099,1112,1126,1139,1152,1157,1162,1168,1178,1191,1205,1227],{"__ignoreMap":269},[273,1003,1004,1008,1012],{"class":275,"line":276},[273,1005,1007],{"class":1006},"spNyl","interface",[273,1009,1011],{"class":1010},"sBMFI"," ConsentCookie",[273,1013,344],{"class":294},[273,1015,1016,1019,1021],{"class":275,"line":298},[273,1017,1018],{"class":301},"  name",[273,1020,305],{"class":294},[273,1022,1023],{"class":1010}," string\n",[273,1025,1026,1029,1032],{"class":275,"line":336},[273,1027,1028],{"class":301},"  provider",[273,1030,1031],{"class":294},"?:",[273,1033,1023],{"class":1010},[273,1035,1036,1039,1041],{"class":275,"line":347},[273,1037,1038],{"class":301},"  purpose",[273,1040,1031],{"class":294},[273,1042,1043],{"class":1010}," Translated\n",[273,1045,1046,1049,1051,1054],{"class":275,"line":368},[273,1047,1048],{"class":301},"  duration",[273,1050,1031],{"class":294},[273,1052,1053],{"class":1010}," string",[273,1055,1056],{"class":364}," \u002F\u002F human readable, e.g. '1 year' or 'Session'\n",[273,1058,1059],{"class":275,"line":385},[273,1060,1061],{"class":294},"}\n",[273,1063,1064],{"class":275,"line":391},[273,1065,1067],{"emptyLinePlaceholder":1066},true,"\n",[273,1069,1070,1072,1075],{"class":275,"line":959},[273,1071,1007],{"class":1006},[273,1073,1074],{"class":1010}," ConsentCategory",[273,1076,344],{"class":294},[273,1078,1079,1082,1084],{"class":275,"line":967},[273,1080,1081],{"class":301},"  key",[273,1083,305],{"class":294},[273,1085,1023],{"class":1010},[273,1087,1088,1091,1093,1096],{"class":275,"line":972},[273,1089,1090],{"class":301},"  required",[273,1092,1031],{"class":294},[273,1094,1095],{"class":1010}," boolean",[273,1097,1098],{"class":364}," \u002F\u002F always on and not switchable\n",[273,1100,1102,1105,1107,1109],{"class":275,"line":1101},11,[273,1103,1104],{"class":301},"  defaultEnabled",[273,1106,1031],{"class":294},[273,1108,1095],{"class":1010},[273,1110,1111],{"class":364}," \u002F\u002F pre-selected in the preferences dialog; never applied without the visitor saving. Default false\n",[273,1113,1115,1118,1120,1123],{"class":275,"line":1114},12,[273,1116,1117],{"class":301},"  label",[273,1119,1031],{"class":294},[273,1121,1122],{"class":1010}," Translated",[273,1124,1125],{"class":364}," \u002F\u002F default: i18n key cookieConsent.categories.\u003Ckey>.label\n",[273,1127,1129,1132,1134,1136],{"class":275,"line":1128},13,[273,1130,1131],{"class":301},"  description",[273,1133,1031],{"class":294},[273,1135,1122],{"class":1010},[273,1137,1138],{"class":364}," \u002F\u002F default: i18n key cookieConsent.categories.\u003Ckey>.description\n",[273,1140,1142,1145,1147,1149],{"class":275,"line":1141},14,[273,1143,1144],{"class":301},"  cookies",[273,1146,1031],{"class":294},[273,1148,1011],{"class":1010},[273,1150,1151],{"class":290},"[]\n",[273,1153,1155],{"class":275,"line":1154},15,[273,1156,1061],{"class":294},[273,1158,1160],{"class":275,"line":1159},16,[273,1161,1067],{"emptyLinePlaceholder":1066},[273,1163,1165],{"class":275,"line":1164},17,[273,1166,1167],{"class":364},"\u002F** What is stored in the consent cookie and, for signed-in users, in the database. *\u002F\n",[273,1169,1171,1173,1176],{"class":275,"line":1170},18,[273,1172,1007],{"class":1006},[273,1174,1175],{"class":1010}," ConsentState",[273,1177,344],{"class":294},[273,1179,1181,1184,1186,1188],{"class":275,"line":1180},19,[273,1182,1183],{"class":301},"  v",[273,1185,305],{"class":294},[273,1187,1053],{"class":1010},[273,1189,1190],{"class":364}," \u002F\u002F consent version the choice was made against\n",[273,1192,1194,1197,1199,1202],{"class":275,"line":1193},20,[273,1195,1196],{"class":301},"  ts",[273,1198,305],{"class":294},[273,1200,1201],{"class":1010}," number",[273,1203,1204],{"class":364}," \u002F\u002F epoch ms\n",[273,1206,1208,1211,1213,1216,1218,1220,1222,1224],{"class":275,"line":1207},21,[273,1209,1210],{"class":301},"  categories",[273,1212,305],{"class":294},[273,1214,1215],{"class":1010}," Record",[273,1217,414],{"class":294},[273,1219,476],{"class":1010},[273,1221,319],{"class":294},[273,1223,1095],{"class":1010},[273,1225,1226],{"class":294},">\n",[273,1228,1230],{"class":275,"line":1229},22,[273,1231,1061],{"class":294},[208,1233,1235],{"id":1234},"server","Server",[264,1237,1239],{"className":266,"code":1238,"language":268,"meta":269,"style":269},"getCookieConsent(event: H3Event): ConsentState | null \u002F\u002F null = undecided or outdated\nhasCookieConsent(event: H3Event, category: string): boolean \u002F\u002F gate tracking in SSR \u002F API code\ngetCookieConsentConfig(event: H3Event): PublicModuleOptions | undefined\n",[178,1240,1241,1258,1274],{"__ignoreMap":269},[273,1242,1243,1246,1249,1252,1255],{"class":275,"line":276},[273,1244,1245],{"class":286},"getCookieConsent",[273,1247,1248],{"class":290},"(event: H3Event): ConsentState ",[273,1250,1251],{"class":294},"|",[273,1253,1254],{"class":294}," null",[273,1256,1257],{"class":364}," \u002F\u002F null = undecided or outdated\n",[273,1259,1260,1263,1266,1268,1271],{"class":275,"line":298},[273,1261,1262],{"class":286},"hasCookieConsent",[273,1264,1265],{"class":290},"(event: H3Event",[273,1267,319],{"class":294},[273,1269,1270],{"class":290}," category: string): boolean ",[273,1272,1273],{"class":364},"\u002F\u002F gate tracking in SSR \u002F API code\n",[273,1275,1276,1279,1282,1284],{"class":275,"line":336},[273,1277,1278],{"class":286},"getCookieConsentConfig",[273,1280,1281],{"class":290},"(event: H3Event): PublicModuleOptions ",[273,1283,1251],{"class":294},[273,1285,1286],{"class":294}," undefined\n",[159,1288,1289,181,1291,1293],{},[178,1290,1245],{},[178,1292,1262],{}," are auto-imported in server code.",[208,1295,1297],{"id":1296},"app","App",[993,1299,1301],{"id":1300},"composables","Composables",[264,1303,1305],{"className":266,"code":1304,"language":268,"meta":269,"style":269},"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",[178,1306,1307,1314,1341,1363,1380,1393,1397,1405,1440,1456,1460,1465,1513,1517],{"__ignoreMap":269},[273,1308,1309,1312],{"class":275,"line":276},[273,1310,1311],{"class":1006},"const",[273,1313,344],{"class":294},[273,1315,1316,1319,1321,1324,1326,1329,1331,1334,1336,1339],{"class":275,"line":298},[273,1317,1318],{"class":290},"  config",[273,1320,319],{"class":294},[273,1322,1323],{"class":290}," categories",[273,1325,319],{"class":294},[273,1327,1328],{"class":290}," consent",[273,1330,319],{"class":294},[273,1332,1333],{"class":290}," hasResponded",[273,1335,319],{"class":294},[273,1337,1338],{"class":290}," isAllowed",[273,1340,333],{"class":294},[273,1342,1343,1346,1348,1351,1353,1356,1358,1361],{"class":275,"line":336},[273,1344,1345],{"class":290},"  acceptAll",[273,1347,319],{"class":294},[273,1349,1350],{"class":290}," rejectAll",[273,1352,319],{"class":294},[273,1354,1355],{"class":290}," save",[273,1357,319],{"class":294},[273,1359,1360],{"class":290}," reset",[273,1362,333],{"class":294},[273,1364,1365,1368,1370,1373,1375,1378],{"class":275,"line":347},[273,1366,1367],{"class":290},"  isPreferencesOpen",[273,1369,319],{"class":294},[273,1371,1372],{"class":290}," openPreferences",[273,1374,319],{"class":294},[273,1376,1377],{"class":290}," hydrateFromUser",[273,1379,333],{"class":294},[273,1381,1382,1384,1387,1390],{"class":275,"line":368},[273,1383,394],{"class":294},[273,1385,1386],{"class":294}," =",[273,1388,1389],{"class":286}," useCookieConsent",[273,1391,1392],{"class":290},"()\n",[273,1394,1395],{"class":275,"line":385},[273,1396,1067],{"emptyLinePlaceholder":1066},[273,1398,1399,1402],{"class":275,"line":391},[273,1400,1401],{"class":286},"isAllowed",[273,1403,1404],{"class":290},"(key: string): boolean\n",[273,1406,1407,1410,1413,1415,1417,1419,1421,1424,1427,1430,1432,1435,1437],{"class":275,"line":959},[273,1408,1409],{"class":286},"save",[273,1411,1412],{"class":290},"(choices: Record",[273,1414,414],{"class":294},[273,1416,476],{"class":290},[273,1418,319],{"class":294},[273,1420,1095],{"class":290},[273,1422,1423],{"class":294},">",[273,1425,1426],{"class":290},"): ",[273,1428,1429],{"class":1010},"Promise",[273,1431,414],{"class":294},[273,1433,1434],{"class":290},"ConsentState",[273,1436,1423],{"class":294},[273,1438,1439],{"class":364}," \u002F\u002F required categories are always granted\n",[273,1441,1442,1445,1448,1450,1453],{"class":275,"line":967},[273,1443,1444],{"class":286},"reset",[273,1446,1447],{"class":290},"(): ",[273,1449,1429],{"class":1010},[273,1451,1452],{"class":294},"\u003Cvoid>",[273,1454,1455],{"class":364}," \u002F\u002F withdraws consent: only required categories remain and the banner shows again\n",[273,1457,1458],{"class":275,"line":972},[273,1459,1067],{"emptyLinePlaceholder":1066},[273,1461,1462],{"class":275,"line":1101},[273,1463,1464],{"class":364},"\u002F\u002F Runs now if already granted, or as soon as it is; the returned function runs on withdrawal.\n",[273,1466,1467,1470,1473,1475,1478,1481,1484,1487,1489,1491,1494,1497,1499,1502,1504,1506,1508,1510],{"class":275,"line":1114},[273,1468,1469],{"class":286},"onCookieConsent",[273,1471,1472],{"class":290},"(category: string",[273,1474,319],{"class":294},[273,1476,1477],{"class":290}," callback: ",[273,1479,1480],{"class":294},"()",[273,1482,1483],{"class":1006}," =>",[273,1485,1486],{"class":290}," (",[273,1488,1480],{"class":294},[273,1490,1483],{"class":1006},[273,1492,1493],{"class":294}," void",[273,1495,1496],{"class":290},") ",[273,1498,1251],{"class":294},[273,1500,1501],{"class":294}," undefined",[273,1503,1426],{"class":290},[273,1505,1480],{"class":294},[273,1507,1483],{"class":1006},[273,1509,1493],{"class":294},[273,1511,1512],{"class":364}," \u002F\u002F returns a stop function\n",[273,1514,1515],{"class":275,"line":1128},[273,1516,1067],{"emptyLinePlaceholder":1066},[273,1518,1519,1522,1525],{"class":275,"line":1141},[273,1520,1521],{"class":286},"useConsentT",[273,1523,1524],{"class":290},"() ",[273,1526,1527],{"class":364},"\u002F\u002F translated texts of the module\n",[264,1529,1531],{"className":266,"code":1530,"language":268,"meta":269,"style":269},"onCookieConsent('analytics', () => {\n  const stop = startTracking()\n  return () => stop()\n})\n",[178,1532,1533,1554,1569,1582],{"__ignoreMap":269},[273,1534,1535,1537,1539,1541,1543,1545,1547,1550,1552],{"class":275,"line":276},[273,1536,1469],{"class":286},[273,1538,291],{"class":290},[273,1540,311],{"class":294},[273,1542,542],{"class":314},[273,1544,311],{"class":294},[273,1546,319],{"class":294},[273,1548,1549],{"class":294}," ()",[273,1551,1483],{"class":1006},[273,1553,344],{"class":294},[273,1555,1556,1559,1562,1564,1567],{"class":275,"line":298},[273,1557,1558],{"class":1006},"  const",[273,1560,1561],{"class":290}," stop",[273,1563,1386],{"class":294},[273,1565,1566],{"class":286}," startTracking",[273,1568,1392],{"class":301},[273,1570,1571,1574,1576,1578,1580],{"class":275,"line":336},[273,1572,1573],{"class":279},"  return",[273,1575,1549],{"class":294},[273,1577,1483],{"class":1006},[273,1579,1561],{"class":286},[273,1581,1392],{"class":301},[273,1583,1584,1586],{"class":275,"line":347},[273,1585,394],{"class":294},[273,1587,397],{"class":290},[993,1589,1591],{"id":1590},"components","Components",[159,1593,1594,1595,1598],{},"The default components are registered with the lowest priority. A component with the ",[163,1596,1597],{},"same name"," in your app (or an\nextended layer) wins, with no module option, including where other module components use it.",[440,1600,1601,1611],{},[443,1602,1603],{},[446,1604,1605,1608],{},[449,1606,1607],{},"Component",[449,1609,1610],{},"Replaces",[462,1612,1613,1622,1632,1642],{},[446,1614,1615,1619],{},[467,1616,1617],{},[178,1618,417],{},[467,1620,1621],{},"The whole banner, including the collapsed round button",[446,1623,1624,1629],{},[467,1625,1626],{},[178,1627,1628],{},"CookieConsentBannerActions",[467,1630,1631],{},"Only the button row of the banner (preferences \u002F reject \u002F accept)",[446,1633,1634,1639],{},[467,1635,1636],{},[178,1637,1638],{},"CookieConsentPreferences",[467,1640,1641],{},"The preferences dialog",[446,1643,1644,1649],{},[467,1645,1646],{},[178,1647,1648],{},"CookieConsentManage",[467,1650,1651],{},"The \"Manage cookies\" footer button",[159,1653,1654,1656,1657,181,1659,1661,1662,1665,1666,1669,1670,1673,1674,1677],{},[178,1655,417],{}," renders ",[178,1658,1628],{},[178,1660,1638],{}," itself, so replacing one part\nkeeps the defaults of the others. A replacement banner builds on ",[178,1663,1664],{},"useCookieConsent()"," and should call\n",[178,1667,1668],{},"hydrateFromUser()"," and the ",[178,1671,1672],{},"cookie-consent:ready"," hook on mount, as the default one does. Copy a default from\n",[178,1675,1676],{},"packages\u002Fcookie-consent\u002Fsrc\u002Fruntime\u002Fapp\u002Fcomponents"," as a starting point.",[993,1679,1681],{"id":1680},"contributing-categories-from-a-module","Contributing categories (from a module)",[159,1683,1684,1685,1688,1689,1692,1693,1696],{},"Other modules add categories or cookies during ",[178,1686,1687],{},"setup()","; they are merged by ",[178,1690,1691],{},"key",", in any order, after every module has\nset up (earlier labels win, cookies are concatenated, ",[178,1694,1695],{},"required"," is sticky).",[264,1698,1700],{"className":266,"code":1699,"language":268,"meta":269,"style":269},"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",[178,1701,1702,1730,1734,1745,1753,1851,1858],{"__ignoreMap":269},[273,1703,1704,1707,1709,1712,1714,1717,1719,1722,1724,1727],{"class":275,"line":276},[273,1705,1706],{"class":279},"import",[273,1708,731],{"class":294},[273,1710,1711],{"class":290}," extendCookieConsent",[273,1713,319],{"class":294},[273,1715,1716],{"class":290}," defineConsentCategory",[273,1718,867],{"class":294},[273,1720,1721],{"class":279}," from",[273,1723,322],{"class":294},[273,1725,1726],{"class":314},"@frigear-nu\u002Fcookie-consent\u002Futils",[273,1728,1729],{"class":294},"'\n",[273,1731,1732],{"class":275,"line":298},[273,1733,1067],{"emptyLinePlaceholder":1066},[273,1735,1736,1738,1741,1743],{"class":275,"line":336},[273,1737,552],{"class":286},[273,1739,1740],{"class":290},"(nuxt",[273,1742,319],{"class":294},[273,1744,344],{"class":294},[273,1746,1747,1749,1751],{"class":275,"line":347},[273,1748,1210],{"class":301},[273,1750,305],{"class":294},[273,1752,804],{"class":290},[273,1754,1755,1758,1760,1762,1764,1766,1768,1770,1772,1774,1776,1778,1780,1782,1784,1786,1788,1790,1792,1794,1796,1799,1801,1803,1805,1807,1809,1811,1813,1815,1817,1819,1821,1824,1826,1828,1831,1833,1835,1838,1840,1842,1844,1846,1849],{"class":275,"line":368},[273,1756,1757],{"class":286},"    defineConsentCategory",[273,1759,291],{"class":290},[273,1761,908],{"class":294},[273,1763,812],{"class":301},[273,1765,305],{"class":294},[273,1767,322],{"class":294},[273,1769,223],{"class":314},[273,1771,311],{"class":294},[273,1773,319],{"class":294},[273,1775,825],{"class":301},[273,1777,305],{"class":294},[273,1779,831],{"class":830},[273,1781,319],{"class":294},[273,1783,901],{"class":301},[273,1785,305],{"class":294},[273,1787,308],{"class":290},[273,1789,908],{"class":294},[273,1791,911],{"class":301},[273,1793,305],{"class":294},[273,1795,322],{"class":294},[273,1797,1798],{"class":314},"stripe_mid",[273,1800,311],{"class":294},[273,1802,319],{"class":294},[273,1804,925],{"class":301},[273,1806,305],{"class":294},[273,1808,322],{"class":294},[273,1810,121],{"class":314},[273,1812,311],{"class":294},[273,1814,319],{"class":294},[273,1816,939],{"class":301},[273,1818,305],{"class":294},[273,1820,322],{"class":294},[273,1822,1823],{"class":314},"1 year",[273,1825,311],{"class":294},[273,1827,319],{"class":294},[273,1829,1830],{"class":301}," purpose",[273,1832,305],{"class":294},[273,1834,322],{"class":294},[273,1836,1837],{"class":314},"Fraud prevention",[273,1839,311],{"class":294},[273,1841,867],{"class":294},[273,1843,953],{"class":290},[273,1845,394],{"class":294},[273,1847,1848],{"class":290},")",[273,1850,333],{"class":294},[273,1852,1853,1856],{"class":275,"line":385},[273,1854,1855],{"class":290},"  ]",[273,1857,333],{"class":294},[273,1859,1860,1862],{"class":275,"line":391},[273,1861,394],{"class":294},[273,1863,397],{"class":290},[993,1865,1867],{"id":1866},"utils","Utils",[159,1869,1870,1872,1873,1875],{},[178,1871,1726],{}," is framework-agnostic and safe in a module's ",[178,1874,1687],{},", server code and tests.",[440,1877,1878,1887],{},[443,1879,1880],{},[446,1881,1882,1885],{},[449,1883,1884],{},"Export",[449,1886,460],{},[462,1888,1889,1903,1913,1928,1938,1948,1961,1975,1989],{},[446,1890,1891,1896],{},[467,1892,1893],{},[178,1894,1895],{},"extendCookieConsent(nuxt, { categories })",[467,1897,1898,1899,1902],{},"Contribute categories; calls the ",[178,1900,1901],{},"cookie-consent:extend"," hook.",[446,1904,1905,1910],{},[467,1906,1907],{},[178,1908,1909],{},"defineConsentCategory(category)",[467,1911,1912],{},"Identity helper for typing a category.",[446,1914,1915,1920],{},[467,1916,1917],{},[178,1918,1919],{},"DEFAULT_CATEGORIES",[467,1921,1922,543,1924,543,1926,438],{},[178,1923,223],{},[178,1925,542],{},[178,1927,546],{},[446,1929,1930,1935],{},[467,1931,1932],{},[178,1933,1934],{},"mergeCategories(...lists)",[467,1936,1937],{},"Merge category lists by key.",[446,1939,1940,1945],{},[467,1941,1942],{},[178,1943,1944],{},"computeVersion(manual, categories)",[467,1946,1947],{},"Final consent version (manual version plus category hash).",[446,1949,1950,1955],{},[467,1951,1952],{},[178,1953,1954],{},"buildConsent(categories, version, choices, now?)",[467,1956,1957,1958,1960],{},"Build a ",[178,1959,1434],{},"; required categories granted, unknown keys dropped.",[446,1962,1963,1968],{},[467,1964,1965],{},[178,1966,1967],{},"normalizeConsent(raw, categories, version, now?)",[467,1969,1970,1971,1974],{},"Cookie value (including legacy strings) to a valid state, or ",[178,1972,1973],{},"null"," when the visitor must be asked again.",[446,1976,1977,1986],{},[467,1978,1979,1982,1983],{},[178,1980,1981],{},"acceptAllChoices"," \u002F ",[178,1984,1985],{},"rejectAllChoices",[467,1987,1988],{},"Choice maps for accept all \u002F reject all.",[446,1990,1991,1996],{},[467,1992,1993],{},[178,1994,1995],{},"localize(value, locale, fallback?)",[467,1997,1998,1999,2001],{},"Resolve a ",[178,2000,611],{}," value.",[159,2003,2004,2005,543,2008,543,2011,181,2013,2015],{},"Types ",[178,2006,2007],{},"ConsentCategory",[178,2009,2010],{},"ConsentCookie",[178,2012,1434],{},[178,2014,611],{}," are exported from the same path.",[208,2017,2019],{"id":2018},"hooks","Hooks",[440,2021,2022,2038],{},[443,2023,2024],{},[446,2025,2026,2029,2032,2035],{},[449,2027,2028],{},"Hook",[449,2030,2031],{},"Where",[449,2033,2034],{},"When",[449,2036,2037],{},"Payload",[462,2039,2040,2059,2076,2102,2121],{},[446,2041,2042,2046,2049,2054],{},[467,2043,2044],{},[178,2045,1901],{},[467,2047,2048],{},"Nuxt (build)",[467,2050,2051,2053],{},[178,2052,552],{}," registers categories",[467,2055,2056],{},[178,2057,2058],{},"(categories: ConsentCategory[])",[446,2060,2061,2066,2068,2071],{},[467,2062,2063],{},[178,2064,2065],{},"cookie-consent:resolved",[467,2067,2048],{},[467,2069,2070],{},"Once, after every module has set up",[467,2072,2073,2075],{},[178,2074,2058],{},"; mutate to adjust, the version is derived afterwards",[446,2077,2078,2083,2086,2089],{},[467,2079,2080],{},[178,2081,2082],{},"cookie-consent:change",[467,2084,2085],{},"Nuxt app (client)",[467,2087,2088],{},"Every save, accept, reject or withdrawal, and when a stored choice is picked up from the user",[467,2090,2091,2094,2095,2098,2099,2101],{},[178,2092,2093],{},"(state: ConsentState | null, previous: ConsentState | null)","; ",[178,2096,2097],{},"state"," is ",[178,2100,1973],{}," on withdrawal",[446,2103,2104,2108,2110,2113],{},[467,2105,2106],{},[178,2107,1672],{},[467,2109,2085],{},[467,2111,2112],{},"Banner mounted",[467,2114,2115,2094,2118,2120],{},[178,2116,2117],{},"(state: ConsentState | null)",[178,2119,1973],{}," while undecided",[446,2122,2123,2128,2131,2134],{},[467,2124,2125],{},[178,2126,2127],{},"cookie-consent:saved",[467,2129,2130],{},"Nitro",[467,2132,2133],{},"A signed-in user's consent was stored",[467,2135,2136],{},[178,2137,2138],{},"({ userId: number | string, state: ConsentState, acceptedAt: number })",[208,2140,2142],{"id":2141},"routes","Routes",[159,2144,2145,2146,2148,2149,438],{},"Registered only with ",[178,2147,645],{}," enabled, which requires ",[178,2150,199],{},[440,2152,2153,2167],{},[443,2154,2155],{},[446,2156,2157,2160,2163,2165],{},[449,2158,2159],{},"Method",[449,2161,2162],{},"Path",[449,2164,73],{},[449,2166,460],{},[462,2168,2169,2191],{},[446,2170,2171,2176,2181,2184],{},[467,2172,2173],{},[178,2174,2175],{},"GET",[467,2177,2178],{},[178,2179,2180],{},"\u002Fapi\u002Fcookie-consent",[467,2182,2183],{},"Session only",[467,2185,2186,2187,2190],{},"The signed-in user's stored consent, ",[178,2188,2189],{},"{ consent: ConsentState | null }",". A returning user without a cookie on a new device gets their choice back (unless the version changed).",[446,2192,2193,2198,2202,2204],{},[467,2194,2195],{},[178,2196,2197],{},"POST",[467,2199,2200],{},[178,2201,2180],{},[467,2203,2183],{},[467,2205,2206,2207,2210,2211,2214,2215,2218,2219,438],{},"Store ",[178,2208,2209],{},"{ categories, version }",". ",[178,2212,2213],{},"409"," for an outdated version, ",[178,2216,2217],{},"400"," for unknown categories. The server sets the timestamp and forces required categories. Calls ",[178,2220,2127],{},[208,2222,2224],{"id":2223},"database","Database",[159,2226,2227,2228,2230,2231,2233],{},"With ",[178,2229,645],{}," the module extends ",[178,2232,257],{}," (SQLite schema):",[440,2235,2236,2246],{},[443,2237,2238],{},[446,2239,2240,2243],{},[449,2241,2242],{},"Column",[449,2244,2245],{},"Meaning",[462,2247,2248,2258,2268],{},[446,2249,2250,2255],{},[467,2251,2252],{},[178,2253,2254],{},"cookie_consent_accepted_at",[467,2256,2257],{},"Epoch ms of the latest response",[446,2259,2260,2265],{},[467,2261,2262],{},[178,2263,2264],{},"cookie_consent_version",[467,2266,2267],{},"Consent version answered against",[446,2269,2270,2275],{},[467,2271,2272],{},[178,2273,2274],{},"cookie_consent_categories",[467,2276,2277],{},"JSON of what was granted",[159,2279,2280,2283,2284,2287,2288,438],{},[178,2281,2282],{},"extendDatabaseTable"," only changes the generated schema, so ",[163,2285,2286],{},"generate and commit migrations"," in every consuming app\nand fixture. See ",[175,2289,2291],{"href":2290},"\u002Fmodules\u002Fmodule-kit#migrations-and-database-backed-module-tests","Migrations",[208,2293,2295],{"id":2294},"translations","Translations",[159,2297,2298,2299,2301,2302,181,2305,2307,2308,2311,2312,2315,2316,2318,2319,2311,2322,2326],{},"Namespace ",[178,2300,437],{},", shipped in ",[178,2303,2304],{},"da",[178,2306,696],{}," and contributed to ",[178,2309,2310],{},"@nuxtjs\u002Fi18n"," (see\n",[175,2313,101],{"href":2314},"\u002Fmodules\u002Fmodule-kit#translations-i18n","). Without ",[178,2317,2310],{}," the components fall back to English.\nOverride any string in your app's ",[178,2320,2321],{},"i18n\u002Flocales\u002F\u003Ccode>.json",[175,2323,2325],{"href":2324},"\u002Fmodules\u002Fmodule-kit#overriding-module-strings-in-your-app","overriding module strings",").",[440,2328,2329,2339],{},[443,2330,2331],{},[446,2332,2333,2336],{},[449,2334,2335],{},"Key",[449,2337,2338],{},"Used for",[462,2340,2341,2368,2386,2398],{},[446,2342,2343,2365],{},[467,2344,2345,543,2348,543,2351,543,2354,543,2357,543,2360,543,2363],{},[178,2346,2347],{},"cookieConsent.description",[178,2349,2350],{},"accept",[178,2352,2353],{},"reject",[178,2355,2356],{},"preferences",[178,2358,2359],{},"expand",[178,2361,2362],{},"manage",[178,2364,1409],{},[467,2366,2367],{},"Banner and buttons",[446,2369,2370,2383],{},[467,2371,2372,543,2375,543,2378,543,2380],{},[178,2373,2374],{},"cookieConsent.preferencesTitle",[178,2376,2377],{},"preferencesDescription",[178,2379,1695],{},[178,2381,2382],{},"cookies",[467,2384,2385],{},"Preferences dialog",[446,2387,2388,2392],{},[467,2389,2390],{},[178,2391,634],{},[467,2393,2394,2395,2397],{},"Policy link text when ",[178,2396,624],{}," is not set",[446,2399,2400,2408],{},[467,2401,2402,1982,2405],{},[178,2403,2404],{},"cookieConsent.categories.\u003Ckey>.label",[178,2406,2407],{},".description",[467,2409,2410,2411,1982,2414,2417],{},"Category texts; custom categories use the same keys, or set ",[178,2412,2413],{},"label",[178,2415,2416],{},"description"," in the config",[2419,2420,2421],"style",{},"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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .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 .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}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":269,"searchDepth":298,"depth":298,"links":2423},[2424,2425,2426,2429,2430,2436,2437,2438,2439],{"id":210,"depth":298,"text":211},{"id":261,"depth":298,"text":262},{"id":430,"depth":298,"text":431,"children":2427},[2428],{"id":995,"depth":336,"text":996},{"id":1234,"depth":298,"text":1235},{"id":1296,"depth":298,"text":1297,"children":2431},[2432,2433,2434,2435],{"id":1300,"depth":336,"text":1301},{"id":1590,"depth":336,"text":1591},{"id":1680,"depth":336,"text":1681},{"id":1866,"depth":336,"text":1867},{"id":2018,"depth":298,"text":2019},{"id":2141,"depth":298,"text":2142},{"id":2223,"depth":298,"text":2224},{"id":2294,"depth":298,"text":2295},"GDPR cookie banner with categories other modules contribute to, consent gating hooks and proof of consent stored on the user.","md",null,{},{"title":81,"description":2440},"GplFP6z1LxNqJ9ag1Kqup_ULF2H_Z9nTP2gV9i5cVdo",[2447,2449],{"title":77,"path":78,"stem":79,"description":2448,"children":-1},"Policy-based authorization (abilities, route rules and \u003CCan>) with a role column on users.",{"title":85,"path":86,"stem":87,"description":2450,"children":-1},"Database-backed events with ticket types, addons, capacity, sale windows, membership requirements, Stripe payments and QR check-in.",1792824489170]