PageSourceSearch

https://www.altinget.dk/_nuxt/CnRjJ3F4.js

js altinget.dk collected 2026-09-24 08:44:51 UTC 1,873 bytes, 1 lines download raw bytes

1import{_ as f}from"./WxE1aBaE.js";import{_ as g}from"./CevD0NXh.js";import{d as _,K as b,g as y,m as i,J as w,z as S,n as h,y as E,h as v,G as L,H as x,o as l,C as A,t as T,p as V,A as I}from"./Bg2-pFoz.js";import{A as N}from"./EV5YWbaW.js";import{g as O}from"./Ahp_DBOs.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:"4acf542fb7903612aa6d189326669db9e9abf052"};var o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="0908df7e-358e-4544-8335-df2a34122ca4",e._sentryDebugIdIdentifier="sentry-dbid-0908df7e-358e-4544-8335-df2a34122ca4")}catch{}})();const R=["value"],k=_({__name:"SSOLogin",props:{email:{},returnToFrontPageAfterLogin:{type:Boolean}},emits:["update:email"],setup(e,{emit:o}){const r=e,s=b(),m=o,a=V(void 0);async function u(){const t=await s.$api.user.getSsoProvider({email:r.email});if(!t){a.value={type:N.ERROR,message:s.$t("sso.notSSOEmail")};return}const n=r.returnToFrontPageAfterLogin?
1window.location.origin:window.location.href;await I(O(t,window.location.origin,n),{external:!0})}return(t,n)=>{const d=f,p=g;return l(),y("form",{class:"w-64 ml-auto mr-auto grid gap-4",onSubmit:x(u,["prevent"])},[i(a)?(l(),w(d,{key:0,type:i(a).type},{default:S(()=>[A(T(i(a).message),1)]),_:1},8,["type"])):h("",!0),E(p,{ref:"emailinput",modelValue:e.email,type:"email",placeholder:t.$t("Email"),errorLabel:t.$t("Email"),"onUpdate:modelValue":n[0]||(n[0]=c=>m("update:email",c)),autocomplete:"email",required:""},null,8,["modelValue","placeholder","errorLabel"]),v("input",{type:"submit",class:L(["cursor-pointer py-3 px-4 text-white article-label !font-medium w-full","rounded-full bg-blue hover:bg-denimblue"]),value:t.$t("sso.loginWithSSO")},null,8,R)],32)}}}),F=Object.assign(k,{__name:"LoginSSOLogin"});export{F as _};

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.