[{"data":1,"prerenderedAt":2444},["ShallowReactive",2],{"navigation_docs":3,"-embed-api-reference":83,"-embed-api-reference-surround":2439},[4,41,57,67],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":40},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20,25,30,35],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Campaign Configuration","\u002Fgetting-started\u002Fcampaign-configuration","1.getting-started\u002F2.campaign-configuration","i-lucide-megaphone",{"title":21,"path":22,"stem":23,"icon":24},"Quality Review","\u002Fgetting-started\u002Fquality-review","1.getting-started\u002F3.quality-review","i-lucide-shield-check",{"title":26,"path":27,"stem":28,"icon":29},"Petitions","\u002Fgetting-started\u002Fpetitions","1.getting-started\u002F4.petitions","i-lucide-signature",{"title":31,"path":32,"stem":33,"icon":34},"Donations","\u002Fgetting-started\u002Fdonations","1.getting-started\u002F5.donations","i-lucide-heart-handshake",{"title":36,"path":37,"stem":38,"icon":39},"Custom Texts","\u002Fgetting-started\u002Fcustom-texts","1.getting-started\u002F6.custom-texts","i-lucide-type",false,{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":40},"Embed","i-lucide-code","\u002Fembed","2.embed",[47,52],{"title":48,"path":49,"stem":50,"icon":51},"Integration Guide","\u002Fembed\u002Fguide","2.embed\u002F1.guide","i-lucide-book-open",{"title":53,"path":54,"stem":55,"icon":56},"API Reference","\u002Fembed\u002Fapi-reference","2.embed\u002F2.api-reference","i-lucide-file-code",{"title":58,"icon":59,"path":60,"stem":61,"children":62,"page":40},"External API","i-lucide-globe","\u002Fexternal-api","3.external-api",[63],{"title":64,"path":65,"stem":66,"icon":56},"Campaign Reference","\u002Fexternal-api\u002Freference","3.external-api\u002F1.reference",{"title":68,"icon":69,"path":70,"stem":71,"children":72,"page":40},"AI Assistants","i-lucide-bot","\u002Fai-assistants","4.ai-assistants",[73,78],{"title":74,"path":75,"stem":76,"icon":77},"Connect an Assistant","\u002Fai-assistants\u002Fconnect","4.ai-assistants\u002F1.connect","i-lucide-plug",{"title":79,"path":80,"stem":81,"icon":82},"What the Assistant Can Do","\u002Fai-assistants\u002Fcapabilities","4.ai-assistants\u002F2.capabilities","i-lucide-list-checks",{"id":84,"title":53,"body":85,"description":2431,"extension":2432,"links":2433,"meta":2435,"navigation":2436,"path":54,"seo":2437,"stem":55,"__hash__":2438},"docs\u002F2.embed\u002F2.api-reference.md",{"type":86,"value":87,"toc":2419},"minimark",[88,96,100,103,140,143,149,155,291,300,302,307,310,606,608,613,616,763,773,778,781,810,827,834,838,841,940,953,959,962,1265,1267,1271,1282,1488,1616,1619,1928,1936,1952,2038,2047,2052,2057,2345,2347,2351,2359,2362,2369,2415],[89,90,92],"h2",{"id":91},"activoiceinitconfig",[93,94,95],"code",{},"Activoice.init(config)",[97,98,99],"p",{},"Initializes one embed instance inside the target container.",[97,101,102],{},"If the container already contains an active embed (for example after a client-side navigation), it is destroyed and replaced with a fresh instance.",[104,105,110],"pre",{"className":106,"code":107,"language":108,"meta":109,"style":109},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","window.Activoice.init(config: ActivoiceEmbedConfig): void\n","ts","",[93,111,112],{"__ignoreMap":109},[113,114,117,121,125,128,130,134,137],"span",{"class":115,"line":116},"line",1,[113,118,120],{"class":119},"sTEyZ","window",[113,122,124],{"class":123},"sMK4o",".",[113,126,127],{"class":119},"Activoice",[113,129,124],{"class":123},[113,131,133],{"class":132},"s2Zo4","init",[113,135,136],{"class":119},"(config: ActivoiceEmbedConfig): ",[113,138,139],{"class":123},"void\n",[141,142],"hr",{},[89,144,146],{"id":145},"activoiceembedconfig",[93,147,148],{},"ActivoiceEmbedConfig",[97,150,151,152,124],{},"The root configuration object passed to ",[93,153,154],{},"Activoice.init()",[156,157,158,178],"table",{},[159,160,161],"thead",{},[162,163,164,168,171,175],"tr",{},[165,166,167],"th",{},"Property",[165,169,170],{},"Type",[165,172,174],{"align":173},"center","Required",[165,176,177],{},"Description",[179,180,181,208,233,249,271],"tbody",{},[162,182,183,189,194,197],{},[184,185,186],"td",{},[93,187,188],{},"container",[184,190,191],{},[93,192,193],{},"string",[184,195,196],{"align":173},"✓",[184,198,199,200,203,204,207],{},"CSS selector of the host element (e.g. ",[93,201,202],{},"'#av-embed-container'","). Must match exactly one element in the DOM at the time ",[93,205,206],{},"init()"," is called.",[162,209,210,215,219,222],{},[184,211,212],{},[93,213,214],{},"campaignId",[184,216,217],{},[93,218,193],{},[184,220,221],{"align":173},"✓*",[184,223,224,225,229,230,232],{},"Slug or identifier of the campaign to embed. Visible in your Activoice admin, in the campaign URL and in the campaign's ",[226,227,228],"strong",{},"Share"," step, ",[226,231,42],{}," tab.",[162,234,235,240,244,246],{},[184,236,237],{},[93,238,239],{},"petitionId",[184,241,242],{},[93,243,193],{},[184,245,221],{"align":173},[184,247,248],{},"Slug or identifier of the petition to embed, found in the same place for a petition.",[162,250,251,256,265,268],{},[184,252,253],{},[93,254,255],{},"embedOptions",[184,257,258],{},[259,260,262],"a",{"href":261},"#embedoptions",[93,263,264],{},"EmbedOptions",[184,266,267],{"align":173},"—",[184,269,270],{},"Optional display and behavior settings.",[162,272,273,278,286,288],{},[184,274,275],{},[93,276,277],{},"campaignOverrides",[184,279,280],{},[259,281,283],{"href":282},"#campaignoverrides",[93,284,285],{},"CampaignOverrides",[184,287,267],{"align":173},[184,289,290],{},"Optional overrides applied on top of the campaign configuration defined in your Activoice admin.",[97,292,293,294,296,297,299],{},"* Exactly one of ",[93,295,214],{}," and ",[93,298,239],{},". Both, or neither, is an error reported in the browser console, and nothing is mounted.",[141,301],{},[89,303,305],{"id":304},"embedoptions",[93,306,264],{},[97,308,309],{},"All fields are optional. Omitting a field uses the default value.",[156,311,312,325],{},[159,313,314],{},[162,315,316,318,320,323],{},[165,317,167],{},[165,319,170],{},[165,321,322],{},"Default",[165,324,177],{},[179,326,327,350,389,433,467,491,513,531,561,585],{},[162,328,329,334,338,343],{},[184,330,331],{},[93,332,333],{},"spinnerColor",[184,335,336],{},[93,337,193],{},[184,339,340],{},[93,341,342],{},"'#fed13a'",[184,344,345,346,349],{},"CSS color of the loading spinner shown before the campaign is ready. Accepts any valid CSS color value (hex, ",[93,347,348],{},"rgb()",", named colors, etc.).",[162,351,352,357,362,372],{},[184,353,354],{},[93,355,356],{},"initialPage",[184,358,359],{},[93,360,361],{},"'steps' | 'landing' | 'form' | 'full'",[184,363,364,367,368,371],{},[93,365,366],{},"'steps'"," for a campaign, ",[93,369,370],{},"'form'"," for a petition",[184,373,374,375,377,378,381,382,384,385,388],{},"Controls which page is shown first. For a campaign, ",[93,376,366],{}," opens directly on the action flow and ",[93,379,380],{},"'landing'"," shows the landing page. For a petition, ",[93,383,370],{}," shows the counter and signature form alone and ",[93,386,387],{},"'full'"," the whole petition page. A value meant for the other kind is ignored with a warning and the default applies.",[162,390,391,396,401,406],{},[184,392,393],{},[93,394,395],{},"displayMode",[184,397,398],{},[93,399,400],{},"'fixedHeight' | 'inline'",[184,402,403],{},[93,404,405],{},"'fixedHeight'",[184,407,408,410,411,414,415,418,419,421,422,425,426,428,429,432],{},[93,409,405],{}," uses internal scrolling and the ",[93,412,413],{},"height"," option. ",[93,416,417],{},"'inline'"," continuously adjusts the iframe to its content and ignores ",[93,420,413],{},". Unknown modes, including the removed ",[93,423,424],{},"'fullHeight'",", fall back to ",[93,427,405],{}," with ",[93,430,431],{},"'auto'"," height.",[162,434,435,439,444,448],{},[184,436,437],{},[93,438,413],{},[184,440,441],{},[93,442,443],{},"'auto' | '100%' | '${number}px'",[184,445,446],{},[93,447,431],{},[184,449,450,451,453,454,456,457,460,461,464,465,124],{},"Applies only to ",[93,452,405],{},". ",[93,455,431],{}," freezes the first screen's natural height at a minimum of 600 px. ",[93,458,459],{},"'100%'"," fills a container with a definite height. A positive pixel value (e.g. ",[93,462,463],{},"'700px'",") sets an exact height without sizing the container. Explicit heights have no 600 px minimum; unsupported height values use ",[93,466,431],{},[162,468,469,474,479,484],{},[184,470,471],{},[93,472,473],{},"withToolbar",[184,475,476],{},[93,477,478],{},"boolean",[184,480,481],{},[93,482,483],{},"false",[184,485,486,487,490],{},"Renders the public toolbar inside the embed where available (back button, step indicator and ",[226,488,489],{},"My information"," profile button). Disabled by default for a seamless embedded look.",[162,492,493,498,502,506],{},[184,494,495],{},[93,496,497],{},"withBackground",[184,499,500],{},[93,501,478],{},[184,503,504],{},[93,505,483],{},[184,507,508,509,512],{},"Paints the campaign's background color, or the ",[93,510,511],{},"color_background"," override, on the iframe body. When disabled, the background is transparent so the host page shows through. Text and UI elements automatically switch to a light color when the background color is dark.",[162,514,515,520,524,528],{},[184,516,517],{},[93,518,519],{},"withPadding",[184,521,522],{},[93,523,478],{},[184,525,526],{},[93,527,483],{},[184,529,530],{},"Adds horizontal padding to the campaign content area.",[162,532,533,538,542,546],{},[184,534,535],{},[93,536,537],{},"bypassStateCheck",[184,539,540],{},[93,541,478],{},[184,543,544],{},[93,545,483],{},[184,547,548,549,552,553,556,557,560],{},"When ",[93,550,551],{},"true",", a campaign or petition renders even if it is a ",[93,554,555],{},"draft",", and a campaign even when ",[93,558,559],{},"ended",". Intended for preview and testing purposes only — do not enable in production.",[162,562,563,568,572,576],{},[184,564,565],{},[93,566,567],{},"bypassCampaignStateCheck",[184,569,570],{},[93,571,478],{},[184,573,574],{},[93,575,483],{},[184,577,578,581,582,584],{},[226,579,580],{},"Deprecated",": former name of ",[93,583,537],{},", still accepted with the same effect.",[162,586,587,592,596,600],{},[184,588,589],{},[93,590,591],{},"scrollIntoView",[184,593,594],{},[93,595,478],{},[184,597,598],{},[93,599,551],{},[184,601,602,603,605],{},"When a petition embed opens its follow-up campaign, scrolls the host page so the top of the container is visible. ",[93,604,483],{}," disables the scroll. No effect on a campaign embed.",[141,607],{},[89,609,611],{"id":610},"campaignoverrides",[93,612,285],{},[97,614,615],{},"Overrides applied on top of the campaign configuration defined in your Activoice admin.",[104,617,619],{"className":106,"code":618,"language":108,"meta":109,"style":109},"interface CampaignOverrides {\n  recipients?: Recipient[]        \u002F\u002F Global recipient override for all interpellations\n  interpellations?: Array\u003C{\n    id: string                    \u002F\u002F UUID of the interpellation to override\n    recipients?: Recipient[]      \u002F\u002F Per-interpellation override (takes priority)\n  }>\n  color_background?: string       \u002F\u002F #rrggbb, surface the embed sits on\n  color_main?: string             \u002F\u002F #rrggbb, brand color\n  color_buttons?: string          \u002F\u002F #rrggbb, call-to-action buttons\n  custom_css?: string             \u002F\u002F Replaces the organization's custom CSS, '' removes it\n}\n",[93,620,621,634,654,668,683,699,705,718,731,744,757],{"__ignoreMap":109},[113,622,623,627,631],{"class":115,"line":116},[113,624,626],{"class":625},"spNyl","interface",[113,628,630],{"class":629},"sBMFI"," CampaignOverrides",[113,632,633],{"class":123}," {\n",[113,635,637,641,644,647,650],{"class":115,"line":636},2,[113,638,640],{"class":639},"swJcz","  recipients",[113,642,643],{"class":123},"?:",[113,645,646],{"class":629}," Recipient",[113,648,649],{"class":119},"[]        ",[113,651,653],{"class":652},"sHwdD","\u002F\u002F Global recipient override for all interpellations\n",[113,655,657,660,662,665],{"class":115,"line":656},3,[113,658,659],{"class":639},"  interpellations",[113,661,643],{"class":123},[113,663,664],{"class":629}," Array",[113,666,667],{"class":123},"\u003C{\n",[113,669,671,674,677,680],{"class":115,"line":670},4,[113,672,673],{"class":639},"    id",[113,675,676],{"class":123},":",[113,678,679],{"class":629}," string",[113,681,682],{"class":652},"                    \u002F\u002F UUID of the interpellation to override\n",[113,684,686,689,691,693,696],{"class":115,"line":685},5,[113,687,688],{"class":639},"    recipients",[113,690,643],{"class":123},[113,692,646],{"class":629},[113,694,695],{"class":119},"[]      ",[113,697,698],{"class":652},"\u002F\u002F Per-interpellation override (takes priority)\n",[113,700,702],{"class":115,"line":701},6,[113,703,704],{"class":123},"  }>\n",[113,706,708,711,713,715],{"class":115,"line":707},7,[113,709,710],{"class":639},"  color_background",[113,712,643],{"class":123},[113,714,679],{"class":629},[113,716,717],{"class":652},"       \u002F\u002F #rrggbb, surface the embed sits on\n",[113,719,721,724,726,728],{"class":115,"line":720},8,[113,722,723],{"class":639},"  color_main",[113,725,643],{"class":123},[113,727,679],{"class":629},[113,729,730],{"class":652},"             \u002F\u002F #rrggbb, brand color\n",[113,732,734,737,739,741],{"class":115,"line":733},9,[113,735,736],{"class":639},"  color_buttons",[113,738,643],{"class":123},[113,740,679],{"class":629},[113,742,743],{"class":652},"          \u002F\u002F #rrggbb, call-to-action buttons\n",[113,745,747,750,752,754],{"class":115,"line":746},10,[113,748,749],{"class":639},"  custom_css",[113,751,643],{"class":123},[113,753,679],{"class":629},[113,755,756],{"class":652},"             \u002F\u002F Replaces the organization's custom CSS, '' removes it\n",[113,758,760],{"class":115,"line":759},11,[113,761,762],{"class":123},"}\n",[97,764,765,766,296,769,772],{},"Every override applies to the pages shown in the frame. In a petition embed, the design fields style the petition and its follow-up campaign, and ",[93,767,768],{},"recipients",[93,770,771],{},"interpellations"," apply to the follow-up campaign once it opens.",[774,775,777],"h3",{"id":776},"recipient-resolution-order","Recipient resolution order",[97,779,780],{},"Recipients are resolved per interpellation with the following priority:",[782,783,784,795,804],"ol",{},[785,786,787,790,791,794],"li",{},[226,788,789],{},"Per-interpellation override"," — ",[93,792,793],{},"interpellations[].recipients"," if provided for that entry",[785,796,797,800,801,803],{},[226,798,799],{},"Root-level override"," — top-level ",[93,802,768],{}," applied to all interpellations that don't have their own override",[785,805,806,809],{},[226,807,808],{},"Admin configuration"," — original recipients preserved when no override applies",[811,812,548,813,815,816,819,820,823,824,826],"warning",{},[93,814,771],{}," is provided, ",[226,817,818],{},"only the listed interpellations are shown"," — any interpellation whose ",[93,821,822],{},"id"," is not included is hidden from the embed. Omit ",[93,825,771],{}," entirely to keep all interpellations visible.",[828,829,830,831,833],"note",{},"The root-level ",[93,832,768],{}," is a convenient shortcut when you want to set the same recipients across all interpellations without repeating them in each entry.",[774,835,837],{"id":836},"design-fields","Design fields",[97,839,840],{},"Each design field replaces the campaign page's value from your Activoice admin (the campaign's own design when it has one, the organization's otherwise); an omitted field keeps it.",[156,842,843,854],{},[159,844,845],{},[162,846,847,850,852],{},[165,848,849],{},"Field",[165,851,170],{},[165,853,177],{},[179,855,856,875,891,907],{},[162,857,858,862,866],{},[184,859,860],{},[93,861,511],{},[184,863,864],{},[93,865,193],{},[184,867,868,871,872,124],{},[93,869,870],{},"#rrggbb"," color of the surface the embed sits on. Drives the text color and derived surfaces; painted on the body only with ",[93,873,874],{},"embedOptions.withBackground",[162,876,877,882,886],{},[184,878,879],{},[93,880,881],{},"color_main",[184,883,884],{},[93,885,193],{},[184,887,888,890],{},[93,889,870],{}," brand color: landing gradient, toolbar, links, focus states.",[162,892,893,898,902],{},[184,894,895],{},[93,896,897],{},"color_buttons",[184,899,900],{},[93,901,193],{},[184,903,904,906],{},[93,905,870],{}," color of the call-to-action buttons; the label color is picked for contrast.",[162,908,909,914,918],{},[184,910,911],{},[93,912,913],{},"custom_css",[184,915,916],{},[93,917,193],{},[184,919,920,921,924,925,931,932,935,936,939],{},"Replaces the campaign page's custom CSS; ",[93,922,923],{},"''"," removes it. Written from the ",[259,926,930],{"href":927,"rel":928},"https:\u002F\u002Fdocs.activoice.org\u002Ftheme\u002Fcustom-css-template.css",[929],"nofollow","custom CSS template",", see the ",[259,933,48],{"href":934},"\u002Fembed\u002Fguide#matching-the-host-page-design",". Checked before it is applied: no external URL, Google Fonts ",[93,937,938],{},"@import"," only, 50 000 characters at most.",[97,941,942,943,945,946,949,950,952],{},"A color that is not ",[93,944,870],{},", ",[93,947,948],{},"null"," included, or a ",[93,951,913],{}," that is not a string is ignored with a warning in the browser console and the campaign page's value stays. A CSS that fails a check is dropped entirely, with a warning too.",[774,954,956],{"id":955},"recipient",[93,957,958],{},"Recipient",[97,960,961],{},"All fields are optional.",[156,963,964,974],{},[159,965,966],{},[162,967,968,970,972],{},[165,969,849],{},[165,971,170],{},[165,973,177],{},[179,975,976,990,1004,1031,1049,1064,1078,1092,1106,1120,1138,1154,1168,1184,1205,1222,1236,1250],{},[162,977,978,983,987],{},[184,979,980],{},[93,981,982],{},"first_name",[184,984,985],{},[93,986,193],{},[184,988,989],{},"First name of the recipient.",[162,991,992,997,1001],{},[184,993,994],{},[93,995,996],{},"last_name",[184,998,999],{},[93,1000,193],{},[184,1002,1003],{},"Last name of the recipient.",[162,1005,1006,1011,1016],{},[184,1007,1008],{},[93,1009,1010],{},"gender",[184,1012,1013],{},[93,1014,1015],{},"'M' | 'F' | 'O'",[184,1017,1018,1019,1022,1023,1026,1027,1030],{},"Gender: ",[93,1020,1021],{},"M"," (male), ",[93,1024,1025],{},"F"," (female), ",[93,1028,1029],{},"O"," (other \u002F not specified). Used to personalize AI-generated messages.",[162,1032,1033,1038,1042],{},[184,1034,1035],{},[93,1036,1037],{},"display_title",[184,1039,1040],{},[93,1041,193],{},[184,1043,1044,1045,1048],{},"Title or role displayed to the user (e.g. ",[93,1046,1047],{},"'Mayor of Lyon'",").",[162,1050,1051,1056,1061],{},[184,1052,1053],{},[93,1054,1055],{},"photo_url",[184,1057,1058],{},[93,1059,1060],{},"string | null",[184,1062,1063],{},"Absolute URL of the recipient's photo.",[162,1065,1066,1071,1075],{},[184,1067,1068],{},[93,1069,1070],{},"email",[184,1072,1073],{},[93,1074,1060],{},[184,1076,1077],{},"Email address (used for email interpellation modes).",[162,1079,1080,1085,1089],{},[184,1081,1082],{},[93,1083,1084],{},"phone_number",[184,1086,1087],{},[93,1088,1060],{},[184,1090,1091],{},"Phone number (used for call interpellation modes).",[162,1093,1094,1099,1103],{},[184,1095,1096],{},[93,1097,1098],{},"personal_link",[184,1100,1101],{},[93,1102,1060],{},[184,1104,1105],{},"Absolute URL to the recipient's personal or professional website.",[162,1107,1108,1113,1117],{},[184,1109,1110],{},[93,1111,1112],{},"facebook_page",[184,1114,1115],{},[93,1116,193],{},[184,1118,1119],{},"Absolute URL of the recipient's Facebook page.",[162,1121,1122,1127,1131],{},[184,1123,1124],{},[93,1125,1126],{},"twitter_handle",[184,1128,1129],{},[93,1130,193],{},[184,1132,1133,1134,1137],{},"Twitter\u002FX handle, without the ",[93,1135,1136],{},"@"," prefix.",[162,1139,1140,1145,1149],{},[184,1141,1142],{},[93,1143,1144],{},"instagram_handle",[184,1146,1147],{},[93,1148,193],{},[184,1150,1151,1152,1137],{},"Instagram handle, without the ",[93,1153,1136],{},[162,1155,1156,1161,1165],{},[184,1157,1158],{},[93,1159,1160],{},"linkedin_page",[184,1162,1163],{},[93,1164,193],{},[184,1166,1167],{},"Absolute URL of the recipient's LinkedIn profile.",[162,1169,1170,1175,1179],{},[184,1171,1172],{},[93,1173,1174],{},"tiktok_handle",[184,1176,1177],{},[93,1178,193],{},[184,1180,1181,1182,1137],{},"TikTok handle, without the ",[93,1183,1136],{},[162,1185,1186,1191,1195],{},[184,1187,1188],{},[93,1189,1190],{},"geo_type",[184,1192,1193],{},[93,1194,1060],{},[184,1196,1197,1198,945,1201,1204],{},"Type of geographic area (e.g. ",[93,1199,1200],{},"'municipality'",[93,1202,1203],{},"'department'","). Used for geospatial targeting when supporters search by location.",[162,1206,1207,1212,1216],{},[184,1208,1209],{},[93,1210,1211],{},"geo_id",[184,1213,1214],{},[93,1215,1060],{},[184,1217,1218,1219,1221],{},"Identifier of the geographic area, matching the ",[93,1220,1190],{}," taxonomy.",[162,1223,1224,1229,1233],{},[184,1225,1226],{},[93,1227,1228],{},"party_name",[184,1230,1231],{},[93,1232,1060],{},[184,1234,1235],{},"Full name of the political party.",[162,1237,1238,1243,1247],{},[184,1239,1240],{},[93,1241,1242],{},"party_short_name",[184,1244,1245],{},[93,1246,1060],{},[184,1248,1249],{},"Abbreviated party name displayed in the UI.",[162,1251,1252,1257,1262],{},[184,1253,1254],{},[93,1255,1256],{},"custom_fields",[184,1258,1259],{},[93,1260,1261],{},"Record\u003Cstring, string>",[184,1263,1264],{},"Arbitrary key-value pairs injected as extra variables into AI-generated message templates.",[141,1266],{},[89,1268,1270],{"id":1269},"events","Events",[97,1272,1273,1274,1277,1278,1281],{},"Every analytics event the campaign or petition records is also posted to the host window as an ",[93,1275,1276],{},"ACTIVOICE_EVENT"," message, through ",[93,1279,1280],{},"postMessage",", at the moment it happens. Listen for it to follow where visitors go and where they stop.",[104,1283,1287],{"className":1284,"code":1285,"language":1286,"meta":109,"style":109},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"type\": \"ACTIVOICE_EVENT\",\n  \"payload\": {\n    \"event\": \"submit_questions\",\n    \"campaignId\": \"a4e2b000-1234-4567-89ab-0123456789ab\",\n    \"petitionId\": null,\n    \"interpellationId\": \"7c1f3d2a-5b6e-4f8a-9c0d-1e2f3a4b5c6d\",\n    \"sessionId\": \"3b9e8d7c-6f5a-4e3d-8c2b-1a0f9e8d7c6b\",\n    \"medium\": \"email\",\n    \"newsletterChoice\": \"subscribed\",\n    \"customizationSkipped\": false\n  }\n}\n","json",[93,1288,1289,1294,1318,1331,1352,1371,1384,1404,1424,1443,1463,1477,1483],{"__ignoreMap":109},[113,1290,1291],{"class":115,"line":116},[113,1292,1293],{"class":123},"{\n",[113,1295,1296,1299,1302,1305,1307,1310,1313,1315],{"class":115,"line":636},[113,1297,1298],{"class":123},"  \"",[113,1300,1301],{"class":625},"type",[113,1303,1304],{"class":123},"\"",[113,1306,676],{"class":123},[113,1308,1309],{"class":123}," \"",[113,1311,1276],{"class":1312},"sfazB",[113,1314,1304],{"class":123},[113,1316,1317],{"class":123},",\n",[113,1319,1320,1322,1325,1327,1329],{"class":115,"line":656},[113,1321,1298],{"class":123},[113,1323,1324],{"class":625},"payload",[113,1326,1304],{"class":123},[113,1328,676],{"class":123},[113,1330,633],{"class":123},[113,1332,1333,1336,1339,1341,1343,1345,1348,1350],{"class":115,"line":670},[113,1334,1335],{"class":123},"    \"",[113,1337,1338],{"class":629},"event",[113,1340,1304],{"class":123},[113,1342,676],{"class":123},[113,1344,1309],{"class":123},[113,1346,1347],{"class":1312},"submit_questions",[113,1349,1304],{"class":123},[113,1351,1317],{"class":123},[113,1353,1354,1356,1358,1360,1362,1364,1367,1369],{"class":115,"line":685},[113,1355,1335],{"class":123},[113,1357,214],{"class":629},[113,1359,1304],{"class":123},[113,1361,676],{"class":123},[113,1363,1309],{"class":123},[113,1365,1366],{"class":1312},"a4e2b000-1234-4567-89ab-0123456789ab",[113,1368,1304],{"class":123},[113,1370,1317],{"class":123},[113,1372,1373,1375,1377,1379,1381],{"class":115,"line":701},[113,1374,1335],{"class":123},[113,1376,239],{"class":629},[113,1378,1304],{"class":123},[113,1380,676],{"class":123},[113,1382,1383],{"class":123}," null,\n",[113,1385,1386,1388,1391,1393,1395,1397,1400,1402],{"class":115,"line":707},[113,1387,1335],{"class":123},[113,1389,1390],{"class":629},"interpellationId",[113,1392,1304],{"class":123},[113,1394,676],{"class":123},[113,1396,1309],{"class":123},[113,1398,1399],{"class":1312},"7c1f3d2a-5b6e-4f8a-9c0d-1e2f3a4b5c6d",[113,1401,1304],{"class":123},[113,1403,1317],{"class":123},[113,1405,1406,1408,1411,1413,1415,1417,1420,1422],{"class":115,"line":720},[113,1407,1335],{"class":123},[113,1409,1410],{"class":629},"sessionId",[113,1412,1304],{"class":123},[113,1414,676],{"class":123},[113,1416,1309],{"class":123},[113,1418,1419],{"class":1312},"3b9e8d7c-6f5a-4e3d-8c2b-1a0f9e8d7c6b",[113,1421,1304],{"class":123},[113,1423,1317],{"class":123},[113,1425,1426,1428,1431,1433,1435,1437,1439,1441],{"class":115,"line":733},[113,1427,1335],{"class":123},[113,1429,1430],{"class":629},"medium",[113,1432,1304],{"class":123},[113,1434,676],{"class":123},[113,1436,1309],{"class":123},[113,1438,1070],{"class":1312},[113,1440,1304],{"class":123},[113,1442,1317],{"class":123},[113,1444,1445,1447,1450,1452,1454,1456,1459,1461],{"class":115,"line":746},[113,1446,1335],{"class":123},[113,1448,1449],{"class":629},"newsletterChoice",[113,1451,1304],{"class":123},[113,1453,676],{"class":123},[113,1455,1309],{"class":123},[113,1457,1458],{"class":1312},"subscribed",[113,1460,1304],{"class":123},[113,1462,1317],{"class":123},[113,1464,1465,1467,1470,1472,1474],{"class":115,"line":759},[113,1466,1335],{"class":123},[113,1468,1469],{"class":629},"customizationSkipped",[113,1471,1304],{"class":123},[113,1473,676],{"class":123},[113,1475,1476],{"class":123}," false\n",[113,1478,1480],{"class":115,"line":1479},12,[113,1481,1482],{"class":123},"  }\n",[113,1484,1486],{"class":115,"line":1485},13,[113,1487,762],{"class":123},[156,1489,1490,1500],{},[159,1491,1492],{},[162,1493,1494,1496,1498],{},[165,1495,167],{},[165,1497,170],{},[165,1499,177],{},[179,1501,1502,1515,1531,1547,1563,1576],{},[162,1503,1504,1508,1512],{},[184,1505,1506],{},[93,1507,1338],{},[184,1509,1510],{},[93,1511,193],{},[184,1513,1514],{},"Name of the event, see the table below.",[162,1516,1517,1521,1525],{},[184,1518,1519],{},[93,1520,214],{},[184,1522,1523],{},[93,1524,1060],{},[184,1526,1527,1528,1530],{},"UUID of the campaign the event happened on, even if you initialized the embed with a slug or a petition; ",[93,1529,948],{}," on a petition.",[162,1532,1533,1537,1541],{},[184,1534,1535],{},[93,1536,239],{},[184,1538,1539],{},[93,1540,1060],{},[184,1542,1543,1544,1546],{},"UUID of the petition the event happened on; ",[93,1545,948],{}," on a campaign.",[162,1548,1549,1553,1557],{},[184,1550,1551],{},[93,1552,1390],{},[184,1554,1555],{},[93,1556,1060],{},[184,1558,1559,1560,1562],{},"UUID of the recipient group the event concerns, ",[93,1561,948],{}," before one is selected.",[162,1564,1565,1569,1573],{},[184,1566,1567],{},[93,1568,1410],{},[184,1570,1571],{},[93,1572,193],{},[184,1574,1575],{},"Identifier of the visitor's session, the same on every event of one journey, across the petition and its follow-up campaign. It rotates after thirty minutes of inactivity, or after a day.",[162,1577,1578,1582,1586],{},[184,1579,1580],{},[93,1581,1430],{},[184,1583,1584],{},[93,1585,1060],{},[184,1587,1588,1589,945,1591,945,1594,945,1597,945,1600,945,1603,945,1606,945,1609,1612,1613,124],{},"Channel the event concerns, once the visitor has chosen one: ",[93,1590,1070],{},[93,1592,1593],{},"twitter",[93,1595,1596],{},"facebook",[93,1598,1599],{},"instagram",[93,1601,1602],{},"linkedin",[93,1604,1605],{},"tiktok",[93,1607,1608],{},"form",[93,1610,1611],{},"review",", or ",[93,1614,1615],{},"call",[97,1617,1618],{},"Every other property of an event is listed below. The order depends on the campaign: a geolocated campaign selects the recipient before its group, a single-channel campaign selects the channel automatically. The list grows with the product: ignore the events and properties you do not know.",[156,1620,1621,1635],{},[159,1622,1623],{},[162,1624,1625,1629,1632],{},[165,1626,1627],{},[93,1628,1338],{},[165,1630,1631],{},"Other properties",[165,1633,1634],{},"When",[179,1636,1637,1665,1683,1698,1718,1747,1761,1777,1789,1805,1816,1831,1843,1863,1875,1900,1916],{},[162,1638,1639,1644,1662],{},[184,1640,1641],{},[93,1642,1643],{},"session_start",[184,1645,1646,945,1649,945,1652,945,1655,945,1658,1661],{},[93,1647,1648],{},"hasUserInfo",[93,1650,1651],{},"hasUserEmail",[93,1653,1654],{},"utmSource",[93,1656,1657],{},"utmMedium",[93,1659,1660],{},"utmCampaign","...",[184,1663,1664],{},"The visitor's session on the campaign or petition opens, or rotates after inactivity.",[162,1666,1667,1672,1677],{},[184,1668,1669],{},[93,1670,1671],{},"follow_referral",[184,1673,1674],{},[93,1675,1676],{},"referrerCode",[184,1678,1679,1680,1682],{},"The visitor arrived through a link another visitor shared. ",[93,1681,1676],{}," designates who shared it.",[162,1684,1685,1690,1695],{},[184,1686,1687],{},[93,1688,1689],{},"select_interpellation",[184,1691,1692],{},[93,1693,1694],{},"automatic",[184,1696,1697],{},"A recipient group is selected.",[162,1699,1700,1705,1715],{},[184,1701,1702],{},[93,1703,1704],{},"search_address",[184,1706,1707,1710,1711,1714],{},[93,1708,1709],{},"recipientsFound"," (number), ",[93,1712,1713],{},"exactMatch"," (boolean)",[184,1716,1717],{},"A geolocated campaign searched the recipients of an address.",[162,1719,1720,1725,1744],{},[184,1721,1722],{},[93,1723,1724],{},"select_recipient",[184,1726,1727,945,1729,1732,1733,945,1736,1739,1740,1743],{},[93,1728,1694],{},[93,1730,1731],{},"recipientKind"," (",[93,1734,1735],{},"geolocation",[93,1737,1738],{},"list"," or ",[93,1741,1742],{},"business",")",[184,1745,1746],{},"A recipient, or the business to review or call, is selected.",[162,1748,1749,1754,1758],{},[184,1750,1751],{},[93,1752,1753],{},"select_medium",[184,1755,1756],{},[93,1757,1694],{},[184,1759,1760],{},"A channel is selected.",[162,1762,1763,1767,1774],{},[184,1764,1765],{},[93,1766,1347],{},[184,1768,1769,1771,1772],{},[93,1770,1469],{}," (boolean), ",[93,1773,1449],{},[184,1775,1776],{},"The questions step is left, by either of its buttons.",[162,1778,1779,1784,1786],{},[184,1780,1781],{},[93,1782,1783],{},"generate_message",[184,1785],{},[184,1787,1788],{},"A message is generated.",[162,1790,1791,1796,1798],{},[184,1792,1793],{},[93,1794,1795],{},"send_message",[184,1797],{},[184,1799,1800,1801,1804],{},"The visitor opens the mail client, X composer, Facebook, Instagram, LinkedIn, TikTok, an external link\u002Fform, or Google Maps for a review, or reports the call done. Opening a channel does not verify that the message was sent; ",[93,1802,1803],{},"confirm_sent"," records the visitor's confirmation.",[162,1806,1807,1811,1813],{},[184,1808,1809],{},[93,1810,1803],{},[184,1812],{},[184,1814,1815],{},"The visitor confirms they completed the action, including a call. Sent before navigating to the success page.",[162,1817,1818,1823,1828],{},[184,1819,1820],{},[93,1821,1822],{},"share_campaign",[184,1824,1825],{},[93,1826,1827],{},"shareType",[184,1829,1830],{},"The visitor shares the campaign.",[162,1832,1833,1838,1840],{},[184,1834,1835],{},[93,1836,1837],{},"sign_petition",[184,1839],{},[184,1841,1842],{},"The visitor signs the petition.",[162,1844,1845,1850,1857],{},[184,1846,1847],{},[93,1848,1849],{},"share_petition",[184,1851,1852,945,1854],{},[93,1853,1827],{},[93,1855,1856],{},"sharedPageId",[184,1858,1859,1860,1862],{},"The visitor shares a petition. On a campaign's success page, the event is the campaign's and ",[93,1861,1856],{}," names the petition.",[162,1864,1865,1870,1872],{},[184,1866,1867],{},[93,1868,1869],{},"show_donation_ask",[184,1871],{},[184,1873,1874],{},"The donation ask is shown on the success page.",[162,1876,1877,1882,1897],{},[184,1878,1879],{},[93,1880,1881],{},"start_donation",[184,1883,1884,1887,1888,1732,1891,1739,1894,1743],{},[93,1885,1886],{},"amount"," (minor units), ",[93,1889,1890],{},"frequency",[93,1892,1893],{},"one_time",[93,1895,1896],{},"monthly",[184,1898,1899],{},"The visitor chose an amount and opened the payment form.",[162,1901,1902,1907,1913],{},[184,1903,1904],{},[93,1905,1906],{},"complete_donation",[184,1908,1909,945,1911],{},[93,1910,1886],{},[93,1912,1890],{},[184,1914,1915],{},"The payment completed in the page. A payment that left the page for a bank authentication is not reported, though the donation counts.",[162,1917,1918,1923,1925],{},[184,1919,1920],{},[93,1921,1922],{},"decline_donation",[184,1924],{},[184,1926,1927],{},"The visitor continued without donating.",[97,1929,1930,1932,1933,1935],{},[93,1931,1694],{}," is ",[93,1934,551],{}," when the campaign made the selection on the visitor's behalf: a single recipient group, a single channel, a channel preset by the page. A selection is only reported when its value changes.",[97,1937,1938,1940,1941,1944,1945,1948,1949,1951],{},[93,1939,1347],{}," is posted by the ",[226,1942,1943],{},"Generate"," button only when the form is valid, and by ",[226,1946,1947],{},"Do not use customization"," always, since that button validates nothing. ",[93,1950,1449],{}," is the answer to the \"keep me informed\" checkbox:",[156,1953,1954,1968],{},[159,1955,1956],{},[162,1957,1958,1962,1965],{},[165,1959,1960],{},[93,1961,1449],{},[165,1963,1964],{},"Meaning",[165,1966,1967],{},"As a boolean",[179,1969,1970,1983,1997,2011,2025],{},[162,1971,1972,1976,1979],{},[184,1973,1974],{},[93,1975,1458],{},[184,1977,1978],{},"The box was checked, with a first name, last name and valid email.",[184,1980,1981],{},[93,1982,551],{},[162,1984,1985,1990,1993],{},[184,1986,1987],{},[93,1988,1989],{},"declined",[184,1991,1992],{},"The box was pre-checked and the visitor unchecked it.",[184,1994,1995],{},[93,1996,483],{},[162,1998,1999,2004,2007],{},[184,2000,2001],{},[93,2002,2003],{},"not_subscribed",[184,2005,2006],{},"The box was shown unchecked and left so.",[184,2008,2009],{},[93,2010,483],{},[162,2012,2013,2018,2021],{},[184,2014,2015],{},[93,2016,2017],{},"already_subscribed",[184,2019,2020],{},"The box was hidden because the visitor had already consented.",[184,2022,2023],{},[93,2024,948],{},[162,2026,2027,2031,2034],{},[184,2028,2029],{},[93,2030,948],{},[184,2032,2033],{},"The question was not asked (no CRM on the campaign), or the box was checked without a usable identity.",[184,2035,2036],{},[93,2037,948],{},[97,2039,2040,2041,2043,2044,2046],{},"The value records the choice submitted in the questions step, not a confirmed subscription: it is reported whether or not the CRM synchronization succeeds. A consent remembered from a previous campaign, petition, action, accepted CRM subscriber identity, or the ",[226,2042,489],{}," dialog hides the box and reports ",[93,2045,2017],{},"; entering a different email address shows the box again.",[97,2048,2049,2051],{},[93,2050,1803],{}," records the visitor's confirmation, not verified delivery to the recipient. Reporting an issue, or answering that the action was not completed, does not post it. Loading the success page directly does not post it either.",[97,2053,2054,2055,676],{},"Check both the source iframe and its origin before using a message. Register your listener before calling ",[93,2056,154],{},[104,2058,2062],{"className":2059,"code":2060,"language":2061,"meta":109,"style":109},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","window.addEventListener('message', (event) => {\n  const iframe = document.querySelector('#av-embed-container iframe')\n  if (\n    iframe &&\n    event.source === iframe.contentWindow &&\n    event.origin === new URL(iframe.src).origin &&\n    event.data?.type === 'ACTIVOICE_EVENT'\n  ) {\n    const { event: name, campaignId, petitionId, sessionId, medium } =\n      event.data.payload\n    \u002F\u002F Forward these values to your analytics integration.\n    console.log({ name, campaignId, petitionId, sessionId, medium })\n  }\n})\n","js",[93,2063,2064,2099,2130,2139,2147,2169,2204,2228,2235,2277,2291,2296,2333,2337],{"__ignoreMap":109},[113,2065,2066,2068,2070,2073,2076,2079,2082,2084,2087,2089,2092,2094,2097],{"class":115,"line":116},[113,2067,120],{"class":119},[113,2069,124],{"class":123},[113,2071,2072],{"class":132},"addEventListener",[113,2074,2075],{"class":119},"(",[113,2077,2078],{"class":123},"'",[113,2080,2081],{"class":1312},"message",[113,2083,2078],{"class":123},[113,2085,2086],{"class":123},",",[113,2088,1732],{"class":123},[113,2090,1338],{"class":2091},"sHdIc",[113,2093,1743],{"class":123},[113,2095,2096],{"class":625}," =>",[113,2098,633],{"class":123},[113,2100,2101,2104,2107,2110,2113,2115,2118,2120,2122,2125,2127],{"class":115,"line":636},[113,2102,2103],{"class":625},"  const",[113,2105,2106],{"class":119}," iframe",[113,2108,2109],{"class":123}," =",[113,2111,2112],{"class":119}," document",[113,2114,124],{"class":123},[113,2116,2117],{"class":132},"querySelector",[113,2119,2075],{"class":639},[113,2121,2078],{"class":123},[113,2123,2124],{"class":1312},"#av-embed-container iframe",[113,2126,2078],{"class":123},[113,2128,2129],{"class":639},")\n",[113,2131,2132,2136],{"class":115,"line":656},[113,2133,2135],{"class":2134},"s7zQu","  if",[113,2137,2138],{"class":639}," (\n",[113,2140,2141,2144],{"class":115,"line":670},[113,2142,2143],{"class":119},"    iframe",[113,2145,2146],{"class":123}," &&\n",[113,2148,2149,2152,2154,2157,2160,2162,2164,2167],{"class":115,"line":685},[113,2150,2151],{"class":119},"    event",[113,2153,124],{"class":123},[113,2155,2156],{"class":119},"source",[113,2158,2159],{"class":123}," ===",[113,2161,2106],{"class":119},[113,2163,124],{"class":123},[113,2165,2166],{"class":119},"contentWindow",[113,2168,2146],{"class":123},[113,2170,2171,2173,2175,2178,2180,2183,2186,2188,2191,2193,2196,2198,2200,2202],{"class":115,"line":701},[113,2172,2151],{"class":119},[113,2174,124],{"class":123},[113,2176,2177],{"class":119},"origin",[113,2179,2159],{"class":123},[113,2181,2182],{"class":123}," new",[113,2184,2185],{"class":132}," URL",[113,2187,2075],{"class":639},[113,2189,2190],{"class":119},"iframe",[113,2192,124],{"class":123},[113,2194,2195],{"class":119},"src",[113,2197,1743],{"class":639},[113,2199,124],{"class":123},[113,2201,2177],{"class":119},[113,2203,2146],{"class":123},[113,2205,2206,2208,2210,2213,2216,2218,2220,2223,2225],{"class":115,"line":707},[113,2207,2151],{"class":119},[113,2209,124],{"class":123},[113,2211,2212],{"class":119},"data",[113,2214,2215],{"class":123},"?.",[113,2217,1301],{"class":119},[113,2219,2159],{"class":123},[113,2221,2222],{"class":123}," '",[113,2224,1276],{"class":1312},[113,2226,2227],{"class":123},"'\n",[113,2229,2230,2233],{"class":115,"line":720},[113,2231,2232],{"class":639},"  ) ",[113,2234,1293],{"class":123},[113,2236,2237,2240,2243,2246,2248,2251,2253,2256,2258,2261,2263,2266,2268,2271,2274],{"class":115,"line":733},[113,2238,2239],{"class":625},"    const",[113,2241,2242],{"class":123}," {",[113,2244,2245],{"class":639}," event",[113,2247,676],{"class":123},[113,2249,2250],{"class":119}," name",[113,2252,2086],{"class":123},[113,2254,2255],{"class":119}," campaignId",[113,2257,2086],{"class":123},[113,2259,2260],{"class":119}," petitionId",[113,2262,2086],{"class":123},[113,2264,2265],{"class":119}," sessionId",[113,2267,2086],{"class":123},[113,2269,2270],{"class":119}," medium",[113,2272,2273],{"class":123}," }",[113,2275,2276],{"class":123}," =\n",[113,2278,2279,2282,2284,2286,2288],{"class":115,"line":746},[113,2280,2281],{"class":119},"      event",[113,2283,124],{"class":123},[113,2285,2212],{"class":119},[113,2287,124],{"class":123},[113,2289,2290],{"class":119},"payload\n",[113,2292,2293],{"class":115,"line":759},[113,2294,2295],{"class":652},"    \u002F\u002F Forward these values to your analytics integration.\n",[113,2297,2298,2301,2303,2306,2308,2311,2313,2315,2317,2319,2321,2323,2325,2327,2329,2331],{"class":115,"line":1479},[113,2299,2300],{"class":119},"    console",[113,2302,124],{"class":123},[113,2304,2305],{"class":132},"log",[113,2307,2075],{"class":639},[113,2309,2310],{"class":123},"{",[113,2312,2250],{"class":119},[113,2314,2086],{"class":123},[113,2316,2255],{"class":119},[113,2318,2086],{"class":123},[113,2320,2260],{"class":119},[113,2322,2086],{"class":123},[113,2324,2265],{"class":119},[113,2326,2086],{"class":123},[113,2328,2270],{"class":119},[113,2330,2273],{"class":123},[113,2332,2129],{"class":639},[113,2334,2335],{"class":115,"line":1485},[113,2336,1482],{"class":123},[113,2338,2340,2343],{"class":115,"line":2339},14,[113,2341,2342],{"class":123},"}",[113,2344,2129],{"class":119},[141,2346],{},[89,2348,2350],{"id":2349},"typescript-types","TypeScript types",[97,2352,2353,2354],{},"Download the type definitions file and reference it in your project for full IDE autocompletion: ",[259,2355,2358],{"href":2356,"target":2357,"download":2358},"\u002Ftypes\u002Factivoice-embed.d.ts","_blank","activoice-embed.d.ts",[811,2360,2361],{},"This file is not versioned or distributed automatically. As the API evolves, you will need to re-download it and update your local copy manually.",[97,2363,2364,2365,2368],{},"Then point your ",[93,2366,2367],{},"tsconfig.json"," to it:",[104,2370,2372],{"className":1284,"code":2371,"filename":2367,"language":1286,"meta":109,"style":109},"{\n  \"include\": [\".\u002Factivoice-embed.d.ts\", \"src\u002F**\u002F*\"]\n}\n",[93,2373,2374,2378,2411],{"__ignoreMap":109},[113,2375,2376],{"class":115,"line":116},[113,2377,1293],{"class":123},[113,2379,2380,2382,2385,2387,2389,2392,2394,2397,2399,2401,2403,2406,2408],{"class":115,"line":636},[113,2381,1298],{"class":123},[113,2383,2384],{"class":625},"include",[113,2386,1304],{"class":123},[113,2388,676],{"class":123},[113,2390,2391],{"class":123}," [",[113,2393,1304],{"class":123},[113,2395,2396],{"class":1312},".\u002Factivoice-embed.d.ts",[113,2398,1304],{"class":123},[113,2400,2086],{"class":123},[113,2402,1309],{"class":123},[113,2404,2405],{"class":1312},"src\u002F**\u002F*",[113,2407,1304],{"class":123},[113,2409,2410],{"class":123},"]\n",[113,2412,2413],{"class":115,"line":656},[113,2414,762],{"class":123},[2416,2417,2418],"style",{},"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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}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 .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}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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}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}",{"title":109,"searchDepth":636,"depth":636,"links":2420},[2421,2422,2423,2424,2429,2430],{"id":91,"depth":636,"text":95},{"id":145,"depth":636,"text":148},{"id":304,"depth":636,"text":264},{"id":610,"depth":636,"text":285,"children":2425},[2426,2427,2428],{"id":776,"depth":656,"text":777},{"id":836,"depth":656,"text":837},{"id":955,"depth":656,"text":958},{"id":1269,"depth":636,"text":1270},{"id":2349,"depth":636,"text":2350},"Complete reference for the Activoice embed configuration, for campaigns and petitions","md",[2434],{"label":48,"icon":51,"to":49},{},{"icon":56},{"title":53,"description":2431},"GrABDGcQquz_tjQRLFV_LOvjVuNgrqS--lm4Hd1Slv8",[2440,2442],{"title":48,"path":49,"stem":50,"description":2441,"icon":51,"children":-1},"Embed an Activoice campaign or petition on any website in minutes",{"title":64,"path":65,"stem":66,"description":2443,"icon":56,"children":-1},"Read a campaign's public data from your own website",1794579664082]