(function(e){function t(t){for(var n,o,r=t[0],c=t[1],l=t[2],d=0,h=[];d<r.length;d++)o=r[d],Object.prototype.hasOwnProperty.call(s,o)&&s[o]&&h.push(s[o][0]),s[o]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);u&&u(t);while(h.length)h.shift()();return a.push.apply(a,l||[]),i()}function i(){for(var e,t=0;t<a.length;t++){for(var i=a[t],n=!0,r=1;r<i.length;r++){var c=i[r];0!==s[c]&&(n=!1)}n&&(a.splice(t--,1),e=o(o.s=i[0]))}return e}var n={},s={app:0},a=[];function o(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=e,o.c=n,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var r=window["webpackJsonp"]=window["webpackJsonp"]||[],c=r.push.bind(r);r.push=t,r=r.slice();for(var l=0;l<r.length;l++)t(r[l]);var u=c;a.push([0,"chunk-vendors"]),i()})({0:function(e,t,i){e.exports=i("56d7")},"0e21":function(e,t,i){},"22b8":function(e,t,i){"use strict";i("2768")},2557:function(e,t,i){"use strict";i("9cea")},2768:function(e,t,i){},"3c4b":function(e,t,i){"use strict";i("f4f8")},"3ca0":function(e,t,i){},"46c3":function(e,t,i){},"502d":function(e,t,i){"use strict";i("a63e")},"56d7":function(e,t,i){"use strict";i.r(t);i("4504"),i("6b54"),i("28a5"),i("a481"),i("cadf"),i("551c"),i("f751"),i("097d"),i("c67f");var n=i("2b0e"),s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{ref:"funnel-container",staticClass:"asm-service-funnel-app",class:" asm-service-funnel-app--viewstate-"+e.activeView+" "+(e.inputHasFocus?" asm-service-funnel-app--input-focused":" ")+" asm-service-funnel-app--variant-"+e.funnelConfig.variant,on:{click:e.onClick}},["extended"===e.funnelConfig.variant?i("div",{staticClass:"dsf-background-visuals"},[i("svg",{staticClass:"dsf-background-visuals__visual",attrs:{id:"dsf-bv-circle-big",height:"967",width:"967",viewBox:"0 0 962 962",xmlns:"http://www.w3.org/2000/svg"}},[i("circle",{attrs:{cx:"481",cy:"481",r:"481",fill:"#0019A5","fill-rule":"evenodd"}})]),i("svg",{staticClass:"dsf-background-visuals__visual",attrs:{id:"dsf-bv-circle-small",height:"105",width:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"}},[i("circle",{attrs:{cx:"50",cy:"50",r:"50",fill:"#41b6e6","fill-rule":"evenodd"}})]),i("img",{staticClass:"dsf-background-visuals__visual",attrs:{id:"dsf-bv-bubble-visual",src:"https://www.o2online.de/assets/bilder/code/service/service-funnel-bubble-bottomright-bild",height:"650",width:"431",alt:"o2 Bubble Visual","aria-hidden":"true"}})]):e._e(),i("div",{staticClass:"dsf-head"},["extended"===e.funnelConfig.variant?i("p",{staticClass:"dsf-head__title"},[e._v("\n Zur Lösung geht’s hier lang:\n ")]):e._e(),"reduced"===e.funnelConfig.variant?i("p",{staticClass:"dsf-head__title"},[e._m(0),e._v("\n Wie können wir dir helfen?\n ")]):e._e()]),i("SearchInput",{ref:"searchInput",attrs:{"external-search-input":e.stickyInput},on:{"text-input":e.onTextInput,"input-submit":e.onInputSubmit,"action-change":e.onActionChange}}),i("div",{directives:[{name:"adaptive-height",rawName:"v-adaptive-height",value:e.adaptiveHeightState,expression:"adaptiveHeightState"}],staticClass:"dsf-search-body",class:"dsf-search-body--viewstate-"+e.activeView},[i("tag-list",{attrs:{name:"selected","selectable-tags":!1,"removeable-tags":!0,scrollable:"fade","tag-list":e.selectedTagList},on:{"tag-remove-request":e.onTagRemoval}}),e.answerSnippetVisible?i("AnswerSnippet",{attrs:{snippet:e.answerSnippet},on:{"detail-view-request":e.onDetailViewRequest}}):e._e(),e.tagCombinationUnknown?i("div",{staticClass:"dsf-search-body__error dsf-search-body__error-tags"},[e.hasSuggestedTags?i("p",[e._v("\n Bitte wähle weitere Suchbegriffe aus den Vorschlägen weiter unten aus,\n damit wir das Thema besser eingrenzen können:\n ")]):e._e(),e.hasSuggestedTags?e._e():i("p",[e._v("\n Bitte entferne einen oder mehrere Suchbegriffe aus der Auswahl, damit\n wir das Thema besser eingrenzen können.\n ")])]):e._e(),e.searchInputUnknown?i("div",{staticClass:"dsf-search-body__error dsf-search-body__error-input"},[i("p",{staticClass:"dsf-search-body__error__title"},[e._v("\n Wir konnten für\n "),i("span",{staticClass:"strong"},[e._v("„"+e._s(e.userSearchInput)+"“")]),e._v(" kein Suchergebnis\n finden.\n ")]),i("p",[e._v("\n Bitte achte darauf, dass alle Wörter richtig geschrieben sind oder\n probiere es mit anderen Suchbegriffen.\n ")]),e.tagSuggestionsVisible?i("p",[e._v("\n Versuche es doch einfach nochmal oder wähle einen passenden Begriff\n aus den folgenden Vorschlägen:\n ")]):e._e()]):e._e(),e.isFeedbackView?i("FeedbackResponse",{attrs:{type:e.feedbackResponseType,"has-suggested-tags":e.hasSuggestedTags,"contacts-visible":e.contactsVisible,"contact-hint-visible":!e.funnelConfig.negativeFeedbackContacts,tagSuggestionsVisible:e.tagSuggestionsVisible,answerSnippetVisible:e.answerSnippetVisible,isFeedbackView:e.isFeedbackView,tagCombinationUnknown:e.tagCombinationUnknown,tagList:e.suggestedTagList},on:{"tag-selection":e.onTagSelection,"action-change":e.onActionChange}}):e._e(),!e.tagSuggestionsVisible||e.answerSnippetVisible||e.isFeedbackView||e.tagCombinationUnknown||e.searchInputUnknown?e._e():i("div",{staticClass:"dsf-search-body__suggestion-title dsf-search-body__suggestion-title--initial"},[e._v("\n Jetzt passende Begriffe kombinieren und Antwort erhalten:\n ")]),e.tagSuggestionsVisible&&(e.answerSnippetVisible||e.isFeedbackView&&"negative"!==e.feedbackResponseType||e.tagCombinationUnknown)?i("div",{staticClass:"dsf-search-body__suggestion-title dsf-search-body__suggestion-title--extended"},[e._v("\n Suche weiter eingrenzen:\n ")]):e._e(),e.tagSuggestionsVisible&&!e.negativeFeedbackResponseVisible?i("tag-list",{attrs:{name:"suggested","selectable-tags":!0,"removeable-tags":!1,scrollable:"no","tag-list":e.suggestedTagList,"pagination-count":6,stagger:!0},on:{"tag-selection":e.onTagSelection,"action-change":e.onActionChange}}):e._e(),i("LoadingAnimation",{directives:[{name:"show",rawName:"v-show",value:e.isLoading&&!e.isDetailView,expression:"isLoading && !isDetailView"}],attrs:{"color-style":e.hasSelectedTags?"medium":"light"}})],1),i("FeedbackRequest",{directives:[{name:"conditional-visibility",rawName:"v-conditional-visibility",value:e.feedbackRequestVisibleStatus,expression:"feedbackRequestVisibleStatus"}],on:{feedback:e.onFeedback}}),e.isDetailView?i("AnswerDetailed",{attrs:{content:e.detailViewContent,"selected-tags":e.selectedTagList},on:{"detail-back-request":e.onDetailBackRequest}}):e._e(),e.stickyFunnelVisible?i("StickyFunnel",{attrs:{"top-position":e.stickyFunnelTopPos},on:{"request-search":e.scrollAndSearch}}):e._e()],1)},a=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("small",[i("strong",[e._v("O"),i("sub",[e._v("2")])]),e._v(" my "),i("strong",[e._v("Service")])])}],o=(i("8615"),i("4917"),i("6762"),i("2fdb"),i("7f7f"),i("ac6a"),i("386d"),{INITIAL:"initial",ANSWER_SMALL:"answer-small",ANSWER_DETAILED:"answer-detailed",UNSURE_TAG_COMBINATION:"unsure-tag-combination",UNSURE_USER_INPUT:"unsure-user-input",FEEDBACK_POSITIVE:"feedback-positive",FEEDBACK_NEGATIVE:"feedback-negative"}),r={IDLE:"idle",LOADING:"loading",TEXT_INPUT_FOCUS:"text-input-focus",TEXT_INPUT:"text-input",TEXT_SUBMIT:"text-submit",TAG_SELECTION:"tag-selection",TAG_REMOVAL:"tag-removal",TAG_PAGINATION:"tag-pagination",FEEDBACK_SUBMIT:"feedback-submit"};function c(e,t){return new Promise((function(i,n){var s=new XMLHttpRequest,a=location.origin.indexOf("www")>-1?"https://sf.e-bot7.de/freesearch/o2":"https://sf-prev.e-bot7.de/freesearch/o2";s.addEventListener("load",(function(e){if(200===e.target.status)try{i(JSON.parse(e.target.response))}catch(t){}})),s.addEventListener("error",(function(){})),s.open("POST",a,!0),s.setRequestHeader("Content-Type","application/json"),s.responseType="text",s.send(JSON.stringify({session_id:t,search_query:e,client_name:"o2",location_path:window.location.pathname}))}))}function l(e,t){return new Promise((function(i,n){var s=new XMLHttpRequest,a=location.origin.indexOf("www")>-1?"https://sf.e-bot7.de/tagsearch/o2":"https://sf-prev.e-bot7.de/tagsearch/o2";s.addEventListener("load",(function(e){if(200===e.target.status)try{i(JSON.parse(e.target.response))}catch(t){}})),s.addEventListener("error",(function(){})),s.open("POST",a,!0),s.setRequestHeader("Content-Type","application/json"),s.responseType="text",s.send(JSON.stringify({session_id:t,selected_tags:e,client_name:"o2",location_path:window.location.pathname}))}))}function u(e){var t=this;return new Promise((function(i,n){var s=new XMLHttpRequest,a=e.indexOf("o2online.de")>-1?e:e.replace(/^[^/]*\//,"https://prev.o2online.de/");function o(e){if(200===e.target.status){var t=e.target.response,s=t.slice(t.search(/<div[^>]*id="content"/),t.search(/<div[^>]*id="bottom"/));i(s)}else n()}s.addEventListener("load",o.bind(t)),s.open("GET",a,!0),s.responseType="text",s.send()}))}var d=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"dsf-search-input",on:{keydown:e.onKeyPress}},[i("input",{directives:[{name:"model-mobile-fix",rawName:"v-model-mobile-fix",value:e.userSearchInput,expression:"userSearchInput"}],staticClass:"dsf-search-input__form",attrs:{type:"text",placeholder:"z.B. „Wie aktiviere ich eine eSIM?“"},on:{focus:e.onSearchInputFocus}}),i("a",{staticClass:"dsf-search-input__submit",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.onSearchSubmit.apply(null,arguments)}}},[i("span",{staticClass:"glyphicon glyphicon-search"})])])},h=[],g=(i("0da7"),{name:"SearchInput",props:{externalSearchInput:{type:String,required:!1,default:""}},data:function(){return{userSearchInput:""}},watch:{userSearchInput:function(){this.onUserInput()},externalSearchInput:function(e){console.log("External",e),this.userSearchInput=e}},methods:{clearInput:function(){this.userSearchInput=""},onSearchInputFocus:function(){if(window.innerWidth<768||window.innerHeight<414){var e=document.querySelector(".dsf-search-input"),t=e.getBoundingClientRect(),i=t.top+document.scrollingElement.scrollTop-48;document.scrollingElement.scrollTo&&document.scrollingElement.scrollTo({top:i,behavior:"smooth"})}this.$emit("action-change",r.TEXT_INPUT_FOCUS)},onKeyPress:function(e){switch(e.which){case 13:this.onSearchSubmit();break;case 27:this.clearInput();break}},onUserInput:function(){this.userSearchInput.length>0?this.$emit("action-change",r.TEXT_INPUT):this.$emit("action-change",r.IDLE),this.$emit("text-input",this.userSearchInput)},onSearchSubmit:function(){this.userSearchInput.length>0&&(this.$emit("action-change",r.TEXT_SUBMIT),this.$emit("input-submit",this.userSearchInput))}},directives:{"model-mobile-fix":{bind:function(e,t,i){e.oninput=function(){i.context[t.expression]=e.value},i.context.$watch(t.expression,(function(t,i){e.value=t}))}}}}),p=g,f=(i("3c4b"),i("2877")),v=Object(f["a"])(p,d,h,!1,null,null,null),m=v.exports,b=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"dsf-tag-list",class:"dsf-tag-list--"+e.name},[i("transition-group",{directives:[{name:"adaptive-height",rawName:"v-adaptive-height",value:e.adaptiveHeightState,expression:"adaptiveHeightState"}],staticClass:"dsf-tag-list__listing",class:(e.stagger?"dsf-tag-list__listing--stagger":"")+" "+e.scrollClasses,attrs:{tag:"div",name:"tag-list-element",appear:""}},e._l(e.paginatedTagList,(function(t,n){return i("tag",{key:t,style:{"--css-var-stagger-index":n%e.paginationCount},attrs:{id:n,text:t,removeable:e.removeableTags,selectable:e.selectableTags},on:{"tag-selection":e.onTagSelection,"tag-removal-request":e.onTagRemoval}})})),1),e.isPaginated?i("a",{directives:[{name:"conditional-visibility",rawName:"v-conditional-visibility",value:e.paginationVisibleStatus,expression:"paginationVisibleStatus"}],staticClass:"dsf-tag-list__pagination",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.onPaginationUse.apply(null,arguments)}}},[i("span",{staticClass:"glyphicon glyphicon-circle-plus"}),e._v(" Mehr anzeigen\n ")]):e._e()],1)},_=[],T=(i("c5f6"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"dsf-tag",class:{"dsf-tag--selectable":e.selectable,"dsf-tag--removeable":e.removeable},on:{click:e.onTagSelection}},[i("span",{domProps:{innerHTML:e._s(e.text)}}),e.removeable?i("a",{staticClass:"dsf-tag__remove",attrs:{href:"#remove"},on:{click:function(t){return t.preventDefault(),e.triggerRemoval.apply(null,arguments)}}},[i("span",{staticClass:"glyphicon glyphicon-close"})]):e._e()])}),w=[],k={name:"Tag",props:{id:Number,text:String,selectable:Boolean,removeable:Boolean},methods:{onTagSelection:function(){this.selectable&&this.$emit("tag-selection",this.id)},triggerRemoval:function(e){e.preventDefault(),this.$emit("tag-removal-request",this.id)}}},y=k,S=(i("b323"),Object(f["a"])(y,T,w,!1,null,null,null)),C=S.exports,E={name:"TagList",components:{Tag:C},data:function(){return{paginationActivePage:0,transitionendCount:0,transitionCountFallbackTimeout:null,adaptiveHeightState:"unfreeze",scrollClasses:""}},props:{name:String,tagList:Array,selectableTags:Boolean,removeableTags:Boolean,scrollable:String,paginationCount:{type:Number,required:!1,default:1/0},stagger:{type:Boolean,required:!1,default:!1}},computed:{isScrollable:function(){return"fade"===this.scrollable||"cut"===this.scrollable},isPaginated:function(){return this.paginationCount!==1/0},paginatedTagList:function(){var e=this.paginationCount*this.paginationActivePage;return this.tagList.filter((function(e){return e.length>0})).slice(0,e)},paginationVisibleStatus:function(){var e="remove";return this.hiddenTagCount>0&&(0===this.visibleTagCount&&(e="remove"),this.visibleTagCount>0&&!this.allTagTransitionsComplete&&(e="hide"),this.visibleTagCount>0&&this.allTagTransitionsComplete&&(e="show")),0===this.hiddenTagCount&&1===this.paginationActivePage&&(e="remove"),0===this.hiddenTagCount&&1!==this.paginationActivePage&&(e=this.allTagTransitionsComplete?"remove":"hide"),e},visibleTagCount:function(){return this.paginatedTagList.length},hiddenTagCount:function(){return this.tagList.length-this.paginatedTagList.length},allTagTransitionsComplete:function(){return this.visibleTagCount===this.transitionendCount}},watch:{tagList:function(){this.resetPagination()},visibleTagCount:function(e,t){e>t&&this.scrollToEnd(),this.setTransitionEndFallback(2e3)}},methods:{onTagSelection:function(e){this.$emit("tag-selection",e,this.name)},onTagRemoval:function(e){this.$emit("tag-remove-request",e,this.name)},onPaginationUse:function(){var e=this;this.paginationActivePage=this.paginationActivePage+1,this.adaptiveHeightState="freeze",this.$nextTick((function(){e.adaptiveHeightState="unfreeze"})),this.$emit("action-change",r.TAG_PAGINATION)},resetPagination:function(){this.paginationActivePage=1,this.transitionendCount=0},setScrollClasses:function(){var e="";if(!this.isScrollable)return e;if(!this.$el)return e;e=" dsf-tag-list__listing--scrollable";var t=this.$el.getElementsByClassName("dsf-tag-list__listing")[0];t.getBoundingClientRect().width<t.scrollWidth&&(e=e+" dsf-tag-list__listing--scroll-overflown-"+this.scrollable),t.scrollLeft>0&&(e=e+" dsf-tag-list__listing--scrolled-"+this.scrollable),this.scrollClasses=e},scrollToEnd:function(){if(this.isScrollable&&this.$el){var e=this.$el.getElementsByClassName("dsf-tag-list__listing")[0];requestAnimationFrame((function(){e.scrollTo&&e.scrollTo({top:0,left:e.scrollWidth+50,behavior:"smooth"})}))}},onTransitionEnd:function(e){"opacity"!==e.propertyName||e.target.classList.contains("dsf-tag-list__pagination")||(e.target.parentNode&&e.target.parentNode.matches(".dsf-tag-list__listing")&&this.transitionendCount++,this.setTransitionEndFallback(500))},setTransitionEndFallback:function(e){var t=this;clearTimeout(this.transitionCountFallbackTimeout),this.transitionCountFallbackTimeout=this.allTagTransitionsComplete?null:setTimeout((function(){t.transitionendCount=t.visibleTagCount}),e)}},mounted:function(){var e=this;this.resetPagination(),this.$el.addEventListener("transitionend",this.onTransitionEnd),this.isScrollable&&(this.$el.getElementsByClassName("dsf-tag-list__listing")[0].addEventListener("scroll",(function(t){e.setScrollClasses()})),this.setScrollClasses())},updated:function(){this.setScrollClasses()}},A=E,I=(i("502d"),Object(f["a"])(A,b,_,!1,null,null,null)),L=I.exports,N=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"dsf-answer-snippet"},[i("div",{staticClass:"dsf-answer-snippet__body",domProps:{innerHTML:e._s(e.snippet)}}),e.detailLink?i("a",{staticClass:"dsf-answer-snippet__detail-link link",attrs:{href:e.detailLink.contentUrl},domProps:{innerHTML:e._s(e.detailLink.text)},on:{click:function(t){return t.preventDefault(),e.onDetailLink.apply(null,arguments)}}}):e._e()])},V=[],F={name:"AnswerSnippet",props:{snippet:String},data:function(){return{detailLink:null}},methods:{extractDetailLink:function(){var e=this.$el.querySelector('a[class="hidden"]');e&&(this.detailLink={text:e.innerHTML,contentUrl:e.getAttribute("href")})},onDetailLink:function(){this.$emit("detail-view-request",this.detailLink.contentUrl)}},mounted:function(){this.extractDetailLink(),this.$root.$emit("articleFix")}},x=F,D=(i("a5a4"),Object(f["a"])(x,N,V,!1,null,null,null)),R=D.exports,O=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"dsf-answer-detailed"},[i("transition",{attrs:{name:"dsf-answer-detailed__head--transition",appear:""}},[i("div",{staticClass:"dsf-answer-detailed__head"},[i("tag-list",{attrs:{name:"selected","selectable-tags":!1,"removeable-tags":!1,scrollable:"cut","tag-list":e.selectedTags}}),i("transition",{attrs:{name:"dsf-answer-detailed__fake-search--transition",appear:""}},[i("div",{staticClass:"dsf-answer-detailed__fake-search"},[i("span",{staticClass:"glyphicon glyphicon-search"})])])],1)]),i("transition",{attrs:{name:"dsf-answer-detailed__body--transition",appear:""}},[i("div",{staticClass:"dsf-answer-detailed__body"},[i("a",{staticClass:"dsf-answer-detailed__back-link link link-back",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.onBackLink.apply(null,arguments)}}},[e._v("Zurück in die Suche")]),e.hasContent?e._e():i("div",{staticClass:"dsf-answer-detailed__loading"},e._l(4,(function(e){return i("div",{key:e})})),0),i("transition",{attrs:{name:"dsf-answer-detailed__body-content--transition",appear:""}},[e.hasContent?i("div",{staticClass:"dsf-answer-detailed__body-content",domProps:{innerHTML:e._s(e.content)}}):e._e()]),i("a",{staticClass:"dsf-answer-detailed__back-link link link-back",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.onBackLink.apply(null,arguments)}}},[e._v("Zurück in die Suche")])],1)])],1)},B=[],P={name:"AnswerDetailed",components:{TagList:L},props:{selectedTags:Array,content:String},computed:{hasContent:function(){return!!this.content}},methods:{onBackLink:function(){this.$emit("detail-back-request")}},mounted:function(){this.$root.$emit("articleFix")}},H=P,U=(i("e55d"),Object(f["a"])(H,O,B,!1,null,null,null)),$=U.exports,q=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},M=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"dsf-loading-animation loading-spinner-2"},[i("div",{staticClass:"bounce1"}),i("div",{staticClass:"bounce2"}),i("div",{staticClass:"bounce3"})])}],j={name:"LoadingAnimation",props:{colorStyle:{type:String,default:"light",required:!1}}},G=j,z=(i("22b8"),Object(f["a"])(G,q,M,!1,null,null,null)),W=z.exports,K=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"dsf-feedback-request"},[i("div",{staticClass:"dsf-feedback-request__title"},[e._v("War diese Antwort hilfreich?")]),i("div",{staticClass:"dsf-feedback-request__choices"},[i("a",{staticClass:"dsf-feedback-request__choice dsf-feedback-request__choice--positive",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.onFeedback("positive")}}},[i("span",{staticClass:"glyphicon glyphicon-thumb-up"})]),i("a",{staticClass:"dsf-feedback-request__choice dsf-feedback-request__choice--negative",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.onFeedback("negative")}}},[i("span",{staticClass:"glyphicon glyphicon-thumb-down"})])])])},J=[],X={name:"FeedbackRequest",methods:{onFeedback:function(e){this.$emit("feedback",e)}}},Z=X,Y=(i("d28f"),Object(f["a"])(Z,K,J,!1,null,null,null)),Q=Y.exports,ee=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"dsf-feedback-response"},["positive"===e.type?i("div",{staticClass:"dsf-feedback-response__head dsf-feedback-response__head--positive"},[e._m(0)]):e._e(),"negative"===e.type?i("div",{staticClass:"dsf-feedback-response__head dsf-feedback-response__head--negative"},[e._m(1)]):e._e(),"positive"===e.type?i("div",{staticClass:"dsf-feedback-response__body dsf-feedback-response__body--positive"}):e._e(),"negative"===e.type?i("div",{staticClass:"dsf-feedback-response__body dsf-feedback-response__body--negative"},[i("p",[i("strong",[e._v("Tipp: ")]),e.hasSuggestedTags?i("span",[e._v("Grenze deine Frage über unsere Tags unten noch weiter ein, sodass wir dein Problem genau beantworten können. ")]):e._e(),e.showContactHint&&e.hasSuggestedTags?i("span",[e._v("Hilft dir dies immer noch nicht weiter, nutze die unten stehenden Kontaktmöglichkeiten, um dein Anliegen mit einem Mitarbeiter zu klären. ")]):e._e(),e.showContactHint&&!e.hasSuggestedTags?i("span",[e._v("Nutze die unten stehenden Kontaktmöglichkeiten, um dein Anliegen mit einem Mitarbeiter zu klären. ")]):e._e()]),e.tagSuggestionsVisible&&(e.answerSnippetVisible||e.isFeedbackView||e.tagCombinationUnknown)?i("div",{staticClass:"dsf-search-body__suggestion-title dsf-search-body__suggestion-title--extended"},[e._v("Suche weiter eingrenzen:\n ")]):e._e(),e.tagSuggestionsVisible?i("tag-list",{attrs:{name:"suggested","selectable-tags":!0,"removeable-tags":!1,scrollable:"no","tag-list":e.tagList,"pagination-count":6,stagger:!0},on:{"tag-selection":e.onTagSelection,"action-change":e.onActionChange}}):e._e(),e.contactsVisible?i("ContactChannels"):e._e()],1):e._e()])},te=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("p",[i("span",{staticClass:"glyphicon glyphicon-circle-ok"}),i("strong",[e._v("Das freut uns.")]),e._v(" Vielen Dank für dein Feedback!")])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("p",[i("span",{staticClass:"glyphicon glyphicon-edit"}),i("strong",[e._v("Vielen Dank für dein Feedback")]),i("br"),e._v(" Wir arbeiten an der Verbesserung der Antwort.")])}],ie=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},ne=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"dsf-contact-wrapper"},[i("div",{staticClass:"item-collection item-collection-wide item-collection-block"},[i("div",{staticClass:"items"},[i("div",{staticClass:"adspace-trbo hide",attrs:{id:"907344","data-js":"adspace-trbo"}}),i("div",{staticClass:"adspace-trbo hide",attrs:{id:"907346","data-js":"adspace-trbo"}}),i("div",{staticClass:"adspace-trbo hide",attrs:{id:"907348","data-js":"adspace-trbo"}}),i("div",{staticClass:"adspace-trbo hide",attrs:{id:"907350","data-js":"adspace-trbo"}}),i("div",{staticClass:"adspace-trbo hide",attrs:{id:"907352","data-js":"adspace-trbo"}}),i("div",{staticClass:"adspace-trbo hide",attrs:{id:"907354","data-js":"adspace-trbo"}}),i("div",{staticClass:"adspace-trbo hide",attrs:{id:"907356","data-js":"adspace-trbo"}}),i("div",{staticClass:"dsf-title"},[e._v("Deine Kontaktmöglichkeiten:")])])]),i("div",{staticClass:"item-collection item-collection-wide item-collection-block"},[i("div",{staticClass:"items"},[i("div",{staticClass:"adspace-trbo hide",attrs:{id:"907358","data-js":"adspace-trbo"}}),i("div",{staticClass:"adspace-trbo hide",attrs:{id:"907360","data-js":"adspace-trbo"}}),i("div",{staticClass:"dsf-title"},[e._v("Weitere Hilfe:")])])])])}],se={name:"ContactChannels",mounted:function(){_trbo&&_trbo.app.reloadApi()}},ae=se,oe=(i("b687"),Object(f["a"])(ae,ie,ne,!1,null,null,null)),re=oe.exports,ce={name:"FeedbackResponse",components:{TagList:L,ContactChannels:re},props:{type:String,contactsVisible:Boolean,contactHintVisible:Boolean,hasSuggestedTags:Boolean,tagSuggestionsVisible:Boolean,answerSnippetVisible:Boolean,isFeedbackView:Boolean,tagCombinationUnknown:Boolean,tagList:Array},computed:{showContactHint:function(){return this.contactHintVisible||this.contactsVisible}},methods:{onTagSelection:function(e,t){this.$emit("tag-selection",e,t)},onActionChange:function(e){this.$emit("action-change",e)}}},le=ce,ue=(i("2557"),Object(f["a"])(le,ee,te,!1,null,null,null)),de=ue.exports,he=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"sticky-slide",appear:""},on:{"after-enter":e.appeared}},[i("div",{staticClass:"dsf-sticky-funnel",style:"--top-pos:"+e.topPosition+"px;",on:{click:function(t){return e.$emit("click")}}},[i("p",{staticClass:"dsf-sticky-funnel__copy"},[e._v("Wie können "),i("br"),e._v(" wir dir helfen?")]),i("form",{staticClass:"dsf-sticky-funnel__form",on:{submit:function(t){return t.preventDefault(),e.onSubmit.apply(null,arguments)}}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.input,expression:"input"}],staticClass:"dsf-sticky-funnel__input",attrs:{type:"text",placeholder:"z. B. eSim aktivieren"},domProps:{value:e.input},on:{keyup:e.onTextInput,input:function(t){t.target.composing||(e.input=t.target.value)}}}),i("span",{staticClass:"glyphicon glyphicon-search dsf-sticky-funnel__search-icon",on:{click:e.onSubmit}})])])])},ge=[],pe=!1,fe={name:"StickyFunnel",props:{topPosition:{type:Number,default:0}},data:function(){return{input:"",inputDebounceTimer:null}},methods:{onSubmit:function(){this.input.length>0&&(this.$emit("request-search",this.input),this.track("Transition","Transition"))},appeared:function(){pe||(this.track("View-Einstieg","Einstieg"),pe=!0)},onTextInput:function(){var e=this;this.inputDebounceTimer&&clearTimeout(this.inputDebounceTimer),this.inputDebounceTimer=setTimeout((function(){e.track("TypeIn-Einstieg","Einstieg")}),500)},track:function(e,t){try{location.href.indexOf("www")>-1?this.track=function(e,t){tefDataLayer.push({event:"eventGeneric",eCat:"DSF-Sticky",eAct:e,eLab:t})}:this.track=function(e,t){console.log("👁 Tracking (DSF-Sticky):","\n\tAction:\t"+e,"\n\tLabel:\t"+(t||"-"))},this.track(e,t)}catch(i){console.log("🔥 Tracking Setup Error",i)}}}},ve=fe,me=(i("b0db"),Object(f["a"])(ve,he,ge,!1,null,null,null)),be=me.exports,_e={variant:"reduced",negativeFeedbackContacts:!0},Te={name:"asm-service-funnel-app",components:{SearchInput:m,TagList:L,AnswerSnippet:R,AnswerDetailed:$,LoadingAnimation:W,FeedbackRequest:Q,FeedbackResponse:de,StickyFunnel:be},beforeMount:function(){this.transformUrl();var e=o.INITIAL,t=this.getTagsFromHash();t&&t.length>0&&(this.selectedTags=t,e=o.ANSWER_SMALL),this.getNewTagsAndAnswersFromTagList(this.selectedTags),this.changeViewState(e)},mounted:function(){var e=this;this.$root.$on("articleFix",(function(){window.asmArticleBtnFix&&window.asmArticleBtnFix();var t=e.$el.querySelector(".article-image-left");t&&t.querySelector(".sections")&&!t.querySelector(".image")&&t.classList.remove("article-image-left")})),(window.stickyFunnelEnabled||location.search.indexOf("stickyfunnel")>-1)&&(this.stickyEnabled=!0),window.enableStickyFunnel=function(){e.stickyEnabled=!0},this.registerEventHandler(window,"hashchange",this.onHashChange)},beforeDestroy:function(){this.removeEventHandlers()},data:function(){return{funnelConfig:Object.assign(_e,window.asmServiceFunnelConfig||{}),sessionId:this.generateSessionId(),activeAction:r.IDLE,activeView:o.INITIAL,userSearchInput:"",selectedTags:[],adaptiveHeightState:"unfreeze",latestBotResponse:null,detailViewContent:null,feedbackResponseType:null,inputDebounceTimer:null,stickyEnabled:!1,stickyFunnelVisible:!1,stickyFunnelTopPos:!1,stickyInput:"",eventHandlers:[],tagsToIgnore:["stickyfunnel","id-",/^\d+$/i],tagUrlDelimiter:"//"}},computed:{isLoading:function(){return this.activeAction===r.LOADING},selectedTagList:function(){var e=[];return this.selectedTags.forEach((function(t){e.push(t.name)})),e},suggestedTagList:function(){var e=[];return this.latestBotResponse&&this.latestBotResponse["next_tags"]&&this.latestBotResponse["next_tags"].forEach((function(t){e.push(t.name)})),e},hasSelectedTags:function(){return this.selectedTags.length>0},hasSuggestedTags:function(){return this.latestBotResponse&&this.latestBotResponse["next_tags"]&&this.latestBotResponse["next_tags"].length>0},tagSuggestionsVisible:function(){return this.hasSuggestedTags},answerSnippet:function(){return this.latestBotResponse&&this.latestBotResponse["snippet"]||null},answerSnippetVisible:function(){return null!==this.answerSnippet&&![o.INITIAL,o.FEEDBACK_POSITIVE,o.FEEDBACK_NEGATIVE].includes(this.activeView)},feedbackRequestVisibleStatus:function(){var e="remove";return this.answerSnippetVisible&&!this.isLoading?e="show":this.answerSnippetVisible&&this.isLoading&&(e="hide"),e},negativeFeedbackResponseVisible:function(){return this.isFeedbackView&&"negative"===this.feedbackResponseType},inputHasFocus:function(){return[r.TEXT_INPUT_FOCUS,r.TEXT_INPUT].includes(this.activeAction)},isDetailView:function(){return this.activeView===o.ANSWER_DETAILED},tagCombinationUnknown:function(){return this.hasSelectedTags&&null===this.answerSnippet&&this.activeAction!==r.LOADING},searchInputUnknown:function(){return this.activeView===o.UNSURE_USER_INPUT},isFeedbackView:function(){return null!==this.feedbackResponseType},contactsVisible:function(){return this.funnelConfig.negativeFeedbackContacts&&(this.selectedTags.length>1||!this.tagSuggestionsVisible)},allowHashUpdate:function(){return this.selectedTags.length>0}},watch:{activeAction:function(e){switch(e){case r.TAG_SELECTION:case r.TAG_REMOVAL:this.selectedTags.length>0?(this.changeViewState(o.ANSWER_SMALL),this.getNewTagsAndAnswersFromTagList(this.selectedTags)):(this.changeViewState(o.INITIAL),this.userSearchInput.length>0?this.getNewTagsAndAnswersFromText(this.userSearchInput):this.getNewTagsAndAnswersFromTagList(this.selectedTags));break;case r.TEXT_INPUT_FOCUS:this.track("SuchfeldKlick-"+this.getTrackingViewName(),this.getTrackingJourney());break}},activeView:function(e,t){[o.FEEDBACK_POSITIVE,o.FEEDBACK_NEGATIVE].includes(e)||(this.feedbackResponseType=null)},latestBotResponse:function(e){null!==e&&(!this.hasSelectedTags&&e["selected_tags"]&&e["selected_tags"].length?this.selectedTags=this.latestBotResponse["selected_tags"].slice():!this.hasSelectedTags&&this.userSearchInput.length>0&&!e["snippet"]&&this.changeViewState(o.UNSURE_USER_INPUT))},isLoading:function(e){var t=this;!0!==e||this.isDetailView?requestAnimationFrame((function(){t.$set(t,"adaptiveHeightState","unfreeze")})):this.adaptiveHeightState="freeze"},isDetailView:function(e){!0===e?document.body.classList.add("dsf-detail-in"):document.body.classList.remove("dsf-detail-in")},isFeedbackView:function(e){var t=this;e&&(this.adaptiveHeightState="freeze",requestAnimationFrame((function(){t.$set(t,"adaptiveHeightState","unfreeze")})))},feedbackResponseType:function(e){switch(e){case"positive":this.track("FeedbackPOS-"+this.getTrackingViewName(),this.getTrackingJourney()),this.changeViewState(o.FEEDBACK_POSITIVE);break;case"negative":this.track("FeedbackNEG-"+this.getTrackingViewName(),this.getTrackingJourney()),this.changeViewState(o.FEEDBACK_NEGATIVE),this.prepareContactChannels();break}},tagCombinationUnknown:function(e){var t=this;e&&this.$nextTick((function(){t.changeViewState(o.UNSURE_TAG_COMBINATION)}))},adaptiveHeightState:function(e){"freeze"===e&&this.activeView!==o.INITIAL&&this.scrollFunnelIntoView()},stickyEnabled:function(e,t){e&&e!==t&&this.setStickyScrollListener()},selectedTags:function(e){this.updateHash(e,""===this.userSearchInput)}},methods:{registerEventHandler:function(e,t,i){e&&t&&i&&(this.eventHandlers.push({target:e,eventName:t,function:i}),e.addEventListener(t,i))},removeEventHandlers:function(){for(var e=0;e<this.eventHandlers;e++){var t=this.eventHandlers[e];t.target.removeEventListener(t.eventName,t.function)}this.eventHandlers=[]},transformUrl:function(){var e=window.location.search;if(e&&e.length>0){for(var t=e.split(/&(?![_&_]|[ & ])/g),i=[],n=[],s=0;s<t.length;s+=1){var a=t[s].replace("?","");if(a.indexOf("=")>-1)i.push(a);else{var o=a.replace(/_&_/g," & ");this.isTagAllowed(o)?n.push(decodeURIComponent(o)):i.push(o)}}var r=window.location.pathname.replace(/\/$/g,""),c=(i.length>0?"?":"")+i.join("&"),l=(n.length>0?"#":"")+n.join(this.tagUrlDelimiter),u=l.length>0;if(u){var d="".concat(r).concat(c).concat(l);d=(-1===d.indexOf("/")?"/":"")+d,window.history.replaceState(null,"",d)}return u}return!1},isTagAllowed:function(e){var t=!0;if(e)for(var i=0;i<this.tagsToIgnore.length;i+=1){var n=this.tagsToIgnore[i];if(null!==e.match(n)){t=!1;break}}return t},getTagsFromHash:function(){var e=this;if(0===window.location.hash.length)return[];var t=decodeURIComponent(window.location.hash).replace("#","").replace(/_/g," ").split(this.tagUrlDelimiter).filter((function(t){return t.length>0&&e.isTagAllowed(t)}));return t.map((function(e){return{name:e}}))},updateHash:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i="";e&&e.length>0&&(i=this.selectedTags.map((function(e){return e.name.replace(/\s/g,"_")})).join(this.tagUrlDelimiter));var n=!this.allowHashUpdate&&this.getTagsFromHash().length>0;(this.allowHashUpdate||n)&&(t||i.length>0)&&(window.location.hash=i)},onHashChange:function(){var e=this.getTagsFromHash();e.join("-")!==this.selectedTags.join("-")&&(this.selectedTags=e);var t=this.selectedTags.length>0?o.ANSWER_SMALL:o.INITIAL;this.getNewTagsAndAnswersFromTagList(this.selectedTags),this.changeViewState(t)},generateSessionId:function(){var e=Math.random()*(new Date).getMilliseconds(),t=e.toString(36).substr(5,10);return t},onActionChange:function(e){Object.values(r).includes(e)&&this.changeActionState(e)},changeActionState:function(e){this.$set(this,"activeAction",e),e===r.TAG_PAGINATION&&this.track("MehrTags-"+this.getTrackingViewName(),this.getTrackingJourney())},changeViewState:function(e){this.$set(this,"activeView",e),this.trackView(e)},scrollAndSearch:function(e){this.stickyInput=e;var t=document.scrollingElement.scrollTop,i=this.$refs["funnel-container"],n=i.getBoundingClientRect().top+t;document.scrollingElement.scrollTo&&document.scrollingElement.scrollTo&&document.scrollingElement.scrollTo({top:n,behavior:"smooth"})},scrollFunnelIntoView:function(){var e=document.scrollingElement.scrollTop,t=document.querySelector(".dsf-head"),i=t.getBoundingClientRect().bottom+e-48,n=e>i,s=i-e>150&&window.innerWidth<768;(n||s)&&document.scrollingElement.scrollTo&&document.scrollingElement.scrollTo({top:i,behavior:"smooth"})},onTextInput:function(e){var t=this;this.userSearchInput=e,clearTimeout(this.inputDebounceTimer),this.selectedTags=[],this.clearSuggestions(),this.changeActionState(r.LOADING),this.inputDebounceTimer=setTimeout((function(){t.inputDebounceTimer=null,t.onInputSubmit(t.userSearchInput),t.track("TypeIn-"+t.getTrackingViewName(),t.getTrackingJourney())}),500)},onInputSubmit:function(e){this.selectedTags=[],this.clearSuggestions(),this.userSearchInput=e,this.userSearchInput.length>0?(this.changeViewState(o.ANSWER_SMALL),this.changeActionState(r.TEXT_SUBMIT),this.getNewTagsAndAnswersFromText(this.userSearchInput)):(this.changeViewState(o.INITIAL),this.getNewTagsAndAnswersFromTagList(this.selectedTags))},clearSuggestions:function(){this.latestBotResponse&&(this.latestBotResponse=null)},onTagSelection:function(e,t){"suggested"===t&&(this.$set(this.selectedTags,this.selectedTags.length,this.latestBotResponse["next_tags"][e]),this.changeActionState(r.TAG_SELECTION),this.track("Tag-"+this.getTrackingViewName(),this.getTrackingJourney()))},onTagRemoval:function(e,t){"selected"===t&&(this.$delete(this.selectedTags,e),this.changeActionState(r.TAG_REMOVAL),this.track("TagEntfernen-"+this.getTrackingViewName(),this.getTrackingJourney())),0===this.selectedTags.length&&(this.userSearchInput="",this.$refs["searchInput"].clearInput())},onDetailViewRequest:function(e){var t=this;this.changeActionState(r.LOADING),this.detailViewContent=null,this.changeViewState(o.ANSWER_DETAILED),u(e).then((function(e){t.$set(t,"detailViewContent",e),t.changeActionState(r.IDLE)})).catch((function(){}))},onDetailBackRequest:function(){this.track("Zurück-"+this.getTrackingViewName(),this.getTrackingJourney()),this.changeViewState(o.ANSWER_SMALL)},getNewTagsAndAnswersFromText:function(e){var t=this;this.changeActionState(r.LOADING),this.latestBotResponse=null,c(e,this.sessionId).then((function(e){t.setLatestBotResponse(e),t.changeActionState(r.IDLE)}))},getNewTagsAndAnswersFromTagList:function(e){var t=this;this.changeActionState(r.LOADING),this.latestBotResponse=null,l(e,this.sessionId).then((function(e){t.setLatestBotResponse(e),t.changeActionState(r.IDLE)}))},setLatestBotResponse:function(e){this.hasSelectedTags||0!==this.userSearchInput.length||(e["next_tags"]=this.moveTagsInList(e["next_tags"],{"kündigung":24})),this.$set(this,"latestBotResponse",e)},moveTagsInList:function(e,t){var i;e=e.slice();do{i=!1,e.forEach((function(n,s){if(!i){var a=n.name.toLowerCase(),o=t[a]||0;if(o>s){for(var r=s;r<=o;r++)e[r]=r!==o?e[r+1]:n;i=!0}}}))}while(i);return e},onFeedback:function(e){this.feedbackResponseType=e},prepareContactChannels:function(){window.asmContactConfig={};var e="4373381";e&&(window.asmContactConfig["hotline"]={adspaceId:e});var t="5000000";t&&(window.asmContactConfig["chat"]={adspaceId:t});var i="4373389";i&&(window.asmContactConfig["callback"]={adspaceId:i});var n="5000001";n&&(window.asmContactConfig["community"]={adspaceId:n})},onClick:function(e){var t=e.target;if(t.matches('a[href*="http"]:not(.dsf-answer-snippet__detail-link)')){var i=t.classList.contains("btn")?"CTA-":"Textlink-";this.track(i+this.getTrackingViewName(),this.getTrackingJourney());var n=t.getAttribute("href"),s=/#\w+/.test(n),a=s?n.slice(0,n.indexOf("#")):n,o=/#\w+/.test(location.href),r=o?location.href.slice(0,location.href.indexOf("#")):location.href;r!==a&&(e.preventDefault(),window.open(e.target.getAttribute("href"),"_blank"))}},setStickyScrollListener:function(){var e=this,t=0,i=0;document.addEventListener("scroll",(function(){var n=(new Date).getTime();n-i>200&&(e.toggleStickyFunnel(),i=n),clearTimeout(t),t=setTimeout(e.toggleStickyFunnel.bind(e),500)}))},toggleStickyFunnel:function(){if(this.stickyEnabled){var e=document.scrollingElement.scrollTop,t=this.$refs["funnel-container"],i=t.getBoundingClientRect().bottom+e+24;this.stickyFunnelVisible=e>i;var n=document.querySelector(".trbo-sticky-inpage .trbo-fixed-wrapper");this.stickyFunnelTopPos=n?n.getBoundingClientRect().height:0}},track:function(e,t){try{location.href.indexOf("www")>-1?this.track=function(e,t){tefDataLayer.push({event:"eventGeneric",eCat:"DSF",eAct:e,eLab:t})}:this.track=function(e,t){console.log("👁 Tracking:","\n\tAction:\t"+e,"\n\tLabel:\t"+(t||"-"))},this.track(e,t)}catch(i){console.log("🔥 Tracking Setup Error",i)}},trackView:function(e){var t=null,i=null;switch(e){case o.INITIAL:case o.ANSWER_SMALL:case o.ANSWER_DETAILED:case o.UNSURE_TAG_COMBINATION:case o.FEEDBACK_POSITIVE:case o.FEEDBACK_NEGATIVE:t="View-"+this.getTrackingViewName(e),i=this.getTrackingJourney(),this.track(t,i);break}},getTrackingViewName:function(e){e=e||this.activeView;var t=null;switch(e){case o.INITIAL:t="Einstieg";break;case o.ANSWER_SMALL:t="Antwort";break;case o.ANSWER_DETAILED:t="Detailansicht";break;case o.UNSURE_TAG_COMBINATION:t="TagsUnspezifisch";break;case o.FEEDBACK_POSITIVE:t="FeedbackPOS";break;case o.FEEDBACK_NEGATIVE:t="FeedbackNEG";break}return t},getTrackingJourney:function(){var e=this,t="";return this.selectedTags.forEach((function(i,n){t=t+(n+1)+":"+i.name+(e.selectedTags.length-1>n?" / ":"")})),0===t.length&&(t="Einstieg"),this.activeView===o.ANSWER_DETAILED&&(t+=" / Detailansicht"),t}}},we=Te,ke=(i("5c0b"),Object(f["a"])(we,s,a,!1,null,null,null)),ye=ke.exports,Se={getFullHeight:Ce};function Ce(e){var t=e.cloneNode(!0);t.style.height="0px",t.style.width=getComputedStyle(e).width,t.style.position="absolute",t.style.visibility="hidden",t.style.display=null,e.parentNode.appendChild(t);var i=t.scrollHeight+"px";return t.remove(),i}var Ee={bind:function(e,t,i){Ie(e,"adaptive-height-initial"),e.dataset.adaptiveHeightStatus="initial",e.addEventListener("transitionend",(function(t){"height"===t.propertyName&&Ae(e,i)}))},inserted:function(e,t,i){},update:function(e,t,i){if("freeze"===t.value&&"frozen"!==e.dataset.adaptiveHeightStatus){var n=getComputedStyle(e).height;e.style.height=n,Ie(e,"adaptive-height-frozen"),e.dataset.adaptiveHeightStatus="frozen"}},componentUpdated:function(e,t,i){if("unfreeze"===t.value&&"frozen"===e.dataset.adaptiveHeightStatus){var n=e.style.height,s=Se.getFullHeight(e);n!==s?(Ie(e,"adaptive-height-adapting"),e.dataset.adaptiveHeightStatus="adapting",e.style.height=s):Ae(e)}},unbind:function(e,t,i){}};function Ae(e){e.style.height=null,Ie(e,"adaptive-height-unfrozen"),e.dataset.adaptiveHeightStatus="unfrozen"}function Ie(e,t){e.classList.remove("adaptive-height-initial","adaptive-height-frozen","adaptive-height-adapting","adaptive-height-unfrozen"),e.classList.add(t)}var Le=!1,Ne={bind:function(e,t,i){e.addEventListener("transitionend",Fe.bind(e)),e.addEventListener("webkitTransitionEnd",Fe.bind(e)),e.addEventListener("oTransitionEnd",Fe.bind(e)),e.addEventListener("transitioncancel",Fe.bind(e)),e.addEventListener("webkitTransitionCancel",Fe.bind(e)),e.addEventListener("oTransitionCancel",Fe.bind(e)),De(e,"initial");var n=t.value;Ve(e,n)},update:function(e,t,i){var n=t.value;Ve(e,n)}};function Ve(e,t){var i=e.dataset.conditionalVisibilityStatus;switch(Le&&console.log("CV | start |",i,"to",t,e.classList),t){case"show":["showing","shown"].includes(i)||De(e,"showing"),["initial"].includes(i)&&(e.style.opacity="1",xe(e)),["hiding","hidden"].includes(i)&&(e.style.removeProperty("visibility"),"1"!==getComputedStyle(e).opacity?(e.style.opacity="1",Re(e,"opacity")):xe(e)),["removing","removed"].includes(i)&&(e.style.removeProperty("visibility"),"0px"===getComputedStyle(e).height?(e.style.height=Se.getFullHeight(e),Re(e,"height")):"1"!==getComputedStyle(e).opacity?(e.style.opacity="1",Re(e,"opacity")):xe(e));break;case"hide":["hiding","hidden"].includes(i)||De(e,"hiding"),["initial"].includes(i)&&(e.style.opacity="0",e.style.visibility="hidden",xe(e)),["showing","shown"].includes(i)&&(e.style.opacity="0",Re(e,"opacity")),["removing","removed"].includes(i)&&(e.style.height=Se.getFullHeight(e),Re(e,"height"));break;case"remove":["removing","removed"].includes(i)||De(e,"removing"),["initial"].includes(i)&&(e.style.transitionDuration=0,e.style.opacity="0",e.style.visibility="hidden",e.style.height=0,xe(e)),["showing","shown"].includes(i)&&(e.style.height=Se.getFullHeight(e),"1"!==getComputedStyle(e).opacity?requestAnimationFrame((function(){e.style.height=0,Re(e,"height")})):(e.style.opacity="0",Re(e,"opacity"))),["hiding","hidden"].includes(i)&&(e.style.height=Se.getFullHeight(e),requestAnimationFrame((function(){e.style.height=0,Re(e,"height")})));break}}function Fe(e,t){var i=this,n=i.dataset.conditionalVisibilityStatus;if(Le&&t&&console.log("CV | TransitionEnd | Fallback"),Le&&console.log("CV | TransitionEnd:",e.propertyName,"| status:",n,i.classList),Oe(i,e.propertyName),"opacity"===e.propertyName)switch(n){case"showing":xe(i);break;case"hiding":i.style.visibility="hidden",xe(i);break;case"removing":i.style.height=0,Re(i,"height");break}if("height"===e.propertyName)switch(n){case"showing":i.style.removeProperty("height"),i.style.opacity="1",Re(i,"opacity");break;case"hiding":i.style.removeProperty("height"),xe(i);break;case"removing":xe(i);break}}function xe(e){var t=e.dataset.conditionalVisibilityStatus;switch(Le&&console.log("CV | finalize |",t,e.classList),t){case"showing":De(e,"shown"),e.style.removeProperty("opacity"),e.style.removeProperty("height");break;case"hiding":De(e,"hidden"),e.style.visibility="hidden";break;case"removing":De(e,"removed"),e.style.visibility="hidden",e.style.removeProperty("transition-duration");break}}function De(e,t){e.dataset.conditionalVisibilityStatus=t,e.classList.remove("conditional-visibility-initial","conditional-visibility-showing","conditional-visibility-shown","conditional-visibility-hiding","conditional-visibility-hidden","conditional-visibility-removing","conditional-visibility-removed"),e.classList.add("conditional-visibility-"+t)}function Re(e,t){Oe(e,t),e.cv_transitionFallback=e.cv_transitionFallback||{},e.cv_transitionFallback[e.cv_transitionFallback]=setTimeout(Fe.bind(e,{propertyName:t},!0),1e3)}function Oe(e,t){e.cv_transitionFallback&&e.cv_transitionFallback[t]&&clearTimeout(e.cv_transitionFallback[t])}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),"document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){if("Element"in e){var t="classList",i="prototype",n=e.Element[i],s=Object,a=String[i].trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array[i].indexOf||function(e){for(var t=0,i=this.length;i>t;t++)if(t in this&&this[t]===e)return t;return-1},r=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},c=function(e,t){if(""===t)throw new r("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(t))throw new r("INVALID_CHARACTER_ERR","The token must not contain space characters.");return o.call(e,t)},l=function(e){for(var t=a.call(e.getAttribute("class")||""),i=t?t.split(/\s+/):[],n=0,s=i.length;s>n;n++)this.push(i[n]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},u=l[i]=[],d=function(){return new l(this)};if(r[i]=Error[i],u.item=function(e){return this[e]||null},u.contains=function(e){return~c(this,e+"")},u.add=function(){var e,t=arguments,i=0,n=t.length,s=!1;do{e=t[i]+"",~c(this,e)||(this.push(e),s=!0)}while(++i<n);s&&this._updateClassName()},u.remove=function(){var e,t,i=arguments,n=0,s=i.length,a=!1;do{for(e=i[n]+"",t=c(this,e);~t;)this.splice(t,1),a=!0,t=c(this,e)}while(++n<s);a&&this._updateClassName()},u.toggle=function(e,t){var i=this.contains(e),n=i?!0!==t&&"remove":!1!==t&&"add";return n&&this[n](e),!0===t||!1===t?t:!i},u.replace=function(e,t){var i=c(e+"");~i&&(this.splice(i,1,t),this._updateClassName())},u.toString=function(){return this.join(" ")},s.defineProperty){var h={get:d,enumerable:!0,configurable:!0};try{s.defineProperty(n,t,h)}catch(g){void 0!==g.number&&-2146823252!==g.number||(h.enumerable=!1,s.defineProperty(n,t,h))}}else s[i].__defineGetter__&&n.__defineGetter__(t,d)}}(self),function(){var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var i,n=arguments.length;for(i=0;n>i;i++)e=arguments[i],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:i.call(this,e)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(e,t){var i=this.toString().split(" "),n=i.indexOf(e+"");~n&&(i=i.slice(n),this.remove.apply(this,i),this.add(t),this.add.apply(this,i.slice(1)))}),e=null}()),-1===location.href.indexOf("www")&&(n["a"].config.devtools=!0),n["a"].config.productionTip=!1,n["a"].directive("adaptiveHeight",Ee),n["a"].directive("conditionalVisibility",Ne),new n["a"]({render:function(e){return e(ye)}}).$mount("#asm-service-funnel")},"5c0b":function(e,t,i){"use strict";i("e332")},"9cea":function(e,t,i){},a244:function(e,t,i){},a5a4:function(e,t,i){"use strict";i("3ca0")},a63e:function(e,t,i){},b0db:function(e,t,i){"use strict";i("ba42")},b323:function(e,t,i){"use strict";i("a244")},b687:function(e,t,i){"use strict";i("46c3")},ba42:function(e,t,i){},cfe8:function(e,t,i){},d28f:function(e,t,i){"use strict";i("cfe8")},e332:function(e,t,i){},e55d:function(e,t,i){"use strict";i("0e21")},f4f8:function(e,t,i){}});
//# sourceMappingURL=app.5d28c97e.js.map