@assemblyvoting/ui-library 3.1.27-beta.4 → 3.1.27-beta.6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -783,4 +783,4 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
783
783
  `),e.removeAttribute(t),n()}).catch(i)}else n()}else n()})}function dY(e){return Promise.all([zi(e,"::before"),zi(e,"::after")])}function pY(e){return e.parentNode!==document.head&&!~aZ.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(i8)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Vi(e){if(X1)return new Promise(function(a,t){var n=Y2(e.querySelectorAll("*")).filter(pY).map(dY),i=jt.begin("searchPseudoElements");Tq(),Promise.all(n).then(function(){i(),d8(),a()}).catch(function(){i(),d8(),t()})})}var vY={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Vi,t}}},provides:function(a){a.pseudoElements2svg=function(t){var n=t.node,i=n===void 0?l1:n;F.searchPseudoElements&&Vi(i)}}},Mi=!1,hY={mixout:function(){return{dom:{unwatch:function(){Tq(),Mi=!0}}}},hooks:function(){return{bootstrap:function(){di(r8("mutationObserverCallbacks",{}))},noAuto:function(){KZ()},watch:function(t){var n=t.observeMutationsRoot;Mi?d8():di(r8("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},Ci=function(a){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return a.toLowerCase().split(" ").reduce(function(n,i){var l=i.toLowerCase().split("-"),s=l[0],r=l.slice(1).join("-");if(s&&r==="h")return n.flipX=!0,n;if(s&&r==="v")return n.flipY=!0,n;if(r=parseFloat(r),isNaN(r))return n;switch(s){case"grow":n.size=n.size+r;break;case"shrink":n.size=n.size-r;break;case"left":n.x=n.x-r;break;case"right":n.x=n.x+r;break;case"up":n.y=n.y-r;break;case"down":n.y=n.y+r;break;case"rotate":n.rotate=n.rotate+r;break}return n},t)},zY={mixout:function(){return{parse:{transform:function(t){return Ci(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,n){var i=n.getAttribute("data-fa-transform");return i&&(t.transform=Ci(i)),t}}},provides:function(a){a.generateAbstractTransformGrouping=function(t){var n=t.main,i=t.transform,l=t.containerWidth,s=t.iconWidth,r={transform:"translate(".concat(l/2," 256)")},o="translate(".concat(i.x*32,", ").concat(i.y*32,") "),f="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),m="rotate(".concat(i.rotate," 0 0)"),u={transform:"".concat(o," ").concat(f," ").concat(m)},d={transform:"translate(".concat(s/2*-1," -256)")},p={outer:r,inner:u,path:d};return{tag:"g",attributes:D({},p.outer),children:[{tag:"g",attributes:D({},p.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:D(D({},n.icon.attributes),p.path)}]}]}}}},F6={x:0,y:0,width:"100%",height:"100%"};function gi(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||a)&&(e.attributes.fill="black"),e}function VY(e){return e.tag==="g"?e.children:[e]}var MY={hooks:function(){return{parseNodeAttributes:function(t,n){var i=n.getAttribute("data-fa-mask"),l=i?_6(i.split(" ").map(function(s){return s.trim()})):Ft();return l.prefix||(l.prefix=m2()),t.mask=l,t.maskId=n.getAttribute("data-fa-mask-id"),t}}},provides:function(a){a.generateAbstractMask=function(t){var n=t.children,i=t.attributes,l=t.main,s=t.mask,r=t.maskId,o=t.transform,f=l.width,m=l.icon,u=s.width,d=s.icon,p=zZ({transform:o,containerWidth:u,iconWidth:f}),V={tag:"rect",attributes:D(D({},F6),{},{fill:"white"})},C=m.children?{children:m.children.map(gi)}:{},g={tag:"g",attributes:D({},p.inner),children:[gi(D({tag:m.tag,attributes:D(D({},m.attributes),p.path)},C))]},L={tag:"g",attributes:D({},p.outer),children:[g]},M="mask-".concat(r||b3()),v="clip-".concat(r||b3()),H={tag:"mask",attributes:D(D({},F6),{},{id:M,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[V,L]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:VY(d)},H]};return n.push(b,{tag:"rect",attributes:D({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(M,")")},F6)}),{children:n,attributes:i}}}},CY={provides:function(a){var t=!1;u2.matchMedia&&(t=u2.matchMedia("(prefers-reduced-motion: reduce)").matches),a.missingIconAbstract=function(){var n=[],i={fill:"currentColor"},l={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:D(D({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=D(D({},l),{},{attributeName:"opacity"}),r={tag:"circle",attributes:D(D({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||r.children.push({tag:"animate",attributes:D(D({},l),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:D(D({},s),{},{values:"1;0;1;1;0;1;"})}),n.push(r),n.push({tag:"path",attributes:D(D({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:D(D({},s),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:D(D({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:D(D({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},gY={hooks:function(){return{parseNodeAttributes:function(t,n){var i=n.getAttribute("data-fa-symbol"),l=i===null?!1:i===""?!0:i;return t.symbol=l,t}}}},HY=[CZ,sY,rY,oY,fY,vY,hY,zY,MY,CY,gY];BZ(HY,{mixoutsTo:x1});x1.noAuto;x1.config;x1.library;x1.dom;var Hi=x1.parse;x1.findIconDefinition;x1.toHtml;var bY=x1.icon;x1.layer;x1.text;x1.counter;const Iq=c.defineComponent({name:"AVIcon",props:{icon:{type:String,required:!0}},setup(e){const a=f=>Hi.icon?Hi.icon(f):null,t={...IE,...Ij},n=(f,m={})=>{const u=(f.children||[]).map(V=>n(V));if(f.prefix)return;const d=Object.keys(f.attributes||{}).reduce((V,C)=>{const g=f.attributes[C];return V.attrs[C]=g,V},{attrs:{}}),{...p}=m;return c.h(f.tag,{...d.attrs,...p},u)};function i(f){let p=`fa-${f}`.split("-").map(C=>C.charAt(0).toUpperCase()+C.slice(1).toLowerCase()).join("");return p.charAt(0).toLowerCase()+p.slice(1)}const l=c.computed(()=>i(a(e.icon).iconName)),s=c.computed(()=>t[l.value]),r=c.computed(()=>bY(s.value,{symbol:!1,title:s.value}));c.watch(r,f=>{if(!f)return console.log("Could not find one or more icon(s)",s)},{immediate:!0});const o=c.computed(()=>r.value?n(r.value.abstract[0]):null);return()=>o.value}}),LY=["disabled"],AY=c.defineComponent({__name:"AVButton",props:{label:{type:String,default:""},size:{type:String,validate:e=>["small","regular","large"].includes(e),default:"regular"},type:{type:String,validate:e=>["primary","secondary","destructive","neutral"].includes(e),default:"secondary"},iconLeft:{type:Boolean,default:!1},iconRight:{type:Boolean,default:!1},icon:{type:String,default:"bolt"},disabled:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1}},emits:["onClick"],setup(e,{emit:a}){const t=a,n=()=>{t("onClick")};return(i,l)=>{const s=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("button",{type:"button",class:c.normalizeClass(`AVButton AVButton--${e.size} AVButton--${e.type} ${e.fullWidth?"AVButton--full":""}`),"data-test":"btn",onClick:n,disabled:e.disabled},[e.iconLeft?(c.openBlock(),c.createBlock(s,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVButton--icon-left","data-test":"btn-icon"},null,8,["icon"])):c.createCommentVNode("",!0),c.renderSlot(i.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(e.label),1)],!0),e.iconRight?(c.openBlock(),c.createBlock(s,{key:1,icon:`fa-solid fa-${e.icon}`,class:"AVButton--icon-right","data-test":"btn-icon"},null,8,["icon"])):c.createCommentVNode("",!0)],10,LY)}}});const P=(e,a)=>{const t=e.__vccOpts||e;for(const[n,i]of a)t[n]=i;return t},Dq=P(AY,[["__scopeId","data-v-d69f84e2"]]),_Y=c.defineComponent({__name:"AVSpinner",props:{size:{type:String,validate:e=>["small","regular","large","xlarge"].includes(e),default:""},color:{type:String,validate:e=>["dark","light","neutral"].includes(e),default:"dark"}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createBlock(n,{icon:"fa-solid fa-spinner",class:c.normalizeClass(`AVSpinner AVSpinner--${e.size} AVSpinner--${e.color}`)},null,8,["class"])}}});const Pq=P(_Y,[["__scopeId","data-v-70d9cfd4"]]),NY=c.defineComponent({__name:"AVBullet",props:{type:{type:String,validate:e=>["solid","number","icon"].includes(e),default:"solid"},hover:{type:Boolean,default:!1},active:{type:Boolean,default:!1},value:{type:String,default:""}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return e.type==="icon"?(c.openBlock(),c.createBlock(n,{key:0,icon:`fa-solid fa-${e.value||"bolt"}`,class:c.normalizeClass(["AVBullet--icon",{"AVBullet--active":e.active,"AVBullet--hover":e.hover}]),"data-test":"icon-bullet"},null,8,["icon","class"])):e.type==="number"?(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["AVBullet--container AVBullet--outer-circle",{"AVBullet--active":e.active,"AVBullet--hover":e.hover}]),"data-test":"number-bullet"},[c.createElementVNode("div",{class:c.normalizeClass(["AVBullet--number",{"AVBullet--active":e.active,"AVBullet--hover":e.hover}])},c.toDisplayString(e.value||"0"),3)],2)):(c.openBlock(),c.createBlock(n,{key:2,icon:"fa-solid fa-circle",class:c.normalizeClass(["AVBullet--icon",{"AVBullet--active":e.active,"AVBullet--hover":e.hover}]),"data-test":"solid-bullet"},null,8,["class"]))}}});const V4=P(NY,[["__scopeId","data-v-5b7d0fcb"]]),kY={class:"AVTextInput--input-set"},xY=["for"],yY={class:"AVTextInput--input-field"},SY={class:"AVTextInput--icon-container"},wY=["id","placeholder","disabled","value"],EY={key:0,class:"AVTextInput--icon-container"},TY={key:1,class:"AVTextInput--error","data-test":"error-msg"},BY=c.defineComponent({__name:"AVTextInput",props:{id:{type:String,required:!0},placeholder:{type:String},icon:{type:String},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},inputLabel:{type:String,default:null},modelValue:{type:String,default:""},tooltipText:{type:String,default:null},errorMessage:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,n=a,i=s=>{n("update:modelValue",s.target.value)},l=c.computed(()=>({AVTextInput:!0,error:!!t.error,icon:!!t.icon,disabled:t.disabled}));return(s,r)=>{const o=c.resolveComponent("AVIcon"),f=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",kY,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVTextInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(o,{key:0,icon:"circle-question",class:"AVTextInput--tooltip-icon"},null,512)),[[f,e.tooltipText]]):c.createCommentVNode("",!0)])],8,xY)):c.createCommentVNode("",!0),c.createElementVNode("div",yY,[c.createElementVNode("div",SY,[e.icon?(c.openBlock(),c.createBlock(o,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVTextInput--input-icon","data-test":"input-icon"},null,8,["icon"])):c.createCommentVNode("",!0)]),c.createElementVNode("input",{id:e.id,placeholder:e.placeholder,disabled:e.disabled,type:"text",class:c.normalizeClass(l.value),ref:"textInput",value:e.modelValue,onInput:i,"data-1p-ignore":""},null,42,wY),e.error?(c.openBlock(),c.createElementBlock("div",EY,[c.createVNode(o,{icon:"fa-solid fa-circle-exclamation",class:"AVTextInput--error-icon","data-test":"input-error-icon"})])):c.createCommentVNode("",!0)]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",TY,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Oq=P(BY,[["__scopeId","data-v-6c6cbec3"]]),IY={class:"AVNumberInput--input-set"},DY=["for"],PY={class:"AVNumberInput--icon-container"},OY=["value","id","disabled","name","min","max","step"],FY={key:0,class:"AVNumberInput--icon-container"},RY={key:1,class:"AVNumberInput--error","data-test":"error-msg"},jY=c.defineComponent({__name:"AVNumberInput",props:{id:{type:String,required:!0},min:{type:Number,default:null},max:{type:Number,default:null},step:{type:Number,default:1},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},disableControllers:{type:Boolean,default:!1},modelValue:{type:Number,default:0},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(null),l=u=>{n("update:modelValue",parseInt(u.target.value))},s=u=>{u.target.value===""&&n("update:modelValue",0)},r=()=>{i.value.classList.remove("hidden"),i.value.classList.add("AVNumberInput--shown")},o=()=>{t.error||(i.value.classList.remove("AVNumberInput--shown"),i.value.classList.add("hidden"))},f=()=>{const u=t.modelValue+t.step;(t.max===null||u<=t.max)&&n("update:modelValue",u)},m=()=>{const u=t.modelValue-t.step;(t.min===null||u>=t.min)&&n("update:modelValue",u)};return(u,d)=>{const p=c.resolveComponent("AVIcon"),V=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",IY,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVNumberInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(p,{key:0,icon:"circle-question",class:"AVNumberInput--tooltip-icon"},null,512)),[[V,e.tooltipText]]):c.createCommentVNode("",!0)])],8,DY)):c.createCommentVNode("",!0),c.createElementVNode("div",{class:"AVNumberInput--input-field",onMouseenter:r,onMouseleave:o},[c.createElementVNode("div",PY,[e.icon?(c.openBlock(),c.createBlock(p,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVNumberInput--input-icon","data-test":"input-icon"},null,8,["icon"])):c.createCommentVNode("",!0)]),c.createElementVNode("input",{value:e.modelValue,onInput:l,onBlur:s,type:"number",class:c.normalizeClass(["AVNumberInput",{error:e.error,"no-icon":!e.icon,disabled:e.disabled}]),style:c.normalizeStyle(`margin-right: -${e.error?"3.75":"1.4"}rem`),id:e.id,disabled:e.disabled,ref:"numberInput",name:e.id,min:e.min,max:e.max,step:e.step},null,46,OY),c.createElementVNode("div",{class:c.normalizeClass(["AVNumberInput--controllers-container",{hidden:!e.error,error:e.error,disabled:e.disabled||e.disableControllers}]),ref_key:"inputControllers",ref:i,"data-test":"input-controllers"},[c.createElementVNode("button",{onClick:f,class:"AVNumberInput--button","data-test":"input-controller-plus"},[c.createVNode(p,{icon:"fa-solid fa-circle-plus",class:"AVNumberInput--controller-icon"})]),c.createElementVNode("button",{onClick:m,class:"AVNumberInput--button","data-test":"input-controller-minus"},[c.createVNode(p,{icon:"fa-solid fa-circle-minus",class:"AVNumberInput--controller-icon"})])],2),e.error?(c.openBlock(),c.createElementBlock("div",FY,[c.createVNode(p,{icon:"fa-solid fa-circle-exclamation",class:"AVNumberInput--error-icon","data-test":"input-error-icon"})])):c.createCommentVNode("",!0)],32),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",RY,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Fq=P(jY,[["__scopeId","data-v-c69bbc44"]]),qY={class:"AVPasswordInput--input-set"},$Y=["for"],UY={class:"AVPasswordInput--input-field"},WY={class:"AVPasswordInput--icon-container"},GY=["value","type","id","disabled","placeholder","name"],JY={class:"AVPasswordInput--icon-container"},ZY={key:1,class:"AVPasswordInput--error","data-test":"error-msg"},YY=c.defineComponent({__name:"AVPasswordInput",props:{id:{type:String,required:!0},modelValue:{type:String,default:""},placeholder:{type:String,default:"placeholder"},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},disableIcon:{type:Boolean,default:!1},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=a,n=c.ref(!1),i=()=>{n.value=!n.value},l=s=>{t("update:modelValue",s.target.value)};return(s,r)=>{const o=c.resolveComponent("AVIcon"),f=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",qY,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVPasswordInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(o,{key:0,icon:"circle-question",class:"AVPasswordInput--tooltip-icon"},null,512)),[[f,e.tooltipText]]):c.createCommentVNode("",!0)])],8,$Y)):c.createCommentVNode("",!0),c.createElementVNode("div",UY,[c.createElementVNode("div",WY,[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(o,{key:0,icon:"fa-solid fa-key",class:"AVPasswordInput--input-icon","data-test":"input-icon"}))]),c.createElementVNode("input",{value:e.modelValue,onInput:l,type:`${n.value?"text":"password"}`,class:c.normalizeClass(["AVPasswordInput",{error:e.error,"no-icon":e.disableIcon,disabled:e.disabled}]),id:e.id,disabled:e.disabled,placeholder:e.placeholder,ref:"textInput",name:e.id},null,42,GY),c.createElementVNode("div",JY,[c.createElementVNode("button",{onClick:i},[c.createVNode(o,{icon:`fa-solid fa-${n.value?"eye-slash":"eye"}`,class:"AVPasswordInput--input-icon","data-test":"show-pass-icon"},null,8,["icon"])])])]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",ZY,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Rq=P(YY,[["__scopeId","data-v-b1c76306"]]),QY={class:"AVDatetimeInput--input-set"},KY=["for"],XY={class:"AVDatetimeInput--input-field"},eQ={class:"AVDatetimeInput--icon-container"},cQ=["value","id","disabled","name","min","max"],aQ={key:1,class:"AVDatetimeInput--error","data-test":"error-msg"},tQ=c.defineComponent({__name:"AVDatetimeInput",props:{id:{type:String,required:!0},modelValue:{type:String,default:null},min:{type:String,default:null},max:{type:String,default:null},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=a,n=i=>{t("update:modelValue",i.target.value)};return(i,l)=>{const s=c.resolveComponent("AVIcon"),r=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",QY,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVDatetimeInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(s,{key:0,icon:"circle-question",class:"AVDatetimeInput--tooltip-icon"},null,512)),[[r,e.tooltipText]]):c.createCommentVNode("",!0)])],8,KY)):c.createCommentVNode("",!0),c.createElementVNode("div",XY,[c.createElementVNode("div",eQ,[e.icon?(c.openBlock(),c.createBlock(s,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVDatetimeInput--input-icon","data-test":"input-icon"},null,8,["icon"])):c.createCommentVNode("",!0)]),c.createElementVNode("input",{value:e.modelValue,onInput:n,type:"datetime-local",class:c.normalizeClass(["AVDatetimeInput",{error:e.error,"no-icon":!e.icon,disabled:e.disabled}]),style:c.normalizeStyle(`margin-right: -${e.error?"3.75":"1.4"}rem`),id:e.id,disabled:e.disabled,ref:"datetimeInput",name:e.id,min:e.min,max:e.max},null,46,cQ)]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",aQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const jq=P(tQ,[["__scopeId","data-v-d438432a"]]),nQ={class:"AVTextArea--input-set"},iQ=["for"],lQ={class:"AVTextArea--input-field"},sQ=["value","id","disabled","placeholder","name","rows"],rQ={key:0,class:"AVTextArea--icon-container"},oQ={key:1,class:"AVTextArea--error","data-test":"error-msg"},fQ=c.defineComponent({__name:"AVTextArea",props:{id:{type:String,required:!0},modelValue:{type:String,default:""},placeholder:{type:String,default:"placeholder"},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},rows:{type:Number,default:4},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=a,n=i=>{t("update:modelValue",i.target.value)};return(i,l)=>{const s=c.resolveComponent("AVIcon"),r=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",nQ,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVTextArea--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(s,{key:0,icon:"circle-question",class:"AVTextArea--tooltip-icon"},null,512)),[[r,e.tooltipText]]):c.createCommentVNode("",!0)])],8,iQ)):c.createCommentVNode("",!0),c.createElementVNode("div",lQ,[c.createElementVNode("div",{class:"AVTextArea--icon-container",style:c.normalizeStyle(`height: ${1.5625*e.rows+1}rem;`)},[e.icon?(c.openBlock(),c.createBlock(s,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVTextArea--input-icon","data-test":"input-icon"},null,8,["icon"])):c.createCommentVNode("",!0)],4),c.createElementVNode("textarea",{value:e.modelValue,onInput:n,class:c.normalizeClass(["AVTextArea",{error:e.error,"no-icon":!e.icon,disabled:e.disabled}]),id:e.id,disabled:e.disabled,placeholder:e.placeholder,ref:"textArea",name:e.id,rows:e.rows},null,42,sQ),e.error?(c.openBlock(),c.createElementBlock("div",rQ,[c.createVNode(s,{icon:"fa-solid fa-circle-exclamation",class:"AVTextArea--error-icon","data-test":"input-error-icon"})])):c.createCommentVNode("",!0)]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",oQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const qq=P(fQ,[["__scopeId","data-v-c9875ea2"]]),uQ=c.defineComponent({__name:"AVLabel",props:{value:{type:String,required:!0},type:{type:String,default:"default",validate:e=>["default","info","success","danger","warning"].indexOf(e)>=0}},setup(e){const t=`
784
784
  AVLabel
785
785
  AVLabel--${e.type}
786
- `;return(n,i)=>(c.openBlock(),c.createElementBlock("span",{class:c.normalizeClass(t)},c.toDisplayString(e.value),1))}});const $q=P(uQ,[["__scopeId","data-v-ee7ab830"]]),mQ=c.defineComponent({__name:"AVCard",props:{variant:{type:String,default:"default",validate:e=>["rounded","default","jumbotron","jumbotron-electa"].indexOf(e)>=0}},setup(e){return(a,t)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVCard--${e.variant}`)},[c.renderSlot(a.$slots,"default",{},void 0,!0)],2))}});const Uq=P(mQ,[["__scopeId","data-v-995f5e7c"]]),dQ=c.defineComponent({__name:"AVRoundButton",props:{icon:{type:String,default:"bolt",required:!0}},emits:["onClick"],setup(e,{emit:a}){const t=a,n=()=>{t("onClick")};return(i,l)=>{const s=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("button",{type:"button",class:"AVRoundButton","data-test":"round-btn",onClick:n},[c.createVNode(s,{icon:`fa-solid fa-${e.icon}`,class:"icon-left","data-test":"btn-icon"},null,8,["icon"])])}}});const Wq=P(dQ,[["__scopeId","data-v-6caf6a51"]]),pQ={class:"AVDropdown--input-set"},vQ=["for"],hQ=["id","disabled","aria-expanded","aria-label"],zQ={key:0,class:"AVDropdown--icon-container"},VQ={key:1,class:"AVDropdown--placeholder"},MQ=["textContent"],CQ={class:"AVDropdown--icon-container"},gQ={key:1,class:"AVDropdown--error","data-test":"error-msg"},HQ=c.defineComponent({__name:"AVDropdown",props:{id:{type:String,required:!0},modelValue:{type:String,default:""},options:{type:Array,required:!0},placeholder:{type:String,default:"placeholder"},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,n=a,i=c.reactive({active:!1,customWidth:null,id:null}),l=c.computed(()=>t.options.map(f=>typeof f=="string"?{label:f,value:f}:f)),s=c.computed(()=>l.value.find(f=>f.value===t.modelValue));c.onMounted(()=>{i.id=t.id});const r=f=>{n("update:modelValue",f)};c.provide("sharedState",i);const o=()=>{t.disabled||(i.active=!i.active)};return(f,m)=>{const u=c.resolveComponent("AVIcon"),d=c.resolveComponent("AVDropdownItem"),p=c.resolveComponent("AVDropdownContent"),V=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",pQ,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVDropdown--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(u,{key:0,icon:"circle-question",class:"AVDropdown--tooltip-icon"},null,512)),[[V,e.tooltipText]]):c.createCommentVNode("",!0)])],8,vQ)):c.createCommentVNode("",!0),c.createElementVNode("div",{onClick:o,class:"AVDropdown"},[c.createElementVNode("button",{id:e.id,class:c.normalizeClass(["AVDropdown--button",{error:e.error,"no-icon":!e.icon,disabled:e.disabled}]),disabled:e.disabled,"aria-haspopup":"true","aria-expanded":i.active||null,"data-toggle":"dropdown",type:"button","aria-label":e.inputLabel},[e.icon?(c.openBlock(),c.createElementBlock("span",zQ,[c.createVNode(u,{icon:`fa-solid fa-${e.icon}`,class:"AVDropdown--input-icon","data-test":"input-icon"},null,8,["icon"])])):c.createCommentVNode("",!0),s.value===void 0?(c.openBlock(),c.createElementBlock("span",VQ,c.toDisplayString(e.placeholder),1)):(c.openBlock(),c.createElementBlock("span",{key:2,class:"AVDropdown--selected-option",textContent:c.toDisplayString(s.value.label)},null,8,MQ)),c.createElementVNode("span",CQ,[c.createVNode(u,{icon:`fa-solid fa-${i.active?"caret-down":"caret-right"}`,class:"AVDropdown--selector-icon","data-test":"selector-icon"},null,8,["icon"])])],10,hQ),c.createVNode(p,null,{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,C=>(c.openBlock(),c.createBlock(d,{key:C,optionLabel:C.label,onOnSelected:g=>r(C.value),"data-test":"option"},null,8,["optionLabel","onOnSelected"]))),128))]),_:1})]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",gQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Gq=P(HQ,[["__scopeId","data-v-09756cc6"]]),bQ=["aria-labelledby"],LQ=c.defineComponent({__name:"AVDropdownContent",setup(e){const a=c.inject("sharedState"),t=c.computed(()=>a.active),n=c.computed(()=>a.id);return(i,l)=>(c.openBlock(),c.createBlock(c.Transition,{name:"dropdown-content"},{default:c.withCtx(()=>[t.value?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVDropdownContent","aria-labelledby":n.value},[c.renderSlot(i.$slots,"default",{},void 0,!0)],8,bQ)):c.createCommentVNode("",!0)]),_:3}))}});const Jq=P(LQ,[["__scopeId","data-v-e2058f66"]]),AQ=c.defineComponent({__name:"AVDropdownItem",props:{optionLabel:{type:String,required:!0}},emits:["onSelected"],setup(e,{emit:a}){const t=a,n=()=>{t("onSelected")};return(i,l)=>(c.openBlock(),c.createElementBlock("a",{class:"AVDropdownItem",onClick:n},c.toDisplayString(e.optionLabel),1))}});const Zq=P(AQ,[["__scopeId","data-v-2ca0bff3"]]),_Q={key:0,class:"AVAlert--header","data-test":"alert-header"},NQ={class:"AVAlert--title-container"},kQ={key:0,class:"AVAlert--icon-container"},xQ={class:"AVAlert--title"},yQ=c.defineComponent({__name:"AVAlert",props:{type:{type:String,validate:e=>["info","success","danger","warning"].includes(e),default:"info"},title:{type:String,default:""},icon:{type:String,default:""},disableIcon:{type:Boolean,default:!1},disableHeader:{type:Boolean,default:!1},disableDismiss:{type:Boolean,default:!1},customWidth:{type:Number,default:null},timeout:{type:String,default:null}},emits:["dismiss"],setup(e,{emit:a}){const t=e,n=a,i=()=>{n("dismiss")};c.onMounted(()=>{t.timeout&&setTimeout(()=>{i()},Number.parseInt(t.timeout))});const l={info:"Information",success:"Success",danger:"Danger",warning:"Warning"},s={info:"circle-info",success:"circle-check",danger:"circle-xmark",warning:"circle-exclamation"};return(r,o)=>{const f=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVAlert AVAlert--${e.type}`),style:c.normalizeStyle(e.customWidth&&`width: ${e.customWidth}px`),"data-test":"alert"},[e.disableHeader?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",_Q,[c.createElementVNode("div",NQ,[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",kQ,[c.createVNode(f,{icon:`fa-solid fa-${e.icon!==""?e.icon:s[e.type]}`,"data-test":"alert-icon"},null,8,["icon"])])),c.createElementVNode("span",xQ,c.toDisplayString(e.title!==""?e.title:l[e.type]),1)]),e.disableDismiss?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVAlert--icon-container",onClick:i},[c.createVNode(f,{icon:"fa-solid fa-xmark",class:"AVAlert--icon-dismiss","data-test":"alert-icon-dismiss"})]))])),c.renderSlot(r.$slots,"default",{},void 0,!0)],6)}}});const Yq=P(yQ,[["__scopeId","data-v-0cc3f6d1"]]),SQ={class:"AVFileInput--input-set"},wQ=["for"],EQ=["multiple","name","id","accept","disabled"],TQ={class:"AVFileInput--icon-container"},BQ=["for"],IQ={key:0},DQ={class:"AVFileInput--dragdroptext-primary"},PQ={key:1},OQ={class:"AVFileInput--dragdroptext-primary"},FQ={class:"AVFileInput--dragdroptext-secondary"},RQ={key:1,class:"AVFileInput--accepted"},jQ={class:"AVFileInput--accepted-muted"},qQ={key:2,class:"AVFileInput--preview-container"},$Q={class:"AVFileInput--label mt-3"},UQ={class:"AVFileInput--header"},WQ={class:"AVTextInput--preview"},GQ=["src"],JQ={class:"AVFileInput--preview-text"},ZQ=["onClick"],YQ={key:3,class:"AVFileInput--preview-container"},QQ={class:"AVFileInput--label mt-3"},KQ=["src","alt"],XQ={key:1,class:"AVFileInput--preview-card"},eK={class:"AVFileInput--header"},cK={class:"AVTextInput--preview"},aK={class:"AVFileInput--preview-text"},tK=["onClick"],nK={key:4,class:"AVFileInput--error","data-test":"error-msg"},iK=c.defineComponent({__name:"AVFileInput",props:{id:{type:String,required:!0},value:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},inputLabel:{type:String,default:"Input label"},disableLabel:{type:Boolean,default:!1},accept:{type:String,required:!0},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},showPreview:{type:Boolean,default:!1},tooltipText:{type:String,default:null},locale:{type:String,default:null},disableAcceptedFormats:{type:Boolean,default:!1},currentValue:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1}},emits:["update","fileFormatNotAccepted","download"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,l=c.ref(!1),s=c.ref(null),r=c.ref([]);c.onMounted(()=>{i.locale&&e1(i.locale),i.value&&(r.value=i.value)}),c.watch(()=>i.locale,()=>{i.locale&&e1(i.locale)},{deep:!0});const o=a,f=()=>{r.value=[...s.value.files],o("update",r.value)},m=b=>{b.preventDefault(),!i.disabled&&(l.value=!0)},u=()=>{l.value=!1},d=b=>{const _=Array.from(b),N=new DataTransfer;for(let x of _){const A=x.name.split(".").pop();if(C.value.includes(`.${A.toLowerCase()}`)){const R=new File([x],x.name,{type:x.type,lastModified:x.lastModified});N.items.add(R)}else o("fileFormatNotAccepted",x.name)}return N.files},p=c.computed(()=>i.accept.split(",")),V=c.computed(()=>i.accept.split(",").join(", ")),C=c.computed(()=>p.value.map(b=>b.toLocaleLowerCase())),g=b=>b.split("/").pop(),L=b=>{if(b.preventDefault(),!i.disabled){if(s.value.files=d(Array.from(b.dataTransfer.files)),!s.value.files.length){l.value=!1;return}r.value=i.multiple?[...s.value.files]:[s.value.files[0]],o("update",r.value),l.value=!1}},M=b=>{r.value.splice(b,1),o("update",r.value)},v=b=>{const _=URL.createObjectURL(b);return setTimeout(()=>{URL.revokeObjectURL(_)},1e3),_},H=b=>{o("download",b)};return(b,_)=>{const N=c.resolveComponent("AVIcon"),x=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",SQ,[e.disableLabel?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVFileInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(N,{key:0,icon:"circle-question",class:"AVFileInput--tooltip-icon"},null,512)),[[x,e.tooltipText]]):c.createCommentVNode("",!0)])],8,wQ)),c.createElementVNode("div",{class:c.normalizeClass(["AVFileInput--dropzone-container",{error:e.error,disabled:e.disabled}]),onDragover:m,onDragleave:u,onDrop:L},[c.createElementVNode("input",{type:"file",multiple:e.multiple,name:e.id,id:e.id,class:"AVFileInput-hidden-input",onChange:f,ref_key:"fileInput",ref:s,accept:e.accept,disabled:e.disabled},null,40,EQ),c.createElementVNode("div",TQ,[c.createVNode(N,{icon:"fa-solid fa-cloud-arrow-up",class:"AVFileInput--input-icon","data-test":"input-icon"})]),c.createElementVNode("label",{for:e.id,class:"AVFileInput--dragdroptext"},[l.value?(c.openBlock(),c.createElementBlock("div",IQ,[c.createElementVNode("div",DQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.release")),1)])):(c.openBlock(),c.createElementBlock("div",PQ,[c.createElementVNode("div",OQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.primary")),1),c.createElementVNode("div",FQ,[c.createTextVNode(c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.start"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.strong")),1),c.createTextVNode(" "+c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.end")),1)])]))],8,BQ)],34),e.disableAcceptedFormats?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("p",RQ,[c.createTextVNode(c.toDisplayString(c.unref(n)("js.components.AVFileInput.acceptedFormats"))+" ",1),c.createElementVNode("em",jQ,c.toDisplayString(V.value),1)])),r.value.length?(c.openBlock(),c.createElementBlock("div",qQ,[c.createElementVNode("p",$Q,c.toDisplayString(c.unref(n)("js.components.AVFileInput.uploading")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value,A=>(c.openBlock(),c.createElementBlock("div",{key:A.name,class:c.normalizeClass(["AVFileInput--preview-card",{error:e.error}])},[c.createElementVNode("div",UQ,[c.createElementVNode("div",WQ,[e.showPreview?(c.openBlock(),c.createElementBlock("img",{key:0,class:"AVFileInput--preview-img",src:v(A)},null,8,GQ)):(c.openBlock(),c.createBlock(N,{key:1,icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"}))]),c.createElementVNode("p",JQ,[c.createTextVNode(c.toDisplayString(A.name)+" ",1),c.createElementVNode("em",null,c.toDisplayString(Math.round(A.size/1e3)+"kb"),1)])]),e.disabled?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVTextInput--delete-btn",type:"button",onClick:E=>M(r.value.indexOf(A)),title:"Remove file"},[c.createVNode(N,{icon:"fa-solid fa-trash",class:"AVTextInput--delete-icon","data-test":"file-preview-icon"})],8,ZQ))],2))),128))])):c.createCommentVNode("",!0),e.currentValue.length?(c.openBlock(),c.createElementBlock("div",YQ,[c.createElementVNode("p",QQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.current")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.currentValue,A=>(c.openBlock(),c.createElementBlock("div",{key:`image-${A}`},[e.showPreview?(c.openBlock(),c.createElementBlock("img",{key:0,class:"AVFileInput--current-img",src:A,alt:c.unref(n)("js.components.AVFileInput.alt_preview")},null,8,KQ)):(c.openBlock(),c.createElementBlock("div",XQ,[c.createElementVNode("div",eK,[c.createElementVNode("div",cK,[c.createVNode(N,{icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"})]),c.createElementVNode("p",aK,c.toDisplayString(g(A)),1)]),c.createElementVNode("button",{class:"AVTextInput--delete-btn",type:"button",title:"Download file",onClick:E=>H(A)},[c.createVNode(N,{icon:"fa-solid fa-download",class:"AVTextInput--download-icon","data-test":"file-download-icon"})],8,tK)]))]))),128))])):c.createCommentVNode("",!0),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",nK,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Qq=P(iK,[["__scopeId","data-v-304366be"]]),lK=e=>(c.pushScopeId("data-v-065c2914"),e=e(),c.popScopeId(),e),sK=["for"],rK=["id","checked","disabled"],oK=lK(()=>c.createElementVNode("span",{class:"AVRadio--mark"},null,-1)),fK=c.defineComponent({__name:"AVRadio",props:{id:{type:String,required:!0},disabled:{type:Boolean,default:!1},value:{type:String,required:!0},checked:{type:Boolean,default:!1}},emits:["update"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1);c.onMounted(()=>{t.checked&&(i.value=t.checked)});const l=()=>{i.value=!i.value,s()},s=()=>{n("update",t.value,i.value)};return c.watch(()=>t.checked,()=>{i.value=t.checked}),(r,o)=>(c.openBlock(),c.createElementBlock("label",{for:e.id,class:c.normalizeClass(["AVRadio",{disabled:e.disabled}])},[c.createElementVNode("input",{type:"radio",id:e.id,checked:i.value,onChange:l,disabled:e.disabled},null,40,rK),oK,c.createTextVNode(" "+c.toDisplayString(e.value),1)],10,sK))}});const Kq=P(fK,[["__scopeId","data-v-065c2914"]]),uK=["href","referrerpolicy","rel","target"],mK=c.defineComponent({__name:"AVLink",props:{label:{type:String,default:"Link"},disableIcon:{type:Boolean,default:!1},href:{type:String,required:!0},referrerpolicy:{type:String,validate:e=>["no-referrer","no-referrer-when-downgrade","origin","origin-when-cross-origin","same-origin","strict-origin-when-cross-origin","unsafe-url"].includes(e),default:"no-referrer"},rel:{type:String,validate:e=>["alternate","author","bookmark","external","help","license","next","nofollow","noreferrer","noopener","prev","search","tag"].includes(e),default:"external"},target:{type:String,validate:e=>["_blank","_parent","_self","_top"].includes(e),default:"_blank"},variant:{type:String,validate:e=>["default","dbas"].includes(e),default:"default"}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("a",{href:e.href,referrerpolicy:e.referrerpolicy,rel:e.rel,target:e.target,class:c.normalizeClass(`AVLink AVLink--${e.variant}`)},[c.createElementVNode("span",null,c.toDisplayString(e.label),1),e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(n,{key:0,icon:"fa-solid fa-arrow-up-right-from-square",class:"AVLink--icon","data-test":"link-icon"}))],10,uK)}}});const Xq=P(mK,[["__scopeId","data-v-999075bc"]]),dK=["href","target"],pK={class:"AVNavbarItem--text"},vK=["disabled"],hK={class:"AVNavbarItem--text"},zK=c.defineComponent({__name:"AVNavbarItem",props:{label:{type:String,default:"Item"},reference:{type:String,default:null},icon:{type:String,default:"bolt"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},href:{type:String,default:null},disableIcon:{type:Boolean,default:!1},customWidth:{type:Number,default:180},target:{type:String,validate:e=>["_blank"].includes(e),default:"_self"}},emits:["onClick"],setup(e,{emit:a}){const t=e,n=a,i=c.computed(()=>t.href?"link":"button"),l=c.computed(()=>t.disabled?null:t.href),s=()=>{n("onClick",t.reference)};return(r,o)=>{const f=c.resolveComponent("AVIcon");return i.value==="link"?(c.openBlock(),c.createElementBlock("a",{key:0,href:l.value,class:c.normalizeClass(["AVNavbarItem",{"AVNavbarItem--active":e.active,disabled:e.disabled}]),target:e.target,style:c.normalizeStyle(`width: ${e.customWidth}px`)},[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(f,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVNavbarItem--icon"},null,8,["icon"])),c.createElementVNode("span",pK,c.toDisplayString(e.label),1)],14,dK)):(c.openBlock(),c.createElementBlock("button",{key:1,class:c.normalizeClass(["AVNavbarItem",{"AVNavbarItem--active":e.active,disabled:e.disabled}]),style:c.normalizeStyle(`width: ${e.customWidth}px`),disabled:e.disabled,onClick:s},[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(f,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVNavbarItem--icon"},null,8,["icon"])),c.createElementVNode("span",hK,c.toDisplayString(e.label),1)],14,vK))}}});const e$=P(zK,[["__scopeId","data-v-00ff3c9d"]]),VK=["href","target","aria-label"],MK={class:"AVSidebarItem--text","aria-hidden":"true"},CK=["disabled","aria-label"],gK={class:"AVSidebarItem--text","aria-hidden":"true"},HK=c.defineComponent({__name:"AVSidebarItem",props:{label:{type:String,default:"Item"},type:{type:String,validate:e=>["step","item"].includes(e),default:"item"},stepIndex:{type:String,validate:e=>e.length===1,default:"1"},reference:{type:String,default:null},icon:{type:String,default:"bolt"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},href:{type:String,default:null},target:{type:String,validate:e=>["_blank"].includes(e),default:"_self"}},emits:["onClick"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1),l=c.computed(()=>t.href?"link":"button"),s=c.computed(()=>t.disabled?null:t.href),r=c.computed(()=>t.type==="step"?"number":"icon"),o=c.computed(()=>t.type==="step"?t.stepIndex:t.icon),f=()=>{t.disabled||(i.value=!i.value)},m=()=>{n("onClick",t.reference)};return(u,d)=>l.value==="link"?(c.openBlock(),c.createElementBlock("a",{key:0,href:s.value,class:c.normalizeClass(["AVSidebarItem",{"AVSidebarItem--active":e.active,disabled:e.disabled}]),target:e.target,onMouseenter:f,onMouseleave:f,"aria-label":e.label,role:"button"},[c.createVNode(c.unref(V4),{type:r.value,active:e.active,value:o.value,hover:i.value,"aria-hidden":"true"},null,8,["type","active","value","hover"]),c.createElementVNode("span",MK,c.toDisplayString(e.label),1)],42,VK)):(c.openBlock(),c.createElementBlock("button",{key:1,class:c.normalizeClass(["AVSidebarItem",{"AVSidebarItem--active":e.active,disabled:e.disabled}]),disabled:e.disabled,onClick:m,onMouseenter:f,onMouseleave:f,"aria-label":e.label},[c.createVNode(c.unref(V4),{type:r.value,active:e.active,value:o.value,hover:i.value,"aria-hidden":"true"},null,8,["type","active","value","hover"]),c.createElementVNode("span",gK,c.toDisplayString(e.label),1)],42,CK))}});const c$=P(HK,[["__scopeId","data-v-3e891e66"]]),bK={class:"AVTooltip--wrapper"},LK={key:0,class:"AVTooltip--text"},AK=c.defineComponent({__name:"AVTooltip",props:{text:{type:String,default:()=>null},content:{type:String,required:!0},position:{type:String,validate:e=>["auto","auto-start","auto-end","top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"].includes(e),default:"auto"},icon:{type:String,default:()=>null},disabled:{type:Boolean,default:()=>!1},options:{type:Object,default:()=>{}}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon"),i=c.resolveDirective("tooltip");return c.withDirectives((c.openBlock(),c.createElementBlock("span",bK,[e.text?(c.openBlock(),c.createElementBlock("span",LK,c.toDisplayString(e.text),1)):c.renderSlot(a.$slots,"text",{key:1},void 0,!0),e.icon?(c.openBlock(),c.createBlock(n,{key:2,icon:e.icon,class:"AVTooltip--icon","aria-hidden":"true"},null,8,["icon"])):c.createCommentVNode("",!0)])),[[i,{content:e.content,placement:e.position,disabled:e.disabled,...e.options}]])}}});const a$=P(AK,[["__scopeId","data-v-3d675f68"]]),_K={class:"AVMenuDropdown"},NK=["id","aria-expanded","aria-label"],kK=c.defineComponent({__name:"AVMenuDropdown",props:{icon:{type:String,default:"bolt"},options:{type:Array,required:!0},ariaLabel:{type:String,required:!0},id:{type:String,required:!0}},setup(e){const a=e,t=c.reactive({active:!1,id:null});c.onMounted(()=>{t.id=a.id});const n=()=>{t.active=!t.active};return c.provide("sharedState",t),(i,l)=>{const s=c.resolveComponent("AVIcon"),r=c.resolveComponent("AVMenuDropdownItem"),o=c.resolveComponent("AVMenuDropdownContent");return c.openBlock(),c.createElementBlock("div",_K,[c.createElementVNode("button",{class:"AVMenuDropdown--button",onClick:n,id:e.id,"aria-haspopup":"true","aria-expanded":t.active||"false","data-toggle":"dropdown",type:"button","aria-label":e.ariaLabel},[t.active?(c.openBlock(),c.createBlock(s,{key:1,icon:"fa-solid fa-xmark",class:"AVMenuDropdown--icon","data-test":"main-icon"})):(c.openBlock(),c.createBlock(s,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVMenuDropdown--icon","data-test":"main-icon"},null,8,["icon"]))],8,NK),c.createVNode(o,null,{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.options,(f,m)=>(c.openBlock(),c.createBlock(r,{key:m,optionLabel:f.label,href:f.href,destructive:f.destructive,icon:f.icon,"data-test":"option"},null,8,["optionLabel","href","destructive","icon"]))),128))]),_:1})])}}});const t$=P(kK,[["__scopeId","data-v-6c23aaa1"]]),xK=["aria-labelledby"],yK=c.defineComponent({__name:"AVMenuDropdownContent",setup(e){const a=c.inject("sharedState"),t=c.computed(()=>a.active),n=c.computed(()=>a.id);return(i,l)=>(c.openBlock(),c.createBlock(c.Transition,{name:"dropdown-content"},{default:c.withCtx(()=>[t.value?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVMenuDropdownContent","aria-labelledby":n.value},[c.renderSlot(i.$slots,"default",{},void 0,!0)],8,xK)):c.createCommentVNode("",!0)]),_:3}))}});const n$=P(yK,[["__scopeId","data-v-e8fb623b"]]),SK=["href"],wK=c.defineComponent({__name:"AVMenuDropdownItem",props:{optionLabel:{type:String,required:!0},href:{type:String,required:!0},destructive:{type:Boolean,default:!1},icon:{type:String,default:null}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("a",{class:c.normalizeClass(["AVMenuDropdownItem",{"AVMenuDropdownItem--destructive":e.destructive}]),href:e.href},[e.icon?(c.openBlock(),c.createBlock(n,{key:0,class:"AVMenuDropdownItem--icon",icon:`fa-solid fa-${e.icon}`,"data-test":"option-icon"},null,8,["icon"])):c.createCommentVNode("",!0),c.createTextVNode(" "+c.toDisplayString(e.optionLabel),1)],10,SK)}}});const i$=P(wK,[["__scopeId","data-v-8513fa9b"]]),EK=["disabled"],TK={class:"AVAsyncButton--label"},BK=c.defineComponent({__name:"AVAsyncButton",props:{label:{type:String,default:""},size:{type:String,validate:e=>["small","regular","large"].includes(e),default:"regular"},variant:{type:String,validate:e=>["default","success","error"].includes(e),default:"default"},defaultIcon:{type:String,default:null},successIcon:{type:String,default:null},errorIcon:{type:String,default:null},disabled:{type:Boolean,default:!1},onClick:{type:Function,default:()=>new Promise(e=>setTimeout(e,500))}},emits:["update:waiting"],setup(e,{emit:a}){const t=a,n=e,i=c.ref(!1);c.watch(i,o=>t("update:waiting",o));const l=c.computed(()=>{if(!i.value)switch(n.variant){case"default":return n.defaultIcon;case"error":return n.errorIcon;case"success":return n.successIcon;default:return null}}),s=c.computed(()=>n.disabled||i.value);async function r(o){i.value=!0;try{await Promise.resolve(n.onClick(o))}finally{i.value=!1}}return(o,f)=>{const m=c.resolveComponent("AVIcon"),u=c.resolveComponent("AVSpinner");return c.openBlock(),c.createElementBlock("button",{disabled:s.value,onClick:r,class:c.normalizeClass(["AVAsyncButton",{[`AVAsyncButton--${e.variant}`]:e.variant,[`AVAsyncButton--${e.size}`]:e.size,"AVAsyncButton--waiting":i.value,"AVAsyncButton--disabled":!i.value&&s.value}])},[i.value?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.renderSlot(o.$slots,"waitingIcon",{},()=>[c.createVNode(u,{style:{color:"inherit",height:"1em",width:"1em"},class:"AVAsyncButton--icon","data-test":"btn-spinner"})],!0),c.renderSlot(o.$slots,"waitingLabel",{},()=>[c.createTextVNode("Working...")],!0)],64)):c.renderSlot(o.$slots,"default",{key:0},()=>[l.value?(c.openBlock(),c.createBlock(m,{key:0,icon:l.value,class:"AVAsyncButton--icon","data-test":"btn-icon"},null,8,["icon"])):c.createCommentVNode("",!0),c.createElementVNode("span",TK,c.toDisplayString(e.label),1)],!0)],10,EK)}}});const l$=P(BK,[["__scopeId","data-v-7439a7ec"]]),IK={class:"AVTabSwitcher"},DK=["disabled","onClick"],PK=c.defineComponent({__name:"AVTabSwitcher",props:{options:{type:Array,required:!0,validate:e=>e.length>2&&e.length<3},selected:{type:String,default:null},disabled:{type:Array,default:null,validate:e=>e.length>1&&e.length<2}},emits:["update"],setup(e,{emit:a}){const t=e,n=c.ref([]),i=c.ref(""),l=c.computed(()=>t.options.length===2?"AVTabSwitcher--double":"AVTabSwitcher--triple");c.onMounted(()=>s());const s=()=>{n.value=[],t.options.map(d=>n.value.push({value:d,selected:!1})),t.selected?r(t.selected):n.value[0].selected=!0,t.disabled&&o()},r=d=>{n.value.map(p=>{p.value===d?(p.selected=!0,i.value=p.value):p.selected=!1})},o=()=>{if(n.value.map(d=>d.disabled=!1),t.disabled)n.value.map(d=>{t.disabled.map(p=>p===d.value?d.disabled=!0:d)});else return},f=a,m=d=>{r(d),u()},u=()=>{f("update",i.value,n.value)};return c.watch(()=>t.options,()=>s()),c.watch(()=>t.selected,()=>{i.value=t.selected,r(t.selected)}),c.watch(()=>t.disabled,()=>o()),(d,p)=>(c.openBlock(),c.createElementBlock("div",IK,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,V=>(c.openBlock(),c.createElementBlock("button",{key:V.value,class:c.normalizeClass(`AVTabSwitcher--button ${l.value} ${V.selected?"AVTabSwitcher--button-active":""} ${V.disabled?"disabled":""}`),disabled:V.disabled,onClick:C=>m(V.value)},c.toDisplayString(V.value),11,DK))),128))]))}});const s$=P(PK,[["__scopeId","data-v-3c4a2127"]]),OK={class:"AVBallotSummary"},FK={class:"AVBallotSummary--name-column"},RK={class:"AVBallotSummary--status-column"},jK=c.defineComponent({__name:"AVBallotSummary",props:{ballotStyleName:{type:String,required:!0},readyLabel:{type:String,required:!0},waitingLabel:{type:String,required:!0},currentBallots:{type:Number,required:!0},minimumBallots:{type:Number,required:!0}},setup(e){const a=e,t=c.computed(()=>a.currentBallots>=a.minimumBallots),n=c.computed(()=>a.minimumBallots-a.currentBallots);return(i,l)=>{const s=c.resolveComponent("AVIcon"),r=c.resolveComponent("AVSpinner");return c.openBlock(),c.createElementBlock("div",OK,[c.createElementVNode("div",FK,[c.createVNode(s,{icon:`fa-solid fa-${t.value?"file-circle-check":"file-circle-minus"}`,class:c.normalizeClass(["AVBallotSummary--icon",{"AVBallotSummary--icon-ready":t.value}]),"data-test":"ballot-icon"},null,8,["icon","class"]),c.createElementVNode("span",{class:c.normalizeClass(["AVBallotSummary--ballot-name",{"AVBallotSummary--name-ready":t.value}])},c.toDisplayString(e.ballotStyleName),3)]),c.createElementVNode("div",RK,[t.value?(c.openBlock(),c.createBlock(s,{key:0,icon:"fa-solid fa-circle-check",class:"AVBallotSummary--icon AVBallotSummary--icon-ready","data-test":"ballot-status-icon"})):(c.openBlock(),c.createBlock(r,{key:1,color:"neutral","data-test":"ballot-spinner"})),c.createElementVNode("span",{class:c.normalizeClass(["AVBallotSummary--ballot-status",{"AVBallotSummary--status-ready":t.value}])},c.toDisplayString(t.value?`${e.currentBallots} ${e.readyLabel}`:`${n.value} ${e.waitingLabel}`),3)])])}}});const r$=P(jK,[["__scopeId","data-v-2d7c011c"]]),qK={class:"AVTimedCard--content","data-test":"content"},$K={class:"AVTimedCard--progress","data-test":"progress-container"},UK=c.defineComponent({__name:"AVTimedCard",props:{timeout:{type:Number,required:!0},customWidth:{type:Number,default:600},expirationMessage:{type:String,default:"The passkey will expire in "},customWarningTime:{type:Number,default:15}},emits:["expired"],setup(e,{emit:a}){const t=e;c.onMounted(()=>{i()});const n=c.ref(0),i=()=>{const u=setInterval(()=>{n.value=n.value+1,n.value>=t.timeout&&(clearInterval(u),l("expired",!0,t.timeout))},1e3)},l=a,s=c.computed(()=>100-n.value/t.timeout*100),r=c.computed(()=>Math.floor((t.timeout-n.value)/60)),o=c.computed(()=>(t.timeout-n.value)%60),f=c.computed(()=>r.value%60),m=c.computed(()=>o.value<10?`${f.value}:0${o.value}`:`${f.value}:${o.value}`);return(u,d)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:"AVTimedCard",style:c.normalizeStyle(`width: ${e.customWidth}px`)},[c.createElementVNode("div",qK,[c.renderSlot(u.$slots,"default",{},void 0,!0)]),c.createElementVNode("div",$K,[c.createElementVNode("div",{class:c.normalizeClass(["AVTimedCard--progress-bar",{"AVTimedCard--progress-bar-warning":e.timeout-n.value<=e.customWarningTime}]),style:c.normalizeStyle(`width: ${s.value}%`),"data-test":"progress-bar"},null,6)])],4),c.createElementVNode("span",{class:c.normalizeClass(["AVTimedCard--help-text",{"AVTimedCard--help-text-warning":e.timeout-n.value<=e.customWarningTime}]),"data-test":"help-text"},[c.createTextVNode(c.toDisplayString(e.expirationMessage),1),c.createElementVNode("strong",null,c.toDisplayString(m.value),1)],2)],64))}});const o$=P(UK,[["__scopeId","data-v-7d0d595b"]]),WK=e=>(c.pushScopeId("data-v-dbd25d5c"),e=e(),c.popScopeId(),e),GK={class:"AVBasicSteps"},JK=WK(()=>c.createElementVNode("span",{class:"AVBasicSteps--line","data-test":"separator"},null,-1)),ZK={key:0,class:"AVBasicSteps--line","data-test":"separator"},YK=c.defineComponent({__name:"AVBasicSteps",props:{steps:{type:Array,required:!0,validate:e=>e.length>2&&e.length<3},active:{type:String,required:!0}},setup(e){const a=e,t=n=>n===a.active;return(n,i)=>(c.openBlock(),c.createElementBlock("div",GK,[c.createElementVNode("span",{class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[0])}]),"data-test":"step"},c.toDisplayString(e.steps[0]),3),JK,c.createElementVNode("span",{class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[1])}]),"data-test":"step"},c.toDisplayString(e.steps[1]),3),e.steps.length===3?(c.openBlock(),c.createElementBlock("span",ZK)):c.createCommentVNode("",!0),e.steps.length===3?(c.openBlock(),c.createElementBlock("span",{key:1,class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[2])}]),"data-test":"step"},c.toDisplayString(e.steps[2]),3)):c.createCommentVNode("",!0)]))}});const f$=P(YK,[["__scopeId","data-v-dbd25d5c"]]),QK={class:"AVSteps"},KK={key:0,class:"AVSteps--step--icon-container AVSteps--step-circle"},XK=c.defineComponent({__name:"AVSteps",props:{steps:{type:Array,required:!0},active:{type:String,default:null},done:{type:Array,default:null}},setup(e){c.useCssVars(s=>({"3e5060db":l.value}));const a=e,t=c.ref([]),n=()=>{t.value=[],a.steps.map(s=>{t.value.push({value:s,active:s===a.active,done:i(s)})})},i=s=>a.done?a.done.includes(s):!1;c.onMounted(()=>{n()}),c.watch(()=>a.steps,()=>n()),c.watch(()=>a.active,()=>n()),c.watch(()=>a.done,()=>n());const l=c.computed(()=>`${100/a.steps.length}%`);return(s,r)=>{const o=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",QK,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.value,(f,m)=>(c.openBlock(),c.createElementBlock("div",{key:m,class:c.normalizeClass(`${t.value.length!==m+1?"AVSteps--step":"AVSteps--step-last"} ${f.active?"AVSteps--step-active":""}`),"data-test":"step"},[f.done?(c.openBlock(),c.createElementBlock("div",KK,[c.createVNode(o,{icon:"fa-solid fa-check",class:"AVSteps--step-icon"})])):(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["AVSteps--step--number-container",{"AVSteps--step-circle":t.value.length!==m+1,"AVSteps--step--number-container-active":f.active}])},c.toDisplayString(m+1),3)),c.createElementVNode("span",{class:c.normalizeClass(["AVSteps--step-label",{"AVSteps--step-label-active":f.active}])},c.toDisplayString(f.value),3)],2))),128))])}}});const u$=P(XK,[["__scopeId","data-v-89e22cbe"]]),m$=e=>(c.pushScopeId("data-v-59ee2583"),e=e(),c.popScopeId(),e),eX=["aria-label"],cX={key:0,"aria-hidden":"true"},aX={key:1,width:"26",height:"26",stroke:"white","stroke-width":"0.25rem"},tX=m$(()=>c.createElementVNode("line",{x1:"25%",y1:"25%",x2:"75%",y2:"75%"},null,-1)),nX=m$(()=>c.createElementVNode("line",{x1:"75%",y1:"25%",x2:"25%",y2:"75%"},null,-1)),iX=[tX,nX],lX=c.defineComponent({__name:"AVOptionSelect",props:{checked:{type:Boolean,default:!1},rank:{type:[Number,null],default:null},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),t=c.computed(()=>a.global.locale.value||a.global.locale),n=e;c.onMounted(()=>{n.locale&&e1(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&e1(n.locale)},{deep:!0});const i=c.computed(()=>n.rank?document.getElementsByTagName("html")[0].dir==="rtl"?`${n.rank} ${a.global.messages.value?a.global.messages.value[t.value].js.components.AVOptionSelect.aria_label:a.global.messages[t.value].js.components.AVOptionSelect.aria_label}`:`${a.global.messages.value?a.global.messages.value[t.value].js.components.AVOptionSelect.aria_label:a.global.messages[t.value].js.components.AVOptionSelect.aria_label} ${n.rank}`:"");return(l,s)=>c.withDirectives((c.openBlock(),c.createElementBlock("div",{class:"AVOptionSelect","aria-label":i.value},[e.rank?(c.openBlock(),c.createElementBlock("span",cX,c.toDisplayString(e.rank),1)):(c.openBlock(),c.createElementBlock("svg",aX,iX))],8,eX)),[[c.vShow,e.checked]])}});const d$=P(lX,[["__scopeId","data-v-59ee2583"]]),sX={class:"AVOptionCheckbox--container"},rX={key:0,class:"AVOptionCheckbox--exclusive-container"},oX={class:"AVOptionCheckbox--exclusive"},fX=["aria-checked","tabindex","aria-disabled","disabled","onKeydown"],uX=c.defineComponent({__name:"AVOptionCheckbox",props:{checked:{type:Boolean,required:!0},optionReference:{type:String,default:""},checkBoxIndex:{type:Number,default:1},rank:{type:[Number,null],default:null},disabled:{type:Boolean,default:!1},invalid:{type:Boolean,default:!1},exclusiveError:{type:Boolean,default:!1},locale:{type:String,default:null}},emits:["toggled"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,l=a;c.onMounted(()=>{i.locale&&e1(i.locale)}),c.watch(()=>i.locale,()=>{i.locale&&e1(i.locale)},{deep:!0});const s=()=>l("toggled"),r=c.computed(()=>i.optionReference?{id:`option_${i.optionReference}_checkbox_${i.checkBoxIndex}`,role:"checkbox","aria-labelledby":`option_${i.optionReference}_title option_${i.optionReference}_tick option_${i.optionReference}_subtitle`,"aria-describedby":`option_${i.optionReference}_description option_${i.optionReference}_handle`,tabindex:0}:{});return(o,f)=>{const m=c.resolveComponent("AVOptionSelect");return c.openBlock(),c.createElementBlock("div",sX,[e.exclusiveError&&e.checked?(c.openBlock(),c.createElementBlock("div",rX,[c.createElementVNode("div",oX,c.toDisplayString(c.unref(n)("js.components.AVOptionCheckbox.exclusive_option")),1)])):c.createCommentVNode("",!0),c.createElementVNode("button",c.mergeProps({class:{AVOptionCheckbox:!0,"AVOptionCheckbox--checked":e.checked,"AVOptionCheckbox--disabled":e.disabled,"AVOptionCheckbox--error":(e.exclusiveError||e.invalid)&&e.checked},"aria-checked":e.checked?!0:null,tabindex:e.disabled?null:0,"aria-disabled":e.disabled||null,disabled:e.disabled},r.value,{onClick:c.withModifiers(s,["stop"]),onKeydown:c.withKeys(c.withModifiers(s,["prevent"]),["space","enter"])}),[e.checked?(c.openBlock(),c.createBlock(m,{key:0,id:`option_${e.optionReference}_tick`,rank:e.rank,checked:e.checked},null,8,["id","rank","checked"])):c.createCommentVNode("",!0)],16,fX)])}}});const p$=P(uX,[["__scopeId","data-v-41bf0e6f"]]),v$=c.defineComponent({__name:"AVTransitionSlide",props:{skipTransition:{type:Boolean,default:!1}},setup(e){const a=e,t=l=>{if(a.skipTransition)return;l.style.height="auto";const s=getComputedStyle(l).height;l.style.height="0",getComputedStyle(l).height,setTimeout(()=>{l.style.height=s})},n=l=>{l.style.height="auto"},i=l=>{if(a.skipTransition)return;const s=getComputedStyle(l).height;l.style.height=s,getComputedStyle(l).height,setTimeout(()=>{l.style.height="0"})};return(l,s)=>(c.openBlock(),c.createBlock(c.Transition,{name:"slide-fade",onEnter:t,onLeave:i,onAfterEnter:n},{default:c.withCtx(()=>[c.renderSlot(l.$slots,"default")]),_:3}))}}),mX=["aria-controls","aria-expanded"],dX=["id","aria-hidden"],pX=c.defineComponent({__name:"AVCollapser",props:{collapsable:{type:Boolean,default:!1},startCollapsed:{type:Boolean,default:!1},paneId:{type:String,default:"option_reference_children"}},emits:["accordionOpen"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1),l=c.ref(!0),s=c.computed(()=>({collapsable:t.collapsable,startCollapsed:t.startCollapsed}));c.onMounted(()=>{const{collapsable:o,startCollapsed:f}=s.value;i.value=o&&!f});const r=(o=null,f=!0)=>{t.collapsable&&(l.value=f,o===null?i.value=!i.value:i.value=!!o,i.value&&n("accordionOpen"))};return(o,f)=>{const m=c.resolveComponent("AVTransitionSlide");return e.collapsable?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createElementVNode("div",{role:"button","aria-controls":e.paneId,tabindex:"0","aria-expanded":i.value||null,class:"AVCollapser",onClick:f[0]||(f[0]=u=>r()),onKeypress:f[1]||(f[1]=c.withKeys(c.withModifiers(u=>r(),["prevent"]),["space","enter"]))},[c.renderSlot(o.$slots,"toggle",{isOpen:i.value,collapsable:e.collapsable},void 0,!0)],40,mX),c.renderSlot(o.$slots,"results",{},void 0,!0),c.createVNode(m,{"skip-transition":!l.value},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{id:e.paneId,"aria-hidden":!i.value||null},[c.renderSlot(o.$slots,"pane",{isOpen:i.value,toggleCollapse:r},void 0,!0)],8,dX),[[c.vShow,i.value]])]),_:3},8,["skip-transition"])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.renderSlot(o.$slots,"toggle",{isOpen:!0,collapsable:!1},void 0,!0),c.renderSlot(o.$slots,"results",{},void 0,!0),c.renderSlot(o.$slots,"pane",{isOpen:!0,toggleCollapse:r},void 0,!0)],64))}}});const h$=P(pX,[["__scopeId","data-v-0dc18787"]]),vX=c.defineComponent({__name:"AVLinkVisualizer",props:{link:{type:Object,required:!0},large:{type:Boolean,default:!1}},setup(e){const a=e,t={github:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?github\.com\//gm),instagram:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?instagram\.com\//gm),linkedin:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?linkedin\.com\/(in|profile|pub)\//gm),twitter:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?(twitter\.|x\.)com\//gm),envelope:new RegExp(/mailto:([^]*)/gm),facebook:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?facebook.com\//gm),vimeo:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?vimeo\.com\//gm),youtube:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?((?:youtube(-nocookie)?\.com|youtu.be))\//gm),tiktok:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?tiktok\.com\//gm)},n=c.computed(()=>{let l="link";return Object.keys(t).map(s=>{t[s].test(a.link.attributes.url)&&(l=s)}),l}),i=l=>window.open(l,"_blank").focus();return(l,s)=>{const r=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["AVLinkVisualizer AVLinkVisualizer--themed-btn",{"AVLinkVisualizer--large":e.large}]),onClick:s[0]||(s[0]=o=>i(e.link.attributes.url))},[c.createVNode(r,{icon:n.value,class:"AVLinkVisualizer--icon"},null,8,["icon"]),c.createElementVNode("span",null,c.toDisplayString(e.link.attributes.name),1)],2)}}});const z$=P(vX,[["__scopeId","data-v-eb8f518d"]]),hX={class:"AVVerticalStep"},zX={class:"AVVerticalStep--container"},VX={key:0,class:"AVVerticalStep--text"},MX=c.defineComponent({__name:"AVVerticalStep",props:{stepNumber:{type:Number,validate:e=>e>=1&&e<=9,required:!0},status:{type:String,validate:e=>["default","active","done"].includes(e),default:"default"},title:{type:String,required:!0},subtitle:{type:String,default:null},collapsed:{type:Boolean,default:!1},hasNextStep:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",hX,[c.createElementVNode("div",zX,[c.createElementVNode("div",{class:c.normalizeClass(`AVVerticalStep--step AVVerticalStep--step-${e.status}`),"data-test":"step-circle"},[c.createVNode(n,{icon:e.status==="done"?"check":`${e.stepNumber}`,class:"AVVerticalStep--icon","data-test":"step-icon"},null,8,["icon"])],2),c.createVNode(c.Transition,null,{default:c.withCtx(()=>[e.collapsed?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",VX,[c.createElementVNode("span",{class:c.normalizeClass(`AVVerticalStep--title AVVerticalStep--text-${e.status}`),"data-test":"step-title"},c.toDisplayString(e.title),3),e.subtitle?(c.openBlock(),c.createElementBlock("span",{key:0,class:c.normalizeClass(`AVVerticalStep--subtitle AVVerticalStep--text-${e.status}`),"data-test":"step-subtitle"},c.toDisplayString(e.subtitle),3)):c.createCommentVNode("",!0)]))]),_:1})]),e.hasNextStep?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(`AVVerticalStep--line AVVerticalStep--line-${e.status}`),"data-test":"step-line"},null,2)):c.createCommentVNode("",!0)])}}});const CX=P(MX,[["__scopeId","data-v-4cec470a"]]),$t=e=>(c.pushScopeId("data-v-90e59491"),e=e(),c.popScopeId(),e),gX=$t(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),HX=$t(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),bX=$t(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),LX=[gX,HX,bX],AX=c.defineComponent({__name:"AVAnimatedMenuButton",props:{isOpened:{type:Boolean,default:!1}},emits:["update:isOpened"],setup(e,{emit:a}){const t=a;return(n,i)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["AVAnimatedMenuButton",{"AVAnimatedMenuButton--opened":e.isOpened}]),onClick:i[0]||(i[0]=l=>t("update:isOpened",!e.isOpened))},[c.createElementVNode("span",{class:c.normalizeClass(["AVAnimatedMenuButton--icon",{"AVAnimatedMenuButton--icon-opened":e.isOpened}])},LX,2)],2))}});const _X=P(AX,[["__scopeId","data-v-90e59491"]]),NX={class:"AVRadioGroup--input-set"},kX=["for"],xX={key:1,class:"AVRadioGroup--error","data-test":"error-msg"},yX=c.defineComponent({__name:"AVRadioGroup",props:{id:{type:String,required:!0},options:{type:Array,required:!0},initialValue:{type:String,default:null},disabled:{type:Array,default:null},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:"Input label"},disableLabel:{type:Boolean,default:!1},orientation:{type:String,validate:e=>["vertical","horizontal"].includes(e),default:"horizontal"}},emits:["update"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(""),l=c.ref([]),s=m=>{l.value.map(u=>{u.value===m?(u.checked=!0,i.value=u.value):u.checked=!1})},r=()=>{if(l.value.map(m=>m.disabled=!1),t.disabled)l.value.map(m=>{t.disabled.map(u=>u===m.value?m.disabled=!0:m)});else return};c.onMounted(()=>{t.options.map(m=>l.value.push({value:m,checked:!1})),t.initialValue&&s(t.initialValue),t.disabled&&r()});const o=m=>{s(m),f()},f=()=>{n("update",i.value,l.value)};return c.watch(()=>t.initialValue,()=>{i.value=t.initialValue,s(t.initialValue)}),c.watch(()=>t.disabled,()=>{r()}),(m,u)=>{const d=c.resolveComponent("AVRadio");return c.openBlock(),c.createElementBlock("div",NX,[e.disableLabel?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVRadioGroup--label","data-test":"input-label"},c.toDisplayString(e.inputLabel),9,kX)),c.createElementVNode("div",{class:c.normalizeClass(`AVRadioGroup--${e.orientation}`),"data-test":"input-group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,(p,V)=>(c.openBlock(),c.createBlock(d,{class:"AVRadioGroup--child",id:`radio-${e.id}-${V}`,key:V,value:p.value,checked:p.checked,disabled:p.disabled,onUpdate:C=>o(p.value)},null,8,["id","value","checked","disabled","onUpdate"]))),128))],2),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",xX,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const V$=P(yX,[["__scopeId","data-v-74ff59b8"]]),SX=c.defineComponent({__name:"AVNavigationItemList",props:{type:{type:String,validate:e=>["navbar","sidebar"].includes(e),default:"navbar"}},setup(e){return(a,t)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVNavigationItemList AVNavigationItemList--${e.type}`)},[c.renderSlot(a.$slots,"default",{},void 0,!0)],2))}});const M$=P(SX,[["__scopeId","data-v-9fd5c53d"]]),wX={class:"AVBreadcrumb"},EX=["href"],TX=["href"],BX=c.defineComponent({__name:"AVBreadcrumb",props:{items:{type:Array,required:!0},disableButton:{type:Boolean,default:!1},buttonHref:{type:String,default:null}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",wX,[c.createElementVNode("a",{href:e.buttonHref},[e.disableButton?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(n,{key:0,icon:"fa-solid fa-circle-chevron-left",class:"AVBreadcrumb--icon"}))],8,EX),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.items,(i,l)=>(c.openBlock(),c.createElementBlock("span",{key:l,class:"AVBreadcrumb--group","data-test":"item-group"},[c.createElementVNode("a",{href:i.active?null:i.href,class:c.normalizeClass(["AVBreadcrumb--link",{"AVBreadcrumb--link-active":i.active}])},c.toDisplayString(i.text),11,TX),c.createVNode(n,{icon:"fa-solid fa-angle-right",class:"AVBreadcrumb--separator"})]))),128))])}}});const C$=P(BX,[["__scopeId","data-v-479a161a"]]),IX=["href"],DX={class:"AVElectionCard--inner"},PX={class:"AVElectionCard--id","data-test":"id"},OX={class:"AVElectionCard--title-group"},FX={class:"AVElectionCard--title","data-test":"title"},RX={class:"AVElectionCard--items"},jX={class:"AVElectionCard--item","data-test":"item"},qX={class:"AVElectionCard--item-icon"},$X={class:"AVElectionCard--item-text"},UX={class:"AVElectionCard--item","data-test":"item"},WX={class:"AVElectionCard--item-icon"},GX={class:"AVElectionCard--item-text"},JX={class:"AVElectionCard--item","data-test":"item"},ZX={class:"AVElectionCard--item-icon"},YX={class:"AVElectionCard--item-text"},QX={class:"AVElectionCard--button"},KX=c.defineComponent({__name:"AVElectionCard",props:{id:{type:String,required:!0},name:{type:String,required:!0},status:{type:String,required:!0},countyName:{type:String,required:!0},createdAt:{type:String,required:!0},lastUpdated:{type:String,required:!0},countyNameLabel:{type:String,required:!0},createdAtLabel:{type:String,required:!0},lastUpdatedLabel:{type:String,required:!0},href:{type:String,required:!0}},setup(e){const a=e,t={draft:"info",open:"success",closed:"danger",archived:"default"},n=c.computed(()=>t[a.status]);return(i,l)=>{const s=c.resolveComponent("AVLabel"),r=c.resolveComponent("AVIcon"),o=c.resolveComponent("AVCard");return c.openBlock(),c.createElementBlock("a",{href:e.href,class:"AVElectionCard","data-test":"link"},[c.createVNode(o,{variant:"rounded",role:"button"},{default:c.withCtx(()=>[c.createElementVNode("div",DX,[c.createElementVNode("span",PX,c.toDisplayString(e.id),1),c.createElementVNode("div",OX,[c.createElementVNode("span",FX,c.toDisplayString(e.name),1),c.createVNode(s,{type:n.value,value:e.status},null,8,["type","value"])]),c.createElementVNode("div",RX,[c.createElementVNode("div",jX,[c.createElementVNode("div",qX,[c.createVNode(r,{icon:"fa-solid fa-location-pin"})]),c.createElementVNode("span",$X,[c.createTextVNode(c.toDisplayString(e.countyNameLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.countyName),1)])]),c.createElementVNode("div",UX,[c.createElementVNode("div",WX,[c.createVNode(r,{icon:"fa-solid fa-file-circle-plus"})]),c.createElementVNode("span",GX,[c.createTextVNode(c.toDisplayString(e.createdAtLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.createdAt),1)])]),c.createElementVNode("div",JX,[c.createElementVNode("div",ZX,[c.createVNode(r,{icon:"fa-solid fa-pen-to-square"})]),c.createElementVNode("span",YX,[c.createTextVNode(c.toDisplayString(e.lastUpdatedLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.lastUpdated),1)])])])]),c.createElementVNode("div",QX,[c.createVNode(r,{icon:"fa-solid fa-circle-chevron-right",class:"AVElectionCard--CTA-icon"})])]),_:1})],8,IX)}}});const g$=P(KX,[["__scopeId","data-v-dd72671e"]]),XX=["href"],e11={class:"AVBallotStyleCard--content"},c11={key:0,class:"AVBallotStyleCard--completion-icon","data-test":"success-icon"},a11={class:"AVBallotStyleCard--text-container"},t11={class:"AVBallotStyleCard--title","data-test":"title"},n11={class:"AVBallotStyleCard--text","data-test":"text"},i11={class:"AVBallotStyleCard--CTA-icon"},l11=c.defineComponent({__name:"AVBallotStyleCard",props:{href:{type:String,required:!0},name:{type:String,required:!0},contestQty:{type:Number,required:!0},contestLabel:{type:String,required:!0},reviewed:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon"),i=c.resolveComponent("AVCard");return c.openBlock(),c.createElementBlock("a",{href:e.href,class:"AVBallotStyleCard",role:"button","data-test":"link"},[c.createVNode(i,{variant:"rounded"},{default:c.withCtx(()=>[c.createElementVNode("div",e11,[e.reviewed?(c.openBlock(),c.createElementBlock("div",c11,[c.createVNode(n,{icon:"fa-solid fa-check"})])):c.createCommentVNode("",!0),c.createElementVNode("div",a11,[c.createElementVNode("div",t11,c.toDisplayString(e.name),1),c.createElementVNode("div",n11,c.toDisplayString(`${e.contestQty} ${e.contestLabel}`),1)])]),c.createElementVNode("div",i11,[c.createVNode(n,{icon:"fa-solid fa-chevron-right"})])]),_:1}),c.createElementVNode("div",{class:c.normalizeClass(`AVBallotStyleCard--progress AVBallotStyleCard--progress-${e.reviewed?"success":"default"}`),"data-test":"progress"},null,2)],8,XX)}}});const H$=P(l11,[["__scopeId","data-v-c682a2cf"]]),s11=["aria-label"],r11={key:0,class:"AVSummaryOption--ancestry"},o11={class:"AVSummaryOption--breadcrumb"},f11=["src","alt"],u11={class:"AVSummaryOption--body"},m11={class:"AVSummaryOption--title"},d11={key:1,class:"AVSummaryOption--summary"},p11={key:1,class:"AVSummaryOption--footer"},b$=c.defineComponent({__name:"AVSummaryOption",props:{option:{type:Object,default:null},multipleVotesAllowed:{type:Boolean,default:!1},locale:{type:String,default:null},blank:{type:Boolean,default:!1},parents:{type:Array,default:null},imageOption:{type:String,default:"square"}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=c.computed(()=>a.global.locale.value||a.global.locale),i=c.ref([]),l=e;c.onMounted(()=>{l.parents&&l.parents.map(u=>i.value.push(u)),l.locale&&e1(l.locale)}),c.watch(()=>l.locale,()=>{l.locale&&e1(l.locale)},{deep:!0});const s=c.computed(()=>{var u,d;return((u=l.option)==null?void 0:u.crosses)&&((d=l.option)==null?void 0:d.crosses)>1&&l.multipleVotesAllowed&&!l.blank}),r=c.computed(()=>i.value.length<1?"":i.value.map(u=>u.title[n.value]).reverse()),o=c.computed(()=>{var u;return l.blank?t("js.components.AVSummaryOption.blank"):(u=l.option)==null?void 0:u.title}),f=c.computed(()=>{var C,g;const u=Array.from(Array((C=l.option)==null?void 0:C.crosses).keys());u.forEach(L=>u[L]=L+1);const d=u.indexOf(Math.ceil(((g=l.option)==null?void 0:g.crosses)/2))+1,p=u.slice(0,d),V=u.slice(d);return V.length?[p,V]:[p]}),m=c.computed(()=>l.option.image.includes("square")?l.option.image:`${l.option.image}/${l.imageOption}`);return(u,d)=>{var V,C;const p=c.resolveComponent("AVOptionCheckbox");return c.openBlock(),c.createElementBlock("div",{class:"AVSummaryOption","aria-label":c.unref(t)("js.components.AVSummaryOption.aria_label.option")},[r.value?(c.openBlock(),c.createElementBlock("div",r11,[c.createElementVNode("ul",o11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value,(g,L)=>(c.openBlock(),c.createElementBlock("li",{key:g+L,class:"AVSummaryOption--breadcrumb-item"},c.toDisplayString(g),1))),128))])])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass({"AVSummaryOption--header":!0,"AVSummaryOption--header-multiple":s.value})},[(V=e.option)!=null&&V.image?(c.openBlock(),c.createElementBlock("img",{key:0,src:m.value,class:"AVSummaryOption--img",alt:c.unref(t)("js.components.AVSummaryOption.aria_label.option_image")},null,8,f11)):c.createCommentVNode("",!0),c.createElementVNode("div",u11,[c.createElementVNode("div",m11,c.toDisplayString(o.value),1)]),s.value?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",d11,[c.createVNode(p,{checked:!0,rank:(C=e.option)==null?void 0:C.rank,disabled:!0},null,8,["rank"])]))],2),s.value?(c.openBlock(),c.createElementBlock("div",p11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(f.value,g=>(c.openBlock(),c.createElementBlock("div",{key:g.toString(),class:"AVSummaryOption--group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(g,L=>{var M;return c.openBlock(),c.createBlock(p,{key:L,checked:!0,rank:(M=e.option)==null?void 0:M.rank,disabled:!0},null,8,["rank"])}),128))]))),128))])):c.createCommentVNode("",!0)],8,s11)}}});const bi=c.ref(new Map);function L$(){function e(a,...t){bi.value.set(a,t)}return{eventBusEmit:e,eventBus:bi}}const A$=e=>(c.pushScopeId("data-v-785ef04b"),e=e(),c.popScopeId(),e),v11=["id","href","aria-labelledby"],h11=["aria-label"],z11={class:"AVOption--header-container"},V11={class:"AVOption--header"},M11=["src","alt"],C11=["textContent"],g11={key:0,class:"AVOption--body"},H11={key:0,class:"AVOption--description"},b11=["innerHTML"],L11={key:1,class:"AVOption--links-container"},A11=["href"],_11={key:2,class:"AVOption--children-container"},N11=["id"],k11=["innerHTML"],x11={key:1,class:"AVOption--realtime-results AVOption--realtime-results-internal"},y11=A$(()=>c.createElementVNode("span",null,"-",-1)),S11={class:"AVOption--realtime-results"},w11=A$(()=>c.createElementVNode("span",null,"-",-1)),E11={key:0,class:"AVOption--children"},T11=c.defineComponent({__name:"AVOption",props:{option:{type:Object,required:!0},selections:{type:Array,required:!0},contest:{type:Object,required:!0},invalid:{type:Boolean,required:!0},exclusiveError:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,default:!1},partialResults:{type:Object,default:null},locale:{type:String,default:null},imageOption:{type:String,default:"square"}},emits:["accordion-open","checked","view-candidate"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=c.computed(()=>t.global.locale.value||t.global.locale),{eventBus:l}=L$(),s=c.ref(!1),r=c.ref(null),o=e,f=a;c.onMounted(()=>{o.locale&&e1(o.locale)}),c.watch(()=>o.locale,()=>{o.locale&&e1(o.locale)},{deep:!0});const m=c.computed(()=>document.getElementsByTagName("html")[0].dir==="rtl"),u=c.computed(()=>o.contest.markingType.voteVariation==="ranked"),d=c.computed(()=>o.selections.filter(S=>S.reference===o.option.reference).length),p=c.computed(()=>o.option.title[i.value]??""),V=c.computed(()=>{var S;return((S=o.option.description)==null?void 0:S[i.value])??""}),C=c.computed(()=>{var S;return((S=o.option.url)==null?void 0:S[i.value])??""}),g=c.computed(()=>{var S;return((S=o.option.videoUrl)==null?void 0:S[i.value])??""}),L=c.computed(()=>o.option.image.includes("square")?o.option.image:`${o.option.image}/${o.imageOption}`),M=c.computed(()=>{let S=[];return C.value&&S.push({url:C.value,text:n("js.components.AVOption.info_link_text_html")}),g.value&&S.push({url:g.value,text:n("js.components.AVOption.video_link_text_html")}),S}),v=c.computed(()=>o.option.children&&o.option.children.length>0),H=c.computed(()=>o.option.selectable!==void 0&&!o.option.selectable?0:_.value?1:o.option.voteLimit||o.contest.markingType.votesAllowedPerOption||1),b=c.computed(()=>o.selections.length>0?E(o.option.children):0),_=c.computed(()=>o.option.exclusive),N=c.computed(()=>{const S=Array.from(Array(H.value).keys());S.forEach(O=>S[O]=O+1);const q=S.indexOf(Math.ceil(H.value/2))+1,G=S.slice(0,q),I=S.slice(q);return I.length?[G,I]:[G]}),x=c.computed(()=>o.partialResults?o.partialResults[o.option.reference]:null),A=(S,q=1)=>{f("checked",{reference:S,amount:q})},E=S=>{if(!S)return 0;let q=S.filter(G=>o.selections.map(I=>I.reference).includes(G.reference)).length;return S.reduce((G,I)=>G+E(I.children),q)},R=S=>{s.value=!1,S===o.option.reference&&(f("accordion-open"),c.nextTick(()=>{s.value=!0,r.value.scrollIntoView({behavior:"smooth",block:"center"})}))};return c.watch(()=>l.value.get("highlight-option"),S=>{const[q]=S??[];R(q)}),(S,q)=>{const G=c.resolveComponent("AVIcon"),I=c.resolveComponent("AVOptionCheckbox"),O=c.resolveComponent("AVOption",!0),Q=c.resolveComponent("AVCollapser");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({"AVOption--background":!0,"AVOption--disabled":e.disabled})},[c.createElementVNode("a",{id:e.option.reference,class:"AVOption--scroll-anchor",href:`option_${e.option.reference}_checkbox`,"aria-labelledby":`option_${e.option.reference}_title`},null,8,v11),c.createVNode(Q,{collapsable:e.contest.collapsable&&v.value,"start-collapsed":e.contest.collapseDefault&&!e.observerMode,onAccordionOpen:q[2]||(q[2]=z1=>f("accordion-open"))},c.createSlots({toggle:c.withCtx(({isOpen:z1,collapsable:b1})=>[c.createElementVNode("section",{ref_key:"el",ref:r,class:c.normalizeClass({AVOption:!0,"AVOption--highlight":s.value,"AVOption--accent":e.option.accentColor}),style:c.normalizeStyle(e.option.accentColor?`border-left-color: ${e.option.accentColor}`:""),"aria-label":c.unref(n)("js.components.AVOption.aria_labels.option")},[c.createElementVNode("div",{class:c.normalizeClass(["AVOption--container",{"AVOption--container-column":H.value>1,"AVOption--container-row":H.value<=5}])},[c.createElementVNode("div",z11,[c.createElementVNode("header",V11,[e.option.image?(c.openBlock(),c.createElementBlock("img",{key:0,src:L.value,alt:c.unref(n)("js.components.AVOption.aria_labels.option_image"),class:"AVOption-image"},null,8,M11)):c.createCommentVNode("",!0),c.createElementVNode("h5",{class:"AVOption--title",textContent:c.toDisplayString(p.value)},null,8,C11)]),V.value||M.value.length||v.value||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",g11,[V.value?(c.openBlock(),c.createElementBlock("div",H11,[c.createElementVNode("p",{innerHTML:V.value},null,8,b11)])):c.createCommentVNode("",!0),M.value.length>0||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",L11,[e.option.candidateId?(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVOption--link",onClick:q[0]||(q[0]=V1=>f("view-candidate",e.option.candidateId))},c.toDisplayString(c.unref(n)("js.components.AVOption.view_candidate")),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(M.value,V1=>(c.openBlock(),c.createElementBlock("a",{key:V1.toString(),href:V1.url,class:"AVOption--link",target:"_blank"},c.toDisplayString(V1.text),9,A11))),128))])):c.createCommentVNode("",!0),b1&&v.value?(c.openBlock(),c.createElementBlock("div",_11,[c.createElementVNode("div",{id:`option_${e.option.reference}_dropdown`,class:"AVOption--expander-container","aria-hidden":"true"},[c.createVNode(G,{icon:z1?"chevron-down":m.value?"chevron-left":"chevron-right",class:"AVOption--expander-icon"},null,8,["icon"]),c.createElementVNode("span",{class:"AVOption--expander-help-text",innerHTML:z1?c.unref(n)("js.components.AVOption.collapse_text"):c.unref(n)("js.components.AVOption.expand_text")},null,8,k11)],8,N11),b.value&&!z1?(c.openBlock(),c.createElementBlock("span",{key:0,class:c.normalizeClass(["AVOption--suboption-badge",{"AVOption--suboption-badge-danger":e.invalid,"AVOption--suboption-badge-normal":!e.invalid}])},c.toDisplayString(m.value?`${c.unref(n)("js.components.AVOption.sub_options_select")} ${b.value}`:`${b.value} ${c.unref(n)("js.components.AVOption.sub_options_select")}`),3)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)]),H.value>=1?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass({"AVOption--multivote-aside":H.value<=5,"AVOption--multivote-footer":H.value>5,"AVOption--singlevote":H.value===1}),style:c.normalizeStyle(`background-color: ${H.value===1?"#FFFFFF":"#f7f7f7"}`)},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(N.value,V1=>(c.openBlock(),c.createElementBlock("div",{key:V1.toString(),class:"AVOption--group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(V1,_1=>(c.openBlock(),c.createBlock(I,{key:_1,checked:d.value>=_1,rank:u.value?e.selections.map(v1=>v1.reference).indexOf(e.option.reference)+1:null,"exclusive-error":e.exclusiveError,invalid:e.invalid,"option-reference":e.option.reference,"check-box-index":_1,disabled:e.disabled||e.observerMode,onToggled:v1=>A(e.option.reference,_1)},null,8,["checked","rank","exclusive-error","invalid","option-reference","check-box-index","disabled","onToggled"]))),128))]))),128))],6)):c.createCommentVNode("",!0),x.value&&(e.observerMode||e.disabled)?(c.openBlock(),c.createElementBlock("div",x11,[c.createVNode(G,{icon:"user",class:"AVOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(m.value?`${x.value.results.count===1?c.unref(n)("js.components.AVOption.vote_count_singular"):c.unref(n)("js.components.AVOption.vote_count_plural")} ${x.value.results.count}`:`${x.value.results.count} ${x.value.results.count===1?c.unref(n)("js.components.AVOption.vote_count_singular"):c.unref(n)("js.components.AVOption.vote_count_plural")}`),1),x.value.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[y11,c.createElementVNode("span",null,c.toDisplayString(`${x.value.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)],14,h11)]),pane:c.withCtx(({toggleCollapse:z1})=>[v.value?(c.openBlock(),c.createElementBlock("div",E11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.option.children,b1=>(c.openBlock(),c.createBlock(O,{key:b1.reference,option:b1,selections:e.selections,contest:e.contest,invalid:e.invalid,disabled:e.disabled,"observer-mode":e.observerMode,"partial-results":e.partialResults,"exclusive-error":b1.exclusive&&e.exclusiveError,"image-option":e.imageOption,onChecked:q[1]||(q[1]=V1=>f("checked",V1)),onAccordionOpen:()=>z1(!0,!1)},null,8,["option","selections","contest","invalid","disabled","observer-mode","partial-results","exclusive-error","image-option","onAccordionOpen"]))),128))])):c.createCommentVNode("",!0)]),_:2},[!e.disabled&&x.value&&!e.observerMode?{name:"results",fn:c.withCtx(()=>[c.createElementVNode("div",S11,[c.createVNode(G,{icon:"user",class:"AVOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(m.value?`${x.value.results.count===1?c.unref(n)("js.components.AVOption.vote_count_singular"):c.unref(n)("js.components.AVOption.vote_count_plural")} ${x.value.results.count}`:`${x.value.results.count} ${x.value.results.count===1?c.unref(n)("js.components.AVOption.vote_count_singular"):c.unref(n)("js.components.AVOption.vote_count_plural")}`),1),x.value.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[w11,c.createElementVNode("span",null,c.toDisplayString(`${x.value.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["collapsable","start-collapsed"])],2)}}});const _$=P(T11,[["__scopeId","data-v-785ef04b"]]),N$=e=>(c.pushScopeId("data-v-ee117d09"),e=e(),c.popScopeId(),e),B11=["aria-label"],I11={class:"AVBlankOption--header","aria-hidden":"true"},D11={class:"AVBlankOption--title"},P11={class:"AVBlankOption--checkbox"},O11={key:0,class:"AVBlankOption--realtime-results AVOption--realtime-results-internal"},F11=N$(()=>c.createElementVNode("span",null,"-",-1)),R11={key:0,class:"AVBlankOption--realtime-results"},j11=N$(()=>c.createElementVNode("span",null,"-",-1)),q11=c.defineComponent({__name:"AVBlankOption",props:{checked:{type:Boolean,required:!0},error:{type:Boolean,required:!0},disabled:{type:Boolean,default:!1},partialResults:{type:Object,default:null},accentColor:{type:String,default:null},observerMode:{type:Boolean,default:!1},locale:{type:String,default:null},invalid:{type:Boolean,default:!1}},emits:["toggleBlank"],setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;c.onMounted(()=>{n.locale&&e1(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&e1(n.locale)},{deep:!0});const i=c.computed(()=>document.getElementsByTagName("html")[0].dir==="rtl");return(l,s)=>{const r=c.resolveComponent("AVOptionCheckbox"),o=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({"AVBlankOption--disabled":e.disabled})},[c.createElementVNode("div",{class:c.normalizeClass({AVBlankOption:!0,"AVBlankOption--accent":e.accentColor}),style:c.normalizeStyle(e.accentColor?`border-left-color: ${e.accentColor}`:""),"aria-label":c.unref(t)("js.components.AVBlankOption.aria_labels.option")},[c.createElementVNode("div",I11,[c.createElementVNode("h5",D11,c.toDisplayString(c.unref(t)("js.components.AVBlankOption.title")),1),c.createElementVNode("div",P11,[c.createVNode(r,{"option-reference":"blank",rank:null,checked:e.checked,"exclusive-error":e.error,invalid:e.invalid,disabled:e.disabled||e.observerMode,onToggled:s[0]||(s[0]=f=>l.$emit("toggleBlank"))},null,8,["checked","exclusive-error","invalid","disabled"])]),e.partialResults&&(e.observerMode||e.disabled)?(c.openBlock(),c.createElementBlock("div",O11,[c.createVNode(o,{icon:"user",class:"AVBlankOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(i.value?`${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}`:`${e.partialResults.results.count} ${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")}`),1),e.partialResults.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[F11,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])],14,B11),!e.disabled&&e.partialResults&&!e.observerMode?(c.openBlock(),c.createElementBlock("div",R11,[c.createVNode(o,{icon:"user",class:"AVBlankOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(i.value?`${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}`:`${e.partialResults.results.count} ${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")}`),1),e.partialResults.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[j11,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)}}});const k$=P(q11,[["__scopeId","data-v-ee117d09"]]),$11=["aria-label"],U11={class:"AVWriteInOption--header"},W11={class:"AVWriteInOption--container"},G11={id:"option_writeIn",class:"AVWriteInOption--title"},J11={class:"AVWriteInOption--form-group"},Z11=["aria-label","disabled"],Y11={value:""},Q11=["value","selected"],K11=["value","placeholder","aria-label","disabled"],X11=c.defineComponent({__name:"AVWriteInOption",props:{parties:{type:Array,required:!0},candidateValue:{type:String,required:!0},partyValue:{type:String,required:!0},checkedValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,defaul:!1},locale:{type:String,default:null}},emits:["update:candidateValue","update:partyValue","update:checkedValue"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,l=a;c.onMounted(()=>{i.locale&&e1(i.locale)}),c.watch(()=>i.locale,()=>{i.locale&&e1(i.locale)},{deep:!0});const s=f=>{l("update:candidateValue",f),o()},r=f=>{l("update:partyValue",f),o()},o=()=>{const f=i.partyValue!==""||i.candidateValue!=="";f!==i.checkedValue&&l("update:checkedValue",f)};return(f,m)=>{const u=c.resolveComponent("AVOptionCheckbox");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({AVWriteInOption:!0,"AVWriteInOption--disabled":e.disabled}),"aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.option")},[c.createElementVNode("div",U11,[c.createElementVNode("div",W11,[c.createElementVNode("div",G11,c.toDisplayString(c.unref(n)("js.components.AVWriteInOption.title")),1),c.createElementVNode("div",J11,[c.createElementVNode("select",{class:"AVWriteInOption--form-control","aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.party"),disabled:e.disabled,onInput:m[0]||(m[0]=d=>r(d.target.value))},[c.createElementVNode("option",Y11,c.toDisplayString(c.unref(n)("js.components.AVWriteInOption.choose_party")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.parties,d=>(c.openBlock(),c.createElementBlock("option",{key:d.letter,value:d.letter,selected:d.letter===e.partyValue},c.toDisplayString(d.letter)+" - "+c.toDisplayString(d.name),9,Q11))),128))],40,Z11),c.createElementVNode("input",{value:e.candidateValue,class:"AVWriteInOption--form-control",placeholder:c.unref(n)("js.components.AVWriteInOption.placeholder"),"aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.candidate"),disabled:e.disabled,onInput:m[1]||(m[1]=d=>s(d.target.value))},null,40,K11)])]),c.createVNode(u,{class:"AVWriteInOption--checkbox",checked:e.checkedValue,"option-id":0,disabled:e.disabled||e.observerMode},null,8,["checked","disabled"])])],10,$11)}}});const x$=P(X11,[["__scopeId","data-v-f2bba574"]]),e21=e=>(c.pushScopeId("data-v-0ae555cc"),e=e(),c.popScopeId(),e),c21={class:"AVSubmissionHelper"},a21={key:1},t21=["textContent"],n21=e21(()=>c.createElementVNode("hr",{class:"AVSubmissionHelper--separator"},null,-1)),i21={key:2},l21={class:"AVSubmissionHelper--help"},s21={key:0},r21={key:1},o21=["innerHTML"],f21={key:3},u21=c.defineComponent({__name:"AVSubmissionHelper",props:{minMarks:{type:Number,required:!0},maxMarks:{type:Number,required:!0},errors:{type:Array,required:!0},chosenCount:{type:Number,required:!0},hasExclusiveOptions:{type:Boolean,default:!1},weight:{type:Number,default:null},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=c.computed(()=>a.global.locale.value||a.global.locale),i=e;c.onMounted(()=>{i.locale&&e1(i.locale)}),c.watch(()=>i.locale,()=>{i.locale&&e1(i.locale)},{deep:!0});const l=c.computed(()=>i.errors.map(s=>s.keys?(Object.keys(s.keys).forEach(r=>{typeof s.keys[r]=="object"&&(s.keys[r]=s.keys[r][n.value])}),t(`js.components.AVSubmissionHelper.errors.${s.message}`,s.keys)):t(`js.components.AVSubmissionHelper.errors.${s.message}`)));return(s,r)=>(c.openBlock(),c.createElementBlock("div",c21,[c.createElementVNode("div",{class:c.normalizeClass(["AVSubmissionHelper--container",{"AVSubmissionHelper--danger":e.errors.length>0}])},[e.weight?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass({"AVSubmissionHelper--weight":!0,"AVSubmissionHelper--weight-danger":e.errors.length>0})},c.toDisplayString(c.unref(t)("js.components.AVSubmissionHelper.your_vote_weight",{weight:e.weight})),3)):c.createCommentVNode("",!0),e.errors.length>0?(c.openBlock(),c.createElementBlock("div",a21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,o=>(c.openBlock(),c.createElementBlock("div",{key:o,role:"alert",textContent:c.toDisplayString(o)},null,8,t21))),128)),n21])):c.createCommentVNode("",!0),e.maxMarks>1?(c.openBlock(),c.createElementBlock("div",i21,[c.createElementVNode("div",l21,[e.minMarks===e.maxMarks?(c.openBlock(),c.createElementBlock("div",s21,c.toDisplayString(`${c.unref(t)("js.components.AVSubmissionHelper.select_exactly",{min_marks:e.minMarks})}`),1)):(c.openBlock(),c.createElementBlock("div",r21,c.toDisplayString(`${e.hasExclusiveOptions?c.unref(t)("js.components.AVSubmissionHelper.select_multiple_with_exclusives",{min_marks:e.minMarks,max_marks:e.maxMarks}):c.unref(t)("js.components.AVSubmissionHelper.select_multiple",{min_marks:e.minMarks,max_marks:e.maxMarks})}`),1)),e.chosenCount>0?(c.openBlock(),c.createElementBlock("div",{key:2,innerHTML:c.unref(t)("js.components.AVSubmissionHelper.selected",{selected:e.chosenCount}),class:"AVSubmissionHelper--count"},null,8,o21)):c.createCommentVNode("",!0)])])):(c.openBlock(),c.createElementBlock("div",f21,[c.createElementVNode("div",null,c.toDisplayString(c.unref(t)("js.components.AVSubmissionHelper.select_single")),1)]))],2)]))}});const y$=P(u21,[["__scopeId","data-v-0ae555cc"]]);function m21(e,a,t){if(typeof t!="function")throw new Error("search_by must be a function that returns a string");const n=a.toLowerCase().trim().split(/\s+/);return e.filter(i=>{const l=t(i).toLowerCase().trim().split(/\s+/);return n.every(s=>l.some(r=>r.includes(s)))})}const d21=["aria-label"],p21={class:"AVSearchBallot--form-group"},v21=["textContent"],h21={class:"AVSearchBallot--input-group"},z21=["placeholder"],V21={id:"ballot_searcher_results",class:"AVSearchBallot--results","aria-live":"polite","aria-label":"search-results"},M21=["aria-label"],C21={key:0,class:"AVSeachOptionBallot--ancestry"},g21={class:"AVSeachOptionBallot--breadcrumb"},H21=["id","aria-label","onClick"],b21=["textContent"],L21=["textContent"],A21=c.defineComponent({__name:"AVSearchBallot",props:{options:{type:Array,required:!0},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=c.computed(()=>a.global.locale.value||a.global.locale),{eventBusEmit:i}=L$(),l=e;c.onMounted(()=>{l.locale&&e1(l.locale)}),c.watch(()=>l.locale,()=>{l.locale&&e1(l.locale)},{deep:!0});const s=c.ref(""),r=c.computed(()=>s.value.trim()===""?[]:m21(l.options,s.value,d=>d.title[n.value])),o=d=>f(d,[]).reverse(),f=(d,p)=>d.parentContent?(p.push(d.parentContent),f(d.parentContent,p)):p,m=()=>{s.value=""},u=d=>{i("highlight-option",d.reference),m()};return(d,p)=>(c.openBlock(),c.createElementBlock("form",{role:"search",class:"AVSearchBallot","aria-label":c.unref(t)("js.components.AVSearchBallot.aria_labels.ballot_options"),onSubmit:p[1]||(p[1]=c.withModifiers(()=>{},["prevent"]))},[c.createElementVNode("div",p21,[c.createElementVNode("label",{for:"ballot_search",class:"AVSearchBallot--label",textContent:c.toDisplayString(c.unref(t)("js.components.AVSearchBallot.search_the_ballot"))},null,8,v21),c.createElementVNode("div",h21,[c.withDirectives(c.createElementVNode("input",{id:"ballot_search","onUpdate:modelValue":p[0]||(p[0]=V=>s.value=V),type:"search",class:"AVSearchBallot--form-control",placeholder:c.unref(t)("js.components.AVSearchBallot.enter_option_name")},null,8,z21),[[c.vModelText,s.value]])])]),c.createElementVNode("div",V21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value,V=>(c.openBlock(),c.createElementBlock("div",{key:V,"aria-label":V.title[n.value]},[o(V).length>0?(c.openBlock(),c.createElementBlock("div",C21,[c.createElementVNode("ul",g21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o(V),C=>(c.openBlock(),c.createElementBlock("li",{key:C.reference,class:"AVSeachOptionBallot--breadcrumb-item"},c.toDisplayString(C.title[n.value]),1))),128))])])):c.createCommentVNode("",!0),c.createElementVNode("div",{id:`search_result_${V.reference}`,class:"AVSearchBallot--option",role:"button","aria-label":c.unref(t)("js.components.AVSearchBallot.aria_labels.go_to_option"),onClick:c.withModifiers(C=>u(V),["prevent"])},[c.createElementVNode("span",{class:"AVSearchBallot--link",textContent:c.toDisplayString(V.title[n.value])},null,8,b21)],8,H21)],8,M21))),128)),s.value&&r.value.length===0?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVSearchBallot--alert",textContent:c.toDisplayString(c.unref(t)("js.components.AVSearchBallot.no_results"))},null,8,L21)):c.createCommentVNode("",!0)])],40,d21))}});const S$=P(A21,[["__scopeId","data-v-727c3aa7"]]),_21={class:"AVSplitWeightHelper"},N21={class:"AVSplitWeightHelper--box"},k21={class:"AVSplitWeightHelper--box"},x21={class:"AVSplitWeightHelper--box"},y21=c.defineComponent({__name:"AVSplitWeightHelper",props:{assignedWeight:{type:Number,required:!0},unusedWeight:{type:Number,required:!0},activeAssigned:{type:Number,default:null},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;return c.onMounted(()=>{n.locale&&e1(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&e1(n.locale)},{deep:!0}),(i,l)=>(c.openBlock(),c.createElementBlock("div",_21,[c.createElementVNode("div",N21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.total"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.assignedWeight+e.unusedWeight),1)])]),c.createElementVNode("div",k21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.assigned"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.assignedWeight),1)])]),c.createElementVNode("div",x21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.unused"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.unusedWeight),1)])])]))}});const w$=P(y21,[["__scopeId","data-v-f145cdd2"]]),S21={class:"AVSplitWizardHeader"},w21={key:0,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},E21={key:1,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},T21={key:2,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},B21=c.defineComponent({__name:"AVSplitWizardHeader",props:{activeSelectionPileIndex:{type:Number},activeState:{type:String,required:!0},selectionPiles:{type:Array,required:!0},totalWeight:{type:Number,required:!0},isEditing:{type:Boolean,required:!0},locale:{type:String,default:null}},emits:["cancel"],setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;return c.onMounted(()=>{n.locale&&e1(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&e1(n.locale)},{deep:!0}),(i,l)=>{const s=c.resolveComponent("AVTooltip");return c.openBlock(),c.createElementBlock("header",S21,[e.activeState==="ballot"?(c.openBlock(),c.createElementBlock("p",w21,c.toDisplayString(e.isEditing?`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.editing")} ${e.activeSelectionPileIndex+1}`:`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.adding")} ${e.selectionPiles.length+1}`),1)):e.activeState==="assign"?(c.openBlock(),c.createElementBlock("p",E21,c.toDisplayString(e.isEditing?`${c.unref(t)("js.components.AVSplitWizardHeader.assign.header")} ${(e.isEditing?e.activeSelectionPileIndex:e.selectionPiles.length)+1}`:`${c.unref(t)("js.components.AVSplitWizardHeader.assign.header_edit_mode")} ${(e.isEditing?e.activeSelectionPileIndex:e.selectionPiles.length)+1}`),1)):(c.openBlock(),c.createElementBlock("p",T21,c.toDisplayString(c.unref(t)("js.components.AVSplitWizardHeader.overview.header")),1)),(e.activeState,c.createCommentVNode("",!0))])}}});const E$=P(B21,[["__scopeId","data-v-8df55e3a"]]),I21="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzg5IiBoZWlnaHQ9IjEzNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp1b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3MywyLjAxMWMtMy4zNjgsMCAtNi4wNjcsLTEuMTMxIC04LjA5MywtMy4zOTRjLTIuMDMsLTIuMjYyIC0zLjA0MSwtNS4zMDMgLTMuMDQxLC05LjEyNGMwLC0zLjk5MSAwLjgxNSwtNy4wMzcgMi40NDksLTkuMTM5YzEuNjM2LC0yLjEwMyA0LjAxMSwtMy4xNTYgNy4xMjgsLTMuMTU2YzEuNjI0LDAgMy4yNzUsMC4xNjggNC45NTIsMC41MDNsMCw3LjY2OWwtNi45NjMsMGwwLDYuNDg1eiIvPgogICA8L2c+CiAgPC9nPgogPC9nPgo8L3N2Zz4=",D21=e=>(c.pushScopeId("data-v-1a82d440"),e=e(),c.popScopeId(),e),P21=D21(()=>c.createElementVNode("span",{class:"AVFooter--text"},"Technology by",-1)),O21=["src"],F21=c.defineComponent({__name:"AVFooter",props:{enableSteps:{type:Boolean,default:!1},steps:{type:Array,default:null},active:{type:String,default:null},done:{type:Array,default:null},disableBanner:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVSteps");return c.openBlock(),c.createElementBlock("footer",{class:c.normalizeClass(["AVFooter",{"AVFooter--stacked":e.enableSteps}])},[e.enableSteps?(c.openBlock(),c.createBlock(n,{key:0,steps:e.steps,done:e.done,active:e.active,class:"AVFooter--child"},null,8,["steps","done","active"])):c.createCommentVNode("",!0),e.disableBanner?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["AVFooter--base AVFooter--child",{"AVFooter--child-stacked":e.enableSteps}])},[P21,c.createElementVNode("img",{src:c.unref(I21),alt:"Assembly Voting",class:"AVFooter--img"},null,8,O21)],2))],2)}}});const T$=P(F21,[["__scopeId","data-v-1a82d440"]]);var R21={},j21={class:"AVSidebar"};function q21(e,a){return c.openBlock(),c.createElementBlock("nav",j21,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const B$=P(R21,[["render",q21],["__scopeId","data-v-65e0965f"]]);var $21={},U21={class:"AVNavbar"};function W21(e,a){return c.openBlock(),c.createElementBlock("nav",U21,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const I$=P($21,[["render",W21],["__scopeId","data-v-3ea1799f"]]);var G21={},J21={class:"AVContent"},Z21={class:"AVContent--sidebar","data-test":"sidebar"},Y21={class:"AVContent--container","data-test":"container"};function Q21(e,a){return c.openBlock(),c.createElementBlock("main",J21,[c.createElementVNode("div",Z21,[c.renderSlot(e.$slots,"sidebar",{},void 0,!0)]),c.createElementVNode("div",Y21,[c.renderSlot(e.$slots,"content",{},void 0,!0)])])}const D$=P(G21,[["render",Q21],["__scopeId","data-v-1923eca8"]]),K21=["aria-labelledby"],X21=c.defineComponent({__name:"AVModal",props:{modalActive:{type:Boolean,required:!0},ariaLabelledBy:{type:String,required:!0},removePadding:{type:Boolean,default:!1}},emits:["clickOutside"],setup(e,{emit:a}){const t=a,n=e;return c.watch(()=>n.modalActive,()=>{n.modalActive&&(document.body.style.overflowY="hidden"),n.modalActive||(document.body.style.overflowY="scroll")}),(i,l)=>(c.openBlock(),c.createBlock(c.Transition,{name:"modal-animation"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{class:"AVModal",role:"dialog","aria-labelledby":e.ariaLabelledBy,"aria-modal":"true","aria-live":"assertive",onClick:l[1]||(l[1]=c.withModifiers(s=>t("clickOutside"),["stop"]))},[c.createVNode(c.Transition,{name:"modal-animation-inner"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{class:c.normalizeClass(["AVModal--inner",{"AVModal--padding":!e.removePadding}]),onClick:l[0]||(l[0]=c.withModifiers(()=>{},["stop"]))},[c.renderSlot(i.$slots,"default",{},void 0,!0)],2),[[c.vShow,e.modalActive]])]),_:3})],8,K21),[[c.vShow,e.modalActive]])]),_:3}))}});const P$=P(X21,[["__scopeId","data-v-ef5af7c2"]]);var M4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ut={},e31=M4&&M4.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var n=0,i=a.length,l;n<i;n++)(l||!(n in a))&&(l||(l=Array.prototype.slice.call(a,0,n)),l[n]=a[n]);return e.concat(l||Array.prototype.slice.call(a))};Object.defineProperty(Ut,"__esModule",{value:!0});var c31=function(){function e(a){this.contest=a}return e.prototype.validate=function(a,t){t===void 0&&(t=!1);var n=[];return this.referenceMissing(a.optionSelections)&&n.push({message:"invalid_reference"}),this.tooManySelections(a.optionSelections)&&n.push({message:"too_many"}),this.blankNotAlone(a.optionSelections,a.explicitBlank)&&n.push({message:"blank"}),this.exclusiveNotAlone(a.optionSelections)&&n.push({message:"exclusive"}),n.push.apply(n,this.exceededListVotes(a.optionSelections)),a.explicitBlank||this.implicitlyBlank(a.optionSelections)||t&&n.push.apply(n,this.belowMinListVotes(a.optionSelections)),n},e.prototype.isComplete=function(a){var t=a.explicitBlank||this.optionIsExclusive(a)||this.implicitlyBlank(a.optionSelections)||!this.tooFewSelections(a.optionSelections);return t&&this.validate(a).length==0},Object.defineProperty(e.prototype,"optionReferences",{get:function(){return this.recursiveFlattener(this.contest.options).map(function(a){return a.reference})},enumerable:!1,configurable:!0}),e.prototype.recursiveFlattener=function(a){var t=this;if(!a)return[];var n=a.flatMap(function(i){return i.children?e31([i],t.recursiveFlattener(i.children),!0):[i]});return n},e.prototype.selectedReferences=function(a){return a.map(function(t){return t.reference})},e.prototype.referenceMissing=function(a){var t=this;return!this.selectedReferences(a).every(function(n){return n==="blank"||t.optionReferences.includes(n)})},e.prototype.implicitlyBlank=function(a){return this.contest.markingType.blankSubmission==="implicit"&&a.length===0},e.prototype.tooFewSelections=function(a){return a.length<this.contest.markingType.minMarks},e.prototype.tooManySelections=function(a){return a.length>this.contest.markingType.maxMarks},e.prototype.belowMinListVotes=function(a){var t=this,n=this.recursiveFlattener(this.contest.options),i=n.map(function(s){return s!=null&&s.minChooseableSuboptions?s:null}),l=[];return i.forEach(function(s){s!=null&&s.minChooseableSuboptions&&t.selectedChildren(a,[s])<s.minChooseableSuboptions&&l.push({message:"below_list_limit",keys:{list_name:s.title,min_list_marks:s.minChooseableSuboptions}})}),l},e.prototype.exceededListVotes=function(a){var t=this,n=this.recursiveFlattener(this.contest.options),i=n.map(function(s){return s!=null&&s.maxChooseableSuboptions?s:null}),l=[];return i.forEach(function(s){s!=null&&s.maxChooseableSuboptions&&t.selectedChildren(a,[s])>s.maxChooseableSuboptions&&l.push({message:"exceeded_list_limit",keys:{list_name:s.title,max_list_marks:s.maxChooseableSuboptions}})}),l},e.prototype.selectedChildren=function(a,t,n){var i=this;return n===void 0&&(n=0),t&&t.forEach(function(l){var s,r=(s=l==null?void 0:l.children)===null||s===void 0?void 0:s.filter(function(o){return i.selectedReferences(a).includes(o.reference)});n+=(r==null?void 0:r.length)||0,l.children&&(n=i.selectedChildren(a,l.children,n))}),n},e.prototype.exclusiveNotAlone=function(a){if(this.selectedReferences(a).length<2)return!1;var t=this.recursiveFlattener(this.contest.options);return this.selectedReferences(a).map(function(n){return t.find(function(i){return i.reference===n})}).some(function(n){return(n==null?void 0:n.exclusive)===!0})},e.prototype.blankNotAlone=function(a,t){return a.length>0&&t},e.prototype.optionIsExclusive=function(a){var t,n;return((t=a.optionSelections)===null||t===void 0?void 0:t.length)===1&&((n=this.contest.options.find(function(i){return i.reference===a.optionSelections[0].reference}))===null||n===void 0?void 0:n.exclusive)},e}(),O$=Ut.default=c31,F$={};Object.defineProperty(F$,"__esModule",{value:!0});var a31=function(){function e(a){this.contest=a}return e.prototype.validate=function(a){var t=[];return this.partyExclusive(a.optionSelections)&&t.push({message:"cross_party_voting"}),t},e.prototype.selectedReferences=function(a){return a.map(function(t){return t.reference})},e.prototype.partyExclusive=function(a){var t=this.selectedReferences(a),n=this.contest.options.filter(function(l){return t.includes(l.reference)}).length>1,i=!1;return this.contest.options.forEach(function(l){var s,r;if(t.includes(l.reference)){var o=t.filter(function(u){return u!==l.reference}),f=(s=l.children)===null||s===void 0?void 0:s.map(function(u){return u.reference});n=o.some(function(u){return!(f!=null&&f.includes(u))})}var m=(r=l.children)===null||r===void 0?void 0:r.some(function(u){return t.includes(u.reference)});i&&m?n=!0:m&&(i=!0)}),n},e}(),t31=F$.default=a31;const n31=e=>(c.pushScopeId("data-v-21030ff1"),e=e(),c.popScopeId(),e),i31=["aria-label","aria-describedby"],l31=["id"],s31=n31(()=>c.createElementVNode("hr",{class:"AVBallot--separator"},null,-1)),r31=["aria-label"],o31=c.defineComponent({__name:"AVBallot",props:{contest:{type:Object,required:!0},selectionPile:{type:Object,required:!0},locale:{type:String,default:null},showSubmissionHelper:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,default:!1},partialResults:{type:Object,default:null},weight:{type:Number,default:null},includeLazyErrors:{type:Boolean,default:!1},imageOption:{type:String,default:"square"}},emits:["update:selectionPile","update:errors","view-candidate"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=c.computed(()=>t.global.locale.value||t.global.locale),l=e,s=a;c.onMounted(()=>{l.locale&&e1(l.locale)}),c.watch(()=>l.locale,()=>{l.locale&&e1(l.locale)},{deep:!0});const r=c.ref(!1),o=c.ref(""),f=c.ref(""),m=c.ref(null),u=c.computed(()=>l.selectionPile.optionSelections),d=c.computed(()=>new O$(l.contest)),p=c.computed(()=>l.contest.disregardVoterWeight?null:l.weight),V=c.computed(()=>{var E;let A=[];return(E=l.contest.customRulesets)!=null&&E.includes("belgian_ballot_rules")&&A.push(new t31(l.contest)),A}),C=c.computed(()=>{let A=[];V.value.forEach(R=>{A.push(...R.validate(l.selectionPile))});const E=[...d.value.validate(l.selectionPile,l.includeLazyErrors),...A];if(M.value&&E.some(R=>R.message==="cross_party_voting")){let R;E.some(S=>S.message==="exclusive")&&(R=E.findIndex(S=>S.message==="exclusive"),E.splice(R,1)),E.some(S=>S.message==="blank")&&(R=E.findIndex(S=>S.message==="cross_party_voting"),E.splice(R,1))}return s("update:errors",E),E}),g=c.computed(()=>C.value.length===0),L=c.computed(()=>{var A;return(A=l.contest.question)==null?void 0:A[i.value]}),M=c.computed(()=>{var A;return(A=l.contest.customRulesets)==null?void 0:A.includes("belgian_ballot_rules")}),v=c.computed(()=>x(l.contest.options).some(A=>A.exclusive)),H=c.computed(()=>l.contest);c.watch(H,(A,E)=>{var R;E&&A&&A.reference!==E.reference&&((R=document.getElementById("content"))==null||R.focus(),E.searchForm&&(m.value.value=""))});const b=()=>{s("update:selectionPile",{...l.selectionPile,explicitBlank:!l.selectionPile.explicitBlank})},_=({reference:A,amount:E})=>{const R=u.value.filter(q=>q.reference===A).length;E===R&&(E=E-1);const S=u.value.filter(q=>q.reference!==A);for(let q=0;q<E;q++)S.push({reference:A});s("update:selectionPile",{...l.selectionPile,optionSelections:S})},N=A=>s("view-candidate",A),x=(A,E)=>A.flatMap(R=>(E&&(R.parentContent=E),R.children?[R,...x(R.children,R)]:[R]));return(A,E)=>{const R=c.resolveComponent("AVSearchBallot"),S=c.resolveComponent("AVWriteInOption"),q=c.resolveComponent("AVOption"),G=c.resolveComponent("AVBlankOption"),I=c.resolveComponent("AVSubmissionHelper");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({AVBallot:!0,"AVBallot--error":!g.value}),"aria-label":c.unref(n)("js.components.AVBallot.aria_labels.ballot"),"aria-describedby":`ballot_${e.contest.reference}`},[L.value?(c.openBlock(),c.createElementBlock("h5",{key:0,id:`ballot_${e.contest.reference}_question`,class:"AVBallot--question","aria-live":"polite"},c.toDisplayString(L.value),9,l31)):c.createCommentVNode("",!0),e.contest.searchForm&&!e.disabled&&!e.observerMode?(c.openBlock(),c.createBlock(R,{key:1,ref_key:"search",ref:m,options:x(e.contest.options),"options-container-id":"ballot_options"},null,8,["options"])):c.createCommentVNode("",!0),s31,c.createElementVNode("div",{id:"ballot_options",class:c.normalizeClass({"AVBallot--options":!0,"AVBallot--options-with-list":e.contest.options.some(O=>O.children)}),"aria-label":c.unref(n)("js.components.AVBallot.aria_labels.ballot_options")},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.contest.options,O=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:O.reference},[O.writeIn?(c.openBlock(),c.createBlock(S,{key:0,"candidate-value":f.value,"onUpdate:candidateValue":E[0]||(E[0]=Q=>f.value=Q),"party-value":o.value,"onUpdate:partyValue":E[1]||(E[1]=Q=>o.value=Q),"checked-value":r.value,"onUpdate:checkedValue":E[2]||(E[2]=Q=>r.value=Q),parties:[],disabled:e.disabled,observerMode:e.observerMode},null,8,["candidate-value","party-value","checked-value","disabled","observerMode"])):(c.openBlock(),c.createBlock(q,{key:1,selections:u.value,option:O,invalid:!g.value,"exclusive-error":!M.value&&O.exclusive&&C.value.some(Q=>Q.message.includes("exclusive")),contest:e.contest,disabled:e.disabled,observerMode:e.observerMode,"partial-results":e.partialResults,"image-option":e.imageOption,onChecked:_,onViewCandidate:N},null,8,["selections","option","invalid","exclusive-error","contest","disabled","observerMode","partial-results","image-option"]))],64))),128)),e.contest.markingType.blankSubmission==="active_choice"?(c.openBlock(),c.createBlock(G,{key:0,checked:e.selectionPile.explicitBlank,error:!M.value&&C.value.some(O=>O.message.includes("blank")),disabled:e.disabled,invalid:!g.value,observerMode:e.observerMode,accentColor:e.contest.blankOptionColor,"partial-results":e.partialResults?e.partialResults.blank:null,onToggleBlank:b},null,8,["checked","error","disabled","invalid","observerMode","accentColor","partial-results"])):c.createCommentVNode("",!0)],10,r31),e.showSubmissionHelper&&!e.disabled&&!e.observerMode?(c.openBlock(),c.createBlock(I,{key:2,id:`ballot_${e.contest.reference}`,"chosen-count":u.value.length,errors:C.value,weight:p.value,"min-marks":e.contest.markingType.minMarks,"max-marks":e.contest.markingType.maxMarks,"has-exclusive-options":v.value,class:"AVBallot--helper"},null,8,["id","chosen-count","errors","weight","min-marks","max-marks","has-exclusive-options"])):c.createCommentVNode("",!0)],10,i31)}}});const R$=P(o31,[["__scopeId","data-v-21030ff1"]]),f31=e=>(c.pushScopeId("data-v-71101cba"),e=e(),c.popScopeId(),e),u31={key:0,class:"AVPileSummary--summary"},m31={key:0,class:"AVPileSummary--summary-header"},d31={class:"AVPileSummary--summary-header-text"},p31={key:1,class:"AVPileSummary--summary-header"},v31={class:"AVPileSummary--summary-body"},h31={key:1,class:"AVPileSummary--assign"},z31={class:"AVPileSummary--assign-card"},V31=["aria-label"],M31={class:"AVPileSummary--edit"},C31={key:0},g31={class:"AVPileSummary--assign-body"},H31={key:0,class:"AVPileSummary--assign-text"},b31=f31(()=>c.createElementVNode("br",null,null,-1)),L31=["aria-label"],A31=c.defineComponent({__name:"AVPileSummary",props:{selectionPile:{type:Object,required:!0},contest:{type:Object,required:!0},maximumOptionsShown:{type:Number,default:null},activeState:{type:String,required:!0},pileIndex:{type:Number,default:null},isEditing:{type:Boolean,default:!1},totalPiles:{type:Number,required:!0},locale:{type:String,default:null},imageOption:{type:String,default:"square"}},emits:["editCurrentSelection","deleteSelection"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=c.computed(()=>t.global.locale.value||t.global.locale),l=a,s=e;c.onMounted(()=>{s.locale&&e1(s.locale)}),c.watch(()=>s.locale,()=>{s.locale&&e1(s.locale)},{deep:!0});const r=c.ref(!1),o=c.ref([]),f=c.computed(()=>s.selectionPile.optionSelections.length===0),m=c.computed(()=>!s.maximumOptionsShown||r.value?s.selectionPile.optionSelections:s.selectionPile.optionSelections.slice(0,s.maximumOptionsShown)),u=c.computed(()=>s.selectionPile.optionSelections.length-m.value.length),d=(C,g)=>{C.selectable&&o.value.push({...C,parentContent:g}),C.children&&C.children.map(L=>d(L,C))},p=(C,g)=>C&&C.parentContent?(g.push(C.parentContent),p(C.parentContent,g)):g,V=c.computed(()=>{const C={options:[],writeIns:[]};return m.value.forEach(g=>{if(g.text)C.writeIns.push({partyLetter:"?",partyName:"?",candidateName:g.text});else{const L=C.options.find(v=>v.handle===g.reference);s.contest.options.map(v=>d(v));const M=o.value.find(v=>v.reference===g.reference);L?L.crosses+=1:C.options.push({title:M.title[i.value],handle:g.reference,image:M.image,crosses:1,parent:M.parentContent,rank:s.contest.markingType.voteVariation==="ranked"?C.options.length+1:null})}}),C});return(C,g)=>{const L=c.resolveComponent("AVSummaryOption"),M=c.resolveComponent("AVIcon");return e.activeState==="summary"?(c.openBlock(),c.createElementBlock("div",u31,[e.contest.markingType.maxPiles!==1?(c.openBlock(),c.createElementBlock("header",m31,[c.createElementVNode("span",null,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.selection"))+" "+c.toDisplayString(e.pileIndex+1)+" / "+c.toDisplayString(e.totalPiles),1),c.createElementVNode("span",d31,c.toDisplayString(e.selectionPile.multiplier)+" "+c.toDisplayString(c.unref(n)("js.components.AVPileSummary.ballots")),1)])):(c.openBlock(),c.createElementBlock("header",p31,[c.createElementVNode("span",null,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.selection")),1)])),c.createElementVNode("div",v31,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(V.value.options,(v,H)=>(c.openBlock(),c.createBlock(L,{key:H,option:v,"multiple-votes-allowed":e.contest.markingType.votesAllowedPerOption>1,parents:p(v.parent,v.parent?[v.parent]:[]),"image-option":e.imageOption},null,8,["option","multiple-votes-allowed","parents","image-option"]))),128)),f.value?(c.openBlock(),c.createBlock(L,{key:0,blank:f.value},null,8,["blank"])):c.createCommentVNode("",!0)])])):(c.openBlock(),c.createElementBlock("div",h31,[c.createElementVNode("div",z31,[c.createElementVNode("div",{class:"AVPileSummary--assign-header","aria-label":c.unref(n)("js.components.AVPileSummary.aria_labels.edit_selection"),role:"button",onClick:g[0]||(g[0]=v=>l("editCurrentSelection"))},[c.createElementVNode("div",M31,[c.createVNode(M,{icon:"pen-to-square"}),c.createElementVNode("span",null,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.ballot_selection"))+" "+c.toDisplayString(e.pileIndex+1),1)]),e.activeState==="overview"||e.isEditing?(c.openBlock(),c.createElementBlock("span",C31,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.assigned"))+" "+c.toDisplayString(e.selectionPile.multiplier),1)):c.createCommentVNode("",!0)],8,V31),c.createElementVNode("div",g31,[f.value?(c.openBlock(),c.createElementBlock("p",H31,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.blank")),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(V.value.options,(v,H)=>(c.openBlock(),c.createElementBlock("p",{key:H,class:"AVPileSummary--assign-text"},c.toDisplayString(v.rank?`${v.rank}: `:"")+c.toDisplayString(v.title),1))),128)),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(V.value.writeIns,(v,H)=>(c.openBlock(),c.createElementBlock("p",{key:H,class:"AVPileSummary--assign-text"},[c.createElementVNode("b",null,c.toDisplayString(v.partyLetter)+" - "+c.toDisplayString(v.partyName),1),b31,c.createElementVNode("span",null,c.toDisplayString(v.candidateName),1)]))),128)),u.value>0?(c.openBlock(),c.createElementBlock("p",{key:1,role:"button",class:"AVPileSummary--show-more-button",onClick:g[1]||(g[1]=c.withModifiers(v=>r.value=!0,["stop","prevent"]))},[c.createElementVNode("u",null,[c.createElementVNode("em",null,c.toDisplayString(`${c.unref(n)("js.components.AVPileSummary.and_n_more_pre")} ${u.value} ${c.unref(n)("js.components.AVPileSummary.and_n_more_pos")}`),1)])])):c.createCommentVNode("",!0),r.value?(c.openBlock(),c.createElementBlock("p",{key:2,role:"button",class:"AVPileSummary--show-more-button",onClick:g[2]||(g[2]=c.withModifiers(v=>r.value=!1,["stop","prevent"]))},[c.createElementVNode("u",null,[c.createElementVNode("em",null,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.show_less")),1)])])):c.createCommentVNode("",!0)])]),e.activeState==="overview"?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVPileSummary--assign-delete-button",role:"button","aria-label":c.unref(n)("js.components.AVPileSummary.aria_labels.delete_selection"),onClick:g[3]||(g[3]=c.withModifiers(v=>l("deleteSelection"),["stop","prevent"]))},[c.createVNode(M,{icon:"trash-can"})],8,L31)):c.createCommentVNode("",!0)]))}}});const j$=P(A31,[["__scopeId","data-v-71101cba"]]);var q$={},Li=M4&&M4.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var n=0,i=a.length,l;n<i;n++)(l||!(n in a))&&(l||(l=Array.prototype.slice.call(a,0,n)),l[n]=a[n]);return e.concat(l||Array.prototype.slice.call(a))};Object.defineProperty(q$,"__esModule",{value:!0});var _31=Ut,N31=function(){function e(a){var t=a.contest,n=a.voterWeight;this.contest=t,this.voterWeight=n}return e.prototype.isComplete=function(a){return this.allWeightUsed(a)&&this.validate(a).length==0},e.prototype.validate=function(a){var t=[],n=new _31.default(this.contest);return a.piles.forEach(function(i){t=Li(Li([],t,!0),n.validate(i),!0)}),a.piles.forEach(function(i){n.isComplete(i)||t.push({message:"A selection is not complete"})}),t},e.prototype.allWeightUsed=function(a){return this.voterWeight===a.piles.reduce(function(t,n){return n.multiplier+t},0)},e}(),k31=q$.default=N31;const x31={class:"AVSplitHelper--title","aria-live":"polite"},y31=["innerHTML"],S31={class:"AVSplitHelper--footer"},w31={class:"AVSplitHelper--btn-secondary-container"},E31={class:"AVSplitHelper--btn-primary-container"},T31=["disabled"],B31={key:1},I31={class:"AVSplitHelper--assign-card"},D31={class:"AVSplitHelper--assign-question"},P31=["for"],O31=["id","max"],F31={class:"AVSplitHelper--footer"},R31={class:"AVSplitHelper--btn-secondary-container"},j31={class:"AVSplitHelper--btn-primary-container"},q31=["disabled"],$31={key:2},U31={key:0,class:"AVSplitHelper--overview-success"},W31={key:1,class:"AVSplitHelper--overview-default"},G31={class:"AVSplitHelper--overview--text"},J31=["disabled"],Z31=["onClick"],Y31=c.defineComponent({__name:"AVSplitHelper",props:{contest:{type:Object,required:!0},contestSelection:{type:Object,required:!0},weight:{type:Number,required:!0},showSubmissionHelper:{type:Boolean,default:!0},partialResults:{type:Object,default:null},locale:{type:String,default:null},includeLazyErrors:{type:Boolean,default:!1},imageOption:{type:String,default:"square"}},emits:["update:complete","update:contestSelection","update:activeState","update:activePile","view-candidate"],setup(e,{emit:a}){var G;const t=c.inject("i18n"),{t:n}=t.global,i=c.computed(()=>t.global.locale.value||t.global.locale),l=e,s=a;c.watch(()=>l.locale,()=>{l.locale&&e1(l.locale)},{deep:!0});const r=c.ref(null),o=c.ref(l.contestSelection.piles[0]||{multiplier:l.weight,optionSelections:[],explicitBlank:!1}),f=c.ref(((G=l.contestSelection.piles)==null?void 0:G.length)===0||l.contest.markingType.maxPiles===1?"ballot":"overview"),m=c.ref([]),u=c.computed(()=>l.contestSelection.piles),d=c.computed(()=>{var I;return(I=u.value)==null?void 0:I.reduce((O,Q)=>O-Q.multiplier,l.weight)}),p=c.computed(()=>new O$(l.contest)),V=c.computed(()=>new k31({contest:l.contest,voterWeight:l.weight})),C=c.computed(()=>d.value===0&&m.value.length==0&&u.value.every(I=>p.value.isComplete(I))),g=c.computed(()=>{var I;return(I=u.value)==null?void 0:I.reduce((O,Q)=>O+Q.multiplier,0)}),L=c.computed(()=>{var I;return(I=o.value)==null?void 0:I.multiplier}),M=c.computed(()=>u.value.filter((I,O)=>O!==r.value).reduce((I,O)=>I-O.multiplier,l.weight)),v=c.computed(()=>l.contest.markingType.maxPiles!==1&&l.weight>1),H=c.computed(()=>r.value!==null),b=I=>p.value.isComplete(I),_=I=>p.value.validate(I,l.includeLazyErrors).length>0,N=()=>{if(v.value){const I=[...u.value];r.value===null?I.push({...o.value}):I.splice(r.value,1,{...o.value}),s("update:contestSelection",{...l.contestSelection,piles:I}),r.value=null,f.value="overview"}else o.value.multiplier=l.weight,s("update:contestSelection",{...l.contestSelection,piles:[o.value]})},x=I=>{o.value=I,v.value||N()},A=()=>{o.value={optionSelections:[],multiplier:M.value,explicitBlank:!1},r.value=null,f.value="ballot"},E=I=>{u.value.splice(I,1)},R=I=>{o.value={...u.value[I]},r.value=I,f.value="ballot"},S=I=>{m.value=I},q=I=>s("view-candidate",I);return c.watch(C,I=>s("update:complete",I)),c.watch(L,()=>{o.value&&(o.value.multiplier=Math.max(0,Math.min(L.value,M.value)))}),c.watch(o,I=>{s("update:activePile",I)}),c.watch(f,I=>s("update:activeState",I)),c.onMounted(()=>{l.locale&&e1(l.locale),s("update:activePile",o.value),s("update:activeState",f.value),s("update:complete",C.value),v.value||N()}),(I,O)=>{var v1;const Q=c.resolveComponent("AVSplitWizardHeader"),z1=c.resolveComponent("AVBallot"),b1=c.resolveComponent("AVPileSummary"),V1=c.resolveComponent("AVSplitWeightHelper"),_1=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("h3",x31,c.toDisplayString(e.contest.title[i.value]),1),c.createElementVNode("div",{class:"AVSplitHelper--description",innerHTML:(v1=e.contest.description)==null?void 0:v1[i.value]},null,8,y31),v.value?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[["ballot","assign","overview"].includes(f.value)?(c.openBlock(),c.createBlock(Q,{key:0,"active-selection-pile-index":r.value,"active-state":f.value,"selection-piles":u.value,"total-weight":g.value+d.value,"is-editing":H.value},null,8,["active-selection-pile-index","active-state","selection-piles","total-weight","is-editing"])):c.createCommentVNode("",!0),c.createVNode(c.Transition,{name:"fade",mode:"out-in"},{default:c.withCtx(()=>{var w1,W1,e2;return[o.value&&f.value==="ballot"?(c.openBlock(),c.createElementBlock("div",{key:r.value},[c.createVNode(z1,{class:"AVSplitHelper--ballot","selection-pile":o.value,"partial-results":e.partialResults,contest:e.contest,weight:e.weight,includeLazyErrors:e.includeLazyErrors,"show-submission-helper":e.showSubmissionHelper,"image-option":e.imageOption,"onUpdate:selectionPile":x,"onUpdate:errors":O[0]||(O[0]=C1=>S(C1))},null,8,["selection-pile","partial-results","contest","weight","includeLazyErrors","show-submission-helper","image-option"]),c.createElementVNode("div",S31,[c.createElementVNode("div",w31,[u.value.length>0?(c.openBlock(),c.createElementBlock("button",{key:"back",class:"AVSplitHelper--btn-secondary",onClick:O[1]||(O[1]=C1=>f.value="overview")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.ballot.back_button")),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",E31,[c.createElementVNode("button",{key:"assign",class:"AVSplitHelper--btn-primary",disabled:!b(o.value)||_(o.value),onClick:O[2]||(O[2]=C1=>f.value="assign")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.ballot.confirm_button")),9,T31)])])])):f.value==="assign"?(c.openBlock(),c.createElementBlock("div",B31,[c.createElementVNode("div",I31,[c.createElementVNode("h4",D31,c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.assign.split_question")),1),c.createVNode(b1,{"selection-pile":o.value,contest:e.contest,"maximum-options-shown":3,"pile-index":H.value?r.value:u.value.length,"active-state":f.value,"is-editing":H.value,"total-piles":e.contestSelection.piles.length,"image-option":e.imageOption,onEditCurrentSelection:O[3]||(O[3]=C1=>f.value="ballot")},null,8,["selection-pile","contest","pile-index","active-state","is-editing","total-piles","image-option"]),c.createElementVNode("label",{for:`${e.contest.reference}-ballot-selector`,class:"AVSplitHelper--assign-label"},c.toDisplayString(H.value?c.unref(n)("js.components.AVSplitHelper.assign.ballots_to_assign_edit_mode"):c.unref(n)("js.components.AVSplitHelper.assign.ballots_to_assign")),9,P31),c.withDirectives(c.createElementVNode("input",{id:`${e.contest.reference}-ballot-selector`,"onUpdate:modelValue":O[4]||(O[4]=C1=>o.value.multiplier=C1),class:"AVSplitHelper--assign-input",type:"number",max:M.value},null,8,O31),[[c.vModelText,o.value.multiplier]])]),c.createVNode(V1,{"assigned-weight":g.value,"unused-weight":d.value,"active-assigned":(w1=u.value[r.value])==null?void 0:w1.multiplier},null,8,["assigned-weight","unused-weight","active-assigned"]),c.createElementVNode("div",F31,[c.createElementVNode("div",R31,[c.createElementVNode("button",{key:"ballot",class:"AVSplitHelper--btn-secondary",onClick:O[5]||(O[5]=C1=>f.value="ballot")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.assign.back_button")),1)]),c.createElementVNode("div",j31,[c.createElementVNode("button",{key:"confirm",class:"AVSplitHelper--btn-primary",disabled:((W1=o.value)==null?void 0:W1.multiplier)<1||((e2=o.value)==null?void 0:e2.multiplier)>M.value,onClick:O[6]||(O[6]=C1=>N())},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.assign.confirm_button")),9,q31)])])])):f.value==="overview"?(c.openBlock(),c.createElementBlock("div",$31,[d.value===0&&V.value.isComplete(e.contestSelection)?(c.openBlock(),c.createElementBlock("div",U31,[c.createVNode(_1,{icon:"circle-check",class:"AVSplitHelper--overview-success-icon"}),c.createTextVNode(" "+c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.overview.all_ballots_assigned")),1)])):(c.openBlock(),c.createElementBlock("div",W31,[c.createElementVNode("p",G31,[c.createElementVNode("strong",null,c.toDisplayString(d.value),1),c.createTextVNode(" "+c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.overview.ballots_left")),1)]),c.createElementVNode("button",{key:"newSelection",class:"AVSplitHelper--overview-new-ballot-btn",disabled:d.value===0,onClick:A},[c.createVNode(_1,{icon:"file-circle-plus"}),c.createTextVNode(" "+c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.overview.new_ballot_selection")),1)],8,J31)])),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(u.value,(C1,O1)=>(c.openBlock(),c.createElementBlock("article",{key:`preview-${O1}`,onClick:y2=>R(O1)},[c.createVNode(b1,{"selection-pile":C1,contest:e.contest,"maximum-options-shown":3,"active-state":f.value,"pile-index":O1,"total-piles":e.contestSelection.piles.length,"image-option":e.imageOption,onDeleteSelection:y2=>E(O1)},null,8,["selection-pile","contest","active-state","pile-index","total-piles","image-option","onDeleteSelection"])],8,Z31))),128))])):c.createCommentVNode("",!0)]}),_:1})],64)):(c.openBlock(),c.createBlock(z1,{key:1,class:"AVSplitHelper--no-split","selection-pile":o.value,"partial-results":e.partialResults,includeLazyErrors:e.includeLazyErrors,contest:e.contest,weight:e.weight,"image-option":e.imageOption,"show-submission-helper":e.showSubmissionHelper,"onUpdate:selectionPile":x,"onUpdate:errors":O[7]||(O[7]=w1=>S(w1)),onViewCandidate:q},null,8,["selection-pile","partial-results","includeLazyErrors","contest","weight","image-option","show-submission-helper"]))],64)}}});const $$=P(Y31,[["__scopeId","data-v-1c359a5f"]]),Q31="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gKwSUNDX1BST0ZJTEUAAQEAAAKgbGNtcwRAAABtbnRyUkdCIFhZWiAH6AAEAAMACAAzABRhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1kZXNjAAABIAAAAEBjcHJ0AAABYAAAADZ3dHB0AAABmAAAABRjaGFkAAABrAAAACxyWFlaAAAB2AAAABRiWFlaAAAB7AAAABRnWFlaAAACAAAAABRyVFJDAAACFAAAACBnVFJDAAACFAAAACBiVFJDAAACFAAAACBjaHJtAAACNAAAACRkbW5kAAACWAAAACRkbWRkAAACfAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACQAAAAcAEcASQBNAFAAIABiAHUAaQBsAHQALQBpAG4AIABzAFIARwBCbWx1YwAAAAAAAAABAAAADGVuVVMAAAAaAAAAHABQAHUAYgBsAGkAYwAgAEQAbwBtAGEAaQBuAABYWVogAAAAAAAA9tYAAQAAAADTLXNmMzIAAAAAAAEMQgAABd7///MlAAAHkwAA/ZD///uh///9ogAAA9wAAMBuWFlaIAAAAAAAAG+gAAA49QAAA5BYWVogAAAAAAAAJJ8AAA+EAAC2xFhZWiAAAAAAAABilwAAt4cAABjZcGFyYQAAAAAAAwAAAAJmZgAA8qcAAA1ZAAAT0AAACltjaHJtAAAAAAADAAAAAKPXAABUfAAATM0AAJmaAAAmZwAAD1xtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAEcASQBNAFBtbHVjAAAAAAAAAAEAAAAMZW5VUwAA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NF8IWGhI7Z9TcTW6L9CJ8SHaMtq3tcszR1uIi7v8ACMJ9hpCuztAbE4TMrhisT6xC6aHyJZQh3KObtZbrIfS/wHUzJwXIuFa9gy/IAgO++D5LgeLVVZwCnEUtrmLcYsj8/juoo5g1mqBNAyPcghtJClgApFLaaLttTe7geuuwu58XBuX6rhuGyRVTAFbYLjLbsbt72eNYI2gkRTovGRoAOkd6iAcl+p1H8g0+g1AEQBJ+UMGJQItSnnPmnaETA4ZshdbdushcH03hVXl/JLAZVj9LkQRpZ86uDoCM2W1HVUNXHRbhwOTff883ACOlqH+eNBpAR7kwZ3VXAU46hDyHLCZtCtlgMBOT0dpkArcOUnWs9ouq0Tqi2IfxAStC5/8AeYrX883B0GHrK7wWLVWcQQynMjbuOpjkunMo+snSZRku+HYpmDf3OoxYvczjH5R2FeJU9U1FtTta12PsMeyi1YsJm+K+cOrspzDx1rBiIFpRpppLM/cqFdQu2bHIT4Ye5KmMHTt7SCy1bLAMBiDPNX0w9X7lB5NMAtWNkEDm7+p5ly7I79o0jBMTOks7LHmAXGHpCxPH2hm53lsw6IpCuG+LqOvadIbazn00v+x8sZ2U83f7ItCuAnJQT2Zt8r8e2JAmG+GphGWZUqfYWwbpqFdWkSAKb7159tuUl7pX8hs8pp9P/9k=",K31={key:0,class:"AVResourceSection--image-container"},X31=["src","alt"],e41={class:"AVResourceFields"},c41={key:0,class:"AVResourceFields--title"},a41={key:1,class:"AVResourceFields--subtitle"},t41={key:2,class:"AVResourceFields--group-container"},n41={class:"AVResourceFields--group"},i41={key:1,class:"AVResourceFields--divisor"},l41={key:2,class:"AVResourceFields--link-list"},s41={key:0},r41={key:3},o41={key:4},f41={key:0},u41={key:5},m41=["src"],d41=["innerHTML"],p41={key:7,class:"AVResourceFields--regular-content"},v41={key:0},h41=c.defineComponent({__name:"AVResourceSection",props:{candidate:{type:Object,required:!0},currentCandidateGroup:{type:Number,default:null},summary:{type:Boolean,default:!1},locale:{type:String,default:null},card:{type:Boolean,default:!1}},setup(e){const a=c.inject("i18n"),{t,d:n}=a.global,i=c.computed(()=>a.global.locale.value||a.global.locale),l=c.computed(()=>{var p,V,C,g,L,M;return(V=(p=u.candidate.title)==null?void 0:p[0])!=null&&V.localised?(g=(C=u.candidate.title)==null?void 0:C[0])==null?void 0:g.form_content[i.value]:(M=(L=u.candidate.title)==null?void 0:L[0])==null?void 0:M.form_content}),s=c.computed(()=>{var p,V,C,g,L,M;return(V=(p=u.candidate.subtitle)==null?void 0:p[0])!=null&&V.localised?(g=(C=u.candidate.subtitle)==null?void 0:C[0])==null?void 0:g.form_content[i.value]:(M=(L=u.candidate.subtitle)==null?void 0:L[0])==null?void 0:M.form_content}),r=c.computed(()=>{var g;if(!u.candidate.groups)return null;let p=[],V=[],C="";return u.currentCandidateGroup?u.candidate.groups.forEach(L=>{L.id===u.currentCandidateGroup?p.push(L):V.push(L)}):(V=[...u.candidate.groups],p=V.splice(0,1)),V.forEach((L,M)=>{M===0||u.candidate.groups.length===1?C=L.title[i.value]:M===V.length-1?C+=` & ${L.title[i.value]}`:C+=`, ${L.title[i.value]}`}),{title:(g=p[0])==null?void 0:g.title[i.value],surplus:V.length||null,remaining:C}}),o=c.computed(()=>u.summary?u.candidate.summary:u.candidate.generic.filter(p=>p.item_type!=="image")),f=c.computed(()=>u.summary?!!u.candidate.summary.length:!!u.candidate.generic.length),m=p=>p.item_type==="check_box"?!0:p.form_content?p.item_type==="link_list"?!!p.form_content.length:p.localised?!!p.form_content[i.value]:!!p.form_content:!1,u=e,d=c.computed(()=>{var p;return((p=u.candidate.generic.find(V=>V.item_type==="image"))==null?void 0:p.form_content)||Q31});return c.onMounted(()=>{u.locale&&e1(u.locale)}),c.watch(()=>u.locale,()=>{u.locale&&e1(u.locale)}),(p,V)=>{const C=c.resolveComponent("AVTooltip"),g=c.resolveComponent("AVIcon"),L=c.resolveComponent("AVLinkVisualizer");return c.openBlock(),c.createElementBlock("section",{class:c.normalizeClass(["AVResourceSection",{"AVResourceSection--themed":e.summary}])},[c.createElementVNode("div",{class:c.normalizeClass(["AVResourceSection--container",{"AVResourceSection--card":e.card}])},[e.summary&&d.value?(c.openBlock(),c.createElementBlock("div",K31,[c.createElementVNode("img",{src:d.value,alt:c.unref(t)("js.components.AVResourceSection.alt_candidate"),class:"AVResourceSection--image"},null,8,X31)])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass(e.summary?"AVResourceSection--fields-container":"AVResourceSection--generic-container")},[c.createElementVNode("div",e41,[e.summary&&l.value?(c.openBlock(),c.createElementBlock("h4",c41,c.toDisplayString(l.value),1)):c.createCommentVNode("",!0),e.summary&&s.value?(c.openBlock(),c.createElementBlock("h5",a41,c.toDisplayString(s.value),1)):c.createCommentVNode("",!0),e.summary&&e.candidate.groups&&!e.card?(c.openBlock(),c.createElementBlock("div",t41,[c.createElementVNode("h4",n41,c.toDisplayString(r.value.title),1),r.value.surplus?(c.openBlock(),c.createBlock(C,{key:0,text:c.unref(t)("js.components.AVResourceSection.and_more",{amount:r.value.surplus}),content:r.value.remaining,position:"top",class:"AVResourceFields--tooltip"},null,8,["text","content"])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0),e.card?c.createCommentVNode("",!0):(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:3},c.renderList(o.value,M=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:`attribute_${M.attribute_name}`},[f.value&&m(M)?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(e.summary?"AVResourceFields--container-summary":"AVResourceFields--container-generic")},[e.summary?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("h4",{key:0,class:c.normalizeClass({"AVResourceFields--divisor":M.item_type==="check_box"})},[c.createTextVNode(c.toDisplayString(M.label[i.value])+" ",1),M.item_type==="check_box"?(c.openBlock(),c.createBlock(g,{key:0,icon:M.form_content?"square-check":"square-xmark",class:c.normalizeClass(M.form_content?"AVResourceFields--checkbox-true":"AVResourceFields--checkbox-false"),"aria-label":M.form_content?c.unref(t)("js.components.AVResourceSection.true"):c.unref(t)("js.components.AVResourceSection.false")},null,8,["icon","class","aria-label"])):c.createCommentVNode("",!0)],2)),!e.summary&&M.item_type!=="check_box"?(c.openBlock(),c.createElementBlock("hr",i41)):c.createCommentVNode("",!0),M.item_type==="link_list"&&m(M)?(c.openBlock(),c.createElementBlock("div",l41,[e.summary?(c.openBlock(),c.createElementBlock("span",s41,c.toDisplayString(`${M.label[i.value]}:`),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(M.form_content,v=>(c.openBlock(),c.createBlock(L,{key:v.attributes.name,link:v,large:!e.summary},null,8,["link","large"]))),128))])):M.item_type==="check_box"&&e.summary?(c.openBlock(),c.createElementBlock("div",r41,[c.createElementVNode("span",null,c.toDisplayString(`${M.label[i.value]}`),1),c.createVNode(g,{icon:M.form_content?"square-check":"square-xmark",class:c.normalizeClass(M.form_content?"AVResourceFields--checkbox-true":"AVResourceFields--checkbox-false"),"aria-label":M.form_content?c.unref(t)("js.components.AVResourceSection.true"):c.unref(t)("js.components.AVResourceSection.false")},null,8,["icon","class","aria-label"])])):M.item_type==="select"&&m(M)?(c.openBlock(),c.createElementBlock("div",o41,[e.summary?(c.openBlock(),c.createElementBlock("span",f41,c.toDisplayString(`${M.label[i.value]}:`),1)):c.createCommentVNode("",!0),c.createTextVNode(" "+c.toDisplayString(M.form_content[i.value]),1)])):M.item_type==="video"&&m(M)?(c.openBlock(),c.createElementBlock("div",u41,[c.createElementVNode("iframe",{style:{width:"100%",height:"100%","min-height":"400px"},src:M.form_content.toString()},null,8,m41)])):M.item_type==="rich_text_area"&&!e.summary&&m(M)?(c.openBlock(),c.createElementBlock("div",{key:6,class:"AVResourceFields--rich-text",innerHTML:M.localised?M.form_content[i.value]:M.form_content},null,8,d41)):M.item_type!=="rich_text_area"&&M.item_type!=="check_box"?(c.openBlock(),c.createElementBlock("p",p41,[e.summary?(c.openBlock(),c.createElementBlock("span",v41,c.toDisplayString(`${M.label[i.value]}: `),1)):c.createCommentVNode("",!0),M.item_type==="date"||M.item_type==="date_time"?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(c.unref(n)(M.form_content,M.item_type==="date"?null:"long")),1)],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:2},[c.createTextVNode(c.toDisplayString(M.localised?M.form_content[i.value]:M.form_content),1)],64))])):c.createCommentVNode("",!0)],2)):c.createCommentVNode("",!0)],64))),128))])],2)],2)],2)}}});const U$=P(h41,[["__scopeId","data-v-4d5da116"]]);var z41={},V41=c.createElementVNode("a",{href:"#"},"LOGO",-1),M41={class:"flex items-center"},C41={class:"flex flex-col items-center justify-center p-3 w-full"},g41=c.createElementVNode("h2",{class:"mb-4"},"Election Name",-1),H41=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1);function b41(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),l=c.resolveComponent("AVNavbar"),s=c.resolveComponent("AVLabel"),r=c.resolveComponent("AVTabSwitcher"),o=c.resolveComponent("AVSidebarItem"),f=c.resolveComponent("AVButton"),m=c.resolveComponent("AVSidebar"),u=c.resolveComponent("AVContent"),d=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(l,null,{default:c.withCtx(function(){return[V41,c.createElementVNode("div",M41,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(u,null,{sidebar:c.withCtx(function(){return[c.createVNode(m,null,{default:c.withCtx(function(){return[c.createElementVNode("div",C41,[g41,c.createVNode(s,{value:"draft",type:"info"})]),c.createVNode(r,{options:["Pre-election","election"]}),c.createVNode(n,{type:"sidebar"},{default:c.withCtx(function(){return[c.createVNode(o,{label:"Election Overview",icon:"grip",active:""}),c.createVNode(o,{label:"Election details",type:"step",stepIndex:"1"}),c.createVNode(o,{label:"Digital Absentee Voting Requirements",type:"step",stepIndex:"2"}),c.createVNode(o,{label:"Voting App Set Up",type:"step",stepIndex:"3"}),c.createVNode(o,{label:"Ballot Data",type:"step",stepIndex:"4"}),c.createVNode(o,{label:"Ballot Styles",type:"step",stepIndex:"5"}),c.createVNode(o,{label:"Configure Ballot Extraction",type:"step",stepIndex:"6"}),c.createVNode(o,{label:"Start Ballot Box Set Up",icon:"download"}),c.createVNode(o,{label:"Finish Ballot Box Set Up",icon:"handshake-simple",disabled:""})]}),_:1}),c.createVNode(f,{type:"primary",label:"Create election",fullWidth:""})]}),_:1})]}),content:c.withCtx(function(){return[H41]}),_:1}),c.createVNode(d)],64)}const W$=P(z41,[["render",b41]]);var L41={},A41=c.createElementVNode("a",{href:"#"},"LOGO",-1),_41={class:"flex items-center"},N41={class:"flex flex-col items-center justify-center p-3 w-full"},k41=c.createElementVNode("h2",{class:"mb-4"},"Election Name",-1),x41=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1),y41=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1);function S41(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),l=c.resolveComponent("AVNavbar"),s=c.resolveComponent("AVLabel"),r=c.resolveComponent("AVTabSwitcher"),o=c.resolveComponent("AVSidebarItem"),f=c.resolveComponent("AVButton"),m=c.resolveComponent("AVSidebar"),u=c.resolveComponent("AVContent"),d=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(l,null,{default:c.withCtx(function(){return[A41,c.createElementVNode("div",_41,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(u,null,{sidebar:c.withCtx(function(){return[c.createVNode(m,null,{default:c.withCtx(function(){return[c.createElementVNode("div",N41,[k41,c.createVNode(s,{value:"draft",type:"info"})]),c.createVNode(r,{options:["Pre-election","election"]}),c.createVNode(n,{type:"sidebar"},{default:c.withCtx(function(){return[c.createVNode(o,{label:"Election Overview",icon:"grip",active:""}),c.createVNode(o,{label:"Election details",type:"step",stepIndex:"1"}),c.createVNode(o,{label:"Digital Absentee Voting Requirements",type:"step",stepIndex:"2"}),c.createVNode(o,{label:"Voting App Set Up",type:"step",stepIndex:"3"}),c.createVNode(o,{label:"Ballot Data",type:"step",stepIndex:"4"}),c.createVNode(o,{label:"Ballot Styles",type:"step",stepIndex:"5"}),c.createVNode(o,{label:"Configure Ballot Extraction",type:"step",stepIndex:"6"}),c.createVNode(o,{label:"Start Ballot Box Set Up",icon:"download"}),c.createVNode(o,{label:"Finish Ballot Box Set Up",icon:"handshake-simple",disabled:""})]}),_:1}),c.createVNode(f,{type:"primary",label:"Create election",fullWidth:""})]}),_:1})]}),content:c.withCtx(function(){return[x41,y41]}),_:1}),c.createVNode(d)],64)}const G$=P(L41,[["render",S41]]);var w41={},E41=c.createElementVNode("a",{href:"#"},"LOGO",-1),T41={class:"flex items-center"},B41=c.createElementVNode("div",null,[c.createElementVNode("h1",null,"Content goes here"),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. ")],-1);function I41(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),l=c.resolveComponent("AVNavbar"),s=c.resolveComponent("AVContent"),r=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(l,null,{default:c.withCtx(function(){return[E41,c.createElementVNode("div",T41,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(s,null,{content:c.withCtx(function(){return[B41]}),_:1}),c.createVNode(r,{enableSteps:"",steps:["Check my ballot","Ballot Found","Verify Passkey","Review Unsealed Ballot","Finish"],done:["Check my ballot","Ballot Found"],active:"Verify Passkey"})],64)}const J$=P(w41,[["render",I41]]),k6=e=>(c.pushScopeId("data-v-20fc858f"),e=e(),c.popScopeId(),e),D41=k6(()=>c.createElementVNode("a",{href:"#"},"LOGO",-1)),P41={class:"flex items-center"},O41={href:"/new"},F41=k6(()=>c.createElementVNode("div",{class:"new-election-title-container"},[c.createElementVNode("span",{class:"new-election-title","data-test":"title"},"Create new election")],-1)),R41={class:"new-election-button"},j41={key:0,class:"no-elections-container"},q41=k6(()=>c.createElementVNode("span",{class:"no-elections-title","data-test":"title"},"Your dashboard is empty",-1)),$41=k6(()=>c.createElementVNode("span",{class:"no-elections-text","data-test":"title"},"Once you create new elections you will see them displayed in this dashboard.",-1)),U41=c.defineComponent({__name:"ElectionDashboardLayout",setup(e){const a=[{id:"DV-1",name:"General Election 1",status:"draft",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-2",name:"General Election 2",status:"open",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-3",name:"General Election 3",status:"closed",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-4",name:"General Election 4",status:"archived",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"}];return(t,n)=>{const i=c.resolveComponent("AVNavbarItem"),l=c.resolveComponent("AVNavigationItemList"),s=c.resolveComponent("AVMenuDropdown"),r=c.resolveComponent("AVNavbar"),o=c.resolveComponent("AVIcon"),f=c.resolveComponent("AVCard"),m=c.resolveComponent("AVElectionCard"),u=c.resolveComponent("AVContent"),d=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(r,null,{default:c.withCtx(()=>[D41,c.createElementVNode("div",P41,[c.createVNode(l,{type:"navbar"},{default:c.withCtx(()=>[c.createVNode(i,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(i,{label:"Admins",icon:"user-shield",href:"#"})]),_:1}),c.createVNode(s,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]),_:1}),c.createVNode(u,null,{content:c.withCtx(()=>[c.createVNode(f,{variant:"jumbotron",class:"dashboard-container"},{default:c.withCtx(()=>[c.createElementVNode("a",O41,[c.createVNode(f,{variant:"rounded",role:"button"},{default:c.withCtx(()=>[F41,c.createElementVNode("div",R41,[c.createVNode(o,{icon:"fa-solid fa-circle-plus",class:"new-election-icon"})])]),_:1})]),a.length===0?(c.openBlock(),c.createElementBlock("div",j41,[c.createVNode(o,{icon:"fa-solid fa-folder-open",class:"no-elections-icon"}),q41,$41])):c.createCommentVNode("",!0),(c.openBlock(),c.createElementBlock(c.Fragment,null,c.renderList(a,p=>c.createVNode(m,{key:p.id,id:p.id,name:p.name,status:p.status,countyNameLabel:p.countyNameLabel,countyName:p.countyName,createdAtLabel:p.createdAtLabel,createdAt:p.createdAt,lastUpdatedLabel:p.lastUpdatedLabel,lastUpdated:p.lastUpdated,href:p.href},null,8,["id","name","status","countyNameLabel","countyName","createdAtLabel","createdAt","lastUpdatedLabel","lastUpdated","href"])),64))]),_:1})]),_:1}),c.createVNode(d)],64)}}});const Z$=P(U41,[["__scopeId","data-v-20fc858f"]]),W41={install:function(e,a){a===void 0&&(a=null),e.use($J),e.component("AVIcon",Iq),e.component("AVButton",Dq),e.component("AVSpinner",Pq),e.component("AVBullet",V4),e.component("AVTextInput",Oq),e.component("AVNumberInput",Fq),e.component("AVPasswordInput",Rq),e.component("AVDatetimeInput",jq),e.component("AVTextArea",qq),e.component("AVCard",Uq),e.component("AVRoundButton",Wq),e.component("AVLabel",$q),e.component("AVDropdown",Gq),e.component("AVDropdownContent",Jq),e.component("AVDropdownItem",Zq),e.component("AVAlert",Yq),e.component("AVFileInput",Qq),e.component("AVRadio",Kq),e.component("AVLink",Xq),e.component("AVNavbarItem",e$),e.component("AVSidebarItem",c$),e.component("AVTooltip",a$),e.component("AVMenuDropdown",t$),e.component("AVMenuDropdownContent",n$),e.component("AVMenuDropdownItem",i$),e.component("AVAsyncButton",l$),e.component("AVTabSwitcher",s$),e.component("AVBallotSummary",r$),e.component("AVTimedCard",o$),e.component("AVBasicSteps",f$),e.component("AVSteps",u$),e.component("AVOptionSelect",d$),e.component("AVOptionCheckbox",p$),e.component("AVTransitionSlide",v$),e.component("AVCollapser",h$),e.component("AVLinkVisualizer",z$),e.component("AVVerticalStep",CX),e.component("AVAnimatedMenuButton",_X),e.component("AVRadioGroup",V$),e.component("AVNavigationItemList",M$),e.component("AVBreadcrumb",C$),e.component("AVElectionCard",g$),e.component("AVBallotStyleCard",H$),e.component("AVSummaryOption",b$),e.component("AVOption",_$),e.component("AVBlankOption",k$),e.component("AVWriteInOption",x$),e.component("AVSubmissionHelper",y$),e.component("AVSearchBallot",S$),e.component("AVSplitWeightHelper",w$),e.component("AVSplitWizardHeader",E$),e.component("AVFooter",T$),e.component("AVSidebar",B$),e.component("AVNavbar",I$),e.component("AVContent",D$),e.component("AVModal",P$),e.component("AVBallot",R$),e.component("AVPileSummary",j$),e.component("AVSplitHelper",$$),e.component("AVResourceSection",U$),e.component("OneColumnLayout",W$),e.component("TwoColumnsLayout",G$),e.component("NoSidebarLayout",J$),e.component("ElectionDashboardLayout",Z$),e.provide("i18n",a||rl),e.provide("iconNames",Dj)}};exports.AVAlert=Yq;exports.AVAsyncButton=l$;exports.AVBallot=R$;exports.AVBallotStyleCard=H$;exports.AVBallotSummary=r$;exports.AVBasicSteps=f$;exports.AVBlankOption=k$;exports.AVBreadcrumb=C$;exports.AVBullet=V4;exports.AVButton=Dq;exports.AVCard=Uq;exports.AVCollapser=h$;exports.AVContent=D$;exports.AVDatetimeInput=jq;exports.AVDropdown=Gq;exports.AVDropdownContent=Jq;exports.AVDropdownItem=Zq;exports.AVElectionCard=g$;exports.AVFileInput=Qq;exports.AVFooter=T$;exports.AVIcon=Iq;exports.AVLabel=$q;exports.AVLink=Xq;exports.AVLinkVisualizer=z$;exports.AVMenuDropdown=t$;exports.AVMenuDropdownContent=n$;exports.AVMenuDropdownItem=i$;exports.AVModal=P$;exports.AVNavbar=I$;exports.AVNavbarItem=e$;exports.AVNavigationItemList=M$;exports.AVNumberInput=Fq;exports.AVOption=_$;exports.AVOptionCheckbox=p$;exports.AVOptionSelect=d$;exports.AVPasswordInput=Rq;exports.AVPileSummary=j$;exports.AVRadio=Kq;exports.AVRadioGroup=V$;exports.AVResourceSection=U$;exports.AVRoundButton=Wq;exports.AVSearchBallot=S$;exports.AVSidebar=B$;exports.AVSidebarItem=c$;exports.AVSpinner=Pq;exports.AVSplitHelper=$$;exports.AVSplitWeightHelper=w$;exports.AVSplitWizardHeader=E$;exports.AVSteps=u$;exports.AVSubmissionHelper=y$;exports.AVSummaryOption=b$;exports.AVTabSwitcher=s$;exports.AVTextArea=qq;exports.AVTextInput=Oq;exports.AVTimedCard=o$;exports.AVTooltip=a$;exports.AVTransitionSlide=v$;exports.AVWriteInOption=x$;exports.ElectionDashboardLayout=Z$;exports.NoSidebarLayout=J$;exports.OneColumnLayout=W$;exports.TwoColumnsLayout=G$;exports.default=W41;exports.iconNames=Dj;
786
+ `;return(n,i)=>(c.openBlock(),c.createElementBlock("span",{class:c.normalizeClass(t)},c.toDisplayString(e.value),1))}});const $q=P(uQ,[["__scopeId","data-v-ee7ab830"]]),mQ=c.defineComponent({__name:"AVCard",props:{variant:{type:String,default:"default",validate:e=>["rounded","default","jumbotron","jumbotron-electa"].indexOf(e)>=0}},setup(e){return(a,t)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVCard--${e.variant}`)},[c.renderSlot(a.$slots,"default",{},void 0,!0)],2))}});const Uq=P(mQ,[["__scopeId","data-v-995f5e7c"]]),dQ=c.defineComponent({__name:"AVRoundButton",props:{icon:{type:String,default:"bolt",required:!0}},emits:["onClick"],setup(e,{emit:a}){const t=a,n=()=>{t("onClick")};return(i,l)=>{const s=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("button",{type:"button",class:"AVRoundButton","data-test":"round-btn",onClick:n},[c.createVNode(s,{icon:`fa-solid fa-${e.icon}`,class:"icon-left","data-test":"btn-icon"},null,8,["icon"])])}}});const Wq=P(dQ,[["__scopeId","data-v-6caf6a51"]]),pQ={class:"AVDropdown--input-set"},vQ=["for"],hQ=["id","disabled","aria-expanded","aria-label"],zQ={key:0,class:"AVDropdown--icon-container"},VQ={key:1,class:"AVDropdown--placeholder"},MQ=["textContent"],CQ={class:"AVDropdown--icon-container"},gQ={key:1,class:"AVDropdown--error","data-test":"error-msg"},HQ=c.defineComponent({__name:"AVDropdown",props:{id:{type:String,required:!0},modelValue:{type:String,default:""},options:{type:Array,required:!0},placeholder:{type:String,default:"placeholder"},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:null},tooltipText:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,n=a,i=c.reactive({active:!1,customWidth:null,id:null}),l=c.computed(()=>t.options.map(f=>typeof f=="string"?{label:f,value:f}:f)),s=c.computed(()=>l.value.find(f=>f.value===t.modelValue));c.onMounted(()=>{i.id=t.id});const r=f=>{n("update:modelValue",f)};c.provide("sharedState",i);const o=()=>{t.disabled||(i.active=!i.active)};return(f,m)=>{const u=c.resolveComponent("AVIcon"),d=c.resolveComponent("AVDropdownItem"),p=c.resolveComponent("AVDropdownContent"),V=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",pQ,[e.inputLabel?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVDropdown--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(u,{key:0,icon:"circle-question",class:"AVDropdown--tooltip-icon"},null,512)),[[V,e.tooltipText]]):c.createCommentVNode("",!0)])],8,vQ)):c.createCommentVNode("",!0),c.createElementVNode("div",{onClick:o,class:"AVDropdown"},[c.createElementVNode("button",{id:e.id,class:c.normalizeClass(["AVDropdown--button",{error:e.error,"no-icon":!e.icon,disabled:e.disabled}]),disabled:e.disabled,"aria-haspopup":"true","aria-expanded":i.active||null,"data-toggle":"dropdown",type:"button","aria-label":e.inputLabel},[e.icon?(c.openBlock(),c.createElementBlock("span",zQ,[c.createVNode(u,{icon:`fa-solid fa-${e.icon}`,class:"AVDropdown--input-icon","data-test":"input-icon"},null,8,["icon"])])):c.createCommentVNode("",!0),s.value===void 0?(c.openBlock(),c.createElementBlock("span",VQ,c.toDisplayString(e.placeholder),1)):(c.openBlock(),c.createElementBlock("span",{key:2,class:"AVDropdown--selected-option",textContent:c.toDisplayString(s.value.label)},null,8,MQ)),c.createElementVNode("span",CQ,[c.createVNode(u,{icon:`fa-solid fa-${i.active?"caret-down":"caret-right"}`,class:"AVDropdown--selector-icon","data-test":"selector-icon"},null,8,["icon"])])],10,hQ),c.createVNode(p,null,{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,C=>(c.openBlock(),c.createBlock(d,{key:C,optionLabel:C.label,onOnSelected:g=>r(C.value),"data-test":"option"},null,8,["optionLabel","onOnSelected"]))),128))]),_:1})]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",gQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Gq=P(HQ,[["__scopeId","data-v-09756cc6"]]),bQ=["aria-labelledby"],LQ=c.defineComponent({__name:"AVDropdownContent",setup(e){const a=c.inject("sharedState"),t=c.computed(()=>a.active),n=c.computed(()=>a.id);return(i,l)=>(c.openBlock(),c.createBlock(c.Transition,{name:"dropdown-content"},{default:c.withCtx(()=>[t.value?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVDropdownContent","aria-labelledby":n.value},[c.renderSlot(i.$slots,"default",{},void 0,!0)],8,bQ)):c.createCommentVNode("",!0)]),_:3}))}});const Jq=P(LQ,[["__scopeId","data-v-e2058f66"]]),AQ=c.defineComponent({__name:"AVDropdownItem",props:{optionLabel:{type:String,required:!0}},emits:["onSelected"],setup(e,{emit:a}){const t=a,n=()=>{t("onSelected")};return(i,l)=>(c.openBlock(),c.createElementBlock("a",{class:"AVDropdownItem",onClick:n},c.toDisplayString(e.optionLabel),1))}});const Zq=P(AQ,[["__scopeId","data-v-2ca0bff3"]]),_Q={key:0,class:"AVAlert--header","data-test":"alert-header"},NQ={class:"AVAlert--title-container"},kQ={key:0,class:"AVAlert--icon-container"},xQ={class:"AVAlert--title"},yQ=c.defineComponent({__name:"AVAlert",props:{type:{type:String,validate:e=>["info","success","danger","warning"].includes(e),default:"info"},title:{type:String,default:""},icon:{type:String,default:""},disableIcon:{type:Boolean,default:!1},disableHeader:{type:Boolean,default:!1},disableDismiss:{type:Boolean,default:!1},customWidth:{type:Number,default:null},timeout:{type:String,default:null}},emits:["dismiss"],setup(e,{emit:a}){const t=e,n=a,i=()=>{n("dismiss")};c.onMounted(()=>{t.timeout&&setTimeout(()=>{i()},Number.parseInt(t.timeout))});const l={info:"Information",success:"Success",danger:"Danger",warning:"Warning"},s={info:"circle-info",success:"circle-check",danger:"circle-xmark",warning:"circle-exclamation"};return(r,o)=>{const f=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVAlert AVAlert--${e.type}`),style:c.normalizeStyle(e.customWidth&&`width: ${e.customWidth}px`),"data-test":"alert"},[e.disableHeader?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",_Q,[c.createElementVNode("div",NQ,[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",kQ,[c.createVNode(f,{icon:`fa-solid fa-${e.icon!==""?e.icon:s[e.type]}`,"data-test":"alert-icon"},null,8,["icon"])])),c.createElementVNode("span",xQ,c.toDisplayString(e.title!==""?e.title:l[e.type]),1)]),e.disableDismiss?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVAlert--icon-container",onClick:i},[c.createVNode(f,{icon:"fa-solid fa-xmark",class:"AVAlert--icon-dismiss","data-test":"alert-icon-dismiss"})]))])),c.renderSlot(r.$slots,"default",{},void 0,!0)],6)}}});const Yq=P(yQ,[["__scopeId","data-v-0cc3f6d1"]]),SQ={class:"AVFileInput--input-set"},wQ=["for"],EQ=["for"],TQ=["multiple","name","id","accept","disabled"],BQ={class:"AVFileInput--icon-container"},IQ={class:"AVFileInput--dragdroptext"},DQ={key:0},PQ={class:"AVFileInput--dragdroptext-primary"},OQ={key:1},FQ={class:"AVFileInput--dragdroptext-primary"},RQ={class:"AVFileInput--dragdroptext-secondary"},jQ={key:1,class:"AVFileInput--accepted"},qQ={class:"AVFileInput--accepted-muted"},$Q={key:2,class:"AVFileInput--preview-container"},UQ={class:"AVFileInput--label mt-3"},WQ={class:"AVFileInput--header"},GQ={class:"AVTextInput--preview"},JQ=["src"],ZQ={class:"AVFileInput--preview-text"},YQ=["onClick"],QQ={key:3,class:"AVFileInput--preview-container"},KQ={class:"AVFileInput--label mt-3"},XQ=["src","alt"],eK={key:1,class:"AVFileInput--preview-card"},cK={class:"AVFileInput--header"},aK={class:"AVTextInput--preview"},tK={class:"AVFileInput--preview-text"},nK=["onClick"],iK={key:4,class:"AVFileInput--error","data-test":"error-msg"},lK=c.defineComponent({__name:"AVFileInput",props:{id:{type:String,required:!0},value:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},inputLabel:{type:String,default:"Input label"},disableLabel:{type:Boolean,default:!1},accept:{type:String,required:!0},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},showPreview:{type:Boolean,default:!1},tooltipText:{type:String,default:null},locale:{type:String,default:null},disableAcceptedFormats:{type:Boolean,default:!1},currentValue:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1},customOpenMethod:{type:Function,default:null}},emits:["update","fileFormatNotAccepted","download"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,l=c.ref(!1),s=c.ref(null),r=c.ref([]);c.onMounted(()=>{if(i.locale&&e1(i.locale),i.value&&(r.value=i.value),i.customOpenMethod){const b=document.querySelector(`#${i.id}`);b.onclick=async _=>{_.preventDefault(),console.log("click",_),console.log(i.customOpenMethod);const N=await i.customOpenMethod({multiple:!1,filters:[{name:"Trustee key",extensions:["trustee-key"]}]});r.value.push(...N),console.log(N),console.log(r.value)}}}),c.watch(()=>i.locale,()=>{i.locale&&e1(i.locale)},{deep:!0});const o=a,f=()=>{r.value=[...s.value.files],o("update",r.value)},m=b=>{b.preventDefault(),!i.disabled&&(l.value=!0)},u=()=>{l.value=!1},d=b=>{const _=Array.from(b),N=new DataTransfer;for(let x of _){const A=x.name.split(".").pop();if(C.value.includes(`.${A.toLowerCase()}`)){const R=new File([x],x.name,{type:x.type,lastModified:x.lastModified});N.items.add(R)}else o("fileFormatNotAccepted",x.name)}return N.files},p=c.computed(()=>i.accept.split(",")),V=c.computed(()=>i.accept.split(",").join(", ")),C=c.computed(()=>p.value.map(b=>b.toLocaleLowerCase())),g=b=>b.split("/").pop(),L=b=>{if(b.preventDefault(),!i.disabled){if(s.value.files=d(Array.from(b.dataTransfer.files)),!s.value.files.length){l.value=!1;return}r.value=i.multiple?[...s.value.files]:[s.value.files[0]],o("update",r.value),l.value=!1}},M=b=>{r.value.splice(b,1),o("update",r.value)},v=b=>{const _=URL.createObjectURL(b);return setTimeout(()=>{URL.revokeObjectURL(_)},1e3),_},H=b=>{o("download",b)};return(b,_)=>{const N=c.resolveComponent("AVIcon"),x=c.resolveDirective("tooltip");return c.openBlock(),c.createElementBlock("div",SQ,[e.disableLabel?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVFileInput--label","data-test":"input-label"},[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(e.inputLabel)+" ",1),e.tooltipText?c.withDirectives((c.openBlock(),c.createBlock(N,{key:0,icon:"circle-question",class:"AVFileInput--tooltip-icon"},null,512)),[[x,e.tooltipText]]):c.createCommentVNode("",!0)])],8,wQ)),c.createElementVNode("label",{for:e.id,class:c.normalizeClass(["AVFileInput--dropzone-container",{error:e.error,disabled:e.disabled}]),onDragover:m,onDragleave:u,onDrop:L},[c.createElementVNode("input",{type:"file",multiple:e.multiple,name:e.id,id:e.id,class:"AVFileInput-hidden-input",onChange:f,ref_key:"fileInput",ref:s,accept:e.accept,disabled:e.disabled},null,40,TQ),c.createElementVNode("div",BQ,[c.createVNode(N,{icon:"fa-solid fa-cloud-arrow-up",class:"AVFileInput--input-icon","data-test":"input-icon"})]),c.createElementVNode("div",IQ,[l.value?(c.openBlock(),c.createElementBlock("div",DQ,[c.createElementVNode("div",PQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.release")),1)])):(c.openBlock(),c.createElementBlock("div",OQ,[c.createElementVNode("div",FQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.primary")),1),c.createElementVNode("div",RQ,[c.createTextVNode(c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.start"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.strong")),1),c.createTextVNode(" "+c.toDisplayString(c.unref(n)("js.components.AVFileInput.secondary.end")),1)])]))])],42,EQ),e.disableAcceptedFormats?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("p",jQ,[c.createTextVNode(c.toDisplayString(c.unref(n)("js.components.AVFileInput.acceptedFormats"))+" ",1),c.createElementVNode("em",qQ,c.toDisplayString(V.value),1)])),r.value.length?(c.openBlock(),c.createElementBlock("div",$Q,[c.createElementVNode("p",UQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.uploading")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value,A=>(c.openBlock(),c.createElementBlock("div",{key:A.name,class:c.normalizeClass(["AVFileInput--preview-card",{error:e.error}])},[c.createElementVNode("div",WQ,[c.createElementVNode("div",GQ,[e.showPreview?(c.openBlock(),c.createElementBlock("img",{key:0,class:"AVFileInput--preview-img",src:v(A)},null,8,JQ)):(c.openBlock(),c.createBlock(N,{key:1,icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"}))]),c.createElementVNode("p",ZQ,[c.createTextVNode(c.toDisplayString(A.name)+" ",1),c.createElementVNode("em",null,c.toDisplayString(Math.round(A.size/1e3)+"kb"),1)])]),e.disabled?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVTextInput--delete-btn",type:"button",onClick:E=>M(r.value.indexOf(A)),title:"Remove file"},[c.createVNode(N,{icon:"fa-solid fa-trash",class:"AVTextInput--delete-icon","data-test":"file-preview-icon"})],8,YQ))],2))),128))])):c.createCommentVNode("",!0),e.currentValue.length?(c.openBlock(),c.createElementBlock("div",QQ,[c.createElementVNode("p",KQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.current")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.currentValue,A=>(c.openBlock(),c.createElementBlock("div",{key:`image-${A}`},[e.showPreview?(c.openBlock(),c.createElementBlock("img",{key:0,class:"AVFileInput--current-img",src:A,alt:c.unref(n)("js.components.AVFileInput.alt_preview")},null,8,XQ)):(c.openBlock(),c.createElementBlock("div",eK,[c.createElementVNode("div",cK,[c.createElementVNode("div",aK,[c.createVNode(N,{icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"})]),c.createElementVNode("p",tK,c.toDisplayString(g(A)),1)]),c.createElementVNode("button",{class:"AVTextInput--delete-btn",type:"button",title:"Download file",onClick:E=>H(A)},[c.createVNode(N,{icon:"fa-solid fa-download",class:"AVTextInput--download-icon","data-test":"file-download-icon"})],8,nK)]))]))),128))])):c.createCommentVNode("",!0),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",iK,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Qq=P(lK,[["__scopeId","data-v-7cf07532"]]),sK=e=>(c.pushScopeId("data-v-065c2914"),e=e(),c.popScopeId(),e),rK=["for"],oK=["id","checked","disabled"],fK=sK(()=>c.createElementVNode("span",{class:"AVRadio--mark"},null,-1)),uK=c.defineComponent({__name:"AVRadio",props:{id:{type:String,required:!0},disabled:{type:Boolean,default:!1},value:{type:String,required:!0},checked:{type:Boolean,default:!1}},emits:["update"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1);c.onMounted(()=>{t.checked&&(i.value=t.checked)});const l=()=>{i.value=!i.value,s()},s=()=>{n("update",t.value,i.value)};return c.watch(()=>t.checked,()=>{i.value=t.checked}),(r,o)=>(c.openBlock(),c.createElementBlock("label",{for:e.id,class:c.normalizeClass(["AVRadio",{disabled:e.disabled}])},[c.createElementVNode("input",{type:"radio",id:e.id,checked:i.value,onChange:l,disabled:e.disabled},null,40,oK),fK,c.createTextVNode(" "+c.toDisplayString(e.value),1)],10,rK))}});const Kq=P(uK,[["__scopeId","data-v-065c2914"]]),mK=["href","referrerpolicy","rel","target"],dK=c.defineComponent({__name:"AVLink",props:{label:{type:String,default:"Link"},disableIcon:{type:Boolean,default:!1},href:{type:String,required:!0},referrerpolicy:{type:String,validate:e=>["no-referrer","no-referrer-when-downgrade","origin","origin-when-cross-origin","same-origin","strict-origin-when-cross-origin","unsafe-url"].includes(e),default:"no-referrer"},rel:{type:String,validate:e=>["alternate","author","bookmark","external","help","license","next","nofollow","noreferrer","noopener","prev","search","tag"].includes(e),default:"external"},target:{type:String,validate:e=>["_blank","_parent","_self","_top"].includes(e),default:"_blank"},variant:{type:String,validate:e=>["default","dbas"].includes(e),default:"default"}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("a",{href:e.href,referrerpolicy:e.referrerpolicy,rel:e.rel,target:e.target,class:c.normalizeClass(`AVLink AVLink--${e.variant}`)},[c.createElementVNode("span",null,c.toDisplayString(e.label),1),e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(n,{key:0,icon:"fa-solid fa-arrow-up-right-from-square",class:"AVLink--icon","data-test":"link-icon"}))],10,mK)}}});const Xq=P(dK,[["__scopeId","data-v-999075bc"]]),pK=["href","target"],vK={class:"AVNavbarItem--text"},hK=["disabled"],zK={class:"AVNavbarItem--text"},VK=c.defineComponent({__name:"AVNavbarItem",props:{label:{type:String,default:"Item"},reference:{type:String,default:null},icon:{type:String,default:"bolt"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},href:{type:String,default:null},disableIcon:{type:Boolean,default:!1},customWidth:{type:Number,default:180},target:{type:String,validate:e=>["_blank"].includes(e),default:"_self"}},emits:["onClick"],setup(e,{emit:a}){const t=e,n=a,i=c.computed(()=>t.href?"link":"button"),l=c.computed(()=>t.disabled?null:t.href),s=()=>{n("onClick",t.reference)};return(r,o)=>{const f=c.resolveComponent("AVIcon");return i.value==="link"?(c.openBlock(),c.createElementBlock("a",{key:0,href:l.value,class:c.normalizeClass(["AVNavbarItem",{"AVNavbarItem--active":e.active,disabled:e.disabled}]),target:e.target,style:c.normalizeStyle(`width: ${e.customWidth}px`)},[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(f,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVNavbarItem--icon"},null,8,["icon"])),c.createElementVNode("span",vK,c.toDisplayString(e.label),1)],14,pK)):(c.openBlock(),c.createElementBlock("button",{key:1,class:c.normalizeClass(["AVNavbarItem",{"AVNavbarItem--active":e.active,disabled:e.disabled}]),style:c.normalizeStyle(`width: ${e.customWidth}px`),disabled:e.disabled,onClick:s},[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(f,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVNavbarItem--icon"},null,8,["icon"])),c.createElementVNode("span",zK,c.toDisplayString(e.label),1)],14,hK))}}});const e$=P(VK,[["__scopeId","data-v-00ff3c9d"]]),MK=["href","target","aria-label"],CK={class:"AVSidebarItem--text","aria-hidden":"true"},gK=["disabled","aria-label"],HK={class:"AVSidebarItem--text","aria-hidden":"true"},bK=c.defineComponent({__name:"AVSidebarItem",props:{label:{type:String,default:"Item"},type:{type:String,validate:e=>["step","item"].includes(e),default:"item"},stepIndex:{type:String,validate:e=>e.length===1,default:"1"},reference:{type:String,default:null},icon:{type:String,default:"bolt"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},href:{type:String,default:null},target:{type:String,validate:e=>["_blank"].includes(e),default:"_self"}},emits:["onClick"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1),l=c.computed(()=>t.href?"link":"button"),s=c.computed(()=>t.disabled?null:t.href),r=c.computed(()=>t.type==="step"?"number":"icon"),o=c.computed(()=>t.type==="step"?t.stepIndex:t.icon),f=()=>{t.disabled||(i.value=!i.value)},m=()=>{n("onClick",t.reference)};return(u,d)=>l.value==="link"?(c.openBlock(),c.createElementBlock("a",{key:0,href:s.value,class:c.normalizeClass(["AVSidebarItem",{"AVSidebarItem--active":e.active,disabled:e.disabled}]),target:e.target,onMouseenter:f,onMouseleave:f,"aria-label":e.label,role:"button"},[c.createVNode(c.unref(V4),{type:r.value,active:e.active,value:o.value,hover:i.value,"aria-hidden":"true"},null,8,["type","active","value","hover"]),c.createElementVNode("span",CK,c.toDisplayString(e.label),1)],42,MK)):(c.openBlock(),c.createElementBlock("button",{key:1,class:c.normalizeClass(["AVSidebarItem",{"AVSidebarItem--active":e.active,disabled:e.disabled}]),disabled:e.disabled,onClick:m,onMouseenter:f,onMouseleave:f,"aria-label":e.label},[c.createVNode(c.unref(V4),{type:r.value,active:e.active,value:o.value,hover:i.value,"aria-hidden":"true"},null,8,["type","active","value","hover"]),c.createElementVNode("span",HK,c.toDisplayString(e.label),1)],42,gK))}});const c$=P(bK,[["__scopeId","data-v-3e891e66"]]),LK={class:"AVTooltip--wrapper"},AK={key:0,class:"AVTooltip--text"},_K=c.defineComponent({__name:"AVTooltip",props:{text:{type:String,default:()=>null},content:{type:String,required:!0},position:{type:String,validate:e=>["auto","auto-start","auto-end","top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"].includes(e),default:"auto"},icon:{type:String,default:()=>null},disabled:{type:Boolean,default:()=>!1},options:{type:Object,default:()=>{}}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon"),i=c.resolveDirective("tooltip");return c.withDirectives((c.openBlock(),c.createElementBlock("span",LK,[e.text?(c.openBlock(),c.createElementBlock("span",AK,c.toDisplayString(e.text),1)):c.renderSlot(a.$slots,"text",{key:1},void 0,!0),e.icon?(c.openBlock(),c.createBlock(n,{key:2,icon:e.icon,class:"AVTooltip--icon","aria-hidden":"true"},null,8,["icon"])):c.createCommentVNode("",!0)])),[[i,{content:e.content,placement:e.position,disabled:e.disabled,...e.options}]])}}});const a$=P(_K,[["__scopeId","data-v-3d675f68"]]),NK={class:"AVMenuDropdown"},kK=["id","aria-expanded","aria-label"],xK=c.defineComponent({__name:"AVMenuDropdown",props:{icon:{type:String,default:"bolt"},options:{type:Array,required:!0},ariaLabel:{type:String,required:!0},id:{type:String,required:!0}},setup(e){const a=e,t=c.reactive({active:!1,id:null});c.onMounted(()=>{t.id=a.id});const n=()=>{t.active=!t.active};return c.provide("sharedState",t),(i,l)=>{const s=c.resolveComponent("AVIcon"),r=c.resolveComponent("AVMenuDropdownItem"),o=c.resolveComponent("AVMenuDropdownContent");return c.openBlock(),c.createElementBlock("div",NK,[c.createElementVNode("button",{class:"AVMenuDropdown--button",onClick:n,id:e.id,"aria-haspopup":"true","aria-expanded":t.active||"false","data-toggle":"dropdown",type:"button","aria-label":e.ariaLabel},[t.active?(c.openBlock(),c.createBlock(s,{key:1,icon:"fa-solid fa-xmark",class:"AVMenuDropdown--icon","data-test":"main-icon"})):(c.openBlock(),c.createBlock(s,{key:0,icon:`fa-solid fa-${e.icon}`,class:"AVMenuDropdown--icon","data-test":"main-icon"},null,8,["icon"]))],8,kK),c.createVNode(o,null,{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.options,(f,m)=>(c.openBlock(),c.createBlock(r,{key:m,optionLabel:f.label,href:f.href,destructive:f.destructive,icon:f.icon,"data-test":"option"},null,8,["optionLabel","href","destructive","icon"]))),128))]),_:1})])}}});const t$=P(xK,[["__scopeId","data-v-6c23aaa1"]]),yK=["aria-labelledby"],SK=c.defineComponent({__name:"AVMenuDropdownContent",setup(e){const a=c.inject("sharedState"),t=c.computed(()=>a.active),n=c.computed(()=>a.id);return(i,l)=>(c.openBlock(),c.createBlock(c.Transition,{name:"dropdown-content"},{default:c.withCtx(()=>[t.value?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVMenuDropdownContent","aria-labelledby":n.value},[c.renderSlot(i.$slots,"default",{},void 0,!0)],8,yK)):c.createCommentVNode("",!0)]),_:3}))}});const n$=P(SK,[["__scopeId","data-v-e8fb623b"]]),wK=["href"],EK=c.defineComponent({__name:"AVMenuDropdownItem",props:{optionLabel:{type:String,required:!0},href:{type:String,required:!0},destructive:{type:Boolean,default:!1},icon:{type:String,default:null}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("a",{class:c.normalizeClass(["AVMenuDropdownItem",{"AVMenuDropdownItem--destructive":e.destructive}]),href:e.href},[e.icon?(c.openBlock(),c.createBlock(n,{key:0,class:"AVMenuDropdownItem--icon",icon:`fa-solid fa-${e.icon}`,"data-test":"option-icon"},null,8,["icon"])):c.createCommentVNode("",!0),c.createTextVNode(" "+c.toDisplayString(e.optionLabel),1)],10,wK)}}});const i$=P(EK,[["__scopeId","data-v-8513fa9b"]]),TK=["disabled"],BK={class:"AVAsyncButton--label"},IK=c.defineComponent({__name:"AVAsyncButton",props:{label:{type:String,default:""},size:{type:String,validate:e=>["small","regular","large"].includes(e),default:"regular"},variant:{type:String,validate:e=>["default","success","error"].includes(e),default:"default"},defaultIcon:{type:String,default:null},successIcon:{type:String,default:null},errorIcon:{type:String,default:null},disabled:{type:Boolean,default:!1},onClick:{type:Function,default:()=>new Promise(e=>setTimeout(e,500))}},emits:["update:waiting"],setup(e,{emit:a}){const t=a,n=e,i=c.ref(!1);c.watch(i,o=>t("update:waiting",o));const l=c.computed(()=>{if(!i.value)switch(n.variant){case"default":return n.defaultIcon;case"error":return n.errorIcon;case"success":return n.successIcon;default:return null}}),s=c.computed(()=>n.disabled||i.value);async function r(o){i.value=!0;try{await Promise.resolve(n.onClick(o))}finally{i.value=!1}}return(o,f)=>{const m=c.resolveComponent("AVIcon"),u=c.resolveComponent("AVSpinner");return c.openBlock(),c.createElementBlock("button",{disabled:s.value,onClick:r,class:c.normalizeClass(["AVAsyncButton",{[`AVAsyncButton--${e.variant}`]:e.variant,[`AVAsyncButton--${e.size}`]:e.size,"AVAsyncButton--waiting":i.value,"AVAsyncButton--disabled":!i.value&&s.value}])},[i.value?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.renderSlot(o.$slots,"waitingIcon",{},()=>[c.createVNode(u,{style:{color:"inherit",height:"1em",width:"1em"},class:"AVAsyncButton--icon","data-test":"btn-spinner"})],!0),c.renderSlot(o.$slots,"waitingLabel",{},()=>[c.createTextVNode("Working...")],!0)],64)):c.renderSlot(o.$slots,"default",{key:0},()=>[l.value?(c.openBlock(),c.createBlock(m,{key:0,icon:l.value,class:"AVAsyncButton--icon","data-test":"btn-icon"},null,8,["icon"])):c.createCommentVNode("",!0),c.createElementVNode("span",BK,c.toDisplayString(e.label),1)],!0)],10,TK)}}});const l$=P(IK,[["__scopeId","data-v-7439a7ec"]]),DK={class:"AVTabSwitcher"},PK=["disabled","onClick"],OK=c.defineComponent({__name:"AVTabSwitcher",props:{options:{type:Array,required:!0,validate:e=>e.length>2&&e.length<3},selected:{type:String,default:null},disabled:{type:Array,default:null,validate:e=>e.length>1&&e.length<2}},emits:["update"],setup(e,{emit:a}){const t=e,n=c.ref([]),i=c.ref(""),l=c.computed(()=>t.options.length===2?"AVTabSwitcher--double":"AVTabSwitcher--triple");c.onMounted(()=>s());const s=()=>{n.value=[],t.options.map(d=>n.value.push({value:d,selected:!1})),t.selected?r(t.selected):n.value[0].selected=!0,t.disabled&&o()},r=d=>{n.value.map(p=>{p.value===d?(p.selected=!0,i.value=p.value):p.selected=!1})},o=()=>{if(n.value.map(d=>d.disabled=!1),t.disabled)n.value.map(d=>{t.disabled.map(p=>p===d.value?d.disabled=!0:d)});else return},f=a,m=d=>{r(d),u()},u=()=>{f("update",i.value,n.value)};return c.watch(()=>t.options,()=>s()),c.watch(()=>t.selected,()=>{i.value=t.selected,r(t.selected)}),c.watch(()=>t.disabled,()=>o()),(d,p)=>(c.openBlock(),c.createElementBlock("div",DK,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.value,V=>(c.openBlock(),c.createElementBlock("button",{key:V.value,class:c.normalizeClass(`AVTabSwitcher--button ${l.value} ${V.selected?"AVTabSwitcher--button-active":""} ${V.disabled?"disabled":""}`),disabled:V.disabled,onClick:C=>m(V.value)},c.toDisplayString(V.value),11,PK))),128))]))}});const s$=P(OK,[["__scopeId","data-v-3c4a2127"]]),FK={class:"AVBallotSummary"},RK={class:"AVBallotSummary--name-column"},jK={class:"AVBallotSummary--status-column"},qK=c.defineComponent({__name:"AVBallotSummary",props:{ballotStyleName:{type:String,required:!0},readyLabel:{type:String,required:!0},waitingLabel:{type:String,required:!0},currentBallots:{type:Number,required:!0},minimumBallots:{type:Number,required:!0}},setup(e){const a=e,t=c.computed(()=>a.currentBallots>=a.minimumBallots),n=c.computed(()=>a.minimumBallots-a.currentBallots);return(i,l)=>{const s=c.resolveComponent("AVIcon"),r=c.resolveComponent("AVSpinner");return c.openBlock(),c.createElementBlock("div",FK,[c.createElementVNode("div",RK,[c.createVNode(s,{icon:`fa-solid fa-${t.value?"file-circle-check":"file-circle-minus"}`,class:c.normalizeClass(["AVBallotSummary--icon",{"AVBallotSummary--icon-ready":t.value}]),"data-test":"ballot-icon"},null,8,["icon","class"]),c.createElementVNode("span",{class:c.normalizeClass(["AVBallotSummary--ballot-name",{"AVBallotSummary--name-ready":t.value}])},c.toDisplayString(e.ballotStyleName),3)]),c.createElementVNode("div",jK,[t.value?(c.openBlock(),c.createBlock(s,{key:0,icon:"fa-solid fa-circle-check",class:"AVBallotSummary--icon AVBallotSummary--icon-ready","data-test":"ballot-status-icon"})):(c.openBlock(),c.createBlock(r,{key:1,color:"neutral","data-test":"ballot-spinner"})),c.createElementVNode("span",{class:c.normalizeClass(["AVBallotSummary--ballot-status",{"AVBallotSummary--status-ready":t.value}])},c.toDisplayString(t.value?`${e.currentBallots} ${e.readyLabel}`:`${n.value} ${e.waitingLabel}`),3)])])}}});const r$=P(qK,[["__scopeId","data-v-2d7c011c"]]),$K={class:"AVTimedCard--content","data-test":"content"},UK={class:"AVTimedCard--progress","data-test":"progress-container"},WK=c.defineComponent({__name:"AVTimedCard",props:{timeout:{type:Number,required:!0},customWidth:{type:Number,default:600},expirationMessage:{type:String,default:"The passkey will expire in "},customWarningTime:{type:Number,default:15}},emits:["expired"],setup(e,{emit:a}){const t=e;c.onMounted(()=>{i()});const n=c.ref(0),i=()=>{const u=setInterval(()=>{n.value=n.value+1,n.value>=t.timeout&&(clearInterval(u),l("expired",!0,t.timeout))},1e3)},l=a,s=c.computed(()=>100-n.value/t.timeout*100),r=c.computed(()=>Math.floor((t.timeout-n.value)/60)),o=c.computed(()=>(t.timeout-n.value)%60),f=c.computed(()=>r.value%60),m=c.computed(()=>o.value<10?`${f.value}:0${o.value}`:`${f.value}:${o.value}`);return(u,d)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:"AVTimedCard",style:c.normalizeStyle(`width: ${e.customWidth}px`)},[c.createElementVNode("div",$K,[c.renderSlot(u.$slots,"default",{},void 0,!0)]),c.createElementVNode("div",UK,[c.createElementVNode("div",{class:c.normalizeClass(["AVTimedCard--progress-bar",{"AVTimedCard--progress-bar-warning":e.timeout-n.value<=e.customWarningTime}]),style:c.normalizeStyle(`width: ${s.value}%`),"data-test":"progress-bar"},null,6)])],4),c.createElementVNode("span",{class:c.normalizeClass(["AVTimedCard--help-text",{"AVTimedCard--help-text-warning":e.timeout-n.value<=e.customWarningTime}]),"data-test":"help-text"},[c.createTextVNode(c.toDisplayString(e.expirationMessage),1),c.createElementVNode("strong",null,c.toDisplayString(m.value),1)],2)],64))}});const o$=P(WK,[["__scopeId","data-v-7d0d595b"]]),GK=e=>(c.pushScopeId("data-v-dbd25d5c"),e=e(),c.popScopeId(),e),JK={class:"AVBasicSteps"},ZK=GK(()=>c.createElementVNode("span",{class:"AVBasicSteps--line","data-test":"separator"},null,-1)),YK={key:0,class:"AVBasicSteps--line","data-test":"separator"},QK=c.defineComponent({__name:"AVBasicSteps",props:{steps:{type:Array,required:!0,validate:e=>e.length>2&&e.length<3},active:{type:String,required:!0}},setup(e){const a=e,t=n=>n===a.active;return(n,i)=>(c.openBlock(),c.createElementBlock("div",JK,[c.createElementVNode("span",{class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[0])}]),"data-test":"step"},c.toDisplayString(e.steps[0]),3),ZK,c.createElementVNode("span",{class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[1])}]),"data-test":"step"},c.toDisplayString(e.steps[1]),3),e.steps.length===3?(c.openBlock(),c.createElementBlock("span",YK)):c.createCommentVNode("",!0),e.steps.length===3?(c.openBlock(),c.createElementBlock("span",{key:1,class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[2])}]),"data-test":"step"},c.toDisplayString(e.steps[2]),3)):c.createCommentVNode("",!0)]))}});const f$=P(QK,[["__scopeId","data-v-dbd25d5c"]]),KK={class:"AVSteps"},XK={key:0,class:"AVSteps--step--icon-container AVSteps--step-circle"},eX=c.defineComponent({__name:"AVSteps",props:{steps:{type:Array,required:!0},active:{type:String,default:null},done:{type:Array,default:null}},setup(e){c.useCssVars(s=>({"3e5060db":l.value}));const a=e,t=c.ref([]),n=()=>{t.value=[],a.steps.map(s=>{t.value.push({value:s,active:s===a.active,done:i(s)})})},i=s=>a.done?a.done.includes(s):!1;c.onMounted(()=>{n()}),c.watch(()=>a.steps,()=>n()),c.watch(()=>a.active,()=>n()),c.watch(()=>a.done,()=>n());const l=c.computed(()=>`${100/a.steps.length}%`);return(s,r)=>{const o=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",KK,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.value,(f,m)=>(c.openBlock(),c.createElementBlock("div",{key:m,class:c.normalizeClass(`${t.value.length!==m+1?"AVSteps--step":"AVSteps--step-last"} ${f.active?"AVSteps--step-active":""}`),"data-test":"step"},[f.done?(c.openBlock(),c.createElementBlock("div",XK,[c.createVNode(o,{icon:"fa-solid fa-check",class:"AVSteps--step-icon"})])):(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["AVSteps--step--number-container",{"AVSteps--step-circle":t.value.length!==m+1,"AVSteps--step--number-container-active":f.active}])},c.toDisplayString(m+1),3)),c.createElementVNode("span",{class:c.normalizeClass(["AVSteps--step-label",{"AVSteps--step-label-active":f.active}])},c.toDisplayString(f.value),3)],2))),128))])}}});const u$=P(eX,[["__scopeId","data-v-89e22cbe"]]),m$=e=>(c.pushScopeId("data-v-59ee2583"),e=e(),c.popScopeId(),e),cX=["aria-label"],aX={key:0,"aria-hidden":"true"},tX={key:1,width:"26",height:"26",stroke:"white","stroke-width":"0.25rem"},nX=m$(()=>c.createElementVNode("line",{x1:"25%",y1:"25%",x2:"75%",y2:"75%"},null,-1)),iX=m$(()=>c.createElementVNode("line",{x1:"75%",y1:"25%",x2:"25%",y2:"75%"},null,-1)),lX=[nX,iX],sX=c.defineComponent({__name:"AVOptionSelect",props:{checked:{type:Boolean,default:!1},rank:{type:[Number,null],default:null},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),t=c.computed(()=>a.global.locale.value||a.global.locale),n=e;c.onMounted(()=>{n.locale&&e1(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&e1(n.locale)},{deep:!0});const i=c.computed(()=>n.rank?document.getElementsByTagName("html")[0].dir==="rtl"?`${n.rank} ${a.global.messages.value?a.global.messages.value[t.value].js.components.AVOptionSelect.aria_label:a.global.messages[t.value].js.components.AVOptionSelect.aria_label}`:`${a.global.messages.value?a.global.messages.value[t.value].js.components.AVOptionSelect.aria_label:a.global.messages[t.value].js.components.AVOptionSelect.aria_label} ${n.rank}`:"");return(l,s)=>c.withDirectives((c.openBlock(),c.createElementBlock("div",{class:"AVOptionSelect","aria-label":i.value},[e.rank?(c.openBlock(),c.createElementBlock("span",aX,c.toDisplayString(e.rank),1)):(c.openBlock(),c.createElementBlock("svg",tX,lX))],8,cX)),[[c.vShow,e.checked]])}});const d$=P(sX,[["__scopeId","data-v-59ee2583"]]),rX={class:"AVOptionCheckbox--container"},oX={key:0,class:"AVOptionCheckbox--exclusive-container"},fX={class:"AVOptionCheckbox--exclusive"},uX=["aria-checked","tabindex","aria-disabled","disabled","onKeydown"],mX=c.defineComponent({__name:"AVOptionCheckbox",props:{checked:{type:Boolean,required:!0},optionReference:{type:String,default:""},checkBoxIndex:{type:Number,default:1},rank:{type:[Number,null],default:null},disabled:{type:Boolean,default:!1},invalid:{type:Boolean,default:!1},exclusiveError:{type:Boolean,default:!1},locale:{type:String,default:null}},emits:["toggled"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,l=a;c.onMounted(()=>{i.locale&&e1(i.locale)}),c.watch(()=>i.locale,()=>{i.locale&&e1(i.locale)},{deep:!0});const s=()=>l("toggled"),r=c.computed(()=>i.optionReference?{id:`option_${i.optionReference}_checkbox_${i.checkBoxIndex}`,role:"checkbox","aria-labelledby":`option_${i.optionReference}_title option_${i.optionReference}_tick option_${i.optionReference}_subtitle`,"aria-describedby":`option_${i.optionReference}_description option_${i.optionReference}_handle`,tabindex:0}:{});return(o,f)=>{const m=c.resolveComponent("AVOptionSelect");return c.openBlock(),c.createElementBlock("div",rX,[e.exclusiveError&&e.checked?(c.openBlock(),c.createElementBlock("div",oX,[c.createElementVNode("div",fX,c.toDisplayString(c.unref(n)("js.components.AVOptionCheckbox.exclusive_option")),1)])):c.createCommentVNode("",!0),c.createElementVNode("button",c.mergeProps({class:{AVOptionCheckbox:!0,"AVOptionCheckbox--checked":e.checked,"AVOptionCheckbox--disabled":e.disabled,"AVOptionCheckbox--error":(e.exclusiveError||e.invalid)&&e.checked},"aria-checked":e.checked?!0:null,tabindex:e.disabled?null:0,"aria-disabled":e.disabled||null,disabled:e.disabled},r.value,{onClick:c.withModifiers(s,["stop"]),onKeydown:c.withKeys(c.withModifiers(s,["prevent"]),["space","enter"])}),[e.checked?(c.openBlock(),c.createBlock(m,{key:0,id:`option_${e.optionReference}_tick`,rank:e.rank,checked:e.checked},null,8,["id","rank","checked"])):c.createCommentVNode("",!0)],16,uX)])}}});const p$=P(mX,[["__scopeId","data-v-41bf0e6f"]]),v$=c.defineComponent({__name:"AVTransitionSlide",props:{skipTransition:{type:Boolean,default:!1}},setup(e){const a=e,t=l=>{if(a.skipTransition)return;l.style.height="auto";const s=getComputedStyle(l).height;l.style.height="0",getComputedStyle(l).height,setTimeout(()=>{l.style.height=s})},n=l=>{l.style.height="auto"},i=l=>{if(a.skipTransition)return;const s=getComputedStyle(l).height;l.style.height=s,getComputedStyle(l).height,setTimeout(()=>{l.style.height="0"})};return(l,s)=>(c.openBlock(),c.createBlock(c.Transition,{name:"slide-fade",onEnter:t,onLeave:i,onAfterEnter:n},{default:c.withCtx(()=>[c.renderSlot(l.$slots,"default")]),_:3}))}}),dX=["aria-controls","aria-expanded"],pX=["id","aria-hidden"],vX=c.defineComponent({__name:"AVCollapser",props:{collapsable:{type:Boolean,default:!1},startCollapsed:{type:Boolean,default:!1},paneId:{type:String,default:"option_reference_children"}},emits:["accordionOpen"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(!1),l=c.ref(!0),s=c.computed(()=>({collapsable:t.collapsable,startCollapsed:t.startCollapsed}));c.onMounted(()=>{const{collapsable:o,startCollapsed:f}=s.value;i.value=o&&!f});const r=(o=null,f=!0)=>{t.collapsable&&(l.value=f,o===null?i.value=!i.value:i.value=!!o,i.value&&n("accordionOpen"))};return(o,f)=>{const m=c.resolveComponent("AVTransitionSlide");return e.collapsable?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createElementVNode("div",{role:"button","aria-controls":e.paneId,tabindex:"0","aria-expanded":i.value||null,class:"AVCollapser",onClick:f[0]||(f[0]=u=>r()),onKeypress:f[1]||(f[1]=c.withKeys(c.withModifiers(u=>r(),["prevent"]),["space","enter"]))},[c.renderSlot(o.$slots,"toggle",{isOpen:i.value,collapsable:e.collapsable},void 0,!0)],40,dX),c.renderSlot(o.$slots,"results",{},void 0,!0),c.createVNode(m,{"skip-transition":!l.value},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{id:e.paneId,"aria-hidden":!i.value||null},[c.renderSlot(o.$slots,"pane",{isOpen:i.value,toggleCollapse:r},void 0,!0)],8,pX),[[c.vShow,i.value]])]),_:3},8,["skip-transition"])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.renderSlot(o.$slots,"toggle",{isOpen:!0,collapsable:!1},void 0,!0),c.renderSlot(o.$slots,"results",{},void 0,!0),c.renderSlot(o.$slots,"pane",{isOpen:!0,toggleCollapse:r},void 0,!0)],64))}}});const h$=P(vX,[["__scopeId","data-v-0dc18787"]]),hX=c.defineComponent({__name:"AVLinkVisualizer",props:{link:{type:Object,required:!0},large:{type:Boolean,default:!1}},setup(e){const a=e,t={github:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?github\.com\//gm),instagram:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?instagram\.com\//gm),linkedin:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?linkedin\.com\/(in|profile|pub)\//gm),twitter:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?(twitter\.|x\.)com\//gm),envelope:new RegExp(/mailto:([^]*)/gm),facebook:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?facebook.com\//gm),vimeo:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?vimeo\.com\//gm),youtube:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?((?:youtube(-nocookie)?\.com|youtu.be))\//gm),tiktok:new RegExp(/^(http(s)?:\/\/)?([A-Za-z]+\.)?tiktok\.com\//gm)},n=c.computed(()=>{let l="link";return Object.keys(t).map(s=>{t[s].test(a.link.attributes.url)&&(l=s)}),l}),i=l=>window.open(l,"_blank").focus();return(l,s)=>{const r=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["AVLinkVisualizer AVLinkVisualizer--themed-btn",{"AVLinkVisualizer--large":e.large}]),onClick:s[0]||(s[0]=o=>i(e.link.attributes.url))},[c.createVNode(r,{icon:n.value,class:"AVLinkVisualizer--icon"},null,8,["icon"]),c.createElementVNode("span",null,c.toDisplayString(e.link.attributes.name),1)],2)}}});const z$=P(hX,[["__scopeId","data-v-eb8f518d"]]),zX={class:"AVVerticalStep"},VX={class:"AVVerticalStep--container"},MX={key:0,class:"AVVerticalStep--text"},CX=c.defineComponent({__name:"AVVerticalStep",props:{stepNumber:{type:Number,validate:e=>e>=1&&e<=9,required:!0},status:{type:String,validate:e=>["default","active","done"].includes(e),default:"default"},title:{type:String,required:!0},subtitle:{type:String,default:null},collapsed:{type:Boolean,default:!1},hasNextStep:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",zX,[c.createElementVNode("div",VX,[c.createElementVNode("div",{class:c.normalizeClass(`AVVerticalStep--step AVVerticalStep--step-${e.status}`),"data-test":"step-circle"},[c.createVNode(n,{icon:e.status==="done"?"check":`${e.stepNumber}`,class:"AVVerticalStep--icon","data-test":"step-icon"},null,8,["icon"])],2),c.createVNode(c.Transition,null,{default:c.withCtx(()=>[e.collapsed?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",MX,[c.createElementVNode("span",{class:c.normalizeClass(`AVVerticalStep--title AVVerticalStep--text-${e.status}`),"data-test":"step-title"},c.toDisplayString(e.title),3),e.subtitle?(c.openBlock(),c.createElementBlock("span",{key:0,class:c.normalizeClass(`AVVerticalStep--subtitle AVVerticalStep--text-${e.status}`),"data-test":"step-subtitle"},c.toDisplayString(e.subtitle),3)):c.createCommentVNode("",!0)]))]),_:1})]),e.hasNextStep?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(`AVVerticalStep--line AVVerticalStep--line-${e.status}`),"data-test":"step-line"},null,2)):c.createCommentVNode("",!0)])}}});const gX=P(CX,[["__scopeId","data-v-4cec470a"]]),$t=e=>(c.pushScopeId("data-v-90e59491"),e=e(),c.popScopeId(),e),HX=$t(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),bX=$t(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),LX=$t(()=>c.createElementVNode("span",{class:"AVAnimatedMenuButton--line"},null,-1)),AX=[HX,bX,LX],_X=c.defineComponent({__name:"AVAnimatedMenuButton",props:{isOpened:{type:Boolean,default:!1}},emits:["update:isOpened"],setup(e,{emit:a}){const t=a;return(n,i)=>(c.openBlock(),c.createElementBlock("button",{class:c.normalizeClass(["AVAnimatedMenuButton",{"AVAnimatedMenuButton--opened":e.isOpened}]),onClick:i[0]||(i[0]=l=>t("update:isOpened",!e.isOpened))},[c.createElementVNode("span",{class:c.normalizeClass(["AVAnimatedMenuButton--icon",{"AVAnimatedMenuButton--icon-opened":e.isOpened}])},AX,2)],2))}});const NX=P(_X,[["__scopeId","data-v-90e59491"]]),kX={class:"AVRadioGroup--input-set"},xX=["for"],yX={key:1,class:"AVRadioGroup--error","data-test":"error-msg"},SX=c.defineComponent({__name:"AVRadioGroup",props:{id:{type:String,required:!0},options:{type:Array,required:!0},initialValue:{type:String,default:null},disabled:{type:Array,default:null},error:{type:Boolean,default:!1},errorMessage:{type:String,default:null},inputLabel:{type:String,default:"Input label"},disableLabel:{type:Boolean,default:!1},orientation:{type:String,validate:e=>["vertical","horizontal"].includes(e),default:"horizontal"}},emits:["update"],setup(e,{emit:a}){const t=e,n=a,i=c.ref(""),l=c.ref([]),s=m=>{l.value.map(u=>{u.value===m?(u.checked=!0,i.value=u.value):u.checked=!1})},r=()=>{if(l.value.map(m=>m.disabled=!1),t.disabled)l.value.map(m=>{t.disabled.map(u=>u===m.value?m.disabled=!0:m)});else return};c.onMounted(()=>{t.options.map(m=>l.value.push({value:m,checked:!1})),t.initialValue&&s(t.initialValue),t.disabled&&r()});const o=m=>{s(m),f()},f=()=>{n("update",i.value,l.value)};return c.watch(()=>t.initialValue,()=>{i.value=t.initialValue,s(t.initialValue)}),c.watch(()=>t.disabled,()=>{r()}),(m,u)=>{const d=c.resolveComponent("AVRadio");return c.openBlock(),c.createElementBlock("div",kX,[e.disableLabel?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("label",{key:0,for:e.id,class:"AVRadioGroup--label","data-test":"input-label"},c.toDisplayString(e.inputLabel),9,xX)),c.createElementVNode("div",{class:c.normalizeClass(`AVRadioGroup--${e.orientation}`),"data-test":"input-group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,(p,V)=>(c.openBlock(),c.createBlock(d,{class:"AVRadioGroup--child",id:`radio-${e.id}-${V}`,key:V,value:p.value,checked:p.checked,disabled:p.disabled,onUpdate:C=>o(p.value)},null,8,["id","value","checked","disabled","onUpdate"]))),128))],2),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",yX,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const V$=P(SX,[["__scopeId","data-v-74ff59b8"]]),wX=c.defineComponent({__name:"AVNavigationItemList",props:{type:{type:String,validate:e=>["navbar","sidebar"].includes(e),default:"navbar"}},setup(e){return(a,t)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(`AVNavigationItemList AVNavigationItemList--${e.type}`)},[c.renderSlot(a.$slots,"default",{},void 0,!0)],2))}});const M$=P(wX,[["__scopeId","data-v-9fd5c53d"]]),EX={class:"AVBreadcrumb"},TX=["href"],BX=["href"],IX=c.defineComponent({__name:"AVBreadcrumb",props:{items:{type:Array,required:!0},disableButton:{type:Boolean,default:!1},buttonHref:{type:String,default:null}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",EX,[c.createElementVNode("a",{href:e.buttonHref},[e.disableButton?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(n,{key:0,icon:"fa-solid fa-circle-chevron-left",class:"AVBreadcrumb--icon"}))],8,TX),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.items,(i,l)=>(c.openBlock(),c.createElementBlock("span",{key:l,class:"AVBreadcrumb--group","data-test":"item-group"},[c.createElementVNode("a",{href:i.active?null:i.href,class:c.normalizeClass(["AVBreadcrumb--link",{"AVBreadcrumb--link-active":i.active}])},c.toDisplayString(i.text),11,BX),c.createVNode(n,{icon:"fa-solid fa-angle-right",class:"AVBreadcrumb--separator"})]))),128))])}}});const C$=P(IX,[["__scopeId","data-v-479a161a"]]),DX=["href"],PX={class:"AVElectionCard--inner"},OX={class:"AVElectionCard--id","data-test":"id"},FX={class:"AVElectionCard--title-group"},RX={class:"AVElectionCard--title","data-test":"title"},jX={class:"AVElectionCard--items"},qX={class:"AVElectionCard--item","data-test":"item"},$X={class:"AVElectionCard--item-icon"},UX={class:"AVElectionCard--item-text"},WX={class:"AVElectionCard--item","data-test":"item"},GX={class:"AVElectionCard--item-icon"},JX={class:"AVElectionCard--item-text"},ZX={class:"AVElectionCard--item","data-test":"item"},YX={class:"AVElectionCard--item-icon"},QX={class:"AVElectionCard--item-text"},KX={class:"AVElectionCard--button"},XX=c.defineComponent({__name:"AVElectionCard",props:{id:{type:String,required:!0},name:{type:String,required:!0},status:{type:String,required:!0},countyName:{type:String,required:!0},createdAt:{type:String,required:!0},lastUpdated:{type:String,required:!0},countyNameLabel:{type:String,required:!0},createdAtLabel:{type:String,required:!0},lastUpdatedLabel:{type:String,required:!0},href:{type:String,required:!0}},setup(e){const a=e,t={draft:"info",open:"success",closed:"danger",archived:"default"},n=c.computed(()=>t[a.status]);return(i,l)=>{const s=c.resolveComponent("AVLabel"),r=c.resolveComponent("AVIcon"),o=c.resolveComponent("AVCard");return c.openBlock(),c.createElementBlock("a",{href:e.href,class:"AVElectionCard","data-test":"link"},[c.createVNode(o,{variant:"rounded",role:"button"},{default:c.withCtx(()=>[c.createElementVNode("div",PX,[c.createElementVNode("span",OX,c.toDisplayString(e.id),1),c.createElementVNode("div",FX,[c.createElementVNode("span",RX,c.toDisplayString(e.name),1),c.createVNode(s,{type:n.value,value:e.status},null,8,["type","value"])]),c.createElementVNode("div",jX,[c.createElementVNode("div",qX,[c.createElementVNode("div",$X,[c.createVNode(r,{icon:"fa-solid fa-location-pin"})]),c.createElementVNode("span",UX,[c.createTextVNode(c.toDisplayString(e.countyNameLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.countyName),1)])]),c.createElementVNode("div",WX,[c.createElementVNode("div",GX,[c.createVNode(r,{icon:"fa-solid fa-file-circle-plus"})]),c.createElementVNode("span",JX,[c.createTextVNode(c.toDisplayString(e.createdAtLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.createdAt),1)])]),c.createElementVNode("div",ZX,[c.createElementVNode("div",YX,[c.createVNode(r,{icon:"fa-solid fa-pen-to-square"})]),c.createElementVNode("span",QX,[c.createTextVNode(c.toDisplayString(e.lastUpdatedLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.lastUpdated),1)])])])]),c.createElementVNode("div",KX,[c.createVNode(r,{icon:"fa-solid fa-circle-chevron-right",class:"AVElectionCard--CTA-icon"})])]),_:1})],8,DX)}}});const g$=P(XX,[["__scopeId","data-v-dd72671e"]]),e11=["href"],c11={class:"AVBallotStyleCard--content"},a11={key:0,class:"AVBallotStyleCard--completion-icon","data-test":"success-icon"},t11={class:"AVBallotStyleCard--text-container"},n11={class:"AVBallotStyleCard--title","data-test":"title"},i11={class:"AVBallotStyleCard--text","data-test":"text"},l11={class:"AVBallotStyleCard--CTA-icon"},s11=c.defineComponent({__name:"AVBallotStyleCard",props:{href:{type:String,required:!0},name:{type:String,required:!0},contestQty:{type:Number,required:!0},contestLabel:{type:String,required:!0},reviewed:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVIcon"),i=c.resolveComponent("AVCard");return c.openBlock(),c.createElementBlock("a",{href:e.href,class:"AVBallotStyleCard",role:"button","data-test":"link"},[c.createVNode(i,{variant:"rounded"},{default:c.withCtx(()=>[c.createElementVNode("div",c11,[e.reviewed?(c.openBlock(),c.createElementBlock("div",a11,[c.createVNode(n,{icon:"fa-solid fa-check"})])):c.createCommentVNode("",!0),c.createElementVNode("div",t11,[c.createElementVNode("div",n11,c.toDisplayString(e.name),1),c.createElementVNode("div",i11,c.toDisplayString(`${e.contestQty} ${e.contestLabel}`),1)])]),c.createElementVNode("div",l11,[c.createVNode(n,{icon:"fa-solid fa-chevron-right"})])]),_:1}),c.createElementVNode("div",{class:c.normalizeClass(`AVBallotStyleCard--progress AVBallotStyleCard--progress-${e.reviewed?"success":"default"}`),"data-test":"progress"},null,2)],8,e11)}}});const H$=P(s11,[["__scopeId","data-v-c682a2cf"]]),r11=["aria-label"],o11={key:0,class:"AVSummaryOption--ancestry"},f11={class:"AVSummaryOption--breadcrumb"},u11=["src","alt"],m11={class:"AVSummaryOption--body"},d11={class:"AVSummaryOption--title"},p11={key:1,class:"AVSummaryOption--summary"},v11={key:1,class:"AVSummaryOption--footer"},b$=c.defineComponent({__name:"AVSummaryOption",props:{option:{type:Object,default:null},multipleVotesAllowed:{type:Boolean,default:!1},locale:{type:String,default:null},blank:{type:Boolean,default:!1},parents:{type:Array,default:null},imageOption:{type:String,default:"square"}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=c.computed(()=>a.global.locale.value||a.global.locale),i=c.ref([]),l=e;c.onMounted(()=>{l.parents&&l.parents.map(u=>i.value.push(u)),l.locale&&e1(l.locale)}),c.watch(()=>l.locale,()=>{l.locale&&e1(l.locale)},{deep:!0});const s=c.computed(()=>{var u,d;return((u=l.option)==null?void 0:u.crosses)&&((d=l.option)==null?void 0:d.crosses)>1&&l.multipleVotesAllowed&&!l.blank}),r=c.computed(()=>i.value.length<1?"":i.value.map(u=>u.title[n.value]).reverse()),o=c.computed(()=>{var u;return l.blank?t("js.components.AVSummaryOption.blank"):(u=l.option)==null?void 0:u.title}),f=c.computed(()=>{var C,g;const u=Array.from(Array((C=l.option)==null?void 0:C.crosses).keys());u.forEach(L=>u[L]=L+1);const d=u.indexOf(Math.ceil(((g=l.option)==null?void 0:g.crosses)/2))+1,p=u.slice(0,d),V=u.slice(d);return V.length?[p,V]:[p]}),m=c.computed(()=>l.option.image.includes("square")?l.option.image:`${l.option.image}/${l.imageOption}`);return(u,d)=>{var V,C;const p=c.resolveComponent("AVOptionCheckbox");return c.openBlock(),c.createElementBlock("div",{class:"AVSummaryOption","aria-label":c.unref(t)("js.components.AVSummaryOption.aria_label.option")},[r.value?(c.openBlock(),c.createElementBlock("div",o11,[c.createElementVNode("ul",f11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value,(g,L)=>(c.openBlock(),c.createElementBlock("li",{key:g+L,class:"AVSummaryOption--breadcrumb-item"},c.toDisplayString(g),1))),128))])])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass({"AVSummaryOption--header":!0,"AVSummaryOption--header-multiple":s.value})},[(V=e.option)!=null&&V.image?(c.openBlock(),c.createElementBlock("img",{key:0,src:m.value,class:"AVSummaryOption--img",alt:c.unref(t)("js.components.AVSummaryOption.aria_label.option_image")},null,8,u11)):c.createCommentVNode("",!0),c.createElementVNode("div",m11,[c.createElementVNode("div",d11,c.toDisplayString(o.value),1)]),s.value?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",p11,[c.createVNode(p,{checked:!0,rank:(C=e.option)==null?void 0:C.rank,disabled:!0},null,8,["rank"])]))],2),s.value?(c.openBlock(),c.createElementBlock("div",v11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(f.value,g=>(c.openBlock(),c.createElementBlock("div",{key:g.toString(),class:"AVSummaryOption--group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(g,L=>{var M;return c.openBlock(),c.createBlock(p,{key:L,checked:!0,rank:(M=e.option)==null?void 0:M.rank,disabled:!0},null,8,["rank"])}),128))]))),128))])):c.createCommentVNode("",!0)],8,r11)}}});const bi=c.ref(new Map);function L$(){function e(a,...t){bi.value.set(a,t)}return{eventBusEmit:e,eventBus:bi}}const A$=e=>(c.pushScopeId("data-v-785ef04b"),e=e(),c.popScopeId(),e),h11=["id","href","aria-labelledby"],z11=["aria-label"],V11={class:"AVOption--header-container"},M11={class:"AVOption--header"},C11=["src","alt"],g11=["textContent"],H11={key:0,class:"AVOption--body"},b11={key:0,class:"AVOption--description"},L11=["innerHTML"],A11={key:1,class:"AVOption--links-container"},_11=["href"],N11={key:2,class:"AVOption--children-container"},k11=["id"],x11=["innerHTML"],y11={key:1,class:"AVOption--realtime-results AVOption--realtime-results-internal"},S11=A$(()=>c.createElementVNode("span",null,"-",-1)),w11={class:"AVOption--realtime-results"},E11=A$(()=>c.createElementVNode("span",null,"-",-1)),T11={key:0,class:"AVOption--children"},B11=c.defineComponent({__name:"AVOption",props:{option:{type:Object,required:!0},selections:{type:Array,required:!0},contest:{type:Object,required:!0},invalid:{type:Boolean,required:!0},exclusiveError:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,default:!1},partialResults:{type:Object,default:null},locale:{type:String,default:null},imageOption:{type:String,default:"square"}},emits:["accordion-open","checked","view-candidate"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=c.computed(()=>t.global.locale.value||t.global.locale),{eventBus:l}=L$(),s=c.ref(!1),r=c.ref(null),o=e,f=a;c.onMounted(()=>{o.locale&&e1(o.locale)}),c.watch(()=>o.locale,()=>{o.locale&&e1(o.locale)},{deep:!0});const m=c.computed(()=>document.getElementsByTagName("html")[0].dir==="rtl"),u=c.computed(()=>o.contest.markingType.voteVariation==="ranked"),d=c.computed(()=>o.selections.filter(S=>S.reference===o.option.reference).length),p=c.computed(()=>o.option.title[i.value]??""),V=c.computed(()=>{var S;return((S=o.option.description)==null?void 0:S[i.value])??""}),C=c.computed(()=>{var S;return((S=o.option.url)==null?void 0:S[i.value])??""}),g=c.computed(()=>{var S;return((S=o.option.videoUrl)==null?void 0:S[i.value])??""}),L=c.computed(()=>o.option.image.includes("square")?o.option.image:`${o.option.image}/${o.imageOption}`),M=c.computed(()=>{let S=[];return C.value&&S.push({url:C.value,text:n("js.components.AVOption.info_link_text_html")}),g.value&&S.push({url:g.value,text:n("js.components.AVOption.video_link_text_html")}),S}),v=c.computed(()=>o.option.children&&o.option.children.length>0),H=c.computed(()=>o.option.selectable!==void 0&&!o.option.selectable?0:_.value?1:o.option.voteLimit||o.contest.markingType.votesAllowedPerOption||1),b=c.computed(()=>o.selections.length>0?E(o.option.children):0),_=c.computed(()=>o.option.exclusive),N=c.computed(()=>{const S=Array.from(Array(H.value).keys());S.forEach(O=>S[O]=O+1);const q=S.indexOf(Math.ceil(H.value/2))+1,G=S.slice(0,q),I=S.slice(q);return I.length?[G,I]:[G]}),x=c.computed(()=>o.partialResults?o.partialResults[o.option.reference]:null),A=(S,q=1)=>{f("checked",{reference:S,amount:q})},E=S=>{if(!S)return 0;let q=S.filter(G=>o.selections.map(I=>I.reference).includes(G.reference)).length;return S.reduce((G,I)=>G+E(I.children),q)},R=S=>{s.value=!1,S===o.option.reference&&(f("accordion-open"),c.nextTick(()=>{s.value=!0,r.value.scrollIntoView({behavior:"smooth",block:"center"})}))};return c.watch(()=>l.value.get("highlight-option"),S=>{const[q]=S??[];R(q)}),(S,q)=>{const G=c.resolveComponent("AVIcon"),I=c.resolveComponent("AVOptionCheckbox"),O=c.resolveComponent("AVOption",!0),Q=c.resolveComponent("AVCollapser");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({"AVOption--background":!0,"AVOption--disabled":e.disabled})},[c.createElementVNode("a",{id:e.option.reference,class:"AVOption--scroll-anchor",href:`option_${e.option.reference}_checkbox`,"aria-labelledby":`option_${e.option.reference}_title`},null,8,h11),c.createVNode(Q,{collapsable:e.contest.collapsable&&v.value,"start-collapsed":e.contest.collapseDefault&&!e.observerMode,onAccordionOpen:q[2]||(q[2]=z1=>f("accordion-open"))},c.createSlots({toggle:c.withCtx(({isOpen:z1,collapsable:b1})=>[c.createElementVNode("section",{ref_key:"el",ref:r,class:c.normalizeClass({AVOption:!0,"AVOption--highlight":s.value,"AVOption--accent":e.option.accentColor}),style:c.normalizeStyle(e.option.accentColor?`border-left-color: ${e.option.accentColor}`:""),"aria-label":c.unref(n)("js.components.AVOption.aria_labels.option")},[c.createElementVNode("div",{class:c.normalizeClass(["AVOption--container",{"AVOption--container-column":H.value>1,"AVOption--container-row":H.value<=5}])},[c.createElementVNode("div",V11,[c.createElementVNode("header",M11,[e.option.image?(c.openBlock(),c.createElementBlock("img",{key:0,src:L.value,alt:c.unref(n)("js.components.AVOption.aria_labels.option_image"),class:"AVOption-image"},null,8,C11)):c.createCommentVNode("",!0),c.createElementVNode("h5",{class:"AVOption--title",textContent:c.toDisplayString(p.value)},null,8,g11)]),V.value||M.value.length||v.value||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",H11,[V.value?(c.openBlock(),c.createElementBlock("div",b11,[c.createElementVNode("p",{innerHTML:V.value},null,8,L11)])):c.createCommentVNode("",!0),M.value.length>0||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",A11,[e.option.candidateId?(c.openBlock(),c.createElementBlock("button",{key:0,class:"AVOption--link",onClick:q[0]||(q[0]=V1=>f("view-candidate",e.option.candidateId))},c.toDisplayString(c.unref(n)("js.components.AVOption.view_candidate")),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(M.value,V1=>(c.openBlock(),c.createElementBlock("a",{key:V1.toString(),href:V1.url,class:"AVOption--link",target:"_blank"},c.toDisplayString(V1.text),9,_11))),128))])):c.createCommentVNode("",!0),b1&&v.value?(c.openBlock(),c.createElementBlock("div",N11,[c.createElementVNode("div",{id:`option_${e.option.reference}_dropdown`,class:"AVOption--expander-container","aria-hidden":"true"},[c.createVNode(G,{icon:z1?"chevron-down":m.value?"chevron-left":"chevron-right",class:"AVOption--expander-icon"},null,8,["icon"]),c.createElementVNode("span",{class:"AVOption--expander-help-text",innerHTML:z1?c.unref(n)("js.components.AVOption.collapse_text"):c.unref(n)("js.components.AVOption.expand_text")},null,8,x11)],8,k11),b.value&&!z1?(c.openBlock(),c.createElementBlock("span",{key:0,class:c.normalizeClass(["AVOption--suboption-badge",{"AVOption--suboption-badge-danger":e.invalid,"AVOption--suboption-badge-normal":!e.invalid}])},c.toDisplayString(m.value?`${c.unref(n)("js.components.AVOption.sub_options_select")} ${b.value}`:`${b.value} ${c.unref(n)("js.components.AVOption.sub_options_select")}`),3)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)]),H.value>=1?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass({"AVOption--multivote-aside":H.value<=5,"AVOption--multivote-footer":H.value>5,"AVOption--singlevote":H.value===1}),style:c.normalizeStyle(`background-color: ${H.value===1?"#FFFFFF":"#f7f7f7"}`)},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(N.value,V1=>(c.openBlock(),c.createElementBlock("div",{key:V1.toString(),class:"AVOption--group"},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(V1,_1=>(c.openBlock(),c.createBlock(I,{key:_1,checked:d.value>=_1,rank:u.value?e.selections.map(v1=>v1.reference).indexOf(e.option.reference)+1:null,"exclusive-error":e.exclusiveError,invalid:e.invalid,"option-reference":e.option.reference,"check-box-index":_1,disabled:e.disabled||e.observerMode,onToggled:v1=>A(e.option.reference,_1)},null,8,["checked","rank","exclusive-error","invalid","option-reference","check-box-index","disabled","onToggled"]))),128))]))),128))],6)):c.createCommentVNode("",!0),x.value&&(e.observerMode||e.disabled)?(c.openBlock(),c.createElementBlock("div",y11,[c.createVNode(G,{icon:"user",class:"AVOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(m.value?`${x.value.results.count===1?c.unref(n)("js.components.AVOption.vote_count_singular"):c.unref(n)("js.components.AVOption.vote_count_plural")} ${x.value.results.count}`:`${x.value.results.count} ${x.value.results.count===1?c.unref(n)("js.components.AVOption.vote_count_singular"):c.unref(n)("js.components.AVOption.vote_count_plural")}`),1),x.value.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[S11,c.createElementVNode("span",null,c.toDisplayString(`${x.value.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)],14,z11)]),pane:c.withCtx(({toggleCollapse:z1})=>[v.value?(c.openBlock(),c.createElementBlock("div",T11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.option.children,b1=>(c.openBlock(),c.createBlock(O,{key:b1.reference,option:b1,selections:e.selections,contest:e.contest,invalid:e.invalid,disabled:e.disabled,"observer-mode":e.observerMode,"partial-results":e.partialResults,"exclusive-error":b1.exclusive&&e.exclusiveError,"image-option":e.imageOption,onChecked:q[1]||(q[1]=V1=>f("checked",V1)),onAccordionOpen:()=>z1(!0,!1)},null,8,["option","selections","contest","invalid","disabled","observer-mode","partial-results","exclusive-error","image-option","onAccordionOpen"]))),128))])):c.createCommentVNode("",!0)]),_:2},[!e.disabled&&x.value&&!e.observerMode?{name:"results",fn:c.withCtx(()=>[c.createElementVNode("div",w11,[c.createVNode(G,{icon:"user",class:"AVOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(m.value?`${x.value.results.count===1?c.unref(n)("js.components.AVOption.vote_count_singular"):c.unref(n)("js.components.AVOption.vote_count_plural")} ${x.value.results.count}`:`${x.value.results.count} ${x.value.results.count===1?c.unref(n)("js.components.AVOption.vote_count_singular"):c.unref(n)("js.components.AVOption.vote_count_plural")}`),1),x.value.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[E11,c.createElementVNode("span",null,c.toDisplayString(`${x.value.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["collapsable","start-collapsed"])],2)}}});const _$=P(B11,[["__scopeId","data-v-785ef04b"]]),N$=e=>(c.pushScopeId("data-v-ee117d09"),e=e(),c.popScopeId(),e),I11=["aria-label"],D11={class:"AVBlankOption--header","aria-hidden":"true"},P11={class:"AVBlankOption--title"},O11={class:"AVBlankOption--checkbox"},F11={key:0,class:"AVBlankOption--realtime-results AVOption--realtime-results-internal"},R11=N$(()=>c.createElementVNode("span",null,"-",-1)),j11={key:0,class:"AVBlankOption--realtime-results"},q11=N$(()=>c.createElementVNode("span",null,"-",-1)),$11=c.defineComponent({__name:"AVBlankOption",props:{checked:{type:Boolean,required:!0},error:{type:Boolean,required:!0},disabled:{type:Boolean,default:!1},partialResults:{type:Object,default:null},accentColor:{type:String,default:null},observerMode:{type:Boolean,default:!1},locale:{type:String,default:null},invalid:{type:Boolean,default:!1}},emits:["toggleBlank"],setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;c.onMounted(()=>{n.locale&&e1(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&e1(n.locale)},{deep:!0});const i=c.computed(()=>document.getElementsByTagName("html")[0].dir==="rtl");return(l,s)=>{const r=c.resolveComponent("AVOptionCheckbox"),o=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({"AVBlankOption--disabled":e.disabled})},[c.createElementVNode("div",{class:c.normalizeClass({AVBlankOption:!0,"AVBlankOption--accent":e.accentColor}),style:c.normalizeStyle(e.accentColor?`border-left-color: ${e.accentColor}`:""),"aria-label":c.unref(t)("js.components.AVBlankOption.aria_labels.option")},[c.createElementVNode("div",D11,[c.createElementVNode("h5",P11,c.toDisplayString(c.unref(t)("js.components.AVBlankOption.title")),1),c.createElementVNode("div",O11,[c.createVNode(r,{"option-reference":"blank",rank:null,checked:e.checked,"exclusive-error":e.error,invalid:e.invalid,disabled:e.disabled||e.observerMode,onToggled:s[0]||(s[0]=f=>l.$emit("toggleBlank"))},null,8,["checked","exclusive-error","invalid","disabled"])]),e.partialResults&&(e.observerMode||e.disabled)?(c.openBlock(),c.createElementBlock("div",F11,[c.createVNode(o,{icon:"user",class:"AVBlankOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(i.value?`${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}`:`${e.partialResults.results.count} ${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")}`),1),e.partialResults.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[R11,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])],14,I11),!e.disabled&&e.partialResults&&!e.observerMode?(c.openBlock(),c.createElementBlock("div",j11,[c.createVNode(o,{icon:"user",class:"AVBlankOption--realtime-results-icon"}),c.createElementVNode("span",null,c.toDisplayString(i.value?`${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}`:`${e.partialResults.results.count} ${e.partialResults.results.count===1?c.unref(t)("js.components.AVBlankOption.vote_count_singular"):c.unref(t)("js.components.AVBlankOption.vote_count_plural")}`),1),e.partialResults.showPercentage?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[q11,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)}}});const k$=P($11,[["__scopeId","data-v-ee117d09"]]),U11=["aria-label"],W11={class:"AVWriteInOption--header"},G11={class:"AVWriteInOption--container"},J11={id:"option_writeIn",class:"AVWriteInOption--title"},Z11={class:"AVWriteInOption--form-group"},Y11=["aria-label","disabled"],Q11={value:""},K11=["value","selected"],X11=["value","placeholder","aria-label","disabled"],e21=c.defineComponent({__name:"AVWriteInOption",props:{parties:{type:Array,required:!0},candidateValue:{type:String,required:!0},partyValue:{type:String,required:!0},checkedValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,defaul:!1},locale:{type:String,default:null}},emits:["update:candidateValue","update:partyValue","update:checkedValue"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=e,l=a;c.onMounted(()=>{i.locale&&e1(i.locale)}),c.watch(()=>i.locale,()=>{i.locale&&e1(i.locale)},{deep:!0});const s=f=>{l("update:candidateValue",f),o()},r=f=>{l("update:partyValue",f),o()},o=()=>{const f=i.partyValue!==""||i.candidateValue!=="";f!==i.checkedValue&&l("update:checkedValue",f)};return(f,m)=>{const u=c.resolveComponent("AVOptionCheckbox");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({AVWriteInOption:!0,"AVWriteInOption--disabled":e.disabled}),"aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.option")},[c.createElementVNode("div",W11,[c.createElementVNode("div",G11,[c.createElementVNode("div",J11,c.toDisplayString(c.unref(n)("js.components.AVWriteInOption.title")),1),c.createElementVNode("div",Z11,[c.createElementVNode("select",{class:"AVWriteInOption--form-control","aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.party"),disabled:e.disabled,onInput:m[0]||(m[0]=d=>r(d.target.value))},[c.createElementVNode("option",Q11,c.toDisplayString(c.unref(n)("js.components.AVWriteInOption.choose_party")),1),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.parties,d=>(c.openBlock(),c.createElementBlock("option",{key:d.letter,value:d.letter,selected:d.letter===e.partyValue},c.toDisplayString(d.letter)+" - "+c.toDisplayString(d.name),9,K11))),128))],40,Y11),c.createElementVNode("input",{value:e.candidateValue,class:"AVWriteInOption--form-control",placeholder:c.unref(n)("js.components.AVWriteInOption.placeholder"),"aria-label":c.unref(n)("js.components.AVWriteInOption.aria_labels.candidate"),disabled:e.disabled,onInput:m[1]||(m[1]=d=>s(d.target.value))},null,40,X11)])]),c.createVNode(u,{class:"AVWriteInOption--checkbox",checked:e.checkedValue,"option-id":0,disabled:e.disabled||e.observerMode},null,8,["checked","disabled"])])],10,U11)}}});const x$=P(e21,[["__scopeId","data-v-f2bba574"]]),c21=e=>(c.pushScopeId("data-v-0ae555cc"),e=e(),c.popScopeId(),e),a21={class:"AVSubmissionHelper"},t21={key:1},n21=["textContent"],i21=c21(()=>c.createElementVNode("hr",{class:"AVSubmissionHelper--separator"},null,-1)),l21={key:2},s21={class:"AVSubmissionHelper--help"},r21={key:0},o21={key:1},f21=["innerHTML"],u21={key:3},m21=c.defineComponent({__name:"AVSubmissionHelper",props:{minMarks:{type:Number,required:!0},maxMarks:{type:Number,required:!0},errors:{type:Array,required:!0},chosenCount:{type:Number,required:!0},hasExclusiveOptions:{type:Boolean,default:!1},weight:{type:Number,default:null},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=c.computed(()=>a.global.locale.value||a.global.locale),i=e;c.onMounted(()=>{i.locale&&e1(i.locale)}),c.watch(()=>i.locale,()=>{i.locale&&e1(i.locale)},{deep:!0});const l=c.computed(()=>i.errors.map(s=>s.keys?(Object.keys(s.keys).forEach(r=>{typeof s.keys[r]=="object"&&(s.keys[r]=s.keys[r][n.value])}),t(`js.components.AVSubmissionHelper.errors.${s.message}`,s.keys)):t(`js.components.AVSubmissionHelper.errors.${s.message}`)));return(s,r)=>(c.openBlock(),c.createElementBlock("div",a21,[c.createElementVNode("div",{class:c.normalizeClass(["AVSubmissionHelper--container",{"AVSubmissionHelper--danger":e.errors.length>0}])},[e.weight?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass({"AVSubmissionHelper--weight":!0,"AVSubmissionHelper--weight-danger":e.errors.length>0})},c.toDisplayString(c.unref(t)("js.components.AVSubmissionHelper.your_vote_weight",{weight:e.weight})),3)):c.createCommentVNode("",!0),e.errors.length>0?(c.openBlock(),c.createElementBlock("div",t21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(l.value,o=>(c.openBlock(),c.createElementBlock("div",{key:o,role:"alert",textContent:c.toDisplayString(o)},null,8,n21))),128)),i21])):c.createCommentVNode("",!0),e.maxMarks>1?(c.openBlock(),c.createElementBlock("div",l21,[c.createElementVNode("div",s21,[e.minMarks===e.maxMarks?(c.openBlock(),c.createElementBlock("div",r21,c.toDisplayString(`${c.unref(t)("js.components.AVSubmissionHelper.select_exactly",{min_marks:e.minMarks})}`),1)):(c.openBlock(),c.createElementBlock("div",o21,c.toDisplayString(`${e.hasExclusiveOptions?c.unref(t)("js.components.AVSubmissionHelper.select_multiple_with_exclusives",{min_marks:e.minMarks,max_marks:e.maxMarks}):c.unref(t)("js.components.AVSubmissionHelper.select_multiple",{min_marks:e.minMarks,max_marks:e.maxMarks})}`),1)),e.chosenCount>0?(c.openBlock(),c.createElementBlock("div",{key:2,innerHTML:c.unref(t)("js.components.AVSubmissionHelper.selected",{selected:e.chosenCount}),class:"AVSubmissionHelper--count"},null,8,f21)):c.createCommentVNode("",!0)])])):(c.openBlock(),c.createElementBlock("div",u21,[c.createElementVNode("div",null,c.toDisplayString(c.unref(t)("js.components.AVSubmissionHelper.select_single")),1)]))],2)]))}});const y$=P(m21,[["__scopeId","data-v-0ae555cc"]]);function d21(e,a,t){if(typeof t!="function")throw new Error("search_by must be a function that returns a string");const n=a.toLowerCase().trim().split(/\s+/);return e.filter(i=>{const l=t(i).toLowerCase().trim().split(/\s+/);return n.every(s=>l.some(r=>r.includes(s)))})}const p21=["aria-label"],v21={class:"AVSearchBallot--form-group"},h21=["textContent"],z21={class:"AVSearchBallot--input-group"},V21=["placeholder"],M21={id:"ballot_searcher_results",class:"AVSearchBallot--results","aria-live":"polite","aria-label":"search-results"},C21=["aria-label"],g21={key:0,class:"AVSeachOptionBallot--ancestry"},H21={class:"AVSeachOptionBallot--breadcrumb"},b21=["id","aria-label","onClick"],L21=["textContent"],A21=["textContent"],_21=c.defineComponent({__name:"AVSearchBallot",props:{options:{type:Array,required:!0},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=c.computed(()=>a.global.locale.value||a.global.locale),{eventBusEmit:i}=L$(),l=e;c.onMounted(()=>{l.locale&&e1(l.locale)}),c.watch(()=>l.locale,()=>{l.locale&&e1(l.locale)},{deep:!0});const s=c.ref(""),r=c.computed(()=>s.value.trim()===""?[]:d21(l.options,s.value,d=>d.title[n.value])),o=d=>f(d,[]).reverse(),f=(d,p)=>d.parentContent?(p.push(d.parentContent),f(d.parentContent,p)):p,m=()=>{s.value=""},u=d=>{i("highlight-option",d.reference),m()};return(d,p)=>(c.openBlock(),c.createElementBlock("form",{role:"search",class:"AVSearchBallot","aria-label":c.unref(t)("js.components.AVSearchBallot.aria_labels.ballot_options"),onSubmit:p[1]||(p[1]=c.withModifiers(()=>{},["prevent"]))},[c.createElementVNode("div",v21,[c.createElementVNode("label",{for:"ballot_search",class:"AVSearchBallot--label",textContent:c.toDisplayString(c.unref(t)("js.components.AVSearchBallot.search_the_ballot"))},null,8,h21),c.createElementVNode("div",z21,[c.withDirectives(c.createElementVNode("input",{id:"ballot_search","onUpdate:modelValue":p[0]||(p[0]=V=>s.value=V),type:"search",class:"AVSearchBallot--form-control",placeholder:c.unref(t)("js.components.AVSearchBallot.enter_option_name")},null,8,V21),[[c.vModelText,s.value]])])]),c.createElementVNode("div",M21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.value,V=>(c.openBlock(),c.createElementBlock("div",{key:V,"aria-label":V.title[n.value]},[o(V).length>0?(c.openBlock(),c.createElementBlock("div",g21,[c.createElementVNode("ul",H21,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o(V),C=>(c.openBlock(),c.createElementBlock("li",{key:C.reference,class:"AVSeachOptionBallot--breadcrumb-item"},c.toDisplayString(C.title[n.value]),1))),128))])])):c.createCommentVNode("",!0),c.createElementVNode("div",{id:`search_result_${V.reference}`,class:"AVSearchBallot--option",role:"button","aria-label":c.unref(t)("js.components.AVSearchBallot.aria_labels.go_to_option"),onClick:c.withModifiers(C=>u(V),["prevent"])},[c.createElementVNode("span",{class:"AVSearchBallot--link",textContent:c.toDisplayString(V.title[n.value])},null,8,L21)],8,b21)],8,C21))),128)),s.value&&r.value.length===0?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVSearchBallot--alert",textContent:c.toDisplayString(c.unref(t)("js.components.AVSearchBallot.no_results"))},null,8,A21)):c.createCommentVNode("",!0)])],40,p21))}});const S$=P(_21,[["__scopeId","data-v-727c3aa7"]]),N21={class:"AVSplitWeightHelper"},k21={class:"AVSplitWeightHelper--box"},x21={class:"AVSplitWeightHelper--box"},y21={class:"AVSplitWeightHelper--box"},S21=c.defineComponent({__name:"AVSplitWeightHelper",props:{assignedWeight:{type:Number,required:!0},unusedWeight:{type:Number,required:!0},activeAssigned:{type:Number,default:null},locale:{type:String,default:null}},setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;return c.onMounted(()=>{n.locale&&e1(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&e1(n.locale)},{deep:!0}),(i,l)=>(c.openBlock(),c.createElementBlock("div",N21,[c.createElementVNode("div",k21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.total"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.assignedWeight+e.unusedWeight),1)])]),c.createElementVNode("div",x21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.assigned"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.assignedWeight),1)])]),c.createElementVNode("div",y21,[c.createElementVNode("span",null,[c.createTextVNode(c.toDisplayString(c.unref(t)("js.components.AVSplitWeightHelper.unused"))+" ",1),c.createElementVNode("strong",null,c.toDisplayString(e.unusedWeight),1)])])]))}});const w$=P(S21,[["__scopeId","data-v-f145cdd2"]]),w21={class:"AVSplitWizardHeader"},E21={key:0,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},T21={key:1,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},B21={key:2,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},I21=c.defineComponent({__name:"AVSplitWizardHeader",props:{activeSelectionPileIndex:{type:Number},activeState:{type:String,required:!0},selectionPiles:{type:Array,required:!0},totalWeight:{type:Number,required:!0},isEditing:{type:Boolean,required:!0},locale:{type:String,default:null}},emits:["cancel"],setup(e){const a=c.inject("i18n"),{t}=a.global,n=e;return c.onMounted(()=>{n.locale&&e1(n.locale)}),c.watch(()=>n.locale,()=>{n.locale&&e1(n.locale)},{deep:!0}),(i,l)=>{const s=c.resolveComponent("AVTooltip");return c.openBlock(),c.createElementBlock("header",w21,[e.activeState==="ballot"?(c.openBlock(),c.createElementBlock("p",E21,c.toDisplayString(e.isEditing?`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.editing")} ${e.activeSelectionPileIndex+1}`:`${c.unref(t)("js.components.AVSplitWizardHeader.ballot.adding")} ${e.selectionPiles.length+1}`),1)):e.activeState==="assign"?(c.openBlock(),c.createElementBlock("p",T21,c.toDisplayString(e.isEditing?`${c.unref(t)("js.components.AVSplitWizardHeader.assign.header")} ${(e.isEditing?e.activeSelectionPileIndex:e.selectionPiles.length)+1}`:`${c.unref(t)("js.components.AVSplitWizardHeader.assign.header_edit_mode")} ${(e.isEditing?e.activeSelectionPileIndex:e.selectionPiles.length)+1}`),1)):(c.openBlock(),c.createElementBlock("p",B21,c.toDisplayString(c.unref(t)("js.components.AVSplitWizardHeader.overview.header")),1)),(e.activeState,c.createCommentVNode("",!0))])}}});const E$=P(I21,[["__scopeId","data-v-8df55e3a"]]),D21="data:image/svg+xml;base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uNzcxLDAgNy40MDgsLTAuNzU1IDEwLjkwOSwtMi4yNjRsLTIuNTg3LC02LjIzNGMtMi42ODMsMS4zNDEgLTUuNDcyLDIuMDExIC04LjM3MywyLjAxMWMtMy4zNjgsMCAtNi4wNjcsLTEuMTMxIC04LjA5MywtMy4zOTRjLTIuMDMsLTIuMjYyIC0zLjA0MSwtNS4zMDMgLTMuMDQxLC05LjEyNGMwLC0zLjk5MSAwLjgxNSwtNy4wMzcgMi40NDksLTkuMTM5YzEuNjM2LC0yLjEwMyA0LjAxMSwtMy4xNTYgNy4xMjgsLTMuMTU2YzEuNjI0LDAgMy4yNzUsMC4xNjggNC45NTIsMC41MDNsMCw3LjY2OWwtNi45NjMsMGwwLDYuNDg1eiIvPgogICA8L2c+CiAgPC9nPgogPC9nPgo8L3N2Zz4=",P21=e=>(c.pushScopeId("data-v-1a82d440"),e=e(),c.popScopeId(),e),O21=P21(()=>c.createElementVNode("span",{class:"AVFooter--text"},"Technology by",-1)),F21=["src"],R21=c.defineComponent({__name:"AVFooter",props:{enableSteps:{type:Boolean,default:!1},steps:{type:Array,default:null},active:{type:String,default:null},done:{type:Array,default:null},disableBanner:{type:Boolean,default:!1}},setup(e){return(a,t)=>{const n=c.resolveComponent("AVSteps");return c.openBlock(),c.createElementBlock("footer",{class:c.normalizeClass(["AVFooter",{"AVFooter--stacked":e.enableSteps}])},[e.enableSteps?(c.openBlock(),c.createBlock(n,{key:0,steps:e.steps,done:e.done,active:e.active,class:"AVFooter--child"},null,8,["steps","done","active"])):c.createCommentVNode("",!0),e.disableBanner?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(["AVFooter--base AVFooter--child",{"AVFooter--child-stacked":e.enableSteps}])},[O21,c.createElementVNode("img",{src:c.unref(D21),alt:"Assembly Voting",class:"AVFooter--img"},null,8,F21)],2))],2)}}});const T$=P(R21,[["__scopeId","data-v-1a82d440"]]);var j21={},q21={class:"AVSidebar"};function $21(e,a){return c.openBlock(),c.createElementBlock("nav",q21,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const B$=P(j21,[["render",$21],["__scopeId","data-v-65e0965f"]]);var U21={},W21={class:"AVNavbar"};function G21(e,a){return c.openBlock(),c.createElementBlock("nav",W21,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const I$=P(U21,[["render",G21],["__scopeId","data-v-3ea1799f"]]);var J21={},Z21={class:"AVContent"},Y21={class:"AVContent--sidebar","data-test":"sidebar"},Q21={class:"AVContent--container","data-test":"container"};function K21(e,a){return c.openBlock(),c.createElementBlock("main",Z21,[c.createElementVNode("div",Y21,[c.renderSlot(e.$slots,"sidebar",{},void 0,!0)]),c.createElementVNode("div",Q21,[c.renderSlot(e.$slots,"content",{},void 0,!0)])])}const D$=P(J21,[["render",K21],["__scopeId","data-v-1923eca8"]]),X21=["aria-labelledby"],e31=c.defineComponent({__name:"AVModal",props:{modalActive:{type:Boolean,required:!0},ariaLabelledBy:{type:String,required:!0},removePadding:{type:Boolean,default:!1}},emits:["clickOutside"],setup(e,{emit:a}){const t=a,n=e;return c.watch(()=>n.modalActive,()=>{n.modalActive&&(document.body.style.overflowY="hidden"),n.modalActive||(document.body.style.overflowY="scroll")}),(i,l)=>(c.openBlock(),c.createBlock(c.Transition,{name:"modal-animation"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{class:"AVModal",role:"dialog","aria-labelledby":e.ariaLabelledBy,"aria-modal":"true","aria-live":"assertive",onClick:l[1]||(l[1]=c.withModifiers(s=>t("clickOutside"),["stop"]))},[c.createVNode(c.Transition,{name:"modal-animation-inner"},{default:c.withCtx(()=>[c.withDirectives(c.createElementVNode("div",{class:c.normalizeClass(["AVModal--inner",{"AVModal--padding":!e.removePadding}]),onClick:l[0]||(l[0]=c.withModifiers(()=>{},["stop"]))},[c.renderSlot(i.$slots,"default",{},void 0,!0)],2),[[c.vShow,e.modalActive]])]),_:3})],8,X21),[[c.vShow,e.modalActive]])]),_:3}))}});const P$=P(e31,[["__scopeId","data-v-ef5af7c2"]]);var M4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ut={},c31=M4&&M4.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var n=0,i=a.length,l;n<i;n++)(l||!(n in a))&&(l||(l=Array.prototype.slice.call(a,0,n)),l[n]=a[n]);return e.concat(l||Array.prototype.slice.call(a))};Object.defineProperty(Ut,"__esModule",{value:!0});var a31=function(){function e(a){this.contest=a}return e.prototype.validate=function(a,t){t===void 0&&(t=!1);var n=[];return this.referenceMissing(a.optionSelections)&&n.push({message:"invalid_reference"}),this.tooManySelections(a.optionSelections)&&n.push({message:"too_many"}),this.blankNotAlone(a.optionSelections,a.explicitBlank)&&n.push({message:"blank"}),this.exclusiveNotAlone(a.optionSelections)&&n.push({message:"exclusive"}),n.push.apply(n,this.exceededListVotes(a.optionSelections)),a.explicitBlank||this.implicitlyBlank(a.optionSelections)||t&&n.push.apply(n,this.belowMinListVotes(a.optionSelections)),n},e.prototype.isComplete=function(a){var t=a.explicitBlank||this.optionIsExclusive(a)||this.implicitlyBlank(a.optionSelections)||!this.tooFewSelections(a.optionSelections);return t&&this.validate(a).length==0},Object.defineProperty(e.prototype,"optionReferences",{get:function(){return this.recursiveFlattener(this.contest.options).map(function(a){return a.reference})},enumerable:!1,configurable:!0}),e.prototype.recursiveFlattener=function(a){var t=this;if(!a)return[];var n=a.flatMap(function(i){return i.children?c31([i],t.recursiveFlattener(i.children),!0):[i]});return n},e.prototype.selectedReferences=function(a){return a.map(function(t){return t.reference})},e.prototype.referenceMissing=function(a){var t=this;return!this.selectedReferences(a).every(function(n){return n==="blank"||t.optionReferences.includes(n)})},e.prototype.implicitlyBlank=function(a){return this.contest.markingType.blankSubmission==="implicit"&&a.length===0},e.prototype.tooFewSelections=function(a){return a.length<this.contest.markingType.minMarks},e.prototype.tooManySelections=function(a){return a.length>this.contest.markingType.maxMarks},e.prototype.belowMinListVotes=function(a){var t=this,n=this.recursiveFlattener(this.contest.options),i=n.map(function(s){return s!=null&&s.minChooseableSuboptions?s:null}),l=[];return i.forEach(function(s){s!=null&&s.minChooseableSuboptions&&t.selectedChildren(a,[s])<s.minChooseableSuboptions&&l.push({message:"below_list_limit",keys:{list_name:s.title,min_list_marks:s.minChooseableSuboptions}})}),l},e.prototype.exceededListVotes=function(a){var t=this,n=this.recursiveFlattener(this.contest.options),i=n.map(function(s){return s!=null&&s.maxChooseableSuboptions?s:null}),l=[];return i.forEach(function(s){s!=null&&s.maxChooseableSuboptions&&t.selectedChildren(a,[s])>s.maxChooseableSuboptions&&l.push({message:"exceeded_list_limit",keys:{list_name:s.title,max_list_marks:s.maxChooseableSuboptions}})}),l},e.prototype.selectedChildren=function(a,t,n){var i=this;return n===void 0&&(n=0),t&&t.forEach(function(l){var s,r=(s=l==null?void 0:l.children)===null||s===void 0?void 0:s.filter(function(o){return i.selectedReferences(a).includes(o.reference)});n+=(r==null?void 0:r.length)||0,l.children&&(n=i.selectedChildren(a,l.children,n))}),n},e.prototype.exclusiveNotAlone=function(a){if(this.selectedReferences(a).length<2)return!1;var t=this.recursiveFlattener(this.contest.options);return this.selectedReferences(a).map(function(n){return t.find(function(i){return i.reference===n})}).some(function(n){return(n==null?void 0:n.exclusive)===!0})},e.prototype.blankNotAlone=function(a,t){return a.length>0&&t},e.prototype.optionIsExclusive=function(a){var t,n;return((t=a.optionSelections)===null||t===void 0?void 0:t.length)===1&&((n=this.contest.options.find(function(i){return i.reference===a.optionSelections[0].reference}))===null||n===void 0?void 0:n.exclusive)},e}(),O$=Ut.default=a31,F$={};Object.defineProperty(F$,"__esModule",{value:!0});var t31=function(){function e(a){this.contest=a}return e.prototype.validate=function(a){var t=[];return this.partyExclusive(a.optionSelections)&&t.push({message:"cross_party_voting"}),t},e.prototype.selectedReferences=function(a){return a.map(function(t){return t.reference})},e.prototype.partyExclusive=function(a){var t=this.selectedReferences(a),n=this.contest.options.filter(function(l){return t.includes(l.reference)}).length>1,i=!1;return this.contest.options.forEach(function(l){var s,r;if(t.includes(l.reference)){var o=t.filter(function(u){return u!==l.reference}),f=(s=l.children)===null||s===void 0?void 0:s.map(function(u){return u.reference});n=o.some(function(u){return!(f!=null&&f.includes(u))})}var m=(r=l.children)===null||r===void 0?void 0:r.some(function(u){return t.includes(u.reference)});i&&m?n=!0:m&&(i=!0)}),n},e}(),n31=F$.default=t31;const i31=e=>(c.pushScopeId("data-v-21030ff1"),e=e(),c.popScopeId(),e),l31=["aria-label","aria-describedby"],s31=["id"],r31=i31(()=>c.createElementVNode("hr",{class:"AVBallot--separator"},null,-1)),o31=["aria-label"],f31=c.defineComponent({__name:"AVBallot",props:{contest:{type:Object,required:!0},selectionPile:{type:Object,required:!0},locale:{type:String,default:null},showSubmissionHelper:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},observerMode:{type:Boolean,default:!1},partialResults:{type:Object,default:null},weight:{type:Number,default:null},includeLazyErrors:{type:Boolean,default:!1},imageOption:{type:String,default:"square"}},emits:["update:selectionPile","update:errors","view-candidate"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=c.computed(()=>t.global.locale.value||t.global.locale),l=e,s=a;c.onMounted(()=>{l.locale&&e1(l.locale)}),c.watch(()=>l.locale,()=>{l.locale&&e1(l.locale)},{deep:!0});const r=c.ref(!1),o=c.ref(""),f=c.ref(""),m=c.ref(null),u=c.computed(()=>l.selectionPile.optionSelections),d=c.computed(()=>new O$(l.contest)),p=c.computed(()=>l.contest.disregardVoterWeight?null:l.weight),V=c.computed(()=>{var E;let A=[];return(E=l.contest.customRulesets)!=null&&E.includes("belgian_ballot_rules")&&A.push(new n31(l.contest)),A}),C=c.computed(()=>{let A=[];V.value.forEach(R=>{A.push(...R.validate(l.selectionPile))});const E=[...d.value.validate(l.selectionPile,l.includeLazyErrors),...A];if(M.value&&E.some(R=>R.message==="cross_party_voting")){let R;E.some(S=>S.message==="exclusive")&&(R=E.findIndex(S=>S.message==="exclusive"),E.splice(R,1)),E.some(S=>S.message==="blank")&&(R=E.findIndex(S=>S.message==="cross_party_voting"),E.splice(R,1))}return s("update:errors",E),E}),g=c.computed(()=>C.value.length===0),L=c.computed(()=>{var A;return(A=l.contest.question)==null?void 0:A[i.value]}),M=c.computed(()=>{var A;return(A=l.contest.customRulesets)==null?void 0:A.includes("belgian_ballot_rules")}),v=c.computed(()=>x(l.contest.options).some(A=>A.exclusive)),H=c.computed(()=>l.contest);c.watch(H,(A,E)=>{var R;E&&A&&A.reference!==E.reference&&((R=document.getElementById("content"))==null||R.focus(),E.searchForm&&(m.value.value=""))});const b=()=>{s("update:selectionPile",{...l.selectionPile,explicitBlank:!l.selectionPile.explicitBlank})},_=({reference:A,amount:E})=>{const R=u.value.filter(q=>q.reference===A).length;E===R&&(E=E-1);const S=u.value.filter(q=>q.reference!==A);for(let q=0;q<E;q++)S.push({reference:A});s("update:selectionPile",{...l.selectionPile,optionSelections:S})},N=A=>s("view-candidate",A),x=(A,E)=>A.flatMap(R=>(E&&(R.parentContent=E),R.children?[R,...x(R.children,R)]:[R]));return(A,E)=>{const R=c.resolveComponent("AVSearchBallot"),S=c.resolveComponent("AVWriteInOption"),q=c.resolveComponent("AVOption"),G=c.resolveComponent("AVBlankOption"),I=c.resolveComponent("AVSubmissionHelper");return c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass({AVBallot:!0,"AVBallot--error":!g.value}),"aria-label":c.unref(n)("js.components.AVBallot.aria_labels.ballot"),"aria-describedby":`ballot_${e.contest.reference}`},[L.value?(c.openBlock(),c.createElementBlock("h5",{key:0,id:`ballot_${e.contest.reference}_question`,class:"AVBallot--question","aria-live":"polite"},c.toDisplayString(L.value),9,s31)):c.createCommentVNode("",!0),e.contest.searchForm&&!e.disabled&&!e.observerMode?(c.openBlock(),c.createBlock(R,{key:1,ref_key:"search",ref:m,options:x(e.contest.options),"options-container-id":"ballot_options"},null,8,["options"])):c.createCommentVNode("",!0),r31,c.createElementVNode("div",{id:"ballot_options",class:c.normalizeClass({"AVBallot--options":!0,"AVBallot--options-with-list":e.contest.options.some(O=>O.children)}),"aria-label":c.unref(n)("js.components.AVBallot.aria_labels.ballot_options")},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.contest.options,O=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:O.reference},[O.writeIn?(c.openBlock(),c.createBlock(S,{key:0,"candidate-value":f.value,"onUpdate:candidateValue":E[0]||(E[0]=Q=>f.value=Q),"party-value":o.value,"onUpdate:partyValue":E[1]||(E[1]=Q=>o.value=Q),"checked-value":r.value,"onUpdate:checkedValue":E[2]||(E[2]=Q=>r.value=Q),parties:[],disabled:e.disabled,observerMode:e.observerMode},null,8,["candidate-value","party-value","checked-value","disabled","observerMode"])):(c.openBlock(),c.createBlock(q,{key:1,selections:u.value,option:O,invalid:!g.value,"exclusive-error":!M.value&&O.exclusive&&C.value.some(Q=>Q.message.includes("exclusive")),contest:e.contest,disabled:e.disabled,observerMode:e.observerMode,"partial-results":e.partialResults,"image-option":e.imageOption,onChecked:_,onViewCandidate:N},null,8,["selections","option","invalid","exclusive-error","contest","disabled","observerMode","partial-results","image-option"]))],64))),128)),e.contest.markingType.blankSubmission==="active_choice"?(c.openBlock(),c.createBlock(G,{key:0,checked:e.selectionPile.explicitBlank,error:!M.value&&C.value.some(O=>O.message.includes("blank")),disabled:e.disabled,invalid:!g.value,observerMode:e.observerMode,accentColor:e.contest.blankOptionColor,"partial-results":e.partialResults?e.partialResults.blank:null,onToggleBlank:b},null,8,["checked","error","disabled","invalid","observerMode","accentColor","partial-results"])):c.createCommentVNode("",!0)],10,o31),e.showSubmissionHelper&&!e.disabled&&!e.observerMode?(c.openBlock(),c.createBlock(I,{key:2,id:`ballot_${e.contest.reference}`,"chosen-count":u.value.length,errors:C.value,weight:p.value,"min-marks":e.contest.markingType.minMarks,"max-marks":e.contest.markingType.maxMarks,"has-exclusive-options":v.value,class:"AVBallot--helper"},null,8,["id","chosen-count","errors","weight","min-marks","max-marks","has-exclusive-options"])):c.createCommentVNode("",!0)],10,l31)}}});const R$=P(f31,[["__scopeId","data-v-21030ff1"]]),u31=e=>(c.pushScopeId("data-v-71101cba"),e=e(),c.popScopeId(),e),m31={key:0,class:"AVPileSummary--summary"},d31={key:0,class:"AVPileSummary--summary-header"},p31={class:"AVPileSummary--summary-header-text"},v31={key:1,class:"AVPileSummary--summary-header"},h31={class:"AVPileSummary--summary-body"},z31={key:1,class:"AVPileSummary--assign"},V31={class:"AVPileSummary--assign-card"},M31=["aria-label"],C31={class:"AVPileSummary--edit"},g31={key:0},H31={class:"AVPileSummary--assign-body"},b31={key:0,class:"AVPileSummary--assign-text"},L31=u31(()=>c.createElementVNode("br",null,null,-1)),A31=["aria-label"],_31=c.defineComponent({__name:"AVPileSummary",props:{selectionPile:{type:Object,required:!0},contest:{type:Object,required:!0},maximumOptionsShown:{type:Number,default:null},activeState:{type:String,required:!0},pileIndex:{type:Number,default:null},isEditing:{type:Boolean,default:!1},totalPiles:{type:Number,required:!0},locale:{type:String,default:null},imageOption:{type:String,default:"square"}},emits:["editCurrentSelection","deleteSelection"],setup(e,{emit:a}){const t=c.inject("i18n"),{t:n}=t.global,i=c.computed(()=>t.global.locale.value||t.global.locale),l=a,s=e;c.onMounted(()=>{s.locale&&e1(s.locale)}),c.watch(()=>s.locale,()=>{s.locale&&e1(s.locale)},{deep:!0});const r=c.ref(!1),o=c.ref([]),f=c.computed(()=>s.selectionPile.optionSelections.length===0),m=c.computed(()=>!s.maximumOptionsShown||r.value?s.selectionPile.optionSelections:s.selectionPile.optionSelections.slice(0,s.maximumOptionsShown)),u=c.computed(()=>s.selectionPile.optionSelections.length-m.value.length),d=(C,g)=>{C.selectable&&o.value.push({...C,parentContent:g}),C.children&&C.children.map(L=>d(L,C))},p=(C,g)=>C&&C.parentContent?(g.push(C.parentContent),p(C.parentContent,g)):g,V=c.computed(()=>{const C={options:[],writeIns:[]};return m.value.forEach(g=>{if(g.text)C.writeIns.push({partyLetter:"?",partyName:"?",candidateName:g.text});else{const L=C.options.find(v=>v.handle===g.reference);s.contest.options.map(v=>d(v));const M=o.value.find(v=>v.reference===g.reference);L?L.crosses+=1:C.options.push({title:M.title[i.value],handle:g.reference,image:M.image,crosses:1,parent:M.parentContent,rank:s.contest.markingType.voteVariation==="ranked"?C.options.length+1:null})}}),C});return(C,g)=>{const L=c.resolveComponent("AVSummaryOption"),M=c.resolveComponent("AVIcon");return e.activeState==="summary"?(c.openBlock(),c.createElementBlock("div",m31,[e.contest.markingType.maxPiles!==1?(c.openBlock(),c.createElementBlock("header",d31,[c.createElementVNode("span",null,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.selection"))+" "+c.toDisplayString(e.pileIndex+1)+" / "+c.toDisplayString(e.totalPiles),1),c.createElementVNode("span",p31,c.toDisplayString(e.selectionPile.multiplier)+" "+c.toDisplayString(c.unref(n)("js.components.AVPileSummary.ballots")),1)])):(c.openBlock(),c.createElementBlock("header",v31,[c.createElementVNode("span",null,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.selection")),1)])),c.createElementVNode("div",h31,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(V.value.options,(v,H)=>(c.openBlock(),c.createBlock(L,{key:H,option:v,"multiple-votes-allowed":e.contest.markingType.votesAllowedPerOption>1,parents:p(v.parent,v.parent?[v.parent]:[]),"image-option":e.imageOption},null,8,["option","multiple-votes-allowed","parents","image-option"]))),128)),f.value?(c.openBlock(),c.createBlock(L,{key:0,blank:f.value},null,8,["blank"])):c.createCommentVNode("",!0)])])):(c.openBlock(),c.createElementBlock("div",z31,[c.createElementVNode("div",V31,[c.createElementVNode("div",{class:"AVPileSummary--assign-header","aria-label":c.unref(n)("js.components.AVPileSummary.aria_labels.edit_selection"),role:"button",onClick:g[0]||(g[0]=v=>l("editCurrentSelection"))},[c.createElementVNode("div",C31,[c.createVNode(M,{icon:"pen-to-square"}),c.createElementVNode("span",null,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.ballot_selection"))+" "+c.toDisplayString(e.pileIndex+1),1)]),e.activeState==="overview"||e.isEditing?(c.openBlock(),c.createElementBlock("span",g31,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.assigned"))+" "+c.toDisplayString(e.selectionPile.multiplier),1)):c.createCommentVNode("",!0)],8,M31),c.createElementVNode("div",H31,[f.value?(c.openBlock(),c.createElementBlock("p",b31,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.blank")),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(V.value.options,(v,H)=>(c.openBlock(),c.createElementBlock("p",{key:H,class:"AVPileSummary--assign-text"},c.toDisplayString(v.rank?`${v.rank}: `:"")+c.toDisplayString(v.title),1))),128)),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(V.value.writeIns,(v,H)=>(c.openBlock(),c.createElementBlock("p",{key:H,class:"AVPileSummary--assign-text"},[c.createElementVNode("b",null,c.toDisplayString(v.partyLetter)+" - "+c.toDisplayString(v.partyName),1),L31,c.createElementVNode("span",null,c.toDisplayString(v.candidateName),1)]))),128)),u.value>0?(c.openBlock(),c.createElementBlock("p",{key:1,role:"button",class:"AVPileSummary--show-more-button",onClick:g[1]||(g[1]=c.withModifiers(v=>r.value=!0,["stop","prevent"]))},[c.createElementVNode("u",null,[c.createElementVNode("em",null,c.toDisplayString(`${c.unref(n)("js.components.AVPileSummary.and_n_more_pre")} ${u.value} ${c.unref(n)("js.components.AVPileSummary.and_n_more_pos")}`),1)])])):c.createCommentVNode("",!0),r.value?(c.openBlock(),c.createElementBlock("p",{key:2,role:"button",class:"AVPileSummary--show-more-button",onClick:g[2]||(g[2]=c.withModifiers(v=>r.value=!1,["stop","prevent"]))},[c.createElementVNode("u",null,[c.createElementVNode("em",null,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.show_less")),1)])])):c.createCommentVNode("",!0)])]),e.activeState==="overview"?(c.openBlock(),c.createElementBlock("div",{key:0,class:"AVPileSummary--assign-delete-button",role:"button","aria-label":c.unref(n)("js.components.AVPileSummary.aria_labels.delete_selection"),onClick:g[3]||(g[3]=c.withModifiers(v=>l("deleteSelection"),["stop","prevent"]))},[c.createVNode(M,{icon:"trash-can"})],8,A31)):c.createCommentVNode("",!0)]))}}});const j$=P(_31,[["__scopeId","data-v-71101cba"]]);var q$={},Li=M4&&M4.__spreadArray||function(e,a,t){if(t||arguments.length===2)for(var n=0,i=a.length,l;n<i;n++)(l||!(n in a))&&(l||(l=Array.prototype.slice.call(a,0,n)),l[n]=a[n]);return e.concat(l||Array.prototype.slice.call(a))};Object.defineProperty(q$,"__esModule",{value:!0});var N31=Ut,k31=function(){function e(a){var t=a.contest,n=a.voterWeight;this.contest=t,this.voterWeight=n}return e.prototype.isComplete=function(a){return this.allWeightUsed(a)&&this.validate(a).length==0},e.prototype.validate=function(a){var t=[],n=new N31.default(this.contest);return a.piles.forEach(function(i){t=Li(Li([],t,!0),n.validate(i),!0)}),a.piles.forEach(function(i){n.isComplete(i)||t.push({message:"A selection is not complete"})}),t},e.prototype.allWeightUsed=function(a){return this.voterWeight===a.piles.reduce(function(t,n){return n.multiplier+t},0)},e}(),x31=q$.default=k31;const y31={class:"AVSplitHelper--title","aria-live":"polite"},S31=["innerHTML"],w31={class:"AVSplitHelper--footer"},E31={class:"AVSplitHelper--btn-secondary-container"},T31={class:"AVSplitHelper--btn-primary-container"},B31=["disabled"],I31={key:1},D31={class:"AVSplitHelper--assign-card"},P31={class:"AVSplitHelper--assign-question"},O31=["for"],F31=["id","max"],R31={class:"AVSplitHelper--footer"},j31={class:"AVSplitHelper--btn-secondary-container"},q31={class:"AVSplitHelper--btn-primary-container"},$31=["disabled"],U31={key:2},W31={key:0,class:"AVSplitHelper--overview-success"},G31={key:1,class:"AVSplitHelper--overview-default"},J31={class:"AVSplitHelper--overview--text"},Z31=["disabled"],Y31=["onClick"],Q31=c.defineComponent({__name:"AVSplitHelper",props:{contest:{type:Object,required:!0},contestSelection:{type:Object,required:!0},weight:{type:Number,required:!0},showSubmissionHelper:{type:Boolean,default:!0},partialResults:{type:Object,default:null},locale:{type:String,default:null},includeLazyErrors:{type:Boolean,default:!1},imageOption:{type:String,default:"square"}},emits:["update:complete","update:contestSelection","update:activeState","update:activePile","view-candidate"],setup(e,{emit:a}){var G;const t=c.inject("i18n"),{t:n}=t.global,i=c.computed(()=>t.global.locale.value||t.global.locale),l=e,s=a;c.watch(()=>l.locale,()=>{l.locale&&e1(l.locale)},{deep:!0});const r=c.ref(null),o=c.ref(l.contestSelection.piles[0]||{multiplier:l.weight,optionSelections:[],explicitBlank:!1}),f=c.ref(((G=l.contestSelection.piles)==null?void 0:G.length)===0||l.contest.markingType.maxPiles===1?"ballot":"overview"),m=c.ref([]),u=c.computed(()=>l.contestSelection.piles),d=c.computed(()=>{var I;return(I=u.value)==null?void 0:I.reduce((O,Q)=>O-Q.multiplier,l.weight)}),p=c.computed(()=>new O$(l.contest)),V=c.computed(()=>new x31({contest:l.contest,voterWeight:l.weight})),C=c.computed(()=>d.value===0&&m.value.length==0&&u.value.every(I=>p.value.isComplete(I))),g=c.computed(()=>{var I;return(I=u.value)==null?void 0:I.reduce((O,Q)=>O+Q.multiplier,0)}),L=c.computed(()=>{var I;return(I=o.value)==null?void 0:I.multiplier}),M=c.computed(()=>u.value.filter((I,O)=>O!==r.value).reduce((I,O)=>I-O.multiplier,l.weight)),v=c.computed(()=>l.contest.markingType.maxPiles!==1&&l.weight>1),H=c.computed(()=>r.value!==null),b=I=>p.value.isComplete(I),_=I=>p.value.validate(I,l.includeLazyErrors).length>0,N=()=>{if(v.value){const I=[...u.value];r.value===null?I.push({...o.value}):I.splice(r.value,1,{...o.value}),s("update:contestSelection",{...l.contestSelection,piles:I}),r.value=null,f.value="overview"}else o.value.multiplier=l.weight,s("update:contestSelection",{...l.contestSelection,piles:[o.value]})},x=I=>{o.value=I,v.value||N()},A=()=>{o.value={optionSelections:[],multiplier:M.value,explicitBlank:!1},r.value=null,f.value="ballot"},E=I=>{u.value.splice(I,1)},R=I=>{o.value={...u.value[I]},r.value=I,f.value="ballot"},S=I=>{m.value=I},q=I=>s("view-candidate",I);return c.watch(C,I=>s("update:complete",I)),c.watch(L,()=>{o.value&&(o.value.multiplier=Math.max(0,Math.min(L.value,M.value)))}),c.watch(o,I=>{s("update:activePile",I)}),c.watch(f,I=>s("update:activeState",I)),c.onMounted(()=>{l.locale&&e1(l.locale),s("update:activePile",o.value),s("update:activeState",f.value),s("update:complete",C.value),v.value||N()}),(I,O)=>{var v1;const Q=c.resolveComponent("AVSplitWizardHeader"),z1=c.resolveComponent("AVBallot"),b1=c.resolveComponent("AVPileSummary"),V1=c.resolveComponent("AVSplitWeightHelper"),_1=c.resolveComponent("AVIcon");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("h3",y31,c.toDisplayString(e.contest.title[i.value]),1),c.createElementVNode("div",{class:"AVSplitHelper--description",innerHTML:(v1=e.contest.description)==null?void 0:v1[i.value]},null,8,S31),v.value?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[["ballot","assign","overview"].includes(f.value)?(c.openBlock(),c.createBlock(Q,{key:0,"active-selection-pile-index":r.value,"active-state":f.value,"selection-piles":u.value,"total-weight":g.value+d.value,"is-editing":H.value},null,8,["active-selection-pile-index","active-state","selection-piles","total-weight","is-editing"])):c.createCommentVNode("",!0),c.createVNode(c.Transition,{name:"fade",mode:"out-in"},{default:c.withCtx(()=>{var w1,W1,e2;return[o.value&&f.value==="ballot"?(c.openBlock(),c.createElementBlock("div",{key:r.value},[c.createVNode(z1,{class:"AVSplitHelper--ballot","selection-pile":o.value,"partial-results":e.partialResults,contest:e.contest,weight:e.weight,includeLazyErrors:e.includeLazyErrors,"show-submission-helper":e.showSubmissionHelper,"image-option":e.imageOption,"onUpdate:selectionPile":x,"onUpdate:errors":O[0]||(O[0]=C1=>S(C1))},null,8,["selection-pile","partial-results","contest","weight","includeLazyErrors","show-submission-helper","image-option"]),c.createElementVNode("div",w31,[c.createElementVNode("div",E31,[u.value.length>0?(c.openBlock(),c.createElementBlock("button",{key:"back",class:"AVSplitHelper--btn-secondary",onClick:O[1]||(O[1]=C1=>f.value="overview")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.ballot.back_button")),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",T31,[c.createElementVNode("button",{key:"assign",class:"AVSplitHelper--btn-primary",disabled:!b(o.value)||_(o.value),onClick:O[2]||(O[2]=C1=>f.value="assign")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.ballot.confirm_button")),9,B31)])])])):f.value==="assign"?(c.openBlock(),c.createElementBlock("div",I31,[c.createElementVNode("div",D31,[c.createElementVNode("h4",P31,c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.assign.split_question")),1),c.createVNode(b1,{"selection-pile":o.value,contest:e.contest,"maximum-options-shown":3,"pile-index":H.value?r.value:u.value.length,"active-state":f.value,"is-editing":H.value,"total-piles":e.contestSelection.piles.length,"image-option":e.imageOption,onEditCurrentSelection:O[3]||(O[3]=C1=>f.value="ballot")},null,8,["selection-pile","contest","pile-index","active-state","is-editing","total-piles","image-option"]),c.createElementVNode("label",{for:`${e.contest.reference}-ballot-selector`,class:"AVSplitHelper--assign-label"},c.toDisplayString(H.value?c.unref(n)("js.components.AVSplitHelper.assign.ballots_to_assign_edit_mode"):c.unref(n)("js.components.AVSplitHelper.assign.ballots_to_assign")),9,O31),c.withDirectives(c.createElementVNode("input",{id:`${e.contest.reference}-ballot-selector`,"onUpdate:modelValue":O[4]||(O[4]=C1=>o.value.multiplier=C1),class:"AVSplitHelper--assign-input",type:"number",max:M.value},null,8,F31),[[c.vModelText,o.value.multiplier]])]),c.createVNode(V1,{"assigned-weight":g.value,"unused-weight":d.value,"active-assigned":(w1=u.value[r.value])==null?void 0:w1.multiplier},null,8,["assigned-weight","unused-weight","active-assigned"]),c.createElementVNode("div",R31,[c.createElementVNode("div",j31,[c.createElementVNode("button",{key:"ballot",class:"AVSplitHelper--btn-secondary",onClick:O[5]||(O[5]=C1=>f.value="ballot")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.assign.back_button")),1)]),c.createElementVNode("div",q31,[c.createElementVNode("button",{key:"confirm",class:"AVSplitHelper--btn-primary",disabled:((W1=o.value)==null?void 0:W1.multiplier)<1||((e2=o.value)==null?void 0:e2.multiplier)>M.value,onClick:O[6]||(O[6]=C1=>N())},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.assign.confirm_button")),9,$31)])])])):f.value==="overview"?(c.openBlock(),c.createElementBlock("div",U31,[d.value===0&&V.value.isComplete(e.contestSelection)?(c.openBlock(),c.createElementBlock("div",W31,[c.createVNode(_1,{icon:"circle-check",class:"AVSplitHelper--overview-success-icon"}),c.createTextVNode(" "+c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.overview.all_ballots_assigned")),1)])):(c.openBlock(),c.createElementBlock("div",G31,[c.createElementVNode("p",J31,[c.createElementVNode("strong",null,c.toDisplayString(d.value),1),c.createTextVNode(" "+c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.overview.ballots_left")),1)]),c.createElementVNode("button",{key:"newSelection",class:"AVSplitHelper--overview-new-ballot-btn",disabled:d.value===0,onClick:A},[c.createVNode(_1,{icon:"file-circle-plus"}),c.createTextVNode(" "+c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.overview.new_ballot_selection")),1)],8,Z31)])),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(u.value,(C1,O1)=>(c.openBlock(),c.createElementBlock("article",{key:`preview-${O1}`,onClick:y2=>R(O1)},[c.createVNode(b1,{"selection-pile":C1,contest:e.contest,"maximum-options-shown":3,"active-state":f.value,"pile-index":O1,"total-piles":e.contestSelection.piles.length,"image-option":e.imageOption,onDeleteSelection:y2=>E(O1)},null,8,["selection-pile","contest","active-state","pile-index","total-piles","image-option","onDeleteSelection"])],8,Y31))),128))])):c.createCommentVNode("",!0)]}),_:1})],64)):(c.openBlock(),c.createBlock(z1,{key:1,class:"AVSplitHelper--no-split","selection-pile":o.value,"partial-results":e.partialResults,includeLazyErrors:e.includeLazyErrors,contest:e.contest,weight:e.weight,"image-option":e.imageOption,"show-submission-helper":e.showSubmissionHelper,"onUpdate:selectionPile":x,"onUpdate:errors":O[7]||(O[7]=w1=>S(w1)),onViewCandidate:q},null,8,["selection-pile","partial-results","includeLazyErrors","contest","weight","image-option","show-submission-helper"]))],64)}}});const $$=P(Q31,[["__scopeId","data-v-1c359a5f"]]),K31="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gKwSUNDX1BST0ZJTEUAAQEAAAKgbGNtcwRAAABtbnRyUkdCIFhZWiAH6AAEAAMACAAzABRhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1kZXNjAAABIAAAAEBjcHJ0AAABYAAAADZ3dHB0AAABmAAAABRjaGFkAAABrAAAACxyWFlaAAAB2AAAABRiWFlaAAAB7AAAABRnWFlaAAACAAAAABRyVFJDAAACFAAAACBnVFJDAAACFAAAACBiVFJDAAACFAAAACBjaHJtAAACNAAAACRkbW5kAAACWAAAACRkbWRkAAACfAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACQAAAAcAEcASQBNAFAAIABiAHUAaQBsAHQALQBpAG4AIABzAFIARwBCbWx1YwAAAAAAAAABAAAADGVuVVMAAAAaAAAAHABQAHUAYgBsAGkAYwAgAEQAbwBtAGEAaQBuAABYWVogAAAAAAAA9tYAAQAAAADTLXNmMzIAAAAAAAEMQgAABd7///MlAAAHkwAA/ZD///uh///9ogAAA9wAAMBuWFlaIAAAAAAAAG+gAAA49QAAA5BYWVogAAAAAAAAJJ8AAA+EAAC2xFhZWiAAAAAAAABilwAAt4cAABjZcGFyYQAAAAAAAwAAAAJmZgAA8qcAAA1ZAAAT0AAACltjaHJtAAAAAAADAAAAAKPX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s11l3+QxoK4DMOLbYAPRCeKmC4V5kapbqxXpRGg3Zo6qxsD6LYOhXr/oyF7HTjaocQPyLvpU90tDfCoBDdefKCicg05EG/wAYf8WAu0La7AwNF8IWGhI7Z9TcTW6L9CJ8SHaMtq3tcszR1uIi7v8ACMJ9hpCuztAbE4TMrhisT6xC6aHyJZQh3KObtZbrIfS/wHUzJwXIuFa9gy/IAgO++D5LgeLVVZwCnEUtrmLcYsj8/juoo5g1mqBNAyPcghtJClgApFLaaLttTe7geuuwu58XBuX6rhuGyRVTAFbYLjLbsbt72eNYI2gkRTovGRoAOkd6iAcl+p1H8g0+g1AEQBJ+UMGJQItSnnPmnaETA4ZshdbdushcH03hVXl/JLAZVj9LkQRpZ86uDoCM2W1HVUNXHRbhwOTff883ACOlqH+eNBpAR7kwZ3VXAU46hDyHLCZtCtlgMBOT0dpkArcOUnWs9ouq0Tqi2IfxAStC5/8AeYrX883B0GHrK7wWLVWcQQynMjbuOpjkunMo+snSZRku+HYpmDf3OoxYvczjH5R2FeJU9U1FtTta12PsMeyi1YsJm+K+cOrspzDx1rBiIFpRpppLM/cqFdQu2bHIT4Ye5KmMHTt7SCy1bLAMBiDPNX0w9X7lB5NMAtWNkEDm7+p5ly7I79o0jBMTOks7LHmAXGHpCxPH2hm53lsw6IpCuG+LqOvadIbazn00v+x8sZ2U83f7ItCuAnJQT2Zt8r8e2JAmG+GphGWZUqfYWwbpqFdWkSAKb7159tuUl7pX8hs8pp9P/9k=",X31={key:0,class:"AVResourceSection--image-container"},e41=["src","alt"],c41={class:"AVResourceFields"},a41={key:0,class:"AVResourceFields--title"},t41={key:1,class:"AVResourceFields--subtitle"},n41={key:2,class:"AVResourceFields--group-container"},i41={class:"AVResourceFields--group"},l41={key:1,class:"AVResourceFields--divisor"},s41={key:2,class:"AVResourceFields--link-list"},r41={key:0},o41={key:3},f41={key:4},u41={key:0},m41={key:5},d41=["src"],p41=["innerHTML"],v41={key:7,class:"AVResourceFields--regular-content"},h41={key:0},z41=c.defineComponent({__name:"AVResourceSection",props:{candidate:{type:Object,required:!0},currentCandidateGroup:{type:Number,default:null},summary:{type:Boolean,default:!1},locale:{type:String,default:null},card:{type:Boolean,default:!1}},setup(e){const a=c.inject("i18n"),{t,d:n}=a.global,i=c.computed(()=>a.global.locale.value||a.global.locale),l=c.computed(()=>{var p,V,C,g,L,M;return(V=(p=u.candidate.title)==null?void 0:p[0])!=null&&V.localised?(g=(C=u.candidate.title)==null?void 0:C[0])==null?void 0:g.form_content[i.value]:(M=(L=u.candidate.title)==null?void 0:L[0])==null?void 0:M.form_content}),s=c.computed(()=>{var p,V,C,g,L,M;return(V=(p=u.candidate.subtitle)==null?void 0:p[0])!=null&&V.localised?(g=(C=u.candidate.subtitle)==null?void 0:C[0])==null?void 0:g.form_content[i.value]:(M=(L=u.candidate.subtitle)==null?void 0:L[0])==null?void 0:M.form_content}),r=c.computed(()=>{var g;if(!u.candidate.groups)return null;let p=[],V=[],C="";return u.currentCandidateGroup?u.candidate.groups.forEach(L=>{L.id===u.currentCandidateGroup?p.push(L):V.push(L)}):(V=[...u.candidate.groups],p=V.splice(0,1)),V.forEach((L,M)=>{M===0||u.candidate.groups.length===1?C=L.title[i.value]:M===V.length-1?C+=` & ${L.title[i.value]}`:C+=`, ${L.title[i.value]}`}),{title:(g=p[0])==null?void 0:g.title[i.value],surplus:V.length||null,remaining:C}}),o=c.computed(()=>u.summary?u.candidate.summary:u.candidate.generic.filter(p=>p.item_type!=="image")),f=c.computed(()=>u.summary?!!u.candidate.summary.length:!!u.candidate.generic.length),m=p=>p.item_type==="check_box"?!0:p.form_content?p.item_type==="link_list"?!!p.form_content.length:p.localised?!!p.form_content[i.value]:!!p.form_content:!1,u=e,d=c.computed(()=>{var p;return((p=u.candidate.generic.find(V=>V.item_type==="image"))==null?void 0:p.form_content)||K31});return c.onMounted(()=>{u.locale&&e1(u.locale)}),c.watch(()=>u.locale,()=>{u.locale&&e1(u.locale)}),(p,V)=>{const C=c.resolveComponent("AVTooltip"),g=c.resolveComponent("AVIcon"),L=c.resolveComponent("AVLinkVisualizer");return c.openBlock(),c.createElementBlock("section",{class:c.normalizeClass(["AVResourceSection",{"AVResourceSection--themed":e.summary}])},[c.createElementVNode("div",{class:c.normalizeClass(["AVResourceSection--container",{"AVResourceSection--card":e.card}])},[e.summary&&d.value?(c.openBlock(),c.createElementBlock("div",X31,[c.createElementVNode("img",{src:d.value,alt:c.unref(t)("js.components.AVResourceSection.alt_candidate"),class:"AVResourceSection--image"},null,8,e41)])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass(e.summary?"AVResourceSection--fields-container":"AVResourceSection--generic-container")},[c.createElementVNode("div",c41,[e.summary&&l.value?(c.openBlock(),c.createElementBlock("h4",a41,c.toDisplayString(l.value),1)):c.createCommentVNode("",!0),e.summary&&s.value?(c.openBlock(),c.createElementBlock("h5",t41,c.toDisplayString(s.value),1)):c.createCommentVNode("",!0),e.summary&&e.candidate.groups&&!e.card?(c.openBlock(),c.createElementBlock("div",n41,[c.createElementVNode("h4",i41,c.toDisplayString(r.value.title),1),r.value.surplus?(c.openBlock(),c.createBlock(C,{key:0,text:c.unref(t)("js.components.AVResourceSection.and_more",{amount:r.value.surplus}),content:r.value.remaining,position:"top",class:"AVResourceFields--tooltip"},null,8,["text","content"])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0),e.card?c.createCommentVNode("",!0):(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:3},c.renderList(o.value,M=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:`attribute_${M.attribute_name}`},[f.value&&m(M)?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(e.summary?"AVResourceFields--container-summary":"AVResourceFields--container-generic")},[e.summary?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("h4",{key:0,class:c.normalizeClass({"AVResourceFields--divisor":M.item_type==="check_box"})},[c.createTextVNode(c.toDisplayString(M.label[i.value])+" ",1),M.item_type==="check_box"?(c.openBlock(),c.createBlock(g,{key:0,icon:M.form_content?"square-check":"square-xmark",class:c.normalizeClass(M.form_content?"AVResourceFields--checkbox-true":"AVResourceFields--checkbox-false"),"aria-label":M.form_content?c.unref(t)("js.components.AVResourceSection.true"):c.unref(t)("js.components.AVResourceSection.false")},null,8,["icon","class","aria-label"])):c.createCommentVNode("",!0)],2)),!e.summary&&M.item_type!=="check_box"?(c.openBlock(),c.createElementBlock("hr",l41)):c.createCommentVNode("",!0),M.item_type==="link_list"&&m(M)?(c.openBlock(),c.createElementBlock("div",s41,[e.summary?(c.openBlock(),c.createElementBlock("span",r41,c.toDisplayString(`${M.label[i.value]}:`),1)):c.createCommentVNode("",!0),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(M.form_content,v=>(c.openBlock(),c.createBlock(L,{key:v.attributes.name,link:v,large:!e.summary},null,8,["link","large"]))),128))])):M.item_type==="check_box"&&e.summary?(c.openBlock(),c.createElementBlock("div",o41,[c.createElementVNode("span",null,c.toDisplayString(`${M.label[i.value]}`),1),c.createVNode(g,{icon:M.form_content?"square-check":"square-xmark",class:c.normalizeClass(M.form_content?"AVResourceFields--checkbox-true":"AVResourceFields--checkbox-false"),"aria-label":M.form_content?c.unref(t)("js.components.AVResourceSection.true"):c.unref(t)("js.components.AVResourceSection.false")},null,8,["icon","class","aria-label"])])):M.item_type==="select"&&m(M)?(c.openBlock(),c.createElementBlock("div",f41,[e.summary?(c.openBlock(),c.createElementBlock("span",u41,c.toDisplayString(`${M.label[i.value]}:`),1)):c.createCommentVNode("",!0),c.createTextVNode(" "+c.toDisplayString(M.form_content[i.value]),1)])):M.item_type==="video"&&m(M)?(c.openBlock(),c.createElementBlock("div",m41,[c.createElementVNode("iframe",{style:{width:"100%",height:"100%","min-height":"400px"},src:M.form_content.toString()},null,8,d41)])):M.item_type==="rich_text_area"&&!e.summary&&m(M)?(c.openBlock(),c.createElementBlock("div",{key:6,class:"AVResourceFields--rich-text",innerHTML:M.localised?M.form_content[i.value]:M.form_content},null,8,p41)):M.item_type!=="rich_text_area"&&M.item_type!=="check_box"?(c.openBlock(),c.createElementBlock("p",v41,[e.summary?(c.openBlock(),c.createElementBlock("span",h41,c.toDisplayString(`${M.label[i.value]}: `),1)):c.createCommentVNode("",!0),M.item_type==="date"||M.item_type==="date_time"?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(c.unref(n)(M.form_content,M.item_type==="date"?null:"long")),1)],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:2},[c.createTextVNode(c.toDisplayString(M.localised?M.form_content[i.value]:M.form_content),1)],64))])):c.createCommentVNode("",!0)],2)):c.createCommentVNode("",!0)],64))),128))])],2)],2)],2)}}});const U$=P(z41,[["__scopeId","data-v-4d5da116"]]);var V41={},M41=c.createElementVNode("a",{href:"#"},"LOGO",-1),C41={class:"flex items-center"},g41={class:"flex flex-col items-center justify-center p-3 w-full"},H41=c.createElementVNode("h2",{class:"mb-4"},"Election Name",-1),b41=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1);function L41(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),l=c.resolveComponent("AVNavbar"),s=c.resolveComponent("AVLabel"),r=c.resolveComponent("AVTabSwitcher"),o=c.resolveComponent("AVSidebarItem"),f=c.resolveComponent("AVButton"),m=c.resolveComponent("AVSidebar"),u=c.resolveComponent("AVContent"),d=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(l,null,{default:c.withCtx(function(){return[M41,c.createElementVNode("div",C41,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(u,null,{sidebar:c.withCtx(function(){return[c.createVNode(m,null,{default:c.withCtx(function(){return[c.createElementVNode("div",g41,[H41,c.createVNode(s,{value:"draft",type:"info"})]),c.createVNode(r,{options:["Pre-election","election"]}),c.createVNode(n,{type:"sidebar"},{default:c.withCtx(function(){return[c.createVNode(o,{label:"Election Overview",icon:"grip",active:""}),c.createVNode(o,{label:"Election details",type:"step",stepIndex:"1"}),c.createVNode(o,{label:"Digital Absentee Voting Requirements",type:"step",stepIndex:"2"}),c.createVNode(o,{label:"Voting App Set Up",type:"step",stepIndex:"3"}),c.createVNode(o,{label:"Ballot Data",type:"step",stepIndex:"4"}),c.createVNode(o,{label:"Ballot Styles",type:"step",stepIndex:"5"}),c.createVNode(o,{label:"Configure Ballot Extraction",type:"step",stepIndex:"6"}),c.createVNode(o,{label:"Start Ballot Box Set Up",icon:"download"}),c.createVNode(o,{label:"Finish Ballot Box Set Up",icon:"handshake-simple",disabled:""})]}),_:1}),c.createVNode(f,{type:"primary",label:"Create election",fullWidth:""})]}),_:1})]}),content:c.withCtx(function(){return[b41]}),_:1}),c.createVNode(d)],64)}const W$=P(V41,[["render",L41]]);var A41={},_41=c.createElementVNode("a",{href:"#"},"LOGO",-1),N41={class:"flex items-center"},k41={class:"flex flex-col items-center justify-center p-3 w-full"},x41=c.createElementVNode("h2",{class:"mb-4"},"Election Name",-1),y41=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1),S41=c.createElementVNode("div",null,[c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),c.createElementVNode("br"),c.createElementVNode("p",null," In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Duis posuere sodales diam, nec pulvinar neque aliquet fringilla. Donec ac porta tellus, a ullamcorper lacus. Curabitur diam libero, dignissim sit amet finibus ac, ultricies a ex. Aliquam ultrices egestas accumsan. Aenean vitae rhoncus massa. Praesent nec quam id enim dignissim pretium. Fusce ut erat sed nunc interdum dictum ut ac eros. Donec eget blandit leo. In consectetur mauris in faucibus euismod. Pellentesque magna mauris, semper in nisl eu, tincidunt ultrices tortor. Sed a nisi risus. Nullam venenatis id sem vel eleifend. Donec eu pharetra augue. Donec semper lacus id mauris suscipit, id ultricies eros porta. Cras at suscipit nunc, sed lacinia erat. "),c.createElementVNode("br"),c.createElementVNode("p",null," Interdum et malesuada fames ac ante ipsum primis in faucibus. Integer maximus lorem eget viverra pellentesque. Nunc ut ultrices ligula. Donec elit mauris, feugiat at imperdiet feugiat, posuere ut turpis. Donec elementum mauris feugiat, cursus justo non, varius nisi. Fusce dapibus libero id tincidunt tempor. Nam pretium, tellus a hendrerit vehicula, velit metus blandit lorem, a semper neque enim eget massa. Aenean congue orci at posuere aliquet. Morbi ornare mi a nibh euismod, nec aliquam massa scelerisque. Pellentesque sodales ligula urna, non facilisis erat pulvinar in. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vestibulum neque metus, lobortis eu urna nec, mollis consequat dolor. Nulla risus est, consectetur et eleifend eget, eleifend in tortor. Nam quis libero eget ligula hendrerit facilisis. Sed sed libero sapien. Aenean laoreet condimentum arcu, in dictum nibh pharetra sed. Curabitur aliquam at dui eget pharetra. Vestibulum blandit mi vel velit accumsan feugiat eget nec nibh. Pellentesque venenatis, est quis faucibus ornare, orci nisl mollis leo, eu euismod neque lectus id libero. Fusce eu tempor leo. Integer vulputate, nulla eget congue porttitor, erat quam rhoncus est, sit amet efficitur sem metus ut augue. Vestibulum dapibus lacus ut magna condimentum, nec luctus orci consequat. Pellentesque congue metus et finibus euismod. In hac habitasse platea dictumst. In ipsum felis, elementum quis neque nec, pulvinar lacinia orci. Donec venenatis, nunc in elementum posuere, mauris nulla pharetra velit, molestie congue quam tortor eu elit. "),c.createElementVNode("br"),c.createElementVNode("p",null," Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),c.createElementVNode("br"),c.createElementVNode("p",null," Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")],-1);function w41(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),l=c.resolveComponent("AVNavbar"),s=c.resolveComponent("AVLabel"),r=c.resolveComponent("AVTabSwitcher"),o=c.resolveComponent("AVSidebarItem"),f=c.resolveComponent("AVButton"),m=c.resolveComponent("AVSidebar"),u=c.resolveComponent("AVContent"),d=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(l,null,{default:c.withCtx(function(){return[_41,c.createElementVNode("div",N41,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(u,null,{sidebar:c.withCtx(function(){return[c.createVNode(m,null,{default:c.withCtx(function(){return[c.createElementVNode("div",k41,[x41,c.createVNode(s,{value:"draft",type:"info"})]),c.createVNode(r,{options:["Pre-election","election"]}),c.createVNode(n,{type:"sidebar"},{default:c.withCtx(function(){return[c.createVNode(o,{label:"Election Overview",icon:"grip",active:""}),c.createVNode(o,{label:"Election details",type:"step",stepIndex:"1"}),c.createVNode(o,{label:"Digital Absentee Voting Requirements",type:"step",stepIndex:"2"}),c.createVNode(o,{label:"Voting App Set Up",type:"step",stepIndex:"3"}),c.createVNode(o,{label:"Ballot Data",type:"step",stepIndex:"4"}),c.createVNode(o,{label:"Ballot Styles",type:"step",stepIndex:"5"}),c.createVNode(o,{label:"Configure Ballot Extraction",type:"step",stepIndex:"6"}),c.createVNode(o,{label:"Start Ballot Box Set Up",icon:"download"}),c.createVNode(o,{label:"Finish Ballot Box Set Up",icon:"handshake-simple",disabled:""})]}),_:1}),c.createVNode(f,{type:"primary",label:"Create election",fullWidth:""})]}),_:1})]}),content:c.withCtx(function(){return[y41,S41]}),_:1}),c.createVNode(d)],64)}const G$=P(A41,[["render",w41]]);var E41={},T41=c.createElementVNode("a",{href:"#"},"LOGO",-1),B41={class:"flex items-center"},I41=c.createElementVNode("div",null,[c.createElementVNode("h1",null,"Content goes here"),c.createElementVNode("br"),c.createElementVNode("p",null," Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. ")],-1);function D41(e,a){var t=c.resolveComponent("AVNavbarItem"),n=c.resolveComponent("AVNavigationItemList"),i=c.resolveComponent("AVMenuDropdown"),l=c.resolveComponent("AVNavbar"),s=c.resolveComponent("AVContent"),r=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(l,null,{default:c.withCtx(function(){return[T41,c.createElementVNode("div",B41,[c.createVNode(n,{type:"navbar"},{default:c.withCtx(function(){return[c.createVNode(t,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(t,{label:"Admins",icon:"user-shield",href:"#"})]}),_:1}),c.createVNode(i,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]}),_:1}),c.createVNode(s,null,{content:c.withCtx(function(){return[I41]}),_:1}),c.createVNode(r,{enableSteps:"",steps:["Check my ballot","Ballot Found","Verify Passkey","Review Unsealed Ballot","Finish"],done:["Check my ballot","Ballot Found"],active:"Verify Passkey"})],64)}const J$=P(E41,[["render",D41]]),k6=e=>(c.pushScopeId("data-v-20fc858f"),e=e(),c.popScopeId(),e),P41=k6(()=>c.createElementVNode("a",{href:"#"},"LOGO",-1)),O41={class:"flex items-center"},F41={href:"/new"},R41=k6(()=>c.createElementVNode("div",{class:"new-election-title-container"},[c.createElementVNode("span",{class:"new-election-title","data-test":"title"},"Create new election")],-1)),j41={class:"new-election-button"},q41={key:0,class:"no-elections-container"},$41=k6(()=>c.createElementVNode("span",{class:"no-elections-title","data-test":"title"},"Your dashboard is empty",-1)),U41=k6(()=>c.createElementVNode("span",{class:"no-elections-text","data-test":"title"},"Once you create new elections you will see them displayed in this dashboard.",-1)),W41=c.defineComponent({__name:"ElectionDashboardLayout",setup(e){const a=[{id:"DV-1",name:"General Election 1",status:"draft",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-2",name:"General Election 2",status:"open",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-3",name:"General Election 3",status:"closed",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"},{id:"DV-4",name:"General Election 4",status:"archived",countyNameLabel:"Jurisdiction:",countyName:"Burlington",createdAtLabel:"Created at:",createdAt:"March 01, 2023 at 10:00 AM",lastUpdatedLabel:"Last updated:",lastUpdated:"March 01, 2023 at 10:00 AM",href:"#"}];return(t,n)=>{const i=c.resolveComponent("AVNavbarItem"),l=c.resolveComponent("AVNavigationItemList"),s=c.resolveComponent("AVMenuDropdown"),r=c.resolveComponent("AVNavbar"),o=c.resolveComponent("AVIcon"),f=c.resolveComponent("AVCard"),m=c.resolveComponent("AVElectionCard"),u=c.resolveComponent("AVContent"),d=c.resolveComponent("AVFooter");return c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createVNode(r,null,{default:c.withCtx(()=>[P41,c.createElementVNode("div",O41,[c.createVNode(l,{type:"navbar"},{default:c.withCtx(()=>[c.createVNode(i,{label:"Dashboard",icon:"check-to-slot",href:"#"}),c.createVNode(i,{label:"Admins",icon:"user-shield",href:"#"})]),_:1}),c.createVNode(s,{ariaLabel:"user profile",id:"user-profile-menu",icon:"user",options:[{label:"Settings",href:"#",icon:"gear"},{label:"Log out",href:"#",destructive:!0,icon:"right-from-bracket"}]})])]),_:1}),c.createVNode(u,null,{content:c.withCtx(()=>[c.createVNode(f,{variant:"jumbotron",class:"dashboard-container"},{default:c.withCtx(()=>[c.createElementVNode("a",F41,[c.createVNode(f,{variant:"rounded",role:"button"},{default:c.withCtx(()=>[R41,c.createElementVNode("div",j41,[c.createVNode(o,{icon:"fa-solid fa-circle-plus",class:"new-election-icon"})])]),_:1})]),a.length===0?(c.openBlock(),c.createElementBlock("div",q41,[c.createVNode(o,{icon:"fa-solid fa-folder-open",class:"no-elections-icon"}),$41,U41])):c.createCommentVNode("",!0),(c.openBlock(),c.createElementBlock(c.Fragment,null,c.renderList(a,p=>c.createVNode(m,{key:p.id,id:p.id,name:p.name,status:p.status,countyNameLabel:p.countyNameLabel,countyName:p.countyName,createdAtLabel:p.createdAtLabel,createdAt:p.createdAt,lastUpdatedLabel:p.lastUpdatedLabel,lastUpdated:p.lastUpdated,href:p.href},null,8,["id","name","status","countyNameLabel","countyName","createdAtLabel","createdAt","lastUpdatedLabel","lastUpdated","href"])),64))]),_:1})]),_:1}),c.createVNode(d)],64)}}});const Z$=P(W41,[["__scopeId","data-v-20fc858f"]]),G41={install:function(e,a){a===void 0&&(a=null),e.use($J),e.component("AVIcon",Iq),e.component("AVButton",Dq),e.component("AVSpinner",Pq),e.component("AVBullet",V4),e.component("AVTextInput",Oq),e.component("AVNumberInput",Fq),e.component("AVPasswordInput",Rq),e.component("AVDatetimeInput",jq),e.component("AVTextArea",qq),e.component("AVCard",Uq),e.component("AVRoundButton",Wq),e.component("AVLabel",$q),e.component("AVDropdown",Gq),e.component("AVDropdownContent",Jq),e.component("AVDropdownItem",Zq),e.component("AVAlert",Yq),e.component("AVFileInput",Qq),e.component("AVRadio",Kq),e.component("AVLink",Xq),e.component("AVNavbarItem",e$),e.component("AVSidebarItem",c$),e.component("AVTooltip",a$),e.component("AVMenuDropdown",t$),e.component("AVMenuDropdownContent",n$),e.component("AVMenuDropdownItem",i$),e.component("AVAsyncButton",l$),e.component("AVTabSwitcher",s$),e.component("AVBallotSummary",r$),e.component("AVTimedCard",o$),e.component("AVBasicSteps",f$),e.component("AVSteps",u$),e.component("AVOptionSelect",d$),e.component("AVOptionCheckbox",p$),e.component("AVTransitionSlide",v$),e.component("AVCollapser",h$),e.component("AVLinkVisualizer",z$),e.component("AVVerticalStep",gX),e.component("AVAnimatedMenuButton",NX),e.component("AVRadioGroup",V$),e.component("AVNavigationItemList",M$),e.component("AVBreadcrumb",C$),e.component("AVElectionCard",g$),e.component("AVBallotStyleCard",H$),e.component("AVSummaryOption",b$),e.component("AVOption",_$),e.component("AVBlankOption",k$),e.component("AVWriteInOption",x$),e.component("AVSubmissionHelper",y$),e.component("AVSearchBallot",S$),e.component("AVSplitWeightHelper",w$),e.component("AVSplitWizardHeader",E$),e.component("AVFooter",T$),e.component("AVSidebar",B$),e.component("AVNavbar",I$),e.component("AVContent",D$),e.component("AVModal",P$),e.component("AVBallot",R$),e.component("AVPileSummary",j$),e.component("AVSplitHelper",$$),e.component("AVResourceSection",U$),e.component("OneColumnLayout",W$),e.component("TwoColumnsLayout",G$),e.component("NoSidebarLayout",J$),e.component("ElectionDashboardLayout",Z$),e.provide("i18n",a||rl),e.provide("iconNames",Dj)}};exports.AVAlert=Yq;exports.AVAsyncButton=l$;exports.AVBallot=R$;exports.AVBallotStyleCard=H$;exports.AVBallotSummary=r$;exports.AVBasicSteps=f$;exports.AVBlankOption=k$;exports.AVBreadcrumb=C$;exports.AVBullet=V4;exports.AVButton=Dq;exports.AVCard=Uq;exports.AVCollapser=h$;exports.AVContent=D$;exports.AVDatetimeInput=jq;exports.AVDropdown=Gq;exports.AVDropdownContent=Jq;exports.AVDropdownItem=Zq;exports.AVElectionCard=g$;exports.AVFileInput=Qq;exports.AVFooter=T$;exports.AVIcon=Iq;exports.AVLabel=$q;exports.AVLink=Xq;exports.AVLinkVisualizer=z$;exports.AVMenuDropdown=t$;exports.AVMenuDropdownContent=n$;exports.AVMenuDropdownItem=i$;exports.AVModal=P$;exports.AVNavbar=I$;exports.AVNavbarItem=e$;exports.AVNavigationItemList=M$;exports.AVNumberInput=Fq;exports.AVOption=_$;exports.AVOptionCheckbox=p$;exports.AVOptionSelect=d$;exports.AVPasswordInput=Rq;exports.AVPileSummary=j$;exports.AVRadio=Kq;exports.AVRadioGroup=V$;exports.AVResourceSection=U$;exports.AVRoundButton=Wq;exports.AVSearchBallot=S$;exports.AVSidebar=B$;exports.AVSidebarItem=c$;exports.AVSpinner=Pq;exports.AVSplitHelper=$$;exports.AVSplitWeightHelper=w$;exports.AVSplitWizardHeader=E$;exports.AVSteps=u$;exports.AVSubmissionHelper=y$;exports.AVSummaryOption=b$;exports.AVTabSwitcher=s$;exports.AVTextArea=qq;exports.AVTextInput=Oq;exports.AVTimedCard=o$;exports.AVTooltip=a$;exports.AVTransitionSlide=v$;exports.AVWriteInOption=x$;exports.ElectionDashboardLayout=Z$;exports.NoSidebarLayout=J$;exports.OneColumnLayout=W$;exports.TwoColumnsLayout=G$;exports.default=G41;exports.iconNames=Dj;