@assemblyvoting/ui-library 3.1.23 → 3.1.24

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 mY(e){return Promise.all([hi(e,"::before"),hi(e,"::after")])}function dY(e){return e.parentNode!==document.head&&!~cZ.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(i8)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function zi(e){if(X1)return new Promise(function(a,t){var n=Y2(e.querySelectorAll("*")).filter(dY).map(mY),i=jt.begin("searchPseudoElements");Eq(),Promise.all(n).then(function(){i(),d8(),a()}).catch(function(){i(),d8(),t()})})}var pY={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=zi,t}}},provides:function(a){a.pseudoElements2svg=function(t){var n=t.node,i=n===void 0?l1:n;O.searchPseudoElements&&zi(i)}}},Vi=!1,vY={mixout:function(){return{dom:{unwatch:function(){Eq(),Vi=!0}}}},hooks:function(){return{bootstrap:function(){mi(r8("mutationObserverCallbacks",{}))},noAuto:function(){QZ()},watch:function(t){var n=t.observeMutationsRoot;Vi?d8():mi(r8("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},Mi=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)},hY={mixout:function(){return{parse:{transform:function(t){return Mi(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,n){var i=n.getAttribute("data-fa-transform");return i&&(t.transform=Mi(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 Ci(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 zY(e){return e.tag==="g"?e.children:[e]}var VY={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=hZ({transform:o,containerWidth:u,iconWidth:f}),V={tag:"rect",attributes:D(D({},F6),{},{fill:"white"})},C=m.children?{children:m.children.map(Ci)}:{},g={tag:"g",attributes:D({},p.inner),children:[Ci(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:zY(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}}}},MY={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}}}},CY={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}}}},gY=[MZ,lY,sY,rY,oY,pY,vY,hY,VY,MY,CY];TZ(gY,{mixoutsTo:x1});x1.noAuto;x1.config;x1.library;x1.dom;var gi=x1.parse;x1.findIconDefinition;x1.toHtml;var HY=x1.icon;x1.layer;x1.text;x1.counter;const Bq=c.defineComponent({name:"AVIcon",props:{icon:{type:String,required:!0}},setup(e){const a=f=>gi.icon?gi.icon(f):null,t={...BE,...Bj},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(()=>HY(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}}),bY=["disabled"],LY=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,bY)}}});const F=(e,a)=>{const t=e.__vccOpts||e;for(const[n,i]of a)t[n]=i;return t},Iq=F(LY,[["__scopeId","data-v-d69f84e2"]]),AY=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 Dq=F(AY,[["__scopeId","data-v-70d9cfd4"]]),_Y=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=F(_Y,[["__scopeId","data-v-5b7d0fcb"]]),NY={class:"AVTextInput--input-set"},kY=["for"],xY={class:"AVTextInput--input-field"},yY={class:"AVTextInput--icon-container"},SY=["id","placeholder","disabled","value"],wY={key:0,class:"AVTextInput--icon-container"},EY={key:1,class:"AVTextInput--error","data-test":"error-msg"},TY=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",NY,[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,kY)):c.createCommentVNode("",!0),c.createElementVNode("div",xY,[c.createElementVNode("div",yY,[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,SY),e.error?(c.openBlock(),c.createElementBlock("div",wY,[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",EY,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Pq=F(TY,[["__scopeId","data-v-6c6cbec3"]]),BY={class:"AVNumberInput--input-set"},IY=["for"],DY={class:"AVNumberInput--icon-container"},PY=["value","id","disabled","name","min","max","step"],OY={key:0,class:"AVNumberInput--icon-container"},FY={key:1,class:"AVNumberInput--error","data-test":"error-msg"},RY=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",BY,[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,IY)):c.createCommentVNode("",!0),c.createElementVNode("div",{class:"AVNumberInput--input-field",onMouseenter:r,onMouseleave:o},[c.createElementVNode("div",DY,[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,PY),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",OY,[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",FY,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Oq=F(RY,[["__scopeId","data-v-c69bbc44"]]),jY={class:"AVPasswordInput--input-set"},qY=["for"],$Y={class:"AVPasswordInput--input-field"},UY={class:"AVPasswordInput--icon-container"},WY=["value","type","id","disabled","placeholder","name"],GY={class:"AVPasswordInput--icon-container"},JY={key:1,class:"AVPasswordInput--error","data-test":"error-msg"},ZY=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",jY,[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,qY)):c.createCommentVNode("",!0),c.createElementVNode("div",$Y,[c.createElementVNode("div",UY,[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,WY),c.createElementVNode("div",GY,[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",JY,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Fq=F(ZY,[["__scopeId","data-v-b1c76306"]]),YY={class:"AVDatetimeInput--input-set"},QY=["for"],KY={class:"AVDatetimeInput--input-field"},XY={class:"AVDatetimeInput--icon-container"},eQ=["value","id","disabled","name","min","max"],cQ={key:1,class:"AVDatetimeInput--error","data-test":"error-msg"},aQ=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",YY,[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,QY)):c.createCommentVNode("",!0),c.createElementVNode("div",KY,[c.createElementVNode("div",XY,[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,eQ)]),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",cQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Rq=F(aQ,[["__scopeId","data-v-d438432a"]]),tQ={class:"AVTextArea--input-set"},nQ=["for"],iQ={class:"AVTextArea--input-field"},lQ=["value","id","disabled","placeholder","name","rows"],sQ={key:0,class:"AVTextArea--icon-container"},rQ={key:1,class:"AVTextArea--error","data-test":"error-msg"},oQ=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",tQ,[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,nQ)):c.createCommentVNode("",!0),c.createElementVNode("div",iQ,[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,lQ),e.error?(c.openBlock(),c.createElementBlock("div",sQ,[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",rQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const jq=F(oQ,[["__scopeId","data-v-c9875ea2"]]),fQ=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 qq=F(fQ,[["__scopeId","data-v-ee7ab830"]]),uQ=c.defineComponent({__name:"AVCard",props:{variant:{type:String,default:"default",validate:e=>["rounded","default","jumbotron"].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 $q=F(uQ,[["__scopeId","data-v-fc292113"]]),mQ=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 Uq=F(mQ,[["__scopeId","data-v-6caf6a51"]]),dQ={class:"AVDropdown--input-set"},pQ=["for"],vQ=["id","disabled","aria-expanded","aria-label"],hQ={key:0,class:"AVDropdown--icon-container"},zQ={key:1,class:"AVDropdown--placeholder"},VQ=["textContent"],MQ={class:"AVDropdown--icon-container"},CQ={key:1,class:"AVDropdown--error","data-test":"error-msg"},gQ=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",dQ,[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,pQ)):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",hQ,[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",zQ,c.toDisplayString(e.placeholder),1)):(c.openBlock(),c.createElementBlock("span",{key:2,class:"AVDropdown--selected-option",textContent:c.toDisplayString(s.value.label)},null,8,VQ)),c.createElementVNode("span",MQ,[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,vQ),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",CQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Wq=F(gQ,[["__scopeId","data-v-09756cc6"]]),HQ=["aria-labelledby"],bQ=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,HQ)):c.createCommentVNode("",!0)]),_:3}))}});const Gq=F(bQ,[["__scopeId","data-v-e2058f66"]]),LQ=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 Jq=F(LQ,[["__scopeId","data-v-2ca0bff3"]]),AQ={key:0,class:"AVAlert--header","data-test":"alert-header"},_Q={class:"AVAlert--title-container"},NQ={key:0,class:"AVAlert--icon-container"},kQ={class:"AVAlert--title"},xQ=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",AQ,[c.createElementVNode("div",_Q,[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",NQ,[c.createVNode(f,{icon:`fa-solid fa-${e.icon!==""?e.icon:s[e.type]}`,"data-test":"alert-icon"},null,8,["icon"])])),c.createElementVNode("span",kQ,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 Zq=F(xQ,[["__scopeId","data-v-0cc3f6d1"]]),yQ={class:"AVFileInput--input-set"},SQ=["for"],wQ=["multiple","name","id","accept","disabled"],EQ={class:"AVFileInput--icon-container"},TQ=["for"],BQ={key:0},IQ={class:"AVFileInput--dragdroptext-primary"},DQ={key:1},PQ={class:"AVFileInput--dragdroptext-primary"},OQ={class:"AVFileInput--dragdroptext-secondary"},FQ={key:1,class:"AVFileInput--accepted"},RQ={class:"AVFileInput--accepted-muted"},jQ={key:2,class:"AVFileInput--preview-container"},qQ={class:"AVFileInput--label mt-3"},$Q={class:"AVFileInput--header"},UQ={class:"AVTextInput--preview"},WQ=["src"],GQ={class:"AVFileInput--preview-text"},JQ=["onClick"],ZQ={key:3,class:"AVFileInput--preview-container"},YQ={class:"AVFileInput--label mt-3"},QQ=["src","alt"],KQ={key:1,class:"AVFileInput--preview-card"},XQ={class:"AVFileInput--header"},eK={class:"AVTextInput--preview"},cK={class:"AVFileInput--preview-text"},aK=["onClick"],tK={key:4,class:"AVFileInput--error","data-test":"error-msg"},nK=c.defineComponent({__name:"AVFileInput",props:{id:{type:String,required:!0},value:{type:Array},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:null},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=>{b.preventDefault(),!i.disabled&&(s.value.files=d(b.dataTransfer.files),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=>{let _=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",yQ,[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,SQ)),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,wQ),c.createElementVNode("div",EQ,[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",BQ,[c.createElementVNode("div",IQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.release")),1)])):(c.openBlock(),c.createElementBlock("div",DQ,[c.createElementVNode("div",PQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.primary")),1),c.createElementVNode("div",OQ,[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,TQ)],34),e.disableAcceptedFormats?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("p",FQ,[c.createTextVNode(c.toDisplayString(c.unref(n)("js.components.AVFileInput.acceptedFormats"))+" ",1),c.createElementVNode("em",RQ,c.toDisplayString(V.value),1)])),r.value.length?(c.openBlock(),c.createElementBlock("div",jQ,[c.createElementVNode("p",qQ,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",$Q,[c.createElementVNode("div",UQ,[e.showPreview?(c.openBlock(),c.createElementBlock("img",{key:0,class:"AVFileInput--preview-img",src:v(A)},null,8,WQ)):(c.openBlock(),c.createBlock(N,{key:1,icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"}))]),c.createElementVNode("p",GQ,[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,JQ))],2))),128))])):c.createCommentVNode("",!0),e.currentValue?(c.openBlock(),c.createElementBlock("div",ZQ,[c.createElementVNode("p",YQ,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,QQ)):(c.openBlock(),c.createElementBlock("div",KQ,[c.createElementVNode("div",XQ,[c.createElementVNode("div",eK,[c.createVNode(N,{icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"})]),c.createElementVNode("p",cK,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,aK)]))]))),128))])):c.createCommentVNode("",!0),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",tK,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Yq=F(nK,[["__scopeId","data-v-91b70292"]]),iK=e=>(c.pushScopeId("data-v-065c2914"),e=e(),c.popScopeId(),e),lK=["for"],sK=["id","checked","disabled"],rK=iK(()=>c.createElementVNode("span",{class:"AVRadio--mark"},null,-1)),oK=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,sK),rK,c.createTextVNode(" "+c.toDisplayString(e.value),1)],10,lK))}});const Qq=F(oK,[["__scopeId","data-v-065c2914"]]),fK=["href","referrerpolicy","rel","target"],uK=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,fK)}}});const Kq=F(uK,[["__scopeId","data-v-999075bc"]]),mK=["href","target"],dK={class:"AVNavbarItem--text"},pK=["disabled"],vK={class:"AVNavbarItem--text"},hK=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",dK,c.toDisplayString(e.label),1)],14,mK)):(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",vK,c.toDisplayString(e.label),1)],14,pK))}}});const Xq=F(hK,[["__scopeId","data-v-00ff3c9d"]]),zK=["href","target","aria-label"],VK={class:"AVSidebarItem--text","aria-hidden":"true"},MK=["disabled","aria-label"],CK={class:"AVSidebarItem--text","aria-hidden":"true"},gK=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",VK,c.toDisplayString(e.label),1)],42,zK)):(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",CK,c.toDisplayString(e.label),1)],42,MK))}});const e$=F(gK,[["__scopeId","data-v-3e891e66"]]),HK={class:"AVTooltip--wrapper"},bK={key:0,class:"AVTooltip--text"},LK=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",HK,[e.text?(c.openBlock(),c.createElementBlock("span",bK,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 c$=F(LK,[["__scopeId","data-v-3d675f68"]]),AK={class:"AVMenuDropdown"},_K=["id","aria-expanded","aria-label"],NK=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",AK,[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,_K),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 a$=F(NK,[["__scopeId","data-v-6c23aaa1"]]),kK=["aria-labelledby"],xK=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,kK)):c.createCommentVNode("",!0)]),_:3}))}});const t$=F(xK,[["__scopeId","data-v-e8fb623b"]]),yK=["href"],SK=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,yK)}}});const n$=F(SK,[["__scopeId","data-v-8513fa9b"]]),wK=["disabled"],EK=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:"floppy-disk"},successIcon:{type:String,default:"check"},errorIcon:{type:String,default:"xmark"},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 n.defaultIcon}}),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},()=>[c.createVNode(m,{icon:l.value,class:"AVAsyncButton--icon","data-test":"btn-icon"},null,8,["icon"]),c.createElementVNode("span",null,c.toDisplayString(e.label),1)],!0)],10,wK)}}});const i$=F(EK,[["__scopeId","data-v-11042fa9"]]),TK={class:"AVTabSwitcher"},BK=["disabled","onClick"],IK=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",TK,[(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,BK))),128))]))}});const l$=F(IK,[["__scopeId","data-v-3c4a2127"]]),DK={class:"AVBallotSummary"},PK={class:"AVBallotSummary--name-column"},OK={class:"AVBallotSummary--status-column"},FK=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",DK,[c.createElementVNode("div",PK,[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",OK,[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 s$=F(FK,[["__scopeId","data-v-2d7c011c"]]),RK={class:"AVTimedCard--content","data-test":"content"},jK={class:"AVTimedCard--progress","data-test":"progress-container"},qK=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",RK,[c.renderSlot(u.$slots,"default",{},void 0,!0)]),c.createElementVNode("div",jK,[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 r$=F(qK,[["__scopeId","data-v-7d0d595b"]]),$K=e=>(c.pushScopeId("data-v-dbd25d5c"),e=e(),c.popScopeId(),e),UK={class:"AVBasicSteps"},WK=$K(()=>c.createElementVNode("span",{class:"AVBasicSteps--line","data-test":"separator"},null,-1)),GK={key:0,class:"AVBasicSteps--line","data-test":"separator"},JK=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",UK,[c.createElementVNode("span",{class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[0])}]),"data-test":"step"},c.toDisplayString(e.steps[0]),3),WK,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",GK)):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 o$=F(JK,[["__scopeId","data-v-dbd25d5c"]]),ZK={class:"AVSteps"},YK={key:0,class:"AVSteps--step--icon-container AVSteps--step-circle"},QK=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",ZK,[(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",YK,[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 f$=F(QK,[["__scopeId","data-v-89e22cbe"]]),u$=e=>(c.pushScopeId("data-v-59ee2583"),e=e(),c.popScopeId(),e),KK=["aria-label"],XK={key:0,"aria-hidden":"true"},eX={key:1,width:"26",height:"26",stroke:"white","stroke-width":"0.25rem"},cX=u$(()=>c.createElementVNode("line",{x1:"25%",y1:"25%",x2:"75%",y2:"75%"},null,-1)),aX=u$(()=>c.createElementVNode("line",{x1:"75%",y1:"25%",x2:"25%",y2:"75%"},null,-1)),tX=[cX,aX],nX=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",XK,c.toDisplayString(e.rank),1)):(c.openBlock(),c.createElementBlock("svg",eX,tX))],8,KK)),[[c.vShow,e.checked]])}});const m$=F(nX,[["__scopeId","data-v-59ee2583"]]),iX={class:"AVOptionCheckbox--container"},lX={key:0,class:"AVOptionCheckbox--exclusive-container"},sX={class:"AVOptionCheckbox--exclusive"},rX=["aria-checked","tabindex","aria-disabled","disabled","onKeydown"],oX=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",iX,[e.exclusiveError&&e.checked?(c.openBlock(),c.createElementBlock("div",lX,[c.createElementVNode("div",sX,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,rX)])}}});const d$=F(oX,[["__scopeId","data-v-41bf0e6f"]]),p$=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}))}}),fX=["aria-controls","aria-expanded"],uX=["id","aria-hidden"],mX=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,fX),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,uX),[[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 v$=F(mX,[["__scopeId","data-v-0dc18787"]]),dX=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 h$=F(dX,[["__scopeId","data-v-eb8f518d"]]),pX={class:"AVRadioGroup--input-set"},vX=["for"],hX={key:1,class:"AVRadioGroup--error","data-test":"error-msg"},zX=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",pX,[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,vX)),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",hX,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const z$=F(zX,[["__scopeId","data-v-74ff59b8"]]),VX=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 V$=F(VX,[["__scopeId","data-v-9fd5c53d"]]),MX={class:"AVBreadcrumb"},CX=["href"],gX=["href"],HX=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",MX,[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,CX),(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,gX),c.createVNode(n,{icon:"fa-solid fa-angle-right",class:"AVBreadcrumb--separator"})]))),128))])}}});const M$=F(HX,[["__scopeId","data-v-479a161a"]]),bX=["href"],LX={class:"AVElectionCard--inner"},AX={class:"AVElectionCard--id","data-test":"id"},_X={class:"AVElectionCard--title-group"},NX={class:"AVElectionCard--title","data-test":"title"},kX={class:"AVElectionCard--items"},xX={class:"AVElectionCard--item","data-test":"item"},yX={class:"AVElectionCard--item-icon"},SX={class:"AVElectionCard--item-text"},wX={class:"AVElectionCard--item","data-test":"item"},EX={class:"AVElectionCard--item-icon"},TX={class:"AVElectionCard--item-text"},BX={class:"AVElectionCard--item","data-test":"item"},IX={class:"AVElectionCard--item-icon"},DX={class:"AVElectionCard--item-text"},PX={class:"AVElectionCard--button"},OX=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",LX,[c.createElementVNode("span",AX,c.toDisplayString(e.id),1),c.createElementVNode("div",_X,[c.createElementVNode("span",NX,c.toDisplayString(e.name),1),c.createVNode(s,{type:n.value,value:e.status},null,8,["type","value"])]),c.createElementVNode("div",kX,[c.createElementVNode("div",xX,[c.createElementVNode("div",yX,[c.createVNode(r,{icon:"fa-solid fa-location-pin"})]),c.createElementVNode("span",SX,[c.createTextVNode(c.toDisplayString(e.countyNameLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.countyName),1)])]),c.createElementVNode("div",wX,[c.createElementVNode("div",EX,[c.createVNode(r,{icon:"fa-solid fa-file-circle-plus"})]),c.createElementVNode("span",TX,[c.createTextVNode(c.toDisplayString(e.createdAtLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.createdAt),1)])]),c.createElementVNode("div",BX,[c.createElementVNode("div",IX,[c.createVNode(r,{icon:"fa-solid fa-pen-to-square"})]),c.createElementVNode("span",DX,[c.createTextVNode(c.toDisplayString(e.lastUpdatedLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.lastUpdated),1)])])])]),c.createElementVNode("div",PX,[c.createVNode(r,{icon:"fa-solid fa-circle-chevron-right",class:"AVElectionCard--CTA-icon"})])]),_:1})],8,bX)}}});const C$=F(OX,[["__scopeId","data-v-dd72671e"]]),FX=["href"],RX={class:"AVBallotStyleCard--content"},jX={key:0,class:"AVBallotStyleCard--completion-icon","data-test":"success-icon"},qX={class:"AVBallotStyleCard--text-container"},$X={class:"AVBallotStyleCard--title","data-test":"title"},UX={class:"AVBallotStyleCard--text","data-test":"text"},WX={class:"AVBallotStyleCard--CTA-icon"},GX=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",RX,[e.reviewed?(c.openBlock(),c.createElementBlock("div",jX,[c.createVNode(n,{icon:"fa-solid fa-check"})])):c.createCommentVNode("",!0),c.createElementVNode("div",qX,[c.createElementVNode("div",$X,c.toDisplayString(e.name),1),c.createElementVNode("div",UX,c.toDisplayString(`${e.contestQty} ${e.contestLabel}`),1)])]),c.createElementVNode("div",WX,[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,FX)}}});const g$=F(GX,[["__scopeId","data-v-c682a2cf"]]),JX=["aria-label"],ZX={key:0,class:"AVSummaryOption--ancestry"},YX={class:"AVSummaryOption--breadcrumb"},QX=["src","alt"],KX={class:"AVSummaryOption--body"},XX={class:"AVSummaryOption--title"},e11={key:1,class:"AVSummaryOption--summary"},c11={key:1,class:"AVSummaryOption--footer"},H$=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",ZX,[c.createElementVNode("ul",YX,[(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,QX)):c.createCommentVNode("",!0),c.createElementVNode("div",KX,[c.createElementVNode("div",XX,c.toDisplayString(o.value),1)]),s.value?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",e11,[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",c11,[(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,JX)}}});const Hi=c.ref(new Map);function b$(){function e(a,...t){Hi.value.set(a,t)}return{eventBusEmit:e,eventBus:Hi}}const L$=e=>(c.pushScopeId("data-v-785ef04b"),e=e(),c.popScopeId(),e),a11=["id","href","aria-labelledby"],t11=["aria-label"],n11={class:"AVOption--header-container"},i11={class:"AVOption--header"},l11=["src","alt"],s11=["textContent"],r11={key:0,class:"AVOption--body"},o11={key:0,class:"AVOption--description"},f11=["innerHTML"],u11={key:1,class:"AVOption--links-container"},m11=["href"],d11={key:2,class:"AVOption--children-container"},p11=["id"],v11=["innerHTML"],h11={key:1,class:"AVOption--realtime-results AVOption--realtime-results-internal"},z11=L$(()=>c.createElementVNode("span",null,"-",-1)),V11={class:"AVOption--realtime-results"},M11=L$(()=>c.createElementVNode("span",null,"-",-1)),C11={key:0,class:"AVOption--children"},g11=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}=b$(),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(P=>S[P]=P+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"),P=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,a11),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",n11,[c.createElementVNode("header",i11,[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,l11)):c.createCommentVNode("",!0),c.createElementVNode("h5",{class:"AVOption--title",textContent:c.toDisplayString(p.value)},null,8,s11)]),V.value||M.value.length||v.value||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",r11,[V.value?(c.openBlock(),c.createElementBlock("div",o11,[c.createElementVNode("p",{innerHTML:V.value},null,8,f11)])):c.createCommentVNode("",!0),M.value.length>0||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",u11,[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,m11))),128))])):c.createCommentVNode("",!0),b1&&v.value?(c.openBlock(),c.createElementBlock("div",d11,[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,v11)],8,p11),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",h11,[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},[z11,c.createElementVNode("span",null,c.toDisplayString(`${x.value.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)],14,t11)]),pane:c.withCtx(({toggleCollapse:z1})=>[v.value?(c.openBlock(),c.createElementBlock("div",C11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.option.children,b1=>(c.openBlock(),c.createBlock(P,{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",V11,[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},[M11,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 A$=F(g11,[["__scopeId","data-v-785ef04b"]]),_$=e=>(c.pushScopeId("data-v-ee117d09"),e=e(),c.popScopeId(),e),H11=["aria-label"],b11={class:"AVBlankOption--header","aria-hidden":"true"},L11={class:"AVBlankOption--title"},A11={class:"AVBlankOption--checkbox"},_11={key:0,class:"AVBlankOption--realtime-results AVOption--realtime-results-internal"},N11=_$(()=>c.createElementVNode("span",null,"-",-1)),k11={key:0,class:"AVBlankOption--realtime-results"},x11=_$(()=>c.createElementVNode("span",null,"-",-1)),y11=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",b11,[c.createElementVNode("h5",L11,c.toDisplayString(c.unref(t)("js.components.AVBlankOption.title")),1),c.createElementVNode("div",A11,[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",_11,[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},[N11,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])],14,H11),!e.disabled&&e.partialResults&&!e.observerMode?(c.openBlock(),c.createElementBlock("div",k11,[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},[x11,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)}}});const N$=F(y11,[["__scopeId","data-v-ee117d09"]]),S11=["aria-label"],w11={class:"AVWriteInOption--header"},E11={class:"AVWriteInOption--container"},T11={id:"option_writeIn",class:"AVWriteInOption--title"},B11={class:"AVWriteInOption--form-group"},I11=["aria-label","disabled"],D11={value:""},P11=["value","selected"],O11=["value","placeholder","aria-label","disabled"],F11=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",E11,[c.createElementVNode("div",T11,c.toDisplayString(c.unref(n)("js.components.AVWriteInOption.title")),1),c.createElementVNode("div",B11,[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",D11,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,P11))),128))],40,I11),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,O11)])]),c.createVNode(u,{class:"AVWriteInOption--checkbox",checked:e.checkedValue,"option-id":0,disabled:e.disabled||e.observerMode},null,8,["checked","disabled"])])],10,S11)}}});const k$=F(F11,[["__scopeId","data-v-f2bba574"]]),R11=e=>(c.pushScopeId("data-v-0ae555cc"),e=e(),c.popScopeId(),e),j11={class:"AVSubmissionHelper"},q11={key:1},$11=["textContent"],U11=R11(()=>c.createElementVNode("hr",{class:"AVSubmissionHelper--separator"},null,-1)),W11={key:2},G11={class:"AVSubmissionHelper--help"},J11={key:0},Z11={key:1},Y11=["innerHTML"],Q11={key:3},K11=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",j11,[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",q11,[(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,$11))),128)),U11])):c.createCommentVNode("",!0),e.maxMarks>1?(c.openBlock(),c.createElementBlock("div",W11,[c.createElementVNode("div",G11,[e.minMarks===e.maxMarks?(c.openBlock(),c.createElementBlock("div",J11,c.toDisplayString(`${c.unref(t)("js.components.AVSubmissionHelper.select_exactly",{min_marks:e.minMarks})}`),1)):(c.openBlock(),c.createElementBlock("div",Z11,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,Y11)):c.createCommentVNode("",!0)])])):(c.openBlock(),c.createElementBlock("div",Q11,[c.createElementVNode("div",null,c.toDisplayString(c.unref(t)("js.components.AVSubmissionHelper.select_single")),1)]))],2)]))}});const x$=F(K11,[["__scopeId","data-v-0ae555cc"]]);function X11(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 e21=["aria-label"],c21={class:"AVSearchBallot--form-group"},a21=["textContent"],t21={class:"AVSearchBallot--input-group"},n21=["placeholder"],i21={id:"ballot_searcher_results",class:"AVSearchBallot--results","aria-live":"polite","aria-label":"search-results"},l21=["aria-label"],s21={key:0,class:"AVSeachOptionBallot--ancestry"},r21={class:"AVSeachOptionBallot--breadcrumb"},o21=["id","aria-label","onClick"],f21=["textContent"],u21=["textContent"],m21=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}=b$(),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()===""?[]:X11(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",c21,[c.createElementVNode("label",{for:"ballot_search",class:"AVSearchBallot--label",textContent:c.toDisplayString(c.unref(t)("js.components.AVSearchBallot.search_the_ballot"))},null,8,a21),c.createElementVNode("div",t21,[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,n21),[[c.vModelText,s.value]])])]),c.createElementVNode("div",i21,[(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",s21,[c.createElementVNode("ul",r21,[(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,f21)],8,o21)],8,l21))),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,u21)):c.createCommentVNode("",!0)])],40,e21))}});const y$=F(m21,[["__scopeId","data-v-727c3aa7"]]),d21={class:"AVSplitWeightHelper"},p21={class:"AVSplitWeightHelper--box"},v21={class:"AVSplitWeightHelper--box"},h21={class:"AVSplitWeightHelper--box"},z21=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",d21,[c.createElementVNode("div",p21,[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",v21,[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",h21,[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 S$=F(z21,[["__scopeId","data-v-f145cdd2"]]),V21={class:"AVSplitWizardHeader"},M21={key:0,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},C21={key:1,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},g21={key:2,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},H21=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",V21,[e.activeState==="ballot"?(c.openBlock(),c.createElementBlock("p",M21,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",C21,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",g21,c.toDisplayString(c.unref(t)("js.components.AVSplitWizardHeader.overview.header")),1)),(e.activeState,c.createCommentVNode("",!0))])}}});const w$=F(H21,[["__scopeId","data-v-8df55e3a"]]),b21="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzg5IiBoZWlnaHQ9IjEzNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp1bmRlZmluZWQ9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIiB4bWw6c3BhY2U9InByZXNlcnZlIiB2ZXJzaW9uPSIxLjEiPgogPGRlZnMgaWQ9ImRlZnM2Ij4KICA8Y2xpcFBhdGggaWQ9ImNsaXBQYXRoMTYiIGNsaXBQYXRoVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgPHBhdGggaWQ9InBhdGgxNCIgZD0ibS05My41MDMxMSw3ODAuOTI1NjNsODQxLjg5LDBsMCwtNTk1LjI3NmwtODQxLjg5LDBsMCw1OTUuMjc2eiIvPgogIDwvY2xpcFBhdGg+CiA8L2RlZnM+CiA8Zz4KICA8dGl0bGU+TGF5ZXIgMTwvd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21=["src"],N21=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}])},[A21,c.createElementVNode("img",{src:c.unref(b21),alt:"Assembly Voting",class:"AVFooter--img"},null,8,_21)],2))],2)}}});const E$=F(N21,[["__scopeId","data-v-1a82d440"]]);var k21={},x21={class:"AVSidebar"};function y21(e,a){return c.openBlock(),c.createElementBlock("nav",x21,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const T$=F(k21,[["render",y21],["__scopeId","data-v-65e0965f"]]);var S21={},w21={class:"AVNavbar"};function E21(e,a){return c.openBlock(),c.createElementBlock("nav",w21,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const B$=F(S21,[["render",E21],["__scopeId","data-v-3ea1799f"]]);var T21={},B21={class:"AVContent"},I21={class:"AVContent--sidebar","data-test":"sidebar"},D21={class:"AVContent--container","data-test":"container"};function P21(e,a){return c.openBlock(),c.createElementBlock("main",B21,[c.createElementVNode("div",I21,[c.renderSlot(e.$slots,"sidebar",{},void 0,!0)]),c.createElementVNode("div",D21,[c.renderSlot(e.$slots,"content",{},void 0,!0)])])}const I$=F(T21,[["render",P21],["__scopeId","data-v-1923eca8"]]),O21=["aria-labelledby"],F21=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,O21),[[c.vShow,e.modalActive]])]),_:3}))}});const D$=F(F21,[["__scopeId","data-v-ef5af7c2"]]);var M4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},$t={},R21=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($t,"__esModule",{value:!0});var j21=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?R21([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}(),P$=$t.default=j21,O$={};Object.defineProperty(O$,"__esModule",{value:!0});var q21=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}(),$21=O$.default=q21;const U21=e=>(c.pushScopeId("data-v-21030ff1"),e=e(),c.popScopeId(),e),W21=["aria-label","aria-describedby"],G21=["id"],J21=U21(()=>c.createElementVNode("hr",{class:"AVBallot--separator"},null,-1)),Z21=["aria-label"],Y21=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 P$(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 $21(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,G21)):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),J21,c.createElementVNode("div",{id:"ballot_options",class:c.normalizeClass({"AVBallot--options":!0,"AVBallot--options-with-list":e.contest.options.some(P=>P.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,P=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:P.reference},[P.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:P,invalid:!g.value,"exclusive-error":!M.value&&P.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(P=>P.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,Z21),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,W21)}}});const F$=F(Y21,[["__scopeId","data-v-21030ff1"]]),Q21=e=>(c.pushScopeId("data-v-71101cba"),e=e(),c.popScopeId(),e),K21={key:0,class:"AVPileSummary--summary"},X21={key:0,class:"AVPileSummary--summary-header"},e31={class:"AVPileSummary--summary-header-text"},c31={key:1,class:"AVPileSummary--summary-header"},a31={class:"AVPileSummary--summary-body"},t31={key:1,class:"AVPileSummary--assign"},n31={class:"AVPileSummary--assign-card"},i31=["aria-label"],l31={class:"AVPileSummary--edit"},s31={key:0},r31={class:"AVPileSummary--assign-body"},o31={key:0,class:"AVPileSummary--assign-text"},f31=Q21(()=>c.createElementVNode("br",null,null,-1)),u31=["aria-label"],m31=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",K21,[e.contest.markingType.maxPiles!==1?(c.openBlock(),c.createElementBlock("header",X21,[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",e31,c.toDisplayString(e.selectionPile.multiplier)+" "+c.toDisplayString(c.unref(n)("js.components.AVPileSummary.ballots")),1)])):(c.openBlock(),c.createElementBlock("header",c31,[c.createElementVNode("span",null,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.selection")),1)])),c.createElementVNode("div",a31,[(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",t31,[c.createElementVNode("div",n31,[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",l31,[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",s31,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.assigned"))+" "+c.toDisplayString(e.selectionPile.multiplier),1)):c.createCommentVNode("",!0)],8,i31),c.createElementVNode("div",r31,[f.value?(c.openBlock(),c.createElementBlock("p",o31,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),f31,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,u31)):c.createCommentVNode("",!0)]))}}});const R$=F(m31,[["__scopeId","data-v-71101cba"]]);var j$={},bi=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(j$,"__esModule",{value:!0});var d31=$t,p31=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 d31.default(this.contest);return a.piles.forEach(function(i){t=bi(bi([],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}(),v31=j$.default=p31;const h31={class:"AVSplitHelper--title","aria-live":"polite"},z31=["innerHTML"],V31={class:"AVSplitHelper--footer"},M31={class:"AVSplitHelper--btn-secondary-container"},C31={class:"AVSplitHelper--btn-primary-container"},g31=["disabled"],H31={key:1},b31={class:"AVSplitHelper--assign-card"},L31={class:"AVSplitHelper--assign-question"},A31=["for"],_31=["id","max"],N31={class:"AVSplitHelper--footer"},k31={class:"AVSplitHelper--btn-secondary-container"},x31={class:"AVSplitHelper--btn-primary-container"},y31=["disabled"],S31={key:2},w31={key:0,class:"AVSplitHelper--overview-success"},E31={key:1,class:"AVSplitHelper--overview-default"},T31={class:"AVSplitHelper--overview--text"},B31=["disabled"],I31=["onClick"],D31=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((P,Q)=>P-Q.multiplier,l.weight)}),p=c.computed(()=>new P$(l.contest)),V=c.computed(()=>new v31({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((P,Q)=>P+Q.multiplier,0)}),L=c.computed(()=>{var I;return(I=o.value)==null?void 0:I.multiplier}),M=c.computed(()=>u.value.filter((I,P)=>P!==r.value).reduce((I,P)=>I-P.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,P)=>{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",h31,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,z31),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":P[0]||(P[0]=C1=>S(C1))},null,8,["selection-pile","partial-results","contest","weight","includeLazyErrors","show-submission-helper","image-option"]),c.createElementVNode("div",V31,[c.createElementVNode("div",M31,[u.value.length>0?(c.openBlock(),c.createElementBlock("button",{key:"back",class:"AVSplitHelper--btn-secondary",onClick:P[1]||(P[1]=C1=>f.value="overview")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.ballot.back_button")),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",C31,[c.createElementVNode("button",{key:"assign",class:"AVSplitHelper--btn-primary",disabled:!b(o.value)||_(o.value),onClick:P[2]||(P[2]=C1=>f.value="assign")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.ballot.confirm_button")),9,g31)])])])):f.value==="assign"?(c.openBlock(),c.createElementBlock("div",H31,[c.createElementVNode("div",b31,[c.createElementVNode("h4",L31,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:P[3]||(P[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,A31),c.withDirectives(c.createElementVNode("input",{id:`${e.contest.reference}-ballot-selector`,"onUpdate:modelValue":P[4]||(P[4]=C1=>o.value.multiplier=C1),class:"AVSplitHelper--assign-input",type:"number",max:M.value},null,8,_31),[[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",N31,[c.createElementVNode("div",k31,[c.createElementVNode("button",{key:"ballot",class:"AVSplitHelper--btn-secondary",onClick:P[5]||(P[5]=C1=>f.value="ballot")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.assign.back_button")),1)]),c.createElementVNode("div",x31,[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:P[6]||(P[6]=C1=>N())},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.assign.confirm_button")),9,y31)])])])):f.value==="overview"?(c.openBlock(),c.createElementBlock("div",S31,[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",E31,[c.createElementVNode("p",T31,[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,B31)])),(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,I31))),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":P[7]||(P[7]=w1=>S(w1)),onViewCandidate:q},null,8,["selection-pile","partial-results","includeLazyErrors","contest","weight","image-option","show-submission-helper"]))],64)}}});const q$=F(D31,[["__scopeId","data-v-1c359a5f"]]),P31="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gKwSUNDX1BST0ZJTEUAAQEAAAKgbGNtcwRAAABtbnRyUkdCIFhZWiAH6AAEAAMACAAzABRhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1kZXNjAAABIAAAAEBjcHJ0AAABYAAAADZ3dHB0AAABmAAAABRja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jH5R2FeJU9U1FtTta12PsMeyi1YsJm+K+cOrspzDx1rBiIFpRpppLM/cqFdQu2bHIT4Ye5KmMHTt7SCy1bLAMBiDPNX0w9X7lB5NMAtWNkEDm7+p5ly7I79o0jBMTOks7LHmAXGHpCxPH2hm53lsw6IpCuG+LqOvadIbazn00v+x8sZ2U83f7ItCuAnJQT2Zt8r8e2JAmG+GphGWZUqfYWwbpqFdWkSAKb7159tuUl7pX8hs8pp9P/9k=",O31={key:0,class:"AVResourceSection--image-container"},F31=["src","alt"],R31={class:"AVResourceFields"},j31={key:0,class:"AVResourceFields--title"},q31={key:1,class:"AVResourceFields--subtitle"},$31={key:2,class:"AVResourceFields--group-container"},U31={class:"AVResourceFields--group"},W31={key:1,class:"AVResourceFields--divisor"},G31={key:2,class:"AVResourceFields--link-list"},J31={key:0},Z31={key:3},Y31={key:4},Q31={key:0},K31={key:5},X31=["src"],e41=["innerHTML"],c41={key:7,class:"AVResourceFields--regular-content"},a41={key:0},t41=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)||P31});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",O31,[c.createElementVNode("img",{src:d.value,alt:c.unref(t)("js.components.AVResourceSection.alt_candidate"),class:"AVResourceSection--image"},null,8,F31)])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass(e.summary?"AVResourceSection--fields-container":"AVResourceSection--generic-container")},[c.createElementVNode("div",R31,[e.summary&&l.value?(c.openBlock(),c.createElementBlock("h4",j31,c.toDisplayString(l.value),1)):c.createCommentVNode("",!0),e.summary&&s.value?(c.openBlock(),c.createElementBlock("h5",q31,c.toDisplayString(s.value),1)):c.createCommentVNode("",!0),e.summary&&e.candidate.groups&&!e.card?(c.openBlock(),c.createElementBlock("div",$31,[c.createElementVNode("h4",U31,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",W31)):c.createCommentVNode("",!0),M.item_type==="link_list"&&m(M)?(c.openBlock(),c.createElementBlock("div",G31,[e.summary?(c.openBlock(),c.createElementBlock("span",J31,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",Z31,[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",Y31,[e.summary?(c.openBlock(),c.createElementBlock("span",Q31,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",K31,[c.createElementVNode("iframe",{style:{width:"100%",height:"100%","min-height":"400px"},src:M.form_content.toString()},null,8,X31)])):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,e41)):M.item_type!=="rich_text_area"&&M.item_type!=="check_box"?(c.openBlock(),c.createElementBlock("p",c41,[e.summary?(c.openBlock(),c.createElementBlock("span",a41,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 $$=F(t41,[["__scopeId","data-v-4d5da116"]]);var n41={},i41=c.createElementVNode("a",{href:"#"},"LOGO",-1),l41={class:"flex items-center"},s41={class:"flex flex-col items-center justify-center p-3 w-full"},r41=c.createElementVNode("h2",{class:"mb-4"},"Election Name",-1),o41=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 f41(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[i41,c.createElementVNode("div",l41,[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",s41,[r41,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[o41]}),_:1}),c.createVNode(d)],64)}const U$=F(n41,[["render",f41]]);var u41={},m41=c.createElementVNode("a",{href:"#"},"LOGO",-1),d41={class:"flex items-center"},p41={class:"flex flex-col items-center justify-center p-3 w-full"},v41=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),z41=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 V41(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",d41,[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",p41,[v41,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,z41]}),_:1}),c.createVNode(d)],64)}const W$=F(u41,[["render",V41]]);var M41={},C41=c.createElementVNode("a",{href:"#"},"LOGO",-1),g41={class:"flex items-center"},H41=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 b41(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[C41,c.createElementVNode("div",g41,[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[H41]}),_: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 G$=F(M41,[["render",b41]]),k6=e=>(c.pushScopeId("data-v-20fc858f"),e=e(),c.popScopeId(),e),L41=k6(()=>c.createElementVNode("a",{href:"#"},"LOGO",-1)),A41={class:"flex items-center"},_41={href:"/new"},N41=k6(()=>c.createElementVNode("div",{class:"new-election-title-container"},[c.createElementVNode("span",{class:"new-election-title","data-test":"title"},"Create new election")],-1)),k41={class:"new-election-button"},x41={key:0,class:"no-elections-container"},y41=k6(()=>c.createElementVNode("span",{class:"no-elections-title","data-test":"title"},"Your dashboard is empty",-1)),S41=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(()=>[L41,c.createElementVNode("div",A41,[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",_41,[c.createVNode(f,{variant:"rounded",role:"button"},{default:c.withCtx(()=>[N41,c.createElementVNode("div",k41,[c.createVNode(o,{icon:"fa-solid fa-circle-plus",class:"new-election-icon"})])]),_:1})]),a.length===0?(c.openBlock(),c.createElementBlock("div",x41,[c.createVNode(o,{icon:"fa-solid fa-folder-open",class:"no-elections-icon"}),y41,S41])):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 J$=F(w41,[["__scopeId","data-v-20fc858f"]]),E41={install:function(e,a){a===void 0&&(a=null),e.use(qJ),e.component("AVIcon",Bq),e.component("AVButton",Iq),e.component("AVSpinner",Dq),e.component("AVBullet",V4),e.component("AVTextInput",Pq),e.component("AVNumberInput",Oq),e.component("AVPasswordInput",Fq),e.component("AVDatetimeInput",Rq),e.component("AVTextArea",jq),e.component("AVCard",$q),e.component("AVRoundButton",Uq),e.component("AVLabel",qq),e.component("AVDropdown",Wq),e.component("AVDropdownContent",Gq),e.component("AVDropdownItem",Jq),e.component("AVAlert",Zq),e.component("AVFileInput",Yq),e.component("AVRadio",Qq),e.component("AVLink",Kq),e.component("AVNavbarItem",Xq),e.component("AVSidebarItem",e$),e.component("AVTooltip",c$),e.component("AVMenuDropdown",a$),e.component("AVMenuDropdownContent",t$),e.component("AVMenuDropdownItem",n$),e.component("AVAsyncButton",i$),e.component("AVTabSwitcher",l$),e.component("AVBallotSummary",s$),e.component("AVTimedCard",r$),e.component("AVBasicSteps",o$),e.component("AVSteps",f$),e.component("AVOptionSelect",m$),e.component("AVOptionCheckbox",d$),e.component("AVTransitionSlide",p$),e.component("AVCollapser",v$),e.component("AVLinkVisualizer",h$),e.component("AVRadioGroup",z$),e.component("AVNavigationItemList",V$),e.component("AVBreadcrumb",M$),e.component("AVElectionCard",C$),e.component("AVBallotStyleCard",g$),e.component("AVSummaryOption",H$),e.component("AVOption",A$),e.component("AVBlankOption",N$),e.component("AVWriteInOption",k$),e.component("AVSubmissionHelper",x$),e.component("AVSearchBallot",y$),e.component("AVSplitWeightHelper",S$),e.component("AVSplitWizardHeader",w$),e.component("AVFooter",E$),e.component("AVSidebar",T$),e.component("AVNavbar",B$),e.component("AVContent",I$),e.component("AVModal",D$),e.component("AVBallot",F$),e.component("AVPileSummary",R$),e.component("AVSplitHelper",q$),e.component("AVResourceSection",$$),e.component("OneColumnLayout",U$),e.component("TwoColumnsLayout",W$),e.component("NoSidebarLayout",G$),e.component("ElectionDashboardLayout",J$),e.provide("i18n",a||sl),e.provide("iconNames",Ij)}};exports.AVAlert=Zq;exports.AVAsyncButton=i$;exports.AVBallot=F$;exports.AVBallotStyleCard=g$;exports.AVBallotSummary=s$;exports.AVBasicSteps=o$;exports.AVBlankOption=N$;exports.AVBreadcrumb=M$;exports.AVBullet=V4;exports.AVButton=Iq;exports.AVCard=$q;exports.AVCollapser=v$;exports.AVContent=I$;exports.AVDatetimeInput=Rq;exports.AVDropdown=Wq;exports.AVDropdownContent=Gq;exports.AVDropdownItem=Jq;exports.AVElectionCard=C$;exports.AVFileInput=Yq;exports.AVFooter=E$;exports.AVIcon=Bq;exports.AVLabel=qq;exports.AVLink=Kq;exports.AVLinkVisualizer=h$;exports.AVMenuDropdown=a$;exports.AVMenuDropdownContent=t$;exports.AVMenuDropdownItem=n$;exports.AVModal=D$;exports.AVNavbar=B$;exports.AVNavbarItem=Xq;exports.AVNavigationItemList=V$;exports.AVNumberInput=Oq;exports.AVOption=A$;exports.AVOptionCheckbox=d$;exports.AVOptionSelect=m$;exports.AVPasswordInput=Fq;exports.AVPileSummary=R$;exports.AVRadio=Qq;exports.AVRadioGroup=z$;exports.AVResourceSection=$$;exports.AVRoundButton=Uq;exports.AVSearchBallot=y$;exports.AVSidebar=T$;exports.AVSidebarItem=e$;exports.AVSpinner=Dq;exports.AVSplitHelper=q$;exports.AVSplitWeightHelper=S$;exports.AVSplitWizardHeader=w$;exports.AVSteps=f$;exports.AVSubmissionHelper=x$;exports.AVSummaryOption=H$;exports.AVTabSwitcher=l$;exports.AVTextArea=jq;exports.AVTextInput=Pq;exports.AVTimedCard=r$;exports.AVTooltip=c$;exports.AVTransitionSlide=p$;exports.AVWriteInOption=k$;exports.ElectionDashboardLayout=J$;exports.NoSidebarLayout=G$;exports.OneColumnLayout=U$;exports.TwoColumnsLayout=W$;exports.default=E41;exports.iconNames=Ij;
786
+ `;return(n,i)=>(c.openBlock(),c.createElementBlock("span",{class:c.normalizeClass(t)},c.toDisplayString(e.value),1))}});const qq=F(fQ,[["__scopeId","data-v-ee7ab830"]]),uQ=c.defineComponent({__name:"AVCard",props:{variant:{type:String,default:"default",validate:e=>["rounded","default","jumbotron"].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 $q=F(uQ,[["__scopeId","data-v-fc292113"]]),mQ=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 Uq=F(mQ,[["__scopeId","data-v-6caf6a51"]]),dQ={class:"AVDropdown--input-set"},pQ=["for"],vQ=["id","disabled","aria-expanded","aria-label"],hQ={key:0,class:"AVDropdown--icon-container"},zQ={key:1,class:"AVDropdown--placeholder"},VQ=["textContent"],MQ={class:"AVDropdown--icon-container"},CQ={key:1,class:"AVDropdown--error","data-test":"error-msg"},gQ=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",dQ,[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,pQ)):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",hQ,[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",zQ,c.toDisplayString(e.placeholder),1)):(c.openBlock(),c.createElementBlock("span",{key:2,class:"AVDropdown--selected-option",textContent:c.toDisplayString(s.value.label)},null,8,VQ)),c.createElementVNode("span",MQ,[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,vQ),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",CQ,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Wq=F(gQ,[["__scopeId","data-v-09756cc6"]]),HQ=["aria-labelledby"],bQ=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,HQ)):c.createCommentVNode("",!0)]),_:3}))}});const Gq=F(bQ,[["__scopeId","data-v-e2058f66"]]),LQ=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 Jq=F(LQ,[["__scopeId","data-v-2ca0bff3"]]),AQ={key:0,class:"AVAlert--header","data-test":"alert-header"},_Q={class:"AVAlert--title-container"},NQ={key:0,class:"AVAlert--icon-container"},kQ={class:"AVAlert--title"},xQ=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",AQ,[c.createElementVNode("div",_Q,[e.disableIcon?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",NQ,[c.createVNode(f,{icon:`fa-solid fa-${e.icon!==""?e.icon:s[e.type]}`,"data-test":"alert-icon"},null,8,["icon"])])),c.createElementVNode("span",kQ,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 Zq=F(xQ,[["__scopeId","data-v-0cc3f6d1"]]),yQ={class:"AVFileInput--input-set"},SQ=["for"],wQ=["multiple","name","id","accept","disabled"],EQ={class:"AVFileInput--icon-container"},TQ=["for"],BQ={key:0},IQ={class:"AVFileInput--dragdroptext-primary"},DQ={key:1},PQ={class:"AVFileInput--dragdroptext-primary"},OQ={class:"AVFileInput--dragdroptext-secondary"},FQ={key:1,class:"AVFileInput--accepted"},RQ={class:"AVFileInput--accepted-muted"},jQ={key:2,class:"AVFileInput--preview-container"},qQ={class:"AVFileInput--label mt-3"},$Q={class:"AVFileInput--header"},UQ={class:"AVTextInput--preview"},WQ=["src"],GQ={class:"AVFileInput--preview-text"},JQ=["onClick"],ZQ={key:3,class:"AVFileInput--preview-container"},YQ={class:"AVFileInput--label mt-3"},QQ=["src","alt"],KQ={key:1,class:"AVFileInput--preview-card"},XQ={class:"AVFileInput--header"},eK={class:"AVTextInput--preview"},cK={class:"AVFileInput--preview-text"},aK=["onClick"],tK={key:4,class:"AVFileInput--error","data-test":"error-msg"},nK=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",yQ,[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,SQ)),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,wQ),c.createElementVNode("div",EQ,[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",BQ,[c.createElementVNode("div",IQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.release")),1)])):(c.openBlock(),c.createElementBlock("div",DQ,[c.createElementVNode("div",PQ,c.toDisplayString(c.unref(n)("js.components.AVFileInput.primary")),1),c.createElementVNode("div",OQ,[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,TQ)],34),e.disableAcceptedFormats?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("p",FQ,[c.createTextVNode(c.toDisplayString(c.unref(n)("js.components.AVFileInput.acceptedFormats"))+" ",1),c.createElementVNode("em",RQ,c.toDisplayString(V.value),1)])),r.value.length?(c.openBlock(),c.createElementBlock("div",jQ,[c.createElementVNode("p",qQ,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",$Q,[c.createElementVNode("div",UQ,[e.showPreview?(c.openBlock(),c.createElementBlock("img",{key:0,class:"AVFileInput--preview-img",src:v(A)},null,8,WQ)):(c.openBlock(),c.createBlock(N,{key:1,icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"}))]),c.createElementVNode("p",GQ,[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,JQ))],2))),128))])):c.createCommentVNode("",!0),e.currentValue.length?(c.openBlock(),c.createElementBlock("div",ZQ,[c.createElementVNode("p",YQ,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,QQ)):(c.openBlock(),c.createElementBlock("div",KQ,[c.createElementVNode("div",XQ,[c.createElementVNode("div",eK,[c.createVNode(N,{icon:"fa-solid fa-file",class:"AVTextInput--preview-icon","data-test":"file-preview-icon"})]),c.createElementVNode("p",cK,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,aK)]))]))),128))])):c.createCommentVNode("",!0),e.error&&e.errorMessage?(c.openBlock(),c.createElementBlock("p",tK,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const Yq=F(nK,[["__scopeId","data-v-304366be"]]),iK=e=>(c.pushScopeId("data-v-065c2914"),e=e(),c.popScopeId(),e),lK=["for"],sK=["id","checked","disabled"],rK=iK(()=>c.createElementVNode("span",{class:"AVRadio--mark"},null,-1)),oK=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,sK),rK,c.createTextVNode(" "+c.toDisplayString(e.value),1)],10,lK))}});const Qq=F(oK,[["__scopeId","data-v-065c2914"]]),fK=["href","referrerpolicy","rel","target"],uK=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,fK)}}});const Kq=F(uK,[["__scopeId","data-v-999075bc"]]),mK=["href","target"],dK={class:"AVNavbarItem--text"},pK=["disabled"],vK={class:"AVNavbarItem--text"},hK=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",dK,c.toDisplayString(e.label),1)],14,mK)):(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",vK,c.toDisplayString(e.label),1)],14,pK))}}});const Xq=F(hK,[["__scopeId","data-v-00ff3c9d"]]),zK=["href","target","aria-label"],VK={class:"AVSidebarItem--text","aria-hidden":"true"},MK=["disabled","aria-label"],CK={class:"AVSidebarItem--text","aria-hidden":"true"},gK=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",VK,c.toDisplayString(e.label),1)],42,zK)):(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",CK,c.toDisplayString(e.label),1)],42,MK))}});const e$=F(gK,[["__scopeId","data-v-3e891e66"]]),HK={class:"AVTooltip--wrapper"},bK={key:0,class:"AVTooltip--text"},LK=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",HK,[e.text?(c.openBlock(),c.createElementBlock("span",bK,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 c$=F(LK,[["__scopeId","data-v-3d675f68"]]),AK={class:"AVMenuDropdown"},_K=["id","aria-expanded","aria-label"],NK=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",AK,[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,_K),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 a$=F(NK,[["__scopeId","data-v-6c23aaa1"]]),kK=["aria-labelledby"],xK=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,kK)):c.createCommentVNode("",!0)]),_:3}))}});const t$=F(xK,[["__scopeId","data-v-e8fb623b"]]),yK=["href"],SK=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,yK)}}});const n$=F(SK,[["__scopeId","data-v-8513fa9b"]]),wK=["disabled"],EK=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:"floppy-disk"},successIcon:{type:String,default:"check"},errorIcon:{type:String,default:"xmark"},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 n.defaultIcon}}),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},()=>[c.createVNode(m,{icon:l.value,class:"AVAsyncButton--icon","data-test":"btn-icon"},null,8,["icon"]),c.createElementVNode("span",null,c.toDisplayString(e.label),1)],!0)],10,wK)}}});const i$=F(EK,[["__scopeId","data-v-11042fa9"]]),TK={class:"AVTabSwitcher"},BK=["disabled","onClick"],IK=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",TK,[(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,BK))),128))]))}});const l$=F(IK,[["__scopeId","data-v-3c4a2127"]]),DK={class:"AVBallotSummary"},PK={class:"AVBallotSummary--name-column"},OK={class:"AVBallotSummary--status-column"},FK=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",DK,[c.createElementVNode("div",PK,[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",OK,[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 s$=F(FK,[["__scopeId","data-v-2d7c011c"]]),RK={class:"AVTimedCard--content","data-test":"content"},jK={class:"AVTimedCard--progress","data-test":"progress-container"},qK=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",RK,[c.renderSlot(u.$slots,"default",{},void 0,!0)]),c.createElementVNode("div",jK,[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 r$=F(qK,[["__scopeId","data-v-7d0d595b"]]),$K=e=>(c.pushScopeId("data-v-dbd25d5c"),e=e(),c.popScopeId(),e),UK={class:"AVBasicSteps"},WK=$K(()=>c.createElementVNode("span",{class:"AVBasicSteps--line","data-test":"separator"},null,-1)),GK={key:0,class:"AVBasicSteps--line","data-test":"separator"},JK=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",UK,[c.createElementVNode("span",{class:c.normalizeClass(["AVBasicSteps--step",{"AVBasicSteps--step-active":t(e.steps[0])}]),"data-test":"step"},c.toDisplayString(e.steps[0]),3),WK,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",GK)):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 o$=F(JK,[["__scopeId","data-v-dbd25d5c"]]),ZK={class:"AVSteps"},YK={key:0,class:"AVSteps--step--icon-container AVSteps--step-circle"},QK=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",ZK,[(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",YK,[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 f$=F(QK,[["__scopeId","data-v-89e22cbe"]]),u$=e=>(c.pushScopeId("data-v-59ee2583"),e=e(),c.popScopeId(),e),KK=["aria-label"],XK={key:0,"aria-hidden":"true"},eX={key:1,width:"26",height:"26",stroke:"white","stroke-width":"0.25rem"},cX=u$(()=>c.createElementVNode("line",{x1:"25%",y1:"25%",x2:"75%",y2:"75%"},null,-1)),aX=u$(()=>c.createElementVNode("line",{x1:"75%",y1:"25%",x2:"25%",y2:"75%"},null,-1)),tX=[cX,aX],nX=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",XK,c.toDisplayString(e.rank),1)):(c.openBlock(),c.createElementBlock("svg",eX,tX))],8,KK)),[[c.vShow,e.checked]])}});const m$=F(nX,[["__scopeId","data-v-59ee2583"]]),iX={class:"AVOptionCheckbox--container"},lX={key:0,class:"AVOptionCheckbox--exclusive-container"},sX={class:"AVOptionCheckbox--exclusive"},rX=["aria-checked","tabindex","aria-disabled","disabled","onKeydown"],oX=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",iX,[e.exclusiveError&&e.checked?(c.openBlock(),c.createElementBlock("div",lX,[c.createElementVNode("div",sX,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,rX)])}}});const d$=F(oX,[["__scopeId","data-v-41bf0e6f"]]),p$=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}))}}),fX=["aria-controls","aria-expanded"],uX=["id","aria-hidden"],mX=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,fX),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,uX),[[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 v$=F(mX,[["__scopeId","data-v-0dc18787"]]),dX=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 h$=F(dX,[["__scopeId","data-v-eb8f518d"]]),pX={class:"AVRadioGroup--input-set"},vX=["for"],hX={key:1,class:"AVRadioGroup--error","data-test":"error-msg"},zX=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",pX,[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,vX)),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",hX,c.toDisplayString(e.errorMessage),1)):c.createCommentVNode("",!0)])}}});const z$=F(zX,[["__scopeId","data-v-74ff59b8"]]),VX=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 V$=F(VX,[["__scopeId","data-v-9fd5c53d"]]),MX={class:"AVBreadcrumb"},CX=["href"],gX=["href"],HX=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",MX,[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,CX),(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,gX),c.createVNode(n,{icon:"fa-solid fa-angle-right",class:"AVBreadcrumb--separator"})]))),128))])}}});const M$=F(HX,[["__scopeId","data-v-479a161a"]]),bX=["href"],LX={class:"AVElectionCard--inner"},AX={class:"AVElectionCard--id","data-test":"id"},_X={class:"AVElectionCard--title-group"},NX={class:"AVElectionCard--title","data-test":"title"},kX={class:"AVElectionCard--items"},xX={class:"AVElectionCard--item","data-test":"item"},yX={class:"AVElectionCard--item-icon"},SX={class:"AVElectionCard--item-text"},wX={class:"AVElectionCard--item","data-test":"item"},EX={class:"AVElectionCard--item-icon"},TX={class:"AVElectionCard--item-text"},BX={class:"AVElectionCard--item","data-test":"item"},IX={class:"AVElectionCard--item-icon"},DX={class:"AVElectionCard--item-text"},PX={class:"AVElectionCard--button"},OX=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",LX,[c.createElementVNode("span",AX,c.toDisplayString(e.id),1),c.createElementVNode("div",_X,[c.createElementVNode("span",NX,c.toDisplayString(e.name),1),c.createVNode(s,{type:n.value,value:e.status},null,8,["type","value"])]),c.createElementVNode("div",kX,[c.createElementVNode("div",xX,[c.createElementVNode("div",yX,[c.createVNode(r,{icon:"fa-solid fa-location-pin"})]),c.createElementVNode("span",SX,[c.createTextVNode(c.toDisplayString(e.countyNameLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.countyName),1)])]),c.createElementVNode("div",wX,[c.createElementVNode("div",EX,[c.createVNode(r,{icon:"fa-solid fa-file-circle-plus"})]),c.createElementVNode("span",TX,[c.createTextVNode(c.toDisplayString(e.createdAtLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.createdAt),1)])]),c.createElementVNode("div",BX,[c.createElementVNode("div",IX,[c.createVNode(r,{icon:"fa-solid fa-pen-to-square"})]),c.createElementVNode("span",DX,[c.createTextVNode(c.toDisplayString(e.lastUpdatedLabel),1),c.createElementVNode("strong",null,c.toDisplayString(e.lastUpdated),1)])])])]),c.createElementVNode("div",PX,[c.createVNode(r,{icon:"fa-solid fa-circle-chevron-right",class:"AVElectionCard--CTA-icon"})])]),_:1})],8,bX)}}});const C$=F(OX,[["__scopeId","data-v-dd72671e"]]),FX=["href"],RX={class:"AVBallotStyleCard--content"},jX={key:0,class:"AVBallotStyleCard--completion-icon","data-test":"success-icon"},qX={class:"AVBallotStyleCard--text-container"},$X={class:"AVBallotStyleCard--title","data-test":"title"},UX={class:"AVBallotStyleCard--text","data-test":"text"},WX={class:"AVBallotStyleCard--CTA-icon"},GX=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",RX,[e.reviewed?(c.openBlock(),c.createElementBlock("div",jX,[c.createVNode(n,{icon:"fa-solid fa-check"})])):c.createCommentVNode("",!0),c.createElementVNode("div",qX,[c.createElementVNode("div",$X,c.toDisplayString(e.name),1),c.createElementVNode("div",UX,c.toDisplayString(`${e.contestQty} ${e.contestLabel}`),1)])]),c.createElementVNode("div",WX,[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,FX)}}});const g$=F(GX,[["__scopeId","data-v-c682a2cf"]]),JX=["aria-label"],ZX={key:0,class:"AVSummaryOption--ancestry"},YX={class:"AVSummaryOption--breadcrumb"},QX=["src","alt"],KX={class:"AVSummaryOption--body"},XX={class:"AVSummaryOption--title"},e11={key:1,class:"AVSummaryOption--summary"},c11={key:1,class:"AVSummaryOption--footer"},H$=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",ZX,[c.createElementVNode("ul",YX,[(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,QX)):c.createCommentVNode("",!0),c.createElementVNode("div",KX,[c.createElementVNode("div",XX,c.toDisplayString(o.value),1)]),s.value?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",e11,[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",c11,[(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,JX)}}});const Hi=c.ref(new Map);function b$(){function e(a,...t){Hi.value.set(a,t)}return{eventBusEmit:e,eventBus:Hi}}const L$=e=>(c.pushScopeId("data-v-785ef04b"),e=e(),c.popScopeId(),e),a11=["id","href","aria-labelledby"],t11=["aria-label"],n11={class:"AVOption--header-container"},i11={class:"AVOption--header"},l11=["src","alt"],s11=["textContent"],r11={key:0,class:"AVOption--body"},o11={key:0,class:"AVOption--description"},f11=["innerHTML"],u11={key:1,class:"AVOption--links-container"},m11=["href"],d11={key:2,class:"AVOption--children-container"},p11=["id"],v11=["innerHTML"],h11={key:1,class:"AVOption--realtime-results AVOption--realtime-results-internal"},z11=L$(()=>c.createElementVNode("span",null,"-",-1)),V11={class:"AVOption--realtime-results"},M11=L$(()=>c.createElementVNode("span",null,"-",-1)),C11={key:0,class:"AVOption--children"},g11=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}=b$(),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(P=>S[P]=P+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"),P=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,a11),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",n11,[c.createElementVNode("header",i11,[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,l11)):c.createCommentVNode("",!0),c.createElementVNode("h5",{class:"AVOption--title",textContent:c.toDisplayString(p.value)},null,8,s11)]),V.value||M.value.length||v.value||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",r11,[V.value?(c.openBlock(),c.createElementBlock("div",o11,[c.createElementVNode("p",{innerHTML:V.value},null,8,f11)])):c.createCommentVNode("",!0),M.value.length>0||e.option.candidateId?(c.openBlock(),c.createElementBlock("div",u11,[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,m11))),128))])):c.createCommentVNode("",!0),b1&&v.value?(c.openBlock(),c.createElementBlock("div",d11,[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,v11)],8,p11),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",h11,[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},[z11,c.createElementVNode("span",null,c.toDisplayString(`${x.value.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)],14,t11)]),pane:c.withCtx(({toggleCollapse:z1})=>[v.value?(c.openBlock(),c.createElementBlock("div",C11,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(e.option.children,b1=>(c.openBlock(),c.createBlock(P,{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",V11,[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},[M11,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 A$=F(g11,[["__scopeId","data-v-785ef04b"]]),_$=e=>(c.pushScopeId("data-v-ee117d09"),e=e(),c.popScopeId(),e),H11=["aria-label"],b11={class:"AVBlankOption--header","aria-hidden":"true"},L11={class:"AVBlankOption--title"},A11={class:"AVBlankOption--checkbox"},_11={key:0,class:"AVBlankOption--realtime-results AVOption--realtime-results-internal"},N11=_$(()=>c.createElementVNode("span",null,"-",-1)),k11={key:0,class:"AVBlankOption--realtime-results"},x11=_$(()=>c.createElementVNode("span",null,"-",-1)),y11=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",b11,[c.createElementVNode("h5",L11,c.toDisplayString(c.unref(t)("js.components.AVBlankOption.title")),1),c.createElementVNode("div",A11,[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",_11,[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},[N11,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])],14,H11),!e.disabled&&e.partialResults&&!e.observerMode?(c.openBlock(),c.createElementBlock("div",k11,[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},[x11,c.createElementVNode("span",null,c.toDisplayString(`${e.partialResults.results.percentage}%`),1)],64)):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)],2)}}});const N$=F(y11,[["__scopeId","data-v-ee117d09"]]),S11=["aria-label"],w11={class:"AVWriteInOption--header"},E11={class:"AVWriteInOption--container"},T11={id:"option_writeIn",class:"AVWriteInOption--title"},B11={class:"AVWriteInOption--form-group"},I11=["aria-label","disabled"],D11={value:""},P11=["value","selected"],O11=["value","placeholder","aria-label","disabled"],F11=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",E11,[c.createElementVNode("div",T11,c.toDisplayString(c.unref(n)("js.components.AVWriteInOption.title")),1),c.createElementVNode("div",B11,[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",D11,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,P11))),128))],40,I11),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,O11)])]),c.createVNode(u,{class:"AVWriteInOption--checkbox",checked:e.checkedValue,"option-id":0,disabled:e.disabled||e.observerMode},null,8,["checked","disabled"])])],10,S11)}}});const k$=F(F11,[["__scopeId","data-v-f2bba574"]]),R11=e=>(c.pushScopeId("data-v-0ae555cc"),e=e(),c.popScopeId(),e),j11={class:"AVSubmissionHelper"},q11={key:1},$11=["textContent"],U11=R11(()=>c.createElementVNode("hr",{class:"AVSubmissionHelper--separator"},null,-1)),W11={key:2},G11={class:"AVSubmissionHelper--help"},J11={key:0},Z11={key:1},Y11=["innerHTML"],Q11={key:3},K11=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",j11,[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",q11,[(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,$11))),128)),U11])):c.createCommentVNode("",!0),e.maxMarks>1?(c.openBlock(),c.createElementBlock("div",W11,[c.createElementVNode("div",G11,[e.minMarks===e.maxMarks?(c.openBlock(),c.createElementBlock("div",J11,c.toDisplayString(`${c.unref(t)("js.components.AVSubmissionHelper.select_exactly",{min_marks:e.minMarks})}`),1)):(c.openBlock(),c.createElementBlock("div",Z11,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,Y11)):c.createCommentVNode("",!0)])])):(c.openBlock(),c.createElementBlock("div",Q11,[c.createElementVNode("div",null,c.toDisplayString(c.unref(t)("js.components.AVSubmissionHelper.select_single")),1)]))],2)]))}});const x$=F(K11,[["__scopeId","data-v-0ae555cc"]]);function X11(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 e21=["aria-label"],c21={class:"AVSearchBallot--form-group"},a21=["textContent"],t21={class:"AVSearchBallot--input-group"},n21=["placeholder"],i21={id:"ballot_searcher_results",class:"AVSearchBallot--results","aria-live":"polite","aria-label":"search-results"},l21=["aria-label"],s21={key:0,class:"AVSeachOptionBallot--ancestry"},r21={class:"AVSeachOptionBallot--breadcrumb"},o21=["id","aria-label","onClick"],f21=["textContent"],u21=["textContent"],m21=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}=b$(),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()===""?[]:X11(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",c21,[c.createElementVNode("label",{for:"ballot_search",class:"AVSearchBallot--label",textContent:c.toDisplayString(c.unref(t)("js.components.AVSearchBallot.search_the_ballot"))},null,8,a21),c.createElementVNode("div",t21,[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,n21),[[c.vModelText,s.value]])])]),c.createElementVNode("div",i21,[(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",s21,[c.createElementVNode("ul",r21,[(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,f21)],8,o21)],8,l21))),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,u21)):c.createCommentVNode("",!0)])],40,e21))}});const y$=F(m21,[["__scopeId","data-v-727c3aa7"]]),d21={class:"AVSplitWeightHelper"},p21={class:"AVSplitWeightHelper--box"},v21={class:"AVSplitWeightHelper--box"},h21={class:"AVSplitWeightHelper--box"},z21=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",d21,[c.createElementVNode("div",p21,[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",v21,[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",h21,[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 S$=F(z21,[["__scopeId","data-v-f145cdd2"]]),V21={class:"AVSplitWizardHeader"},M21={key:0,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},C21={key:1,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},g21={key:2,class:"AVSplitWizardHeader--text",style:{"font-weight":"400"}},H21=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",V21,[e.activeState==="ballot"?(c.openBlock(),c.createElementBlock("p",M21,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",C21,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",g21,c.toDisplayString(c.unref(t)("js.components.AVSplitWizardHeader.overview.header")),1)),(e.activeState,c.createCommentVNode("",!0))])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My4zOTQsMy4zMTggOC4wOTgsNC45NzggMTQuMTE1LDQuOTc4YzMuNzcxLDAgNy40MDgsLTAuNzU1IDEwLjkwOSwtMi4yNjRsLTIuNTg3LC02LjIzNGMtMi42ODMsMS4zNDEgLTUuNDcyLDIuMDExIC04LjM3MywyLjAxMWMtMy4zNjgsMCAtNi4wNjcsLTEuMTMxIC04LjA5MywtMy4zOTRjLTIuMDMsLTIuMjYyIC0zLjA0MSwtNS4zMDMgLTMuMDQxLC05LjEyNGMwLC0zLjk5MSAwLjgxNSwtNy4wMzcgMi40NDksLTkuMTM5YzEuNjM2LC0yLjEwMyA0LjAxMSwtMy4xNTYgNy4xMjgsLTMuMTU2YzEuNjI0LDAgMy4yNzUsMC4xNjggNC45NTIsMC41MDNsMCw3LjY2OWwtNi45NjMsMGwwLDYuNDg1eiIvPgogICA8L2c+CiAgPC9nPgogPC9nPgo8L3N2Zz4=",L21=e=>(c.pushScopeId("data-v-1a82d440"),e=e(),c.popScopeId(),e),A21=L21(()=>c.createElementVNode("span",{class:"AVFooter--text"},"Technology by",-1)),_21=["src"],N21=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}])},[A21,c.createElementVNode("img",{src:c.unref(b21),alt:"Assembly Voting",class:"AVFooter--img"},null,8,_21)],2))],2)}}});const E$=F(N21,[["__scopeId","data-v-1a82d440"]]);var k21={},x21={class:"AVSidebar"};function y21(e,a){return c.openBlock(),c.createElementBlock("nav",x21,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const T$=F(k21,[["render",y21],["__scopeId","data-v-65e0965f"]]);var S21={},w21={class:"AVNavbar"};function E21(e,a){return c.openBlock(),c.createElementBlock("nav",w21,[c.renderSlot(e.$slots,"default",{},void 0,!0)])}const B$=F(S21,[["render",E21],["__scopeId","data-v-3ea1799f"]]);var T21={},B21={class:"AVContent"},I21={class:"AVContent--sidebar","data-test":"sidebar"},D21={class:"AVContent--container","data-test":"container"};function P21(e,a){return c.openBlock(),c.createElementBlock("main",B21,[c.createElementVNode("div",I21,[c.renderSlot(e.$slots,"sidebar",{},void 0,!0)]),c.createElementVNode("div",D21,[c.renderSlot(e.$slots,"content",{},void 0,!0)])])}const I$=F(T21,[["render",P21],["__scopeId","data-v-1923eca8"]]),O21=["aria-labelledby"],F21=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,O21),[[c.vShow,e.modalActive]])]),_:3}))}});const D$=F(F21,[["__scopeId","data-v-ef5af7c2"]]);var M4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},$t={},R21=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($t,"__esModule",{value:!0});var j21=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?R21([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}(),P$=$t.default=j21,O$={};Object.defineProperty(O$,"__esModule",{value:!0});var q21=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}(),$21=O$.default=q21;const U21=e=>(c.pushScopeId("data-v-21030ff1"),e=e(),c.popScopeId(),e),W21=["aria-label","aria-describedby"],G21=["id"],J21=U21(()=>c.createElementVNode("hr",{class:"AVBallot--separator"},null,-1)),Z21=["aria-label"],Y21=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 P$(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 $21(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,G21)):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),J21,c.createElementVNode("div",{id:"ballot_options",class:c.normalizeClass({"AVBallot--options":!0,"AVBallot--options-with-list":e.contest.options.some(P=>P.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,P=>(c.openBlock(),c.createElementBlock(c.Fragment,{key:P.reference},[P.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:P,invalid:!g.value,"exclusive-error":!M.value&&P.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(P=>P.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,Z21),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,W21)}}});const F$=F(Y21,[["__scopeId","data-v-21030ff1"]]),Q21=e=>(c.pushScopeId("data-v-71101cba"),e=e(),c.popScopeId(),e),K21={key:0,class:"AVPileSummary--summary"},X21={key:0,class:"AVPileSummary--summary-header"},e31={class:"AVPileSummary--summary-header-text"},c31={key:1,class:"AVPileSummary--summary-header"},a31={class:"AVPileSummary--summary-body"},t31={key:1,class:"AVPileSummary--assign"},n31={class:"AVPileSummary--assign-card"},i31=["aria-label"],l31={class:"AVPileSummary--edit"},s31={key:0},r31={class:"AVPileSummary--assign-body"},o31={key:0,class:"AVPileSummary--assign-text"},f31=Q21(()=>c.createElementVNode("br",null,null,-1)),u31=["aria-label"],m31=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",K21,[e.contest.markingType.maxPiles!==1?(c.openBlock(),c.createElementBlock("header",X21,[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",e31,c.toDisplayString(e.selectionPile.multiplier)+" "+c.toDisplayString(c.unref(n)("js.components.AVPileSummary.ballots")),1)])):(c.openBlock(),c.createElementBlock("header",c31,[c.createElementVNode("span",null,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.selection")),1)])),c.createElementVNode("div",a31,[(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",t31,[c.createElementVNode("div",n31,[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",l31,[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",s31,c.toDisplayString(c.unref(n)("js.components.AVPileSummary.assigned"))+" "+c.toDisplayString(e.selectionPile.multiplier),1)):c.createCommentVNode("",!0)],8,i31),c.createElementVNode("div",r31,[f.value?(c.openBlock(),c.createElementBlock("p",o31,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),f31,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,u31)):c.createCommentVNode("",!0)]))}}});const R$=F(m31,[["__scopeId","data-v-71101cba"]]);var j$={},bi=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(j$,"__esModule",{value:!0});var d31=$t,p31=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 d31.default(this.contest);return a.piles.forEach(function(i){t=bi(bi([],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}(),v31=j$.default=p31;const h31={class:"AVSplitHelper--title","aria-live":"polite"},z31=["innerHTML"],V31={class:"AVSplitHelper--footer"},M31={class:"AVSplitHelper--btn-secondary-container"},C31={class:"AVSplitHelper--btn-primary-container"},g31=["disabled"],H31={key:1},b31={class:"AVSplitHelper--assign-card"},L31={class:"AVSplitHelper--assign-question"},A31=["for"],_31=["id","max"],N31={class:"AVSplitHelper--footer"},k31={class:"AVSplitHelper--btn-secondary-container"},x31={class:"AVSplitHelper--btn-primary-container"},y31=["disabled"],S31={key:2},w31={key:0,class:"AVSplitHelper--overview-success"},E31={key:1,class:"AVSplitHelper--overview-default"},T31={class:"AVSplitHelper--overview--text"},B31=["disabled"],I31=["onClick"],D31=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((P,Q)=>P-Q.multiplier,l.weight)}),p=c.computed(()=>new P$(l.contest)),V=c.computed(()=>new v31({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((P,Q)=>P+Q.multiplier,0)}),L=c.computed(()=>{var I;return(I=o.value)==null?void 0:I.multiplier}),M=c.computed(()=>u.value.filter((I,P)=>P!==r.value).reduce((I,P)=>I-P.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,P)=>{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",h31,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,z31),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":P[0]||(P[0]=C1=>S(C1))},null,8,["selection-pile","partial-results","contest","weight","includeLazyErrors","show-submission-helper","image-option"]),c.createElementVNode("div",V31,[c.createElementVNode("div",M31,[u.value.length>0?(c.openBlock(),c.createElementBlock("button",{key:"back",class:"AVSplitHelper--btn-secondary",onClick:P[1]||(P[1]=C1=>f.value="overview")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.ballot.back_button")),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",C31,[c.createElementVNode("button",{key:"assign",class:"AVSplitHelper--btn-primary",disabled:!b(o.value)||_(o.value),onClick:P[2]||(P[2]=C1=>f.value="assign")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.ballot.confirm_button")),9,g31)])])])):f.value==="assign"?(c.openBlock(),c.createElementBlock("div",H31,[c.createElementVNode("div",b31,[c.createElementVNode("h4",L31,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:P[3]||(P[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,A31),c.withDirectives(c.createElementVNode("input",{id:`${e.contest.reference}-ballot-selector`,"onUpdate:modelValue":P[4]||(P[4]=C1=>o.value.multiplier=C1),class:"AVSplitHelper--assign-input",type:"number",max:M.value},null,8,_31),[[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",N31,[c.createElementVNode("div",k31,[c.createElementVNode("button",{key:"ballot",class:"AVSplitHelper--btn-secondary",onClick:P[5]||(P[5]=C1=>f.value="ballot")},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.assign.back_button")),1)]),c.createElementVNode("div",x31,[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:P[6]||(P[6]=C1=>N())},c.toDisplayString(c.unref(n)("js.components.AVSplitHelper.assign.confirm_button")),9,y31)])])])):f.value==="overview"?(c.openBlock(),c.createElementBlock("div",S31,[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",E31,[c.createElementVNode("p",T31,[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,B31)])),(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,I31))),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":P[7]||(P[7]=w1=>S(w1)),onViewCandidate:q},null,8,["selection-pile","partial-results","includeLazyErrors","contest","weight","image-option","show-submission-helper"]))],64)}}});const q$=F(D31,[["__scopeId","data-v-1c359a5f"]]),P31="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gKwSUNDX1BST0ZJTEUAAQEAAAKgbGNtcwRAAABtbnRyUkdCIFhZWiAH6AAEAAMACAAzABRhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1kZXNjAAABIAAAAEBjcHJ0AAABYAAAADZ3dHB0AAABmAAAABRjaGFkAAABrAAAACxyWFlaAAAB2AAAABRiWFlaAAAB7AAAABRnWFlaAAACAAAAABRyVFJDAAACFAAAACBnVFJDAAACFAAAACBiVFJDAAACFAAAACBjaHJtAAACNAAAACRkbW5kAAACWAAAACRkbWRkAAACfAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACQAAAAcAEcASQBNAFAAIABiAHUAaQBsAHQALQBpAG4AIABzAFIARwBCbWx1YwAAAAAAAAABAAAADGVuVVMAAAAaAAAAHABQAHUAYgBsAGkAYwAgAEQAbwBtAGEAaQBuAABYWVogAAAAAAAA9tYAAQAAAADTLXNmMzIAAAAAAAEMQgAABd7///MlAAAHkwAA/ZD///uh///9ogAAA9wAAMBuWFlaIAAAAAAAAG+gAAA49QAAA5BYWVogAAAAAAAAJJ8AAA+EAAC2xFhZWiAAAAAAAABilwAAt4cAABjZcGFyYQAAAAAAAwAAAAJmZgAA8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ahp9YSmFAe8bQath21E6CjQMMFNlQ5Lt+MN9oRs11l3+QxoK4DMOLbYAPRCeKmC4V5kapbqxXpRGg3Zo6qxsD6LYOhXr/oyF7HTjaocQPyLvpU90tDfCoBDdefKCicg05EG/wAYf8WAu0La7AwNF8IWGhI7Z9TcTW6L9CJ8SHaMtq3tcszR1uIi7v8ACMJ9hpCuztAbE4TMrhisT6xC6aHyJZQh3KObtZbrIfS/wHUzJwXIuFa9gy/IAgO++D5LgeLVVZwCnEUtrmLcYsj8/juoo5g1mqBNAyPcghtJClgApFLaaLttTe7geuuwu58XBuX6rhuGyRVTAFbYLjLbsbt72eNYI2gkRTovGRoAOkd6iAcl+p1H8g0+g1AEQBJ+UMGJQItSnnPmnaETA4ZshdbdushcH03hVXl/JLAZVj9LkQRpZ86uDoCM2W1HVUNXHRbhwOTff883ACOlqH+eNBpAR7kwZ3VXAU46hDyHLCZtCtlgMBOT0dpkArcOUnWs9ouq0Tqi2IfxAStC5/8AeYrX883B0GHrK7wWLVWcQQynMjbuOpjkunMo+snSZRku+HYpmDf3OoxYvczjH5R2FeJU9U1FtTta12PsMeyi1YsJm+K+cOrspzDx1rBiIFpRpppLM/cqFdQu2bHIT4Ye5KmMHTt7SCy1bLAMBiDPNX0w9X7lB5NMAtWNkEDm7+p5ly7I79o0jBMTOks7LHmAXGHpCxPH2hm53lsw6IpCuG+LqOvadIbazn00v+x8sZ2U83f7ItCuAnJQT2Zt8r8e2JAmG+GphGWZUqfYWwbpqFdWkSAKb7159tuUl7pX8hs8pp9P/9k=",O31={key:0,class:"AVResourceSection--image-container"},F31=["src","alt"],R31={class:"AVResourceFields"},j31={key:0,class:"AVResourceFields--title"},q31={key:1,class:"AVResourceFields--subtitle"},$31={key:2,class:"AVResourceFields--group-container"},U31={class:"AVResourceFields--group"},W31={key:1,class:"AVResourceFields--divisor"},G31={key:2,class:"AVResourceFields--link-list"},J31={key:0},Z31={key:3},Y31={key:4},Q31={key:0},K31={key:5},X31=["src"],e41=["innerHTML"],c41={key:7,class:"AVResourceFields--regular-content"},a41={key:0},t41=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)||P31});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",O31,[c.createElementVNode("img",{src:d.value,alt:c.unref(t)("js.components.AVResourceSection.alt_candidate"),class:"AVResourceSection--image"},null,8,F31)])):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass(e.summary?"AVResourceSection--fields-container":"AVResourceSection--generic-container")},[c.createElementVNode("div",R31,[e.summary&&l.value?(c.openBlock(),c.createElementBlock("h4",j31,c.toDisplayString(l.value),1)):c.createCommentVNode("",!0),e.summary&&s.value?(c.openBlock(),c.createElementBlock("h5",q31,c.toDisplayString(s.value),1)):c.createCommentVNode("",!0),e.summary&&e.candidate.groups&&!e.card?(c.openBlock(),c.createElementBlock("div",$31,[c.createElementVNode("h4",U31,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",W31)):c.createCommentVNode("",!0),M.item_type==="link_list"&&m(M)?(c.openBlock(),c.createElementBlock("div",G31,[e.summary?(c.openBlock(),c.createElementBlock("span",J31,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",Z31,[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",Y31,[e.summary?(c.openBlock(),c.createElementBlock("span",Q31,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",K31,[c.createElementVNode("iframe",{style:{width:"100%",height:"100%","min-height":"400px"},src:M.form_content.toString()},null,8,X31)])):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,e41)):M.item_type!=="rich_text_area"&&M.item_type!=="check_box"?(c.openBlock(),c.createElementBlock("p",c41,[e.summary?(c.openBlock(),c.createElementBlock("span",a41,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 $$=F(t41,[["__scopeId","data-v-4d5da116"]]);var n41={},i41=c.createElementVNode("a",{href:"#"},"LOGO",-1),l41={class:"flex items-center"},s41={class:"flex flex-col items-center justify-center p-3 w-full"},r41=c.createElementVNode("h2",{class:"mb-4"},"Election Name",-1),o41=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 f41(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[i41,c.createElementVNode("div",l41,[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",s41,[r41,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[o41]}),_:1}),c.createVNode(d)],64)}const U$=F(n41,[["render",f41]]);var u41={},m41=c.createElementVNode("a",{href:"#"},"LOGO",-1),d41={class:"flex items-center"},p41={class:"flex flex-col items-center justify-center p-3 w-full"},v41=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),z41=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 V41(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",d41,[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",p41,[v41,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,z41]}),_:1}),c.createVNode(d)],64)}const W$=F(u41,[["render",V41]]);var M41={},C41=c.createElementVNode("a",{href:"#"},"LOGO",-1),g41={class:"flex items-center"},H41=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 b41(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[C41,c.createElementVNode("div",g41,[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[H41]}),_: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 G$=F(M41,[["render",b41]]),k6=e=>(c.pushScopeId("data-v-20fc858f"),e=e(),c.popScopeId(),e),L41=k6(()=>c.createElementVNode("a",{href:"#"},"LOGO",-1)),A41={class:"flex items-center"},_41={href:"/new"},N41=k6(()=>c.createElementVNode("div",{class:"new-election-title-container"},[c.createElementVNode("span",{class:"new-election-title","data-test":"title"},"Create new election")],-1)),k41={class:"new-election-button"},x41={key:0,class:"no-elections-container"},y41=k6(()=>c.createElementVNode("span",{class:"no-elections-title","data-test":"title"},"Your dashboard is empty",-1)),S41=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(()=>[L41,c.createElementVNode("div",A41,[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",_41,[c.createVNode(f,{variant:"rounded",role:"button"},{default:c.withCtx(()=>[N41,c.createElementVNode("div",k41,[c.createVNode(o,{icon:"fa-solid fa-circle-plus",class:"new-election-icon"})])]),_:1})]),a.length===0?(c.openBlock(),c.createElementBlock("div",x41,[c.createVNode(o,{icon:"fa-solid fa-folder-open",class:"no-elections-icon"}),y41,S41])):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 J$=F(w41,[["__scopeId","data-v-20fc858f"]]),E41={install:function(e,a){a===void 0&&(a=null),e.use(qJ),e.component("AVIcon",Bq),e.component("AVButton",Iq),e.component("AVSpinner",Dq),e.component("AVBullet",V4),e.component("AVTextInput",Pq),e.component("AVNumberInput",Oq),e.component("AVPasswordInput",Fq),e.component("AVDatetimeInput",Rq),e.component("AVTextArea",jq),e.component("AVCard",$q),e.component("AVRoundButton",Uq),e.component("AVLabel",qq),e.component("AVDropdown",Wq),e.component("AVDropdownContent",Gq),e.component("AVDropdownItem",Jq),e.component("AVAlert",Zq),e.component("AVFileInput",Yq),e.component("AVRadio",Qq),e.component("AVLink",Kq),e.component("AVNavbarItem",Xq),e.component("AVSidebarItem",e$),e.component("AVTooltip",c$),e.component("AVMenuDropdown",a$),e.component("AVMenuDropdownContent",t$),e.component("AVMenuDropdownItem",n$),e.component("AVAsyncButton",i$),e.component("AVTabSwitcher",l$),e.component("AVBallotSummary",s$),e.component("AVTimedCard",r$),e.component("AVBasicSteps",o$),e.component("AVSteps",f$),e.component("AVOptionSelect",m$),e.component("AVOptionCheckbox",d$),e.component("AVTransitionSlide",p$),e.component("AVCollapser",v$),e.component("AVLinkVisualizer",h$),e.component("AVRadioGroup",z$),e.component("AVNavigationItemList",V$),e.component("AVBreadcrumb",M$),e.component("AVElectionCard",C$),e.component("AVBallotStyleCard",g$),e.component("AVSummaryOption",H$),e.component("AVOption",A$),e.component("AVBlankOption",N$),e.component("AVWriteInOption",k$),e.component("AVSubmissionHelper",x$),e.component("AVSearchBallot",y$),e.component("AVSplitWeightHelper",S$),e.component("AVSplitWizardHeader",w$),e.component("AVFooter",E$),e.component("AVSidebar",T$),e.component("AVNavbar",B$),e.component("AVContent",I$),e.component("AVModal",D$),e.component("AVBallot",F$),e.component("AVPileSummary",R$),e.component("AVSplitHelper",q$),e.component("AVResourceSection",$$),e.component("OneColumnLayout",U$),e.component("TwoColumnsLayout",W$),e.component("NoSidebarLayout",G$),e.component("ElectionDashboardLayout",J$),e.provide("i18n",a||sl),e.provide("iconNames",Ij)}};exports.AVAlert=Zq;exports.AVAsyncButton=i$;exports.AVBallot=F$;exports.AVBallotStyleCard=g$;exports.AVBallotSummary=s$;exports.AVBasicSteps=o$;exports.AVBlankOption=N$;exports.AVBreadcrumb=M$;exports.AVBullet=V4;exports.AVButton=Iq;exports.AVCard=$q;exports.AVCollapser=v$;exports.AVContent=I$;exports.AVDatetimeInput=Rq;exports.AVDropdown=Wq;exports.AVDropdownContent=Gq;exports.AVDropdownItem=Jq;exports.AVElectionCard=C$;exports.AVFileInput=Yq;exports.AVFooter=E$;exports.AVIcon=Bq;exports.AVLabel=qq;exports.AVLink=Kq;exports.AVLinkVisualizer=h$;exports.AVMenuDropdown=a$;exports.AVMenuDropdownContent=t$;exports.AVMenuDropdownItem=n$;exports.AVModal=D$;exports.AVNavbar=B$;exports.AVNavbarItem=Xq;exports.AVNavigationItemList=V$;exports.AVNumberInput=Oq;exports.AVOption=A$;exports.AVOptionCheckbox=d$;exports.AVOptionSelect=m$;exports.AVPasswordInput=Fq;exports.AVPileSummary=R$;exports.AVRadio=Qq;exports.AVRadioGroup=z$;exports.AVResourceSection=$$;exports.AVRoundButton=Uq;exports.AVSearchBallot=y$;exports.AVSidebar=T$;exports.AVSidebarItem=e$;exports.AVSpinner=Dq;exports.AVSplitHelper=q$;exports.AVSplitWeightHelper=S$;exports.AVSplitWizardHeader=w$;exports.AVSteps=f$;exports.AVSubmissionHelper=x$;exports.AVSummaryOption=H$;exports.AVTabSwitcher=l$;exports.AVTextArea=jq;exports.AVTextInput=Pq;exports.AVTimedCard=r$;exports.AVTooltip=c$;exports.AVTransitionSlide=p$;exports.AVWriteInOption=k$;exports.ElectionDashboardLayout=J$;exports.NoSidebarLayout=G$;exports.OneColumnLayout=U$;exports.TwoColumnsLayout=W$;exports.default=E41;exports.iconNames=Ij;