1import{r as h,j as e,C as b,u as p}from"./index-YNl15AGx.js";import{S as g}from"./SubpageLayout-nyD81z8X.js";import"./CookieBanner-BgUcRXHG.js";function f({items:s=[],multi:r=!1}){const[t,n]=h.useState([]);function o(i){n(r?l=>l.includes(i)?l.filter(c=>c!==i):[...l,i]:l=>l.includes(i)?[]:[i])}return e.jsx("div",{className:"divide-y divide-gray-200 border border-gray-200 rounded-mobill-sm overflow-hidden",children:s.map(i=>{const l=t.includes(i.id);return e.jsxs("div",{children:[e.jsxs("button",{type:"button",onClick:()=>o(i.id),"aria-expanded":l,"aria-controls":"accordion-panel-".concat(i.id),id:"accordion-header-".concat(i.id),className:"w-full flex items-center justify-between gap-4 px-5 py-4\n text-left font-semibold text-mobill-black bg-white hover:bg-gray-50\n transition-colors focus:outline-none focus-visible:ring-2\n focus-visible:ring-mobill-primary",children:[e.jsx("span",{children:i.title}),e.jsx(b,{size:18,"aria-hidden":"true",className:"shrink-0 text-mobill-primary transition-transform duration-200 ".concat(l?"rotate-180":"")})]}),e.jsx("div",{id:"accordion-panel-".concat(i.id),role:"region","aria-labelledby":"accordion-header-".concat(i.id),hidden:!l,className:"px-5 py-4 bg-white text-mobill-black text-sm leading-relaxed",children:typeof i.content=="string"?e.jsx("p",{children:i.content}):i.content})]},i.id)})})}const j=["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve"];function y({lang:s="sv",setLang:r}){const{t}=p(s),n=j.map((i,l)=>{const c="billogram.content.faq.accordion.item-header-".concat(i),x="billogram.content.faq.accordion.item-".concat(i),d={one:["item-one","item-two","item-three","item-four","item-five","item-six","item-seven"],two:["item-one"],three:["item-one","item-two"],four:["item-one","item-two","item-three","item-four","item-five","item-six"]};let a;return d[i]?a=e.jsxs("div",{children:[i==="four"&&e.jsxs(e.Fragment,{children:[e.jsx("p",{children:t("billogram.content.faq.accordion.item-four-text-one")}),e.jsx("p",{className:"font-medium mt-2",children:t("billogram.content.faq.accordion.item-four-text-two")})]}),i==="one"&&e.jsx("p",{children:t("billogram.content.faq.accordion.item-one.list.item-one")}),e.jsx("ul",{className:"list-disc list-inside space-y-1 mt-2",children:d[i].slice(i==="one"?1:0).map(m=>e.jsx("li",{children:t("billogram.content.faq.accordion.item-".concat(i,".list.").concat(m))},m))})]}):i==="twelve"?a=e.jsx("a",{href:"https://mobill.se",target:"_blank",rel:"noopener noreferrer",className:"text-mobill-teal underline text-sm",children:t("billogram.content.faq.accordion.item-twelve-link")}):a=t(x),{id:String(l+1),title:t(c),content:a}}),o=e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"bg-[#00aea6] text-white rounded-mobill-sm border border-black/10 shadow p-6",children:[e.jsx("h3",{className:"text-base font-bold text-white mb-3",children:t("park-page.my-pages.title")}),e.jsxs("ul",{className:"space-y-2 text-sm",children:[e.jsx("li",{children:e.jsx("a",{href:"/login",className:"text-white underline",children:t("park-page.my-pages.link.login")})}),e.jsx("li",{children:e.jsx("a",{href:"/registration",className:"text-white underline",children:t("park-page.my-pages.link.register")})}),e.jsx("li",{children:e.jsx("a",{href:"/reset-password",className:"text-white underline",children:t("park-page.my-pages.link.forgotten-password")})})]})]}),e.jsxs("div",{className:"bg-[#00aea6] text-white rounded-mobill-sm border border-black/10 shadow p-6",children:[e.jsx("h3",{className:"text-base font-bold text-white mb-2",children:t("billogram.content.questions.title")}),e.jsx("p",{className:"text-sm text-white/90 mb-2",children:t("billogram.content.questions.text")}),e.jsx("p",{className:"text-sm text-white",children:t("billogram.content.questions.text-mail")})]})]});return e.jsx(g,{lang:s,setLang:r,title:"Billogram",ctaText:t("home-page.download-app"),ctaHref:"/qr",sidebar:o,children:e.jsxs("div",{className:"space-y-8 text-mobill-black leading-relaxed",children:[e.jsxs("section",{children:[e.jsx("h1",{className:"text-2xl font-bold mb-4",children:t("billogram.content.app.title")}),e.jsx("p",{className:"mb-3",children:t("billogram.content.app.text.part-one")}),e.jsx("p",{className:"mb-3",children:t("billogram.content.app.text.part-two")}),e.jsx("ul",{className:"list-disc list-inside space-y-1 mb-3 pl-2",children:["item-one","item-two","item-three","item-four","item-five","
1item-six"].map(i=>e.jsx("li",{children:t("billogram.content.ul-one.".concat(i))},i))}),e.jsx("p",{children:t("billogram.content.app.text.part-three")})]}),e.jsxs("section",{children:[e.jsx("h2",{className:"text-xl font-bold mb-3",children:t("billogram.content.what.title")}),e.jsx("p",{className:"mb-4",children:t("billogram.content.what.text.part-zero")}),e.jsxs("p",{className:"mb-3",children:[e.jsx("strong",{children:t("billogram.content.what.text.title.part-one")}),e.jsx("br",{}),t("billogram.content.what.text.part-one")]}),e.jsxs("p",{className:"mb-3",children:[e.jsx("strong",{children:t("billogram.content.what.text.title-two")}),e.jsx("br",{}),t("billogram.content.what.text.part-two")]}),e.jsxs("p",{children:[e.jsx("strong",{children:t("billogram.content.what.text.title-three")}),e.jsx("br",{}),t("billogram.content.what.text.part-three")]})]}),e.jsxs("section",{children:[e.jsx("h2",{className:"text-xl font-bold mb-2",children:t("billogram.content.faq.title")}),e.jsx("p",{className:"text-gray-600 mb-4",children:t("billogram.content.faq.text")}),e.jsx(f,{items:n,multi:!0})]})]})})}export{y as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.