PageSourceSearch

https://www.enviam.de/ResourcePackages/rdVertrieb/MVC/Scripts/Common/common.bundle.min.js?v=1.8.28

js enviam.de collected 2026-10-02 14:50:17 UTC 16,295 bytes, 17 lines download raw bytes

1var ENV_WEBSTORAGE=function(){var n={auth:"",onlinekontoApp:"ngx-webstorage|"},t={accessToken:"access_token",onlinekontoUser:"online-konto-user",onlinekontoUserData:"online-konto-userdata",onlinekontoUserContracts:"online-konto-usercontracts"},i=function(n,t){return[n,t].join("")},r=function(){return i(n.auth,t.accessToken)},u=function(){return i(n.onlinekontoApp,t.onlinekontoUser)},f=function(){return i(n.onlinekontoApp,t.onlinekontoUserData)},e=function(){return i(n.onlinekontoApp,t.onlinekontoUserContracts)};return{keyPrefix:n,key:t,getKey:i,getAccessTokenKey:r,getOnlinekontoUserKey:u,getOnlinekontoUserDataKey:f,getOnlinekontoUserContractsKey:e}}(),OnlinekontoService=function(n){function i(){return n.getJSON(t+"customer?ts="+Date.now())}function r(){return n.getJSON(t+"contracts?app=ONLINEKONTO&ts="+Date.now())}function u(i,r,u){return n.getJSON(t+"contracts/"+i+"_"+r+"_"+u+"/reductionData?ts="+Date.now())}var t="/enviam.de~kko~frontend~rest~impl/api/";return{getCustomer:i,getContracts:r,getReductionData:function(n,t,i){return u(n,t,i)}}}(jQuery),DataLayerService=function(n,t){function f(){return t("title").text().trim()}function e(){return location.pathname}function o(){return document.referrer}function s(){return["www.enviam.de","www.mitgas.de"].indexOf(location.host.toLowerCase())>-1?"Live":"Webtest"}function h(){return"DE-de"}function c(){return location.pathname.split("/").filter(function(n){return!!n})}function l(){var t=sessionStorage.getItem(u),n=null;if(!!t)try{n=JSON.parse(t)}catch(i){n=null}return n}function a(n){var t=document.cookie.match("(^|;)\\s*"+n+"\\s*=\\s*([^;]+)");return t?t.pop():""}function v(){var n=a("dws01-level");return n==="1"?!1:n==="2"?!0:undefined}function y(){var n={};return t("[datalayer-page_load-extension]").each(function(i,r){var u=t(r).attr("data-key"),f=t(r).attr("data-value");u&&(n[u]=f)}),n}function p(n){let r=t.Deferred(),i={event:"page_load",eventData:y(),page:{pageID:e(),pageName:f(),referringURL:o(),sysEnv:s(),language:h(),breadCrumbs:c()},attributes:{applicationName:"",cookieConsent:v()}};if(n){var u=l();u&&(i=t.extend(i,{user:u}));r.resolve(i)}else r.resolve(i);return r.promise()}function w(n){p(n).then(function(n){i.push(n)})}function b(){}function k(n,t,r){i.push({event:n,eventCategory:t,eventAction:r})}function d(n){try{var t=JSON.parse(n);t.eventRoute=t.eventRoute||undefined;i.push(t)}catch(r){console.log(r)}}var i=n.dataLayer=n.dataLayer||[],g=n.OnlinekontoService,r=n.ENV_WEBSTORAGE,u=r.getOnlinekontoUserKey;return{pushPageInfo:function(n){w(n)},clearUserInfo:b,pushItem:k,pushJsonString:d}}(window,jQuery),COMMON=function(n,t){"use strict";function u(){DataLayerService.pushItem("click","logout","click logout")}function f(){sessionStorage.getItem("online-konto-feedback")==="true"&&(sessionStorage.removeItem("online-konto-feedback"),e())}function e(){var i=n("#feedback-config").attr("data-easyfeedback-url"),t;i&&ENV_UC_SERVICE.getEasyFeedbackConsentState()&&(t=document.createElement("script"),t.setAttribute("src",i),document.body.append(t))}function o(t){var i="enviam-app-info-"+t;n("#enviaM-app-info-modal").length>0&&!localStorage.getItem(i)&&(localStorage.setItem(i,!0),setTimeout(s,1e3))}function s(){n("#enviaM-app-info-modal").toggle()}function h(){var t=n.Deferred();return t.resolve(!1),t.promise()}function i(){var i=r(),t=n.Deferred();return t.resolve(i?{isAuthenticated:!0}:{isAuthenticated:!1}),t.promise()}function c(t){var i=n(t.currentTarget).attr("data-layer-entry");i&&DataLayerService.pushJsonString(i)}function l(){DataLayerService.pushJsonString(JSON.stringify({event:"Load",eventAction:"Load",eventData:null}))}function a(){n("[data-layer-load][data-layer-entry]").each(function(n,t){var i=t.getAttribute("data-layer-entry");i&&DataLayerService.pushJsonString(i)})}function v(t){var i=n(t.currentTarget).attr("data-layer-entry");i&&DataLayerService.pushJsonString(i)}function y(){var n=r();n?n.name&&p()&&o(n.name):window.ENV_UC_SERVICE&&ENV_UC_SERVICE.runAfterUcIsInitialized(f)}function r(){var n=sessionStorage.getItem(t.getAccessTokenKey());try{if(n){var i=n.split(".")[1],r=i.replace(/-/g,"+").replace(/_/g,"/"),u=decodeURIComponent(atob(r).split("").map(function(n){return"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(u)}}catch(f){console.log("error parse token")}return null}function p(){let n=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(n=!0)}(navigator.userAgent||navigator.vendor||window.opera),n}function w(){n("[data-textlink-container] a[href^='http']:not(.link)").addClass("link link--external");n("[data-textlink-container] a:not(.link)").addClass("link link--internal");n(document).on("click","[data-layer-click][data-layer-entry]",c);n(document).on("click","[data-layer-expand][data-layer-entry][aria-expanded='false']",v);l();a();n(document).on("APP-START-KKO",y);i().then(function(n){n.isAuthenticated?DataLayerService.pushPageInfo(!0):DataLayerService.pushPageInfo(!1)}).fail(function(){})}return n(document).ready(function(){w()}),{getMaintenanceMode:function(){return h()},getLogonState:function(){return i()},logout:function(){u()}}}(jQuery,ENV_WEBSTORAGE),Logger;(function(n){n(document).ready(function(){function t(){parent.postMessage("MoveDetected")}sessionStorage.getItem("kioskMode")==="on"&&(n(this).mousemove(t),n(this).mousemove(t),n(this).keypress(t),n(".horizontal-navigation--centered").css("display","none"),n("#main-header").css("display","none"),n("#off-screen-navigation").css("display","none"),n("#target-group-select").css("display","none"),n("#main-footer").children("[id^=FooterContentPlaceholder_]").css("display","none"),n("a[target]").removeAttr("target"),n("nav#breadcrumb").remove())})})(jQuery);var Util=function(){function n(n,t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var r=new RegExp("[\\?&]"+t+"=([^&#]*)"),i=r.exec(n);return i===null?"":decodeURIComponent(i[1].replace(/\+/g," "))}function t(n){window.addEventListener("message",function(t){var i=t.data,r;if(t.origin===location.origin&&typeof i=="string")try{r=JSON.parse(i);r.type==="scriptReady"&&n()}catch(t){}})}function i(n,t=3,i=1e3){function u(){try{n();console.log(`Action succeeded on attempt #${r+1}`)}catch(f){r++;console.warn(`Action failed. Attempt #${r}`);r<t?setTimeout(u,i):console.error(`Action failed after ${r} attempts`)}}let r=0;u()}function r(n,t){const i=n.match(/\d+/g).map(Number);return"rgb("+i.map(function(n){return Math.min(255,n+(255-n)*t/100)}).join(", ")+")"}function u(n){return new Promise(function(t,i){const r=document.createElement("script");r.src=n;r.defer=!0;r.type="text/javascript";r.onload=function(){t()};r.onerror=function(){i(new Error("Script load error for "+n))};document.body.appendChild(r)})}function f(){return("attachShadow"in Element.prototype)?!0:(console.warn("Shadow DOM wird nicht unterstützt."),!1)}function e(n,t,i,r,u,f){var e,o,s;return i=i||[],r=r||"",u=u||"open",f=f||"none",e=document.createElement("div"),e.id=n,e.className=t,e.style.display=f,document.body.insertBefore(e,document.body.firstChild),o=e.attachShadow({mode:u}),s=i.map(function(n){return'<link rel="stylesheet" href="'+n+'">'}).join("\n"),o.innerHTML=s+"\n"+r,o}function o(n){var t=document.getElementById(n);t&&(t.parentNode.removeChild(t),window.debug&&console.log("IFrame mit ID '"+n+"' wurde gelöscht."))}function h(n){var t=n===null||n===undefined?"":String(n);return t.replace(/[&<>"']/g,function(n){return s[n]})}var s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};return{getQueryParameter:n,runAfterScriptReady:t,retry:i,lightenColor:r,loadScript:u,checkShadowDom:f,createShadowDomHost:e,removeIframeById:o,htmlEncode:h}}(),ENV_UC_SERVICE=function(n){function t(){var i=n.dataLayer||[],t=i.filter(function(n){return n.event==="consent_status"});return t.length>0?t[t.length-1]:null}function r(){var n=t();return n?n.easyfeedback||!1:!1}function u(){var n=t();return n?n["Sitefinity Insight"]||!1:!1}function f(){var n=t();return n?n["Google Maps"]||!1:!1}function e(){var n=t();return n?n.Chatbots||!1:!1}function o(){var n=t();return n?n["Chatbot Paula"]||!1:!1}function i(){return n.UC_UI&&n.UC_UI.isInitialized()}function s(t){i()?t():n.addEventListener("ucEvent",function(i){i.currentTarget&&i.currentTarget.location&&i.currentTarget.location.origin!==n.location.origin||i.detail&&i.detail.event==="consent_status"&&t()})}function h(r,u){function c(t){t.currentTarget&&t.currentTarget.location&&t.currentTarget.location.origin!==n.location.origin||t.detail&&t.detail.event==="consent_status"&&s()}function s(){f||(f=!0,n.removeEventListener("ucEvent",c),e&&(clearInterval(e),e=null),o&&(clearTimeout(o),o=null),r())}u=u||{};var h=u.timeoutMs||12e3,l=u.pollIntervalMs||250,f=!1,e=null,o=null;if(i()||t()!==null){f=!0;r();return}n.addEventListener("ucEvent",c);e=setInterval(function(){f||(i()||t()!==null)&&s()},l);o=setTimeout(function(){f||(console.warn("[ENV_UC_SERVICE] runAfterUcIsInitializedSafe: Timeout nach "+h+"ms - Callback wird ohne UC-Bestaetigung ausgefuehrt"),s())},h)}function c(t){n.addEventListener("ucEvent",function(i){i.currentTarget&&i.currentTarget.location&&i.currentTarget.location.origin!==n.location.origin||i.detail&&i.detail.event==="consent_status"&&t()})}function l(){return UC_UI.getServicesBaseInfo()}function a(){return n.UC_UI.getServicesFullInfo()}function v(t,i,r=0){console.log("Service: "+t+" akzeptiert!");var u=8e3,f=setTimeout(function(){console.error("[ENV_UC_SERVICE] acceptService: UC_UI.acceptService('"+t+"') hat nach "+u+"ms nicht aufgeloest. Service-ID pruefen: UC_UI.getServicesBaseInfo()")},u);n.UC_UI.acceptService(t).then(function(){clearTimeout(f);setTimeout(i,r)}).catch(function(n){clearTimeout(f);console.error("[ENV_UC_SERVICE] acceptService: UC_UI.acceptService('"+t+"') wurde abgelehnt:",n)})}return{getLatestConsentState:t,getEasyFeedbackConsentState:r,getSitefinityInsightConsentState:u,getGoogleMapsConsentState:f,getChatBotConsentState:e,getChatBotPaulaConsentState:o,runAfterUcIsInitialized:s,runAfterUcIsInitializedSafe:h,onConsentChanged:c,getServices:l,getServicesEx:a,acceptService:v}}(window),ENV_HIGHLIGHTER=function(n,t){function s(){var i=t("[data-sf-role='searchResQuery']").attr("value");n.sessionStorage.setItem(r,i)}function h(n){f=n}function e(){return f||n.document.querySelectorAll("#off-screen-content > div > header, #off-screen-content > div > main, #off-screen-content > footer")}function c(){var n=new Mark(e());n.unmark()}function u(n,t=false,r=false){i=[];var u={accuracy:t?"exactly":"complementary",acrossElements:t?!1:!0,className:"search-mark",separateWordSearch:t||!1,each:function(n){i.push(n)},done:function(n){l();n>0&&r&&a()}}
1,f=new Mark(e(),u);f.mark(n,u)}function l(){t("h3.accordion-item__headline mark").parent().css("flex-wrap","wrap")}function a(){i&&i.length&&n.setTimeout(function(){var n=t("mark").first().closest(".accordion-item").find(".accordion-item__headline");if(n.length){n.click();return}i[0].scrollIntoView({behavior:"smooth"})},800)}function o(){try{var t=n.sessionStorage.getItem(r);t&&(u(t,!1,!0),i&&i.length==0&&u(t,!0,!0));n.sessionStorage.removeItem(r)}catch(f){console.log(f)}}function v(){t("[data-searchresult-click]").on("click",s);t("body").append("<style>.search-mark {background-color: #FFC300}<\/style>");typeof Mark=="undefined"?t.getScript("/ResourcePackages/rdVertrieb/MVC/Scripts/_shared/mark/mark.min.js",function(){o()}):o()}var r="LastSearchResultClick",f=undefined,i=undefined;return t(document).ready(function(){v()}),{setContext:h,mark:u,unmark:c}}(window,jQuery),AppSettings=function(n){function t(t){return n.ajax({type:"POST",url:"/restapi/getAppInfo",data:JSON.stringify({AppId:t}),contentType:"application/json; charset=utf-8",dataType:"json"})}return{getAppInfoById:t}}(jQuery),DataLayerServiceGa4=function(n,t){function i(n){try{var t=JSON.parse(n);r&&r.push(t)}catch(i){console.log(i)}}function u(){t("[data-layer-load][data-layer-entry-ga4]").each(function(n,t){var r=t.getAttribute("data-layer-entry-ga4");r&&i(r)})}function f(n){var r=t(n.currentTarget).attr("data-layer-entry-ga4");r&&i(r)}function e(n){var u=t(n.currentTarget).closest("form"),f=u.length?u[0]:null,e=f&&f.checkValidity(),r;if(!e)return n.preventDefault(),!1;r=t(n.currentTarget).attr("data-layer-entry-ga4");r&&i(r)}function o(){u();t(document).on("click","[data-layer-click][data-layer-entry-ga4]",f);t(document).on("click","[data-layer-submit][data-layer-entry-ga4]",e)}var r=n.dataLayer=n.dataLayer||[];return t(document).ready(function(){o()}),{pushJsonString:i}}(window,jQuery);
2/*!
3 * logger.js — leichter Browser-Logger mit Modul-Präfix
4 *
5 * Ausgabe ist aktiv, wenn mindestens EINES gilt:
6 *  1) enableLocalDebugging (pro Logger-Instanz)
7 *  2) Logger.globalDebug (global, per Code oder Query aktivierbar)
8 *  3) window.debug === true ODER "true" (Kompatibilität)
9 *
10 * Komfort:
11 *  - Prefix/Modulname wird automatisch vorangestellt.
12 *  - log / warn / error (+ info / group / groupEnd)
13 *  - Aktivierbar via URL: ?debug=true (statt 1)
14 *
15 * Keine Abhängigkeiten, läuft in klassischen <script>-Setups.
16 */
17Logger=function(){"use strict";function i(){return typeof console=="undefined"?null:console}function r(){try{if(typeof window=="undefined")return!1;var n=window.debug;return n===!0||n==="true"}catch(t){return!1}}function u(n){return!!(n||t||r())}function f(n){if(!n)return"";var t=String(n).trim().replace(/\s+$/,"");return t.length?t+" ":""}function e(n,t){var i=Array.prototype.slice.call(t);return n?[n].concat(i):i}function n(n,t,r){return function(){if(u(r())){var f=i();f&&typeof f[n]=="function"&&f[n].apply(f,e(t,arguments))}}}function o(t,i){function u(){return e}var e=!!i,r=f(t);return{log:n("log",r,u),warn:n("warn",r,u),error:n("error",r,u),info:n("info",r,u),group:n("group",r,u),groupEnd:n("groupEnd",r,u),setDebug:function(n){e=!!n},getDebug:function(){return e}}}function s(n){var r,u,i,f,e;try{if(typeof location=="undefined")return;r=new URLSearchParams(location.search);u=["labermodus","laberbacke","quasselstrippe","plaudertasche"];n&&typeof n=="string"&&u.push(n.toLowerCase());i=null;for(f of r.keys())if(u.indexOf(String(f).toLowerCase())!==-1){i=f;break}if(!i)return;e=(r.get(i)||"").trim().toLowerCase();(e==="true"||e==="1")&&(t=!0)}catch(o){}}var t=!1;return{create:o,setGlobalDebug:function(n){t=!!n},getGlobalDebug:function(){return t},enableFromQuery:s}}();

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.