1import{_ as x}from"./C0Tv1wor.js";import{n as m,c as g,b as i,o as a,f as t,d as _,g as p,h as $,e as r,t as c,_ as w,F as R,r as M,H as u,v as S,ae as q,C as T,p as k,B as L}from"./DfuXkDQJ.js";import"./08Xw8I1s.js";import"./BV9229tB.js";import"./Dq9I6B65.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"6b6598032020d18024aec67347c1b97ad65b0e2c"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7ae01459-fc3a-47bb-99d0-d4a40d3abdb7",e._sentryDebugIdIdentifier="sentry-dbid-7ae01459-fc3a-47bb-99d0-d4a40d3abdb7")})()}catch{}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=(function(n){for(var d=1;d<arguments.length;d++){var s=arguments[d];if(s!=null)for(var o in s)s.hasOwnProperty(o)&&(n[o]=s[o])}return n})({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:bokabord.se":!0})}catch{}})();const B={class:"w-full bg-mist rounded p-4 md:p-6"},H={class:"grid gap-8 text-center"},E={class:"grid gap-1"},D=["innerHTML"],I=["innerHTML"],C={key:0,class:"text-sm"},N=["href"],F={__name:"ResReqSummary",setup(e){const n=m(),d=g(()=>`https://id.bokabord.se/forfragningar/${n.query?.id}`);return(s,o)=>{const l=$;return a(),i("div",B,[t("div",H,[t("div",E,[p(l,{name:"circle-check",class:"text-2xl lg:text-4xl mb-2 text-green-600"}),t("h2",{class:"font-bold text-2xl md:text-3xl",innerHTML:s.$t("resReq.summary.heading")},null,8,D),t("p",{class:"text-sm",innerHTML:s.$t("resReq.summary.leading")},null,8,I)]),r(n).query?.id?(a(),i("div",C,[t("a",{class:"button-coral",href:r(d)},c(s.$t("resReq.summary.button")),9,N)])):_("",!0)])])}}},A={class:"grid gap-4"},P=["innerHTML"],V={class:"grid gap-1"},j={class:"flex gap-4"},z={class:"relative w-6"},K={class:"text-sm font-bold flex items-center justify-center h-full w-full"},O={class:"grid gap-0.5"},U={class:"font-bold"},Y={class:"text-sm"},f=3,G={__name:"ResReqStepByStep",props:{activeStep:{type:Number,default:1}},setup(e){return(n,d)=>(a(),i("div",A,[t("h2",{class:"font-bold text-xl",innerHTML:n.$t("resReq.stepByStep.heading")},null,8,P),t("div",V,[(a(),i(R,null,M(f,(s,o)=>t("div",{key:o,class:u(["overflow-hidden",{"pb-4":s!==f}])},[t("div",j,[t("div",z,[t("div",{class:u(["w-6 h-6 rounded-full border-2",{"bg-ocean text-white":s===e.activeStep,"border-ocean":s<=e.activeStep}])},[t("div",K,c(s),1)],2),f>s?(a(),i("div",{key:0,class:u(["absolute left-1/2 -ml-px top-7 w-0.5 h-full bg-gray-200",{"bg-ocean":s<e.activeStep}])},null,2)):_("",!0)]),t("div",O,[t("p",U,c(n.$t(`resReq.stepByStep.steps.${o}.heading`)),1),t("p",Y,c(n.$t(`resReq.stepByStep.steps.${o}.leading`)),1)])])],2)),64))])]))}},J=w(G,[["__scopeId","data-v-9181fcb5"]]),Q={class:"w-full max-w-7xl mx-auto px-[4vw] pb-12"},W={class:"mt-2 lg:mt-8"},X={class:"grid gap-8 lg:flex lg:items-start mx-auto"},Z={class:"grid gap-8"},ee={key:0,class:"grid gap-4 bg-mist rounded p-4 md:p-6"},te={class:"grid gap-1"},se=["innerHTML"],ne=["innerHTML"],ce={__name:"index",setup(e){const n=m(),d=S(),s=g(()=>!!n.query?.id),o=q(d.city?.name);return(l,oe)=>{const h=x,b=F,y=J,v=L("auto-animate");return a(),i("div",Q,[t("div",W,[T((a(),i("div",X,[t("div",Z,[r(s)?_("",!0):(a(),i("div",ee,[t("div",te,[t("h1",{class:"font-heading font-medium text-2xl md:text-3xl lg:text-4xl",innerHTML:l.$t("resReq.form.heading")},null,8,se),t("p",{class:"text-sm",innerHTML:l.$t("resReq.form.description",{prefixedCity:r(o)})},null,8,ne)]),p(h)])),r(s)?(a(),k(b,{key:1})):_("",!0)]),p(y,{"active-step":r(s)?2:1},null,8,["active-step"])])),[[v]])])])}}};export{ce as default}; 2//# sourceMappingURL=YmbHhBWk.js.map
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.