Hvornår er det tidligst muligt at indgive ansøgning om folkepension
. This can be changed by website integrator - replace lines "Child" with other hierarchy location. / Implementation / var chatbotUrl = ""; var xhr = new XMLHttpRequest(); var failoverTried = false; var chatbotLoaded = false; var currentHost = (()); var backendHosts = [ "", "", ]; ystatechange = function () { if (tate == 4 && == && idth > ) { / Load config / var config = seText ? (seText) : {}; var presentationMode = tationMode !== undefined ? tationMode : 3; / Add dynamic styles / var h = mentsByTagName('head')[0]; var l = Element('link'); = 'text/css'; = 'stylesheet'; = chatbotUrl + "/stylesheets/"; var chatbotStyle = Element('style'); if (municipalityCode && municipalityCode > && municipalityCode < ) { TML = ":before { background-image: url(" + chatbotUrl + "/images/avatar/customization/" + municipalityCode + "); }"; } else { TML = ":before { background-image: url(" + chatbotUrl + "/images/avatar/customization/); }"; } if (chatBubbleBackgroundColor && chatBubbleTextColor) { TML += " .text-bubble { background: " + chatBubbleBackgroundColor + " !important; color: " + chatBubbleTextColor + " !important; } .text-bubble:after { border-left-color: " + chatBubbleBackgroundColor + " !important; }" } // Explicitly move the chatbot elements 30 pixels to the left TML += ` chatbot-container { right: calc(2em + 30px) !important; } chatbot-container-shadow { right: calc(2em + 30px) !important; } .text-bubble { right: calc(11em + 30px) !important; } `; Child(chatbotStyle); Child(l); / Create elements / var chatbotShadow = Element('div'); = "chatbot-container-shadow"; ("round"); var chatbotContainer = Element('div'); = "chatbot-container"; ("round"); if (presentationMode == 1 || presentationMode == 3) { ("jump"); } ribute("role", "region"); ribute("tabindex", chatbotTabIndex); ribute("aria-label", "Stiller du dig undrende, kan du afprøve vores chatbot-løsning"); own = function (e) { if ( === " " || === "Enter" || === "Spacebar") { toggleChatbot(e); } }; k = function (e) { toggleChatbot(e); }; var chatbotCloseBtn = Element('div'); = "x"; ("hidden"); ribute("role", "button"); ribute("tabindex", "0"); ribute("aria-label", "Afslut robotdialogboksen"); own = function (e) { if ( === " " || === "Enter" || === "Spacebar") { toggleChatbot(e); } }; k = function (e) { toggleChatbot(e); }; var chatbotContent = Element('div'); = "iframe"; ("hidden"); var iframe = Element('iframe'); ss = 'seamless'; order = "0"; = '%'; = '%'; = 'none'; = "innerFrame"; = "Stiller du dig undrende, kan du afprøve vores chatbot-løsning"; Child(iframe); Child(chatbotCloseBtn); Child(chatbotContent); Child(chatbotShadow); Child(chatbotContainer); if (presentationMode === 2 || presentationMode === 3) { var chatBubble = Element('div'); = "chatbot-bubble"; ("text-bubble"); (presentationMode !== 2 ? "text-bubble-in" : "text-bubble-in-fast"); ntent = tationMessage && tationMessage !== "" ? tationMessage : "Har du behov for bistand, så tøv ikke med at henvende dig!" Child(chatBubble); setTimeout(function () { (presentationMode !== 2 ? "text-bubble-in" : "text-bubble-in-fast"); ("text-bubble-out"); }, ); } function showChatbot() { if (!chatbotLoaded) { if (category !== "") { = chatbotUrl + "/?municipalityCode=" + municipalityCode + "&category=" + category + "&name=" + chatbotName } else { = chatbotUrl + "/?municipalityCode=" + municipalityCode + "&name=" + chatbotName; } chatbotLoaded = true; } ssage("initialize", ""); if (mentById("chatbot-bubble")) { mentById("chatbot-bubble")("hidden"); } mentById("chatbot-container").setAttribute("role", ""); mentById("chatbot-container-shadow")("hidden"); mentById("chatbot-container")("round"); mentById("chatbot-container")("jump"); mentById("chatbot-container")("square"); mentById("x")("hidden"); setTimeout(function () { mentById("iframe")("hidden"); }, ); } function hideChatbot() { mentById("chatbot-container").setAttribute("role", "button"); mentById("iframe")("hidden"); mentById("chatbot-container")("square"); mentById("chatbot-container")("round"); mentById("x")("hidden"); mentById("chatbot-container-shadow")("hidden"); } function toggleChatbot(event) { event = event || ; opagation(); var container = mentById("chatbot-container"); if (ns("round")) { if (idth < ) { = idth - 30 + "px"; } showChatbot() } else { = ""; hideChatbot() } } } else if (tate == 4 && !failoverTried && != ) { failoverTried = true; currentHost = currentHost ? 0 : 1; ("GET", backendHosts[currentHost] + "/api/maintenance/" + municipalityCode, true); (); } }; ("GET", backendHosts[currentHost] + "/api/maintenance/" + municipalityCode, true); (); function disableiOSDefaultTextFieldZoom() { // Are we running on iOS? if (!(/iPad|iPhone|iPod/.test(ent) && !am)) return; var viewportEl = elector('meta[name=viewport]'); if (viewportEl !== null) { var content = ribute('content'); var maxScaleRegex = /maximum\-scale=[\.]+/g; if ((content)) { content = e(maxScaleRegex, 'maximum-scale='); } else { content = [content, 'maximum-scale='].join(', ') } ribute('content', content); } } disableiOSDefaultTextFieldZoom(); -->